/* Fair Away — shared country-page stylesheet
   One file for every countries/*.html page (baseline, amber .act, green .fair).
   Type scale: 12 / 13 / 15 / 17 / 19 / 24 / 32 px.  Radii: 8 (small) · 10 (buttons) · 16 (cards). */

*{margin:0;padding:0;box-sizing:border-box}
:root{
  --bg:#f5f3ef;--white:#fff;--navy:#1c3448;--teal:#2a7d8c;--amber:#e8962a;
  --text:#1c3448;--muted:#5f6e79;--border:#e2ddd7;--green:#2d9e5e;
  --measure:68ch;
}
body{font-family:'DM Sans',-apple-system,sans-serif;background:var(--bg);color:var(--text)}

/* Header */
header{background:var(--navy);color:#fff;padding:22px 40px;display:flex;justify-content:center;align-items:center;gap:16px;position:sticky;top:0;z-index:50}
.logo-wrap{display:flex;align-items:center;gap:14px;cursor:pointer;text-decoration:none}
.logo{font-size:1.3125rem;font-weight:300;letter-spacing:-0.5px;color:#fff}
.logo strong{color:var(--amber);font-weight:700}
.logo-tagline{font-size:0.75rem;color:rgba(255,255,255,0.42);margin-top:2px}
.header-right{position:absolute;right:40px;top:50%;transform:translateY(-50%)}
.header-link{font-size:0.8125rem;color:rgba(255,255,255,0.55);text-decoration:none;padding:7px 4px}

main{max-width:760px;margin:0 auto;padding:0 24px 80px}

/* Hero */
.cp-photo-hero{width:100%;height:240px;object-fit:cover;border-radius:16px;margin:32px 0 0;display:block;background:var(--border)}
.cp-hero{padding:28px 0 32px;border-bottom:1px solid var(--border);margin-bottom:32px}
/* flex-start, not center: with a two-line name+region stack next to a
   single flag/globe icon, centering against the whole stack makes the
   icon ride low relative to the title (Jeroen, 3 sep 2026 — flag felt
   misaligned vs. "Norway"). Top-aligning instead matches the country
   name's own cap line regardless of how long the region label is. */
.cp-hero-top{display:flex;align-items:flex-start;gap:18px;margin-bottom:20px}
/* Flags: flag-icons 4x3 set — full flag, never cropped. Box ratio matches the SVG (4:3). */
.flag-img-lg{width:64px;height:48px;border-radius:4px;object-fit:contain;display:block;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,0.08)}
.cp-name{font-size:2rem;font-weight:700;color:var(--navy);line-height:1.15;letter-spacing:-0.5px}
.cp-region{font-size:0.9375rem;color:var(--muted);margin-top:4px}

/* Locator globe — pilot, 1 sep 2026. Land-only Natural Earth coastlines (no
   political borders anywhere in the source data, so no border-dispute risk),
   an orthographic (globe, not flat-map) projection recentred on the
   country's own geometric centroid so the dot always lands exactly in the
   middle. Decorative, not interactive, so the dot is --navy (same rule
   as .cp-home-line's marker) rather than --teal. Sits at the far right of
   the hero row, separate from the flag, so it doesn't read as a second flag. */
.locator-globe{margin-left:auto;flex-shrink:0;line-height:0}
/* No box-shadow ring here (unlike .flag-img-lg above): the SVG itself
   already draws its own boundary circle with a stroke (see
   gen-locator-globes.js), inset a few px from the 160x160 canvas edge.
   Adding a second ring on the <img> box sat right at that outer edge,
   outside the SVG's own circle, reading as two concentric rings with a
   gap between them (spotted on a live phone screenshot, 3 sep 2026). */
.locator-globe img{width:56px;height:56px;border-radius:50%;display:block;background:#eef1ef}

/* Feedback bug from a live mobile screenshot: the 40px mobile globe read
   as too small next to the 64px flag. Bumped toward the flag's own
   height (48px) instead of shrinking hard on top of the flex-start
   change above — see the @media(max-width:600px) override below. */

/* Purpose block — says what the page is for, above the scores (10 nov 2026).
   Visitor feedback, Oct 2026: someone who had already booked Morocco met the
   scores with no statement of purpose in front of them, read "Travel that
   reflects your values" as an accusation about her own trip, and nearly left
   before reaching the action block. The resistance is not the problem — the
   site exists to produce a little of it — but the way out of it sat 1500 words
   below the thing that caused it.
   Three reading levels, nothing behind a click (a disclosure widget would put
   the reassurance back behind an action, which is the same bug one screen
   higher): the kicker scans in half a second, the sentence in three, the jump
   link goes straight to the payoff. Kicker is grey, not teal — teal is reserved
   for interaction (2 jul 2026) — and the jump link is teal because it is one. */
/* 12 nov 2026 — three things were wrong at once and they fixed as one move.
   (a) The kicker was 12px grey uppercase with 0.7px tracking: byte-for-byte the
   .cp-scores-title treatment sitting ~100px below it, so one screen carried two
   identical grey eyebrows and neither read as the primary signal. It is now a
   bold lead-in inside the sentence, which scans just as fast and leaves one.
   (b) The jump link was right-aligned, which only works when there is an edge to
   align to; here it floated in ~420px of empty gutter beside the ragged end of
   line 2, against an invisible 68ch boundary matching no other edge on the page.
   Left-aligned it closes the column: kicker, sentence and link read as one block.
   (c) It also sat 10px above "Change home country" in the same colour and nearly
   the same size, so page navigation and a settings control read as a menu. That
   one is solved below — the change link moves onto the score row it modifies.
   Margins are deliberately asymmetric (10 above, 26 below): the promise belongs
   to the title above it, so proximity should say so rather than leaving it to
   float midway between the name and the compare banner. */
.cp-purpose{margin:10px 0 26px;max-width:var(--measure)}
.cp-purpose p{font-size:0.9375rem;line-height:1.55;color:var(--text);margin:0}
.cp-purpose p strong{font-weight:700;color:var(--navy)}
.cp-purpose-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-top:12px}
.cp-purpose-jump{font-size:0.9375rem;font-weight:600;color:var(--teal);text-decoration:none}
.cp-purpose-jump:hover{text-decoration:underline}
/* "Change home country", moved here by country-compare.js once a home country
   is set (see .cta-compare.comparing-moved below). space-between gives it the
   right end of a row that was otherwise empty, which is the same ~420px of
   gutter the jump link used to float in. Both are teal because both are
   interactive (2 jul 2026 rule); the hierarchy is carried by weight and size
   instead, 14px/600 for the page's own next step against 13px/500 for a
   utility. Opposite ends of one row read as two controls; stacked 10px apart
   in the same colour, as before, they read as a menu. With no home country
   set the row holds only the jump link and space-between leaves it at the
   left, so the default state is unchanged. */
.cp-purpose-row .st-change{background:none;border:none;padding:0;cursor:pointer;font-family:inherit;font-size:0.8125rem;font-weight:500;color:var(--teal);white-space:nowrap}
.cp-purpose-row .st-change:hover{text-decoration:underline}
/* Shared anchor for the jump link. Green pages already carried id="go-further"
   (5 okt 2026); the amber .act blocks had no id at all, so they get the same one
   — one anchor name site-wide means one link label and nothing to drift. */
#go-further{scroll-margin-top:80px}

/* Compare banner */
.cta-compare{background:var(--navy);border-radius:16px;padding:20px 24px;margin:20px 0 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.cta-compare p{color:rgba(255,255,255,0.75);font-size:0.9375rem;flex:1;max-width:var(--measure)}
.cta-compare-btn{background:var(--amber);color:#fff;border:none;border-radius:10px;padding:11px 18px;font-size:0.9375rem;font-weight:700;cursor:pointer;text-decoration:none;white-space:nowrap;font-family:inherit}
/* Compact state once a home country is chosen (set by country-compare.js).
   12 nov 2026: the button is MOVED into .cp-scores-title by the script and this
   wrapper is then hidden, rather than collapsing in place. Reason: as a
   right-aligned link here it stacked under the purpose block's jump link, two
   unrelated controls in one visual pair. It belongs on the score row, because
   the comparison is the thing it changes. The script moves the node BEFORE it
   adds .comparing, so a failure in between can never hide a button that is
   still inside; and .comparing is only ever set in the success path, so a
   failed fetch leaves the full navy banner visible as the fallback. */
/* Two collapsed states. comparing-moved: the button now lives in
   .cp-purpose-row, so this wrapper is empty and goes. comparing: the 11 pages
   with no action block have no purpose block either (check-consistency §14
   enforces that pairing), so there is nowhere to move the button to and the
   original in-place collapse still applies. Hiding the wrapper there would
   take the only way to change home country off those pages. */
.cta-compare.comparing-moved{display:none}
.cta-compare.comparing{background:transparent;border:none;padding:0;margin:0 0 16px;justify-content:flex-end}
.cta-compare.comparing p{display:none}
.cta-compare.comparing .cta-compare-btn{background:none;color:var(--teal);font-weight:600;font-size:0.8125rem;padding:4px 0}
.cta-compare.comparing .cta-compare-btn:hover{text-decoration:underline}

/* Share (copy link) — subtle teal text link + share icon (accent = interaction) */
.cp-share{margin:0 0 22px}
.cp-share-btn{display:inline-flex;align-items:center;gap:8px;background:none;border:none;padding:0;margin:0;font-family:inherit;font-size:0.9375rem;font-weight:600;color:var(--teal);cursor:pointer;line-height:1.4;text-align:left}
.cp-share-btn:hover .cp-share-label{text-decoration:underline}
.cp-share-ico{flex-shrink:0;width:17px;height:17px;transition:transform .15s}
.cp-share-btn:hover .cp-share-ico{transform:translateY(-1px)}
.cp-share-btn.copied{color:var(--green)}
.cp-share-btn.copied .cp-share-label{text-decoration:none}

/* Score overview */
.cp-scores{background:#fff;border-radius:16px;border:1px solid var(--border);padding:22px 24px}
.cp-scores-title{font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.7px;color:var(--muted);margin-bottom:16px;display:flex;align-items:center;flex-wrap:wrap;column-gap:9px;row-gap:4px}
.cp-sources-link{display:block;text-align:right;margin-top:16px;font-size:0.75rem;font-weight:600;color:var(--muted);text-decoration:none;letter-spacing:0.2px}
.cp-sources-link:hover{color:var(--teal);text-decoration:underline}
.cp-score-row{display:flex;align-items:center;gap:12px;margin-bottom:11px;font-size:0.8125rem}
.cp-score-row:last-child{margin-bottom:0}
.cp-score-label{width:170px;flex-shrink:0;color:var(--text);display:flex;align-items:center;gap:6px}
.cp-score-label-text{min-width:0}
.cp-score-track{flex:1;height:8px;background:var(--bg);border-radius:4px;position:relative}
.cp-score-fill{height:100%;border-radius:4px}
.cp-score-val{width:32px;font-weight:700;font-size:0.8125rem}
.cp-score-delta{width:56px;text-align:right;font-size:0.75rem;font-weight:600}
/* No-data score row — a dimension no source index covers for this country.
   Neutral diagonal hatch across the FULL track, deliberately not a bar: an empty or
   part-filled track would read as "scores zero / scores low", which is a different claim
   than "nobody measured this". Distinct from .cp-score-fill-est (vertical stripes = proxy). */
.cp-score-na{position:absolute;top:0;left:0;right:0;bottom:0;border-radius:4px;background-image:repeating-linear-gradient(135deg,#cfd8de 0 2px,transparent 2px 6px)}
/* Empty on purpose (11 aug 2026, Jeroen: "N/A and No data is dubbelop") — this span used to
   duplicate the row's "No data" label as "N/A"/"No data" a second time. It stays in the
   markup only to hold the same 32px column the numeric .cp-score-val would occupy, so the
   row's spacing doesn't jump; the single "No data" now lives only in .cp-score-delta. */
.cp-score-val-na{width:32px}
.dim-icon-img{width:20px;height:20px;vertical-align:middle;flex-shrink:0;display:inline-block}
/* Priority dots — reflect the visitor's slider weights, passed as ?w= and injected by country-compare.js */
.cp-priority{display:inline-flex;gap:2px;align-items:center;margin-left:1px;flex-shrink:0}
.cp-priority span{width:6px;height:6px;border-radius:50%;background:var(--amber);display:inline-block}
.cp-priority-legend{font-size:0.75rem;color:var(--muted);font-weight:400;text-transform:none;letter-spacing:0;display:inline-flex;align-items:center;gap:6px}
.cp-priority-legend .cp-priority span{width:5px;height:5px}
/* Live comparison vs home (injected by country-compare.js when ?home= is set) */
.cp-home-line{position:absolute;top:-5px;width:2px;height:18px;background:var(--navy);border-radius:1px;opacity:0.35}
.cp-home-legend{font-size:0.75rem;color:var(--muted);font-weight:400;text-transform:none;letter-spacing:0;display:inline-flex;align-items:center;gap:9px}
.cp-home-legend-line{display:inline-block;width:2px;height:14px;background:var(--navy);border-radius:1px;opacity:0.5;flex-shrink:0}
.cp-home-legend img{width:18px;height:18px;border-radius:4px;vertical-align:middle}
/* "on 4 of 5 values" — added 3 aug 2026. Shown only when a dimension is missing on
   one of the two sides, so the visitor knows the comparison is narrower than the row
   count suggests. Neutral grey: a statement, not something to click. */
.cp-compared-on{color:var(--muted);opacity:0.85}
/* Data-note tooltip icon next to a dimension label — mirrors the SPA (index.html
   .cp-data-note). Injected by country-compare.js from countries.json. */
.cp-data-note{font-size:0.75rem;color:var(--muted);cursor:help;margin-left:5px;border-bottom:1px dotted var(--border)}

/* Travel-advisory pointer, injected by country-compare.js only where a dimension is in
   the Critical band. Neutral grey like .context-note — this is practical information,
   not a verdict and not an action block, so it must not read as amber. */
.cp-advisory{margin:0 0 20px;padding:14px 16px;background:var(--bg);border-radius:10px;
  font-size:0.9375rem;line-height:1.55;color:var(--ink);max-width:68ch}
.cp-advisory strong{font-weight:600}

/* Dimension cards */
.dim-section{margin-bottom:24px;background:#fff;border-radius:16px;border:1px solid var(--border);overflow:hidden}
.dim-header{padding:18px 24px 14px;border-bottom:1px solid var(--bg);display:flex;align-items:center;justify-content:space-between;gap:12px}
.dim-header-left{display:flex;align-items:center;gap:10px}
.dim-icon{width:22px;height:22px;flex-shrink:0}
.dim-title{font-weight:700;font-size:1.1875rem;color:var(--navy)}
.dim-score-badge{font-size:0.9375rem;font-weight:700;padding:4px 11px;border-radius:8px}
.dim-trend{font-size:0.75rem;font-weight:600;display:inline-flex;align-items:center;gap:3px;white-space:nowrap}
.dim-trend.trend-up{color:#2d9e5e}
.dim-trend.trend-down{color:#c0392b}
.dim-body{padding:20px 24px}
.dim-body p{font-size:0.9375rem;line-height:1.65;color:var(--text);margin-bottom:12px;max-width:var(--measure)}
.dim-body p:last-child{margin-bottom:0}

/* Inline citation marker (pilot, 5 aug 2026 — see CONSISTENCY.md).
   A single small teal asterisk right after a specific, checkable claim, linking
   straight to the external source (not the Sources block below — no second hop).
   No underline until hover, so it doesn't read as running body text; aria-label
   carries the source name for screen readers, since "*" alone says nothing. */
.cite{color:var(--teal);text-decoration:none!important;font-weight:700;font-size:0.75em;vertical-align:super;line-height:0;margin-left:1px}
.cite:hover{text-decoration:underline!important}
.dim-traveller-note{background:var(--bg);border-radius:8px;padding:12px 14px;margin-top:14px;max-width:var(--measure)}
.dim-traveller-note strong{font-size:0.75rem;text-transform:uppercase;letter-spacing:0.5px;color:var(--muted);display:block;margin-bottom:5px}
.dim-traveller-note p{font-size:0.8125rem;color:var(--text);margin:0;line-height:1.55}
.dim-traveller-note a{color:var(--teal);font-weight:600;text-decoration:underline}

/* Scope note — what a score does and does not contain. Neutral grey, deliberately
   quieter than .dim-traveller-note: it is method, not advice. Injected by
   country-compare.js (see the women's/reproductive-rights note there, 17 aug 2026). */
.dim-scope-note{border-left:2px solid var(--border);padding:2px 0 2px 12px;margin-top:14px;max-width:var(--measure)}
.dim-scope-note strong{font-size:0.75rem;text-transform:uppercase;letter-spacing:0.5px;color:var(--muted);display:block;margin-bottom:4px}
.dim-scope-note p{font-size:0.8125rem;color:var(--muted);margin:0;line-height:1.55}

/* Jump links */
.dim-jump{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font-size:0.8125rem;font-weight:700;color:var(--amber);text-decoration:none}
.dim-jump:hover{text-decoration:underline}
.dim-jump-green{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font-size:0.8125rem;font-weight:700;color:var(--green);text-decoration:none}
.dim-jump-green:hover{text-decoration:underline}
.dim-jump-green-lead{margin:18px 0 4px;font-size:0.75rem;opacity:0.85}
.back-to-scores{display:inline-block;margin-top:10px;font-size:0.75rem;font-weight:600;color:var(--muted);text-decoration:none}
.back-to-scores:hover{text-decoration:underline}

/* Context note — an honest, non-scored dimension shown as narrative (e.g. migrant labour).
   Neutral grey accent — deliberately NOT amber/action, and NOT one of the five scored bars. */
.context-note{background:var(--white);border:1px solid var(--border);border-left:3px solid var(--muted);border-radius:16px;padding:20px 22px;margin:8px 0 24px;max-width:var(--measure)}
.context-note .cn-kicker{font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.6px;color:var(--muted);margin-bottom:8px}
.context-note h3{font-size:1.1875rem;font-weight:700;color:var(--navy);line-height:1.2;letter-spacing:-0.3px;margin-bottom:10px}
.context-note p{font-size:0.9375rem;line-height:1.6;color:var(--text);margin-bottom:10px}
.context-note p:last-child{margin-bottom:0}
.context-note a{color:var(--teal);font-weight:600;text-decoration:underline}

/* Sources — title row + description row, always stacked. The icon is taken
   out of the text flow (position:absolute) so title and description both
   sit on the exact same padding-left with no gap arithmetic or stray-space
   guesswork — a one-word description (older pages) and a full sourced
   sentence (Tunisia-style) land on the same left edge every time. */
.sources{background:#fff;border-radius:16px;border:1px solid var(--border);padding:22px 24px;margin-bottom:24px}
.sources h3{font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.7px;color:var(--muted);margin-bottom:14px}
.source-link{display:block;position:relative;padding-left:26px;font-size:0.8125rem;font-weight:600;line-height:1.4;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid var(--border);text-decoration:none;color:var(--navy)}
.source-link:last-of-type{margin-bottom:0;padding-bottom:0;border-bottom:none}
.source-link:hover{text-decoration:underline}
.source-link img{position:absolute;left:0;top:1px}
.source-link span{display:block;margin-top:4px;font-weight:400;color:var(--muted);font-size:0.75rem;line-height:1.55}
.sources h4.src-group{font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.6px;color:var(--muted);margin:22px 0 12px}
.sources h4.src-group:first-of-type{margin-top:0}
.source-link .src-trace{color:var(--navy);font-weight:600}

/* Bottom CTA */
.cta-bottom{background:var(--navy);border-radius:16px;padding:28px;color:#fff;text-align:center;margin-bottom:24px}
.cta-bottom p{font-size:0.9375rem;opacity:0.7;margin-bottom:14px}
.cta-bottom a{background:var(--amber);color:#fff;border-radius:10px;padding:12px 24px;font-size:0.9375rem;font-weight:700;text-decoration:none;display:inline-block}

/* Amber action block (.act) */
.act{background:var(--white);border:2px solid var(--amber);border-radius:16px;padding:26px 26px 24px;margin:8px 0 28px}
.act-kicker{font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.7px;color:var(--amber);margin-bottom:8px}
.act-title{font-size:1.5rem;font-weight:700;color:var(--navy);line-height:1.15;letter-spacing:-0.4px;margin-bottom:12px}
.act-intro{font-size:1.0625rem;line-height:1.6;color:var(--text);margin-bottom:22px;max-width:var(--measure)}
.act-group{margin-bottom:20px;scroll-margin-top:80px}
.act-group:last-of-type{margin-bottom:6px}
.act-group:target .act-group-head h4{color:var(--amber)}
.act-group-head{display:flex;align-items:center;gap:9px;margin-bottom:12px}
.act-group-head img{width:20px;height:20px;flex-shrink:0}
.act-group-head h4{font-size:1.1875rem;font-weight:700;color:var(--navy)}
.act-item{border-left:3px solid var(--bg);padding:2px 0 2px 14px;margin-bottom:14px}
.act-item:last-child{margin-bottom:0}
.act-item>b{display:block;font-size:0.9375rem;color:var(--navy);margin-bottom:3px}
.act-item p b{color:var(--navy)}
.act-item p{font-size:0.9375rem;line-height:1.6;color:var(--text);margin:0;max-width:var(--measure)}
.act-item a{color:var(--teal);font-weight:600;text-decoration:none}
.act-item a:hover{text-decoration:underline}
.act-note{font-size:0.75rem;line-height:1.55;color:var(--muted);margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}
.act-note a{color:var(--teal);font-weight:600;text-decoration:underline}

/* Green "no trade-off" block (.fair) */
.fair{background:#f1f7f3;border:2px solid var(--green);border-radius:16px;padding:26px 26px 24px;margin:8px 0 28px}
.fair-kicker{display:inline-flex;align-items:center;gap:7px;font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.7px;color:var(--green);margin-bottom:8px}
.fair-kicker::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--green);display:inline-block}
.fair-title{font-size:1.5rem;font-weight:700;color:var(--navy);line-height:1.15;letter-spacing:-0.4px;margin-bottom:12px}
.fair-intro{font-size:1.0625rem;line-height:1.6;color:var(--text);margin-bottom:20px;max-width:var(--measure)}
.fair-sub{font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.5px;color:var(--green);margin-bottom:14px}
.fair-item{border-left:3px solid #d7e8dd;padding:2px 0 2px 14px;margin-bottom:14px}
.fair-item:last-child{margin-bottom:0}
.fair-item b{display:block;font-size:0.9375rem;color:var(--navy);margin-bottom:3px}
.fair-item p{font-size:0.9375rem;line-height:1.6;color:var(--text);margin:0;max-width:var(--measure)}
.fair-item a{color:var(--teal);font-weight:600;text-decoration:none}
.fair-item a:hover{text-decoration:underline}

/* Compare modal (injected by compare.js) */
.fa-cmp-overlay{display:none;position:fixed;inset:0;background:rgba(15,30,42,0.55);z-index:200;align-items:center;justify-content:center;padding:20px}
.fa-cmp-overlay.visible{display:flex}
.fa-cmp{background:#fff;border-radius:16px;padding:26px 24px;max-width:380px;width:100%;box-shadow:0 20px 60px rgba(0,0,0,0.25)}
.fa-cmp h3{font-size:1.1875rem;color:var(--navy);margin-bottom:6px}
.fa-cmp p{font-size:0.8125rem;color:var(--muted);margin-bottom:16px;line-height:1.5}
.fa-cmp select{width:100%;padding:11px 12px;border:1px solid var(--border);border-radius:8px;font-size:0.9375rem;font-family:inherit;color:var(--text);background:#fff;margin-bottom:16px}
.fa-cmp-actions{display:flex;gap:10px;justify-content:flex-end;align-items:center}
.fa-cmp-btn{background:var(--amber);color:#fff;border:none;border-radius:10px;padding:10px 18px;font-size:0.9375rem;font-weight:700;cursor:pointer;font-family:inherit}
.fa-cmp-cancel{background:none;border:none;color:var(--muted);font-size:0.9375rem;cursor:pointer;font-family:inherit;padding:10px 8px}

/* Footer */
.fa-footer{margin-top:8px}
.fa-support{background:#fff;border:1px solid var(--border);border-radius:16px;padding:22px 24px;color:var(--text);display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.fa-support p{font-size:0.8125rem;color:var(--text);flex:1;line-height:1.5;margin:0;max-width:var(--measure)}
.fa-support p strong{color:var(--navy)}
.fa-support-btn{background:var(--amber);color:#fff;border-radius:10px;padding:11px 18px;font-size:0.9375rem;font-weight:700;text-decoration:none;white-space:nowrap}
.fa-foot-links{text-align:center;display:flex;justify-content:center;gap:18px;flex-wrap:wrap;padding-bottom:6px;max-width:680px;margin-left:auto;margin-right:auto}
.fa-foot-links a{font-size:0.8125rem;color:var(--muted);text-decoration:none;border-bottom:1px solid var(--border)}

@media(max-width:600px){
  header{padding:16px 18px;justify-content:space-between}
  .header-right{position:static;right:auto;transform:none}
  .logo-tagline{display:none}
  main{padding:0 16px 60px}
  /* "Compared to X" onder de titel i.p.v. ernaast */
  .cp-home-legend{flex-basis:100%;margin-top:4px}
  /* Score-rij in twee regels: label + cijfer + delta boven, volle-breedte balk eronder.
     .cp-score-label uses flex-basis:0 (not auto) so its own content never counts toward
     the line-wrap decision — otherwise a long label ("Democracy & press freedom",
     "Prevention of child labour") pushes .cp-score-delta onto a third line by itself,
     splitting the value from its "Strong"/"Mixed" label (seen 11 aug 2026, Jeroen).
     Value + delta now always share line 1; the label truncates with an ellipsis instead. */
  .cp-score-row{flex-wrap:wrap;gap:5px 10px;margin-bottom:16px;font-size:0.75rem}
  .cp-score-label{width:auto;flex:1 1 0%;min-width:0}
  .cp-score-label-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .cp-score-val,.cp-score-val-na{order:2;flex-shrink:0}
  .cp-score-delta{order:3;flex-shrink:0;white-space:nowrap}
  .cp-score-track{order:4;flex-basis:100%;height:10px}
  .cta-compare{flex-direction:column}
  .act,.fair{padding:20px 18px}
  .act-title,.fair-title{font-size:1.3125rem}
  .cp-hero-top{flex-wrap:wrap;row-gap:10px}
  .locator-globe img{width:50px;height:50px}
}

/* Footer "Data last updated" — text injected by assets/js/footer.js from
   countries.json _meta.data_updated. No static date in the HTML on purpose:
   a hardcoded date across 51 pages is the drift this avoids, and an empty
   line is better than a wrong freshness claim, so :empty hides it. */
.fa-updated { text-align:center; font-size:0.75rem; color:var(--muted); opacity:0.6;
  margin-top:14px; max-width:680px; margin-left:auto; margin-right:auto; }
.fa-updated.data-updated:empty { display:none; }
/* Simple Analytics badge (27 okt 2026) */
.fa-sa-badge{margin-top:200px;text-align:center}.fa-sa-badge img{display:inline-block;width:126px;height:auto;aspect-ratio:210/50;max-width:100%;opacity:0.75;transition:opacity .15s}.fa-sa-badge a:hover img{opacity:1}
