.case-logo {
  height: clamp(72px, 8vw, 96px);
  aspect-ratio: 338 / 288;
  margin: 0 0 clamp(20px, 3vw, 30px);
  background-image: url(../img/micki-logo.png);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

.case-figures {
  display: grid;
  grid-template-columns: 1fr;
}
.case-figure {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.case-figure .stat-figure {
  font-size: clamp(2rem, 4.4vw, 2.7rem);
}
.case-figure .stat-unit {
  font-size: 0.44em;
}
.case-figure .stat-label {
  margin-top: 8px;
  font-size: 0.85rem;
}
@media (min-width: 560px) {
  .case-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-figure {
    padding: 26px 0 26px clamp(20px, 3vw, 32px);
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }
  .case-figure:nth-child(2n + 1) {
    padding-left: 0;
    border-left: none;
  }
}
@media (min-width: 1024px) {
  .case-figures { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .case-figure:nth-child(2n + 1) {
    padding-left: clamp(20px, 3vw, 32px);
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }
  .case-figure:nth-child(4n + 1) {
    padding-left: 0;
    border-left: none;
  }
}

.chapter--dark .case-note {
  margin: clamp(40px, 5vw, 64px) 0 0;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
}

.case-countries {
  display: grid;
  gap: 18px;
}
.case-country-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.case-country-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--ink);
}
.case-country-list li:last-child { border-bottom: 1px solid var(--border); }
.case-country-num {
  font-family: 'Fraunces', serif;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.case-country-rest {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}
@media (min-width: 560px) and (max-width: 1023px) {
  .case-country-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(24px, 4vw, 48px);
  }
  .case-country-list li:nth-last-child(2) { border-bottom: 1px solid var(--border); }
}

.case-quotes {
  display: grid;
  gap: clamp(32px, 4vw, 52px);
}
.case-quote {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.case-quote-text {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.case-quote-meta {
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 768px) {
  .case-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .ch-split > .case-countries {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    margin: 0;
  }
}

.ch-title a {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid rgba(var(--accent-rgb), 0.3);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.ch-title a:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
}
@media (prefers-reduced-motion: reduce) {
  .ch-title a { transition: none; }
}

/* ---- Kategoristaplar, 2026-09-06 ------------------------------------
   Visar de sju kategoriernas inbordes tyngd. Bredden kommer fran --w,
   satt inline per rad och raknad mot den storsta kategorin (170 = 100 %).
   Andras siffrorna i copyn maste --w raknas om, annars ljuger stapeln.
   ------------------------------------------------------------------- */

.cat-bar {
  margin: 14px 0 0;
  height: 3px;
  border-radius: 2px;
  background: rgba(var(--ink-rgb), 0.08);
  overflow: hidden;
}
.cat-bar span {
  display: block;
  width: var(--w, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-bright) 100%);
}
@media (min-width: 900px) {
  .cat-bar { max-width: 420px; }
}
