/* Country pages: inside one shop of the street. Loaded after site.css and home.css */
.c-nl { --c: #e6a817; --on: #2a1a00; --x: 40%; } .c-uk { --c: #6d1b1f; --on: #fdf3dc; --x: 50%; } .c-ae { --c: #ea7d1a; --on: #2b1200; --x: 60%; }
.c-us { --c: #0c4c37; --on: #fdf3dc; --x: 40%; } .c-ee { --c: #17398f; --on: #fdf3dc; --x: 70%; } .c-vg { --c: #ec7563; --on: #2e0a04; --x: 60%; }

.inside { position: relative; background: var(--c); color: var(--on); }
.inside .hero { position: static; isolation: auto; padding: 0 var(--gutter); }
.inside .hero::before { display: none; }
.inside .hero__row { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: var(--space-lg); width: 48%; min-height: min(84svh, 800px); padding: calc(var(--nav-h) + var(--space-2xl)) var(--space-xl) var(--space-2xl) 0; }
.inside h1, .inside .hero__side { grid-column: 1; }
.inside h1 { max-width: none; font-size: clamp(3rem, 6.4vw, 6rem); line-height: 0.96; letter-spacing: -0.035em; }
.inside .hero__side { display: grid; gap: var(--space-md); justify-items: start; }
.inside .hero__side .lead, .inside .place-mark { color: inherit; }
.inside .place-mark { order: 1; } .inside .lead { font-size: clamp(1.25rem, 1.7vw, 1.625rem); max-width: 26ch; } .inside .hero__side .flag { order: -1; }
.inside .place-mark img { width: 30px; height: 20px; object-fit: cover; border-radius: 2px; }
.country .inside .btn, .country .inside .btn:hover { background: var(--on); color: var(--c); box-shadow: none; margin-block: var(--space-xs); }
.country .inside .btn:hover { background: color-mix(in oklab, var(--on) 86%, var(--c)); }
.country .inside :focus-visible { outline-color: var(--on); }
.inside__photo { position: absolute; inset: 0 0 0 50%; margin: 0; overflow: hidden; }
.inside__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--x) 0; }
.inside__photo figcaption { position: absolute; right: 0; bottom: 0; padding: 6px 14px; background: var(--c); color: var(--on); font-size: var(--text-sm); }

