/* Shared by every guide page under public/[<market>/]guides/. These pages are
   hand-authored per market with no build step, so this file is the one place their
   look is defined — edit here, not in 48 copies. */
@font-face{font-family:"Bricolage Grotesque";src:url("/fonts/BricolageGrotesque-Bold.woff2") format("woff2");font-weight:700;font-display:swap;}
@font-face{font-family:"Bricolage Grotesque";src:url("/fonts/BricolageGrotesque-SemiBold.woff2") format("woff2");font-weight:600;font-display:swap;}
@font-face{font-family:"Hanken Grotesk";src:url("/fonts/HankenGrotesk-Regular.woff2") format("woff2");font-weight:400;font-display:swap;}
@font-face{font-family:"Hanken Grotesk";src:url("/fonts/HankenGrotesk-SemiBold.woff2") format("woff2");font-weight:600;font-display:swap;}
:root{
  color-scheme:light;
  --bg:#f4f0e6; --card:#faf7ef; --bd:#e5dfd0; --ink:#1e1b15; --muted:#57534a; --accent:#2e5d43;
  --display:"Bricolage Grotesque", system-ui, sans-serif;
  --body:"Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*{box-sizing:border-box;}
html,body{margin:0;}
body{background:var(--bg); color:var(--ink); font-family:var(--body); line-height:1.6; -webkit-font-smoothing:antialiased;}
a{color:var(--accent);}
.wrap{max-width:720px; margin:0 auto; padding:0 24px;}
header{padding:22px 0;}
.brand{display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:inherit;}
.brand img{width:32px; height:34px; object-fit:contain;}
.brand b{font-family:var(--display); font-size:20px; font-weight:700;}
main{padding:24px 0 64px;}
.eyebrow{font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--accent);}
h1{font-family:var(--display); font-weight:700; font-size:40px; line-height:1.08; letter-spacing:-.02em; margin:10px 0 10px;}
/* byline and review date read as one block under the headline: who wrote it, and
   when the content was last checked */
.byline{color:var(--muted); font-size:14px; margin:0 0 2px;}
.byline a{color:var(--muted); text-decoration-color:var(--bd);}
.updated{color:var(--muted); font-size:14px; margin:0 0 14px;}
.lede{font-size:18px; color:var(--muted); margin:0 0 8px;}
h2{font-family:var(--display); font-weight:600; font-size:22px; margin:36px 0 8px;}
h3{font-family:var(--display); font-weight:600; font-size:17px; margin:22px 0 6px;}
p{margin:0 0 12px;}
ul{margin:0 0 12px; padding-left:20px;}
li{margin:6px 0;}
.note{background:var(--card); border:1px solid var(--bd); border-radius:14px; padding:16px 18px; margin:16px 0;}
.note p:last-child{margin-bottom:0;}
.note b{font-family:var(--display);}
/* the threshold tables are the reason people land here — let them scroll on a phone
   rather than squeezing the columns illegibly */
.table-wrap{overflow-x:auto; margin:14px 0 18px; border:1px solid var(--bd); border-radius:14px; background:var(--card);}
table{border-collapse:collapse; width:100%; min-width:520px; font-size:15px;}
th,td{text-align:left; padding:11px 14px; border-bottom:1px solid var(--bd); vertical-align:top;}
th{font-family:var(--display); font-weight:600; font-size:14px; background:#efeadd;}
tr:last-child td{border-bottom:none;}
.cta{background:#21503a; color:#faf7ef; border-radius:18px; padding:26px 28px; margin:36px 0 8px;}
.cta h2{color:#faf7ef; margin:0 0 8px; font-size:22px;}
.cta p{color:#dfd9c8; margin:0 0 16px;}
.cta a{display:inline-flex; align-items:center; background:#faf7ef; color:#1e3a2b; font-weight:600; text-decoration:none; padding:13px 24px; border-radius:12px;}
.sources{font-size:14.5px; color:var(--muted);}
.sources li{margin:8px 0;}
/* The footer is written into every guide, About and legal page by
   scripts/build-footers.mjs, out of the wording in that language's landing footer — only
   the look is here. Same groups as the landings, stacked differently: these pages are
   720px wide where a landing is 1120, so the mark sits above the two groups rather than
   beside them. Tracks are explicit and floored at 0; a nested grid would be a place for
   an implicit column to appear, which is what PR #203 shipped, so the guide list is CSS
   multi-column instead. */
footer{border-top:1px solid var(--bd); background:#efeadd;}
footer .wrap{padding:30px 24px 34px; font-size:14px; color:var(--muted);}
/* a link in the prose above is underlined because it interrupts a sentence; a column of
   them is a list, and the underlines only add noise */
footer a{color:var(--muted); text-decoration:none;}
footer a:hover{text-decoration:underline;}
.foot-brand{display:flex; align-items:center; flex-wrap:wrap; gap:4px 10px;}
.foot-brand a{display:inline-flex; align-items:center; gap:9px; text-decoration:none; color:var(--ink);}
.foot-brand img{width:26px; height:28px; object-fit:contain;}
.foot-brand b{font-family:var(--display); font-size:17px; font-weight:700;}
.foot-brand span{font-size:13.5px;}
.foot-cols{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,170px); gap:24px; margin-top:20px;}
.group h2{font-family:var(--display); font-size:12px; font-weight:700; letter-spacing:.13em;
          text-transform:uppercase; color:var(--accent); margin:0 0 6px;}
.group ul{list-style:none; margin:0; padding:0; font-size:13.5px;}
.group li{margin:0;}
.group a{display:block; padding:5px 0; line-height:1.35;}
/* one row per topic, one link per market: the codes are the links and carry the accent,
   and their padding is cancelled by an equal negative margin so a target a thumb can hit
   does not stretch the row */
.group .multi{padding:5px 0; line-height:1.35;}
.group .multi a{display:inline-block; padding:6px 4px; margin:-6px 0; color:var(--accent);}
.group .cur{color:var(--ink); font-weight:600;}
.group li:not(.multi) > .cur{display:block; padding:5px 0;}
.group .multi .cur{display:inline-block; position:relative; padding:6px 4px; margin:-6px 0;}
/* the current market's full name, for a screen reader alone: the code beside it is
   aria-hidden, so "(UK)" is what is seen and "Passports (United Kingdom)" what is heard —
   the same as the sibling links' aria-labels */
.group .cur .vh{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap;}
.group .two{columns:2; column-gap:22px;}
.group .two li{break-inside:avoid;}
footer .langs{display:flex; flex-wrap:wrap; align-items:center; gap:0 14px; margin-top:18px;
              padding-top:14px; border-top:1px solid var(--bd); font-size:13px;}
footer .langs .globe{width:14px; height:14px; flex:none;}
footer .langs a,footer .langs .cur{padding:6px 0;}
footer .langs .cur{color:var(--ink); font-weight:600;}
.foot-copy{margin:12px 0 0; font-size:12.5px;}
@media (max-width:640px){
  h1{font-size:32px;}
  .foot-cols{grid-template-columns:1fr; gap:22px;}
  .group .two{columns:1;}
  /* a footer is navigation on a phone, so the rows are thumb-sized there */
  .group a,.group li:not(.multi) > .cur,.group .multi{padding:8px 0;}
  .group .multi a,.group .multi .cur{padding:9px 5px; margin:-9px 0;}
}