/* the numbers: cream signs on the shop's own wall */
.wall { background: var(--c); color: var(--on); }
.country .wall.section--first { padding-block: var(--space-2xl) var(--section-gap-s); }
.country .clock, .country .pair { background: none; box-shadow: none; padding-inline: 0; padding-block: 0; }
.country .wall .section-head { margin-bottom: var(--space-xl); }
.country .label { background: var(--cream); color: #12261c; border-radius: 4px; box-shadow: none; }
.country .clock .label__value, .country .pair .label__value { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: normal; }
.country .clock .label__value:not(.nv) { font-size: clamp(2.25rem, 4vw, 3.75rem); }
.country .label__stub { font-family: var(--font-body); color: #40544a; border-color: #c9bb95; }
.country .label .nv { color: #566259; }
.country .pair { background: var(--c); border-radius: 4px; padding: var(--space-xl); align-items: stretch; }
.country .val { font-variant-numeric: normal; font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); letter-spacing: -0.015em; }
.country .src, .country .stamp { font-family: var(--font-body); }

/* warnings: the unopened post */
.warn { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: var(--ox); color: var(--cream); }
.warn > .next { display: block; max-width: none; padding: var(--section-gap-s) var(--space-3xl) var(--section-gap-s) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.country .section.warn { padding: 0; }
.warn .next__list { gap: 0; margin-top: var(--space-xl); }
.warn .next__list a { display: block; padding-block: var(--space-md); border-top: 1px solid color-mix(in oklab, var(--cream) 20%, var(--ox)); font: 700 var(--text-xl)/1.2 var(--font-display); letter-spacing: var(--tracking-display); text-decoration: none; }
.warn .next__list a:hover { color: var(--sun); }
.warn :focus-visible { outline-color: var(--sun); }
.warn__img { position: relative; min-height: 420px; }
.warn__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }

/* back on the street, the compared shops lit */
.country .again { padding-block: var(--section-gap-s) 0; background: var(--night); color: var(--cream); }
.again .next { margin-bottom: var(--space-3xl); }
.again .next > h2 { color: var(--cream); }
.again :focus-visible { outline-color: var(--sun); }
.again .shop--off img { filter: brightness(0.3) saturate(0.55); }
.again .shop--off .shop__name { color: var(--cream); }
.again .shop__front img { animation: none; }
.again .shop > a:hover img { filter: brightness(1.1); }

@media (max-width: 60rem) {
  .inside { display: flex; flex-direction: column; }
  .inside__photo { position: relative; inset: auto; order: 2; aspect-ratio: 1; }
  .inside .hero__row { width: auto; min-height: 0; padding: calc(var(--nav-h) + var(--space-xl) + var(--space-md)) 0 var(--space-xl); }
  .warn { grid-template-columns: minmax(0, 1fr); }
  .warn > .next { padding: var(--space-2xl) var(--gutter); }
  .warn__img { order: -1; min-height: 60vw; }
  .again .shop--off { display: none; }
  .country .pair { padding: var(--space-md); }
}

/* ---------- danger pages: one still life each ---------- */
.danger { --c: var(--ox); --on: var(--cream); --x: 50%; }
.danger .inside h1 { font-size: clamp(2.5rem, 4.9vw, 5rem); overflow-wrap: normal; }
.danger .inside__photo img { object-position: 60% var(--y, 60%); }
.country.danger .inside .btn, .country.danger .inside .btn:hover { background: var(--sun); color: #1c1503; }
.danger .inside .flag { background: var(--cream); color: var(--ox); }
.danger .rows .place { font-size: var(--text-title); }
.danger .section--tint { background: #e6a817; color: #2a1a00; }
.danger .asks li { border-color: #2a1a00; }
.danger .quote { background: white; border-radius: 4px; }
.country.danger .read-on { padding-block: var(--section-gap-s); background: var(--night); color: var(--cream); }
.read-on :focus-visible { outline-color: var(--sun); }

/* ---------- compare: the street is the picker ---------- */
.pickstreet { background: var(--night); color: var(--cream); padding-top: calc(var(--nav-h) + var(--space-sm) + clamp(32px, 5svh, 64px)); }
.pickstreet .hero { padding-block: 0 var(--space-xl); isolation: auto; }
.pickstreet .hero::before { display: none; }
.pickstreet h1 { max-width: none; font-size: clamp(2.5rem, 4.6vw, 4.75rem); }
.pickstreet .hero--banner .hero__row { align-items: end; }
.pickstreet .hero .hero__side .lead { color: color-mix(in oklab, var(--cream) 82%, var(--night)); }
.pickstreet .cmp-tray { margin: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.pickstreet .picker { display: flex; flex-wrap: nowrap; gap: 0; padding: 0; min-width: 0; overflow-x: auto; scrollbar-width: none; position: relative; }
.pickstreet .picker legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pick { position: relative; flex: 1 1 0; min-width: 0; container-type: inline-size; }
.pick input { inset: 0; }
.pickstreet .picker .key { display: block; position: relative; min-height: 0; padding: 0; border-radius: 0; background: var(--night); box-shadow: none; transform: none; transition: none; opacity: 1; }
.pick .key img { width: 100%; aspect-ratio: 640 / 800; object-fit: cover; object-position: 50% 100%; filter: brightness(0.34) saturate(0.55); transition: filter var(--dur-long) var(--ease-out); }
.pick .key:hover img { filter: brightness(0.62); }
.pick input:checked + .key img { filter: none; }
.pick input:disabled + .key img { filter: brightness(0.2) saturate(0.4); }
.pick .key .shop__name { top: 0.6%; height: 16%; font-size: clamp(0.8125rem, 7.6cqw, 1.5rem); color: var(--cream); }
.pick--dark input:checked + .key .shop__name { color: #240b03; }
.pickstreet .pick input:focus-visible + .key { outline: 3px solid var(--sun); outline-offset: -4px; z-index: 2; }
.pick__tick { position: absolute; right: 10px; top: 22%; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--cream); background: rgb(4 25 15 / 0.55); display: grid; place-items: center; }
.pick__tick svg { width: 16px; height: 16px; opacity: 0; }
.pick input:checked + .key .pick__tick { background: var(--sun); border-color: var(--sun); color: #1c1503; }
.pick input:checked + .key .pick__tick svg { opacity: 1; }
.pickstreet .notebar { padding-block: var(--space-md); background: #04190f; }
.pickstreet .picker__note { margin: 0; font-size: var(--text-md); color: var(--cream); }
.compare .cmp-wrap { padding-block: var(--space-2xl) var(--section-gap-s); }
.compare .cmp thead .place { font-size: var(--text-lg); }
html:not(.js) .pickstreet .cmp-tray { display: none; }
@media (max-width: 60rem) { .pick { flex: 0 0 38vw; max-width: 210px; } }

.danger .wall .section-head :is(p, a) { color: var(--cream); }

.c-ie { --c: #4b2f66; --on: #fdf3dc; --x: 50%; }
.c-cy { --c: #9c3f10; --on: #fdf3dc; --x: 50%; }
.c-mt { --c: #8a1626; --on: #fdf3dc; --x: 50%; }
.c-ch { --c: #b3241c; --on: #fff6e6; --x: 50%; }
.c-sg { --c: #e88a9c; --on: #33060f; --x: 50%; }
.c-hk { --c: #552463; --on: #fdf3dc; --x: 50%; }
.c-ge { --c: #6e1634; --on: #fdf3dc; --x: 50%; }
.c-pr { --c: #0f5b69; --on: #fdf3dc; --x: 50%; }
.c-sv { --c: #23418f; --on: #fdf3dc; --x: 50%; }
.c-ky { --c: #e9b13a; --on: #2a1a00; --x: 50%; }
.c-sc { --c: #ea6a35; --on: #2b0a00; --x: 50%; }
.c-bz { --c: #3c5a17; --on: #fdf3dc; --x: 50%; }

/* ---------- pages about the data ---------- */
.info { --c: var(--night); --on: var(--cream); }
.info .inside h1 { font-size: clamp(2.75rem, 5.6vw, 5.5rem); overflow-wrap: normal; }
.info .inside .lead { max-width: 30ch; }
.info .inside__photo img { object-position: var(--x) var(--y); }
.country.info .inside .btn, .country.info .inside .btn:hover { background: var(--sun); color: #1c1503; }
.info .rows dd { font-size: var(--text-lg); line-height: 1.5; } .info .rows dd > span { max-width: 56ch; }
.info .rows .place { font-size: var(--text-title); }
.info .section--tint { background: #e6a817; color: #2a1a00; scroll-margin-top: 0; }
.info .asks li { border-color: #2a1a00; }
.report__note { margin-top: var(--space-xl); }
.country.info .read-on { padding-block: var(--section-gap-s); background: var(--ox); color: var(--cream); }
.info .srcs { gap: var(--space-md); }
.srcs a { display: grid; text-decoration: none; } .srcs b { font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--color-accent) 40%, transparent); text-underline-offset: 0.2em; }
.srcs a:hover b { text-decoration-color: currentColor; } .srcs span { font-size: var(--text-md); color: var(--color-ink-2); }

/* compare: the places without a shopfront */
.pickstreet .picker { display: block; overflow: visible; }
.picker__street { display: flex; overflow-x: auto; scrollbar-width: none; }
.more { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); padding: var(--space-lg) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.more p { margin-right: var(--space-sm); font-weight: 500; }
.more__pick { position: relative; }
.pickstreet .more input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.more label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 var(--space-md); border: 1px solid color-mix(in oklab, var(--cream) 40%, var(--night)); border-radius: var(--radius-pill); font-weight: 500; cursor: pointer; }
.more label img { width: 24px; height: 18px; border-radius: 2px; }
.more label:hover { background: color-mix(in oklab, var(--cream) 14%, var(--night)); }
.more input:checked + label { background: var(--sun); border-color: var(--sun); color: #1c1503; }
.more input:disabled + label { opacity: 0.5; cursor: not-allowed; background: none; }
.more input:focus-visible + label { outline: 2px solid var(--sun); outline-offset: 3px; }

/* ---------- the story: chapters between the numbers and the warnings (design/build.py) ---------- */
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); margin-block: var(--space-md); padding: var(--space-lg); border-radius: 4px; background: var(--cream); color: #12261c; }
.fit h3, .chapter h3 { font: 700 var(--text-title)/1.2 var(--font-display); letter-spacing: var(--tracking-display); }
.fit ul { margin: var(--space-sm) 0 0; padding-inline-start: 1.2em; display: grid; gap: var(--space-xs); }
.country .clock--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.country .clock--4 .label { padding-bottom: var(--space-lg); }
.country .clock--4 .label__value:not(.nv) { font-size: clamp(1.25rem, 1.8vw, 1.75rem); }
.road { margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.road li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-md); border-top: 1px solid color-mix(in oklab, var(--on) 28%, var(--c)); }
.road__when { font-weight: 500; }
.road strong { font: 700 var(--text-xl)/1.15 var(--font-display); letter-spacing: var(--tracking-display); }
.story { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--space-2xl); align-items: start; }
.story__body { min-width: 0; display: grid; gap: var(--space-3xl); }
.chapter { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.chapter h2, #the-road { scroll-margin-top: calc(var(--nav-h) + var(--space-2xl)); }
.chapter h3 { margin-top: var(--space-lg); }
.chapter > ul:not(.clock) { margin: 0; padding-inline-start: 1.2em; display: grid; gap: var(--space-sm); max-width: 62ch; }
.chapter .method { margin: 0; max-width: 62ch; }
.country .method li::before { font: 700 var(--text-lg)/1.2 var(--font-display); color: inherit; }
.country .chapter .clock { margin-block: var(--space-sm); padding: var(--space-lg); border-radius: 4px; background: var(--c); }
.country .quote { background: white; border-radius: 4px; box-shadow: none; }
.prose > p a, .chapter li a, .chapter .facts a { color: var(--color-accent-deep); overflow-wrap: anywhere; }
.chapter .facts td, .chapter .facts tbody th { width: auto; }
.ok { display: inline-block; padding: 0 var(--space-xs); border: 1px solid var(--color-accent); border-radius: var(--radius-pill); font: 500 var(--text-xs)/1.5 var(--font-body); color: var(--color-accent-deep); white-space: nowrap; }
.toc { position: sticky; top: calc(var(--nav-h) + var(--space-2xl)); }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc a { display: flex; align-items: center; min-height: 44px; border-top: 1px solid var(--color-rule); font-weight: 500; text-decoration: none; white-space: nowrap; }
.toc a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.rank summary { display: list-item; padding-block: var(--space-sm); font-weight: 500; cursor: pointer; }
.rank ol { margin: var(--space-sm) 0; padding: 0; list-style: none; display: grid; gap: var(--space-xs); }
.rank li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 4.5rem; gap: var(--space-sm); align-items: center; font-size: var(--text-sm); }
.rank li[aria-current] { font-weight: 700; }
.country .rank .val { font-size: var(--text-md); text-align: end; }
.rank .bar { height: 16px; width: var(--w); background: var(--color-rule); }
.rank li[aria-current] .bar { background: var(--c); }
@media (max-width: 60rem) {
  .country .clock--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .country .chapter .clock { padding: var(--space-md); }
  .story { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .toc { position: static; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .toc ol { display: flex; gap: var(--space-lg); }
  .toc a { border: 0; }
}
@media (max-width: 40rem) { .fit, .road li { grid-template-columns: minmax(0, 1fr); } .road li { gap: var(--space-2xs); } }

/* full lists on the EU and FATF page */
.lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--space-xl); align-items: start; }
.lists ul { margin-block: var(--space-sm); padding: 0; list-style: none; }
.lists li { padding-block: var(--space-2xs); border-top: 1px solid var(--color-rule); }
.lists li.ours { font-weight: 700; }
/* All numbers: closed by default so the page keeps its length; a #all-numbers link opens it */
.numbers { padding-block: var(--space-xl); }
.numbers summary { display: list-item; cursor: pointer; padding-block: var(--space-md); border-block: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-weight: 700; }
.numbers #all-numbers { padding-top: var(--space-md); scroll-margin-top: 6rem; }
/* locator map under the checked date (design/maps.py) */
.inside .locator { order: 2; width: min(240px, 100%); aspect-ratio: 3 / 2; background: currentColor; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
