
/* ===== Tokens: 6 colours only ===== */
:root{
  --navy:#0F1D3A;      --navy-rgb:15,29,58;
  --ice:#DFECF1;       --ice-rgb:223,236,241;
  --ice-deep:#2C6A8E;
  --lemon:#FAFA0F; --lemon-rgb:250,250,15;
  --mist:#F4F6F7;
  --white:#FFFFFF;

  --muted:rgba(var(--navy-rgb),.7);
  --rule:rgba(var(--navy-rgb),.15);

  --serif:'Newsreader',Georgia,serif;
  --sans:'Inter Tight',system-ui,-apple-system,'Segoe UI',sans-serif;
  --container:1200px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--mist);color:var(--navy);font-family:var(--sans);font-size:17px;line-height:1.55}
a{color:inherit;text-decoration:none}
img,svg{display:block}
h1,h2,h3{font-family:var(--serif);font-weight:600;margin:0}
p{margin:0}
.wrap{max-width:var(--container);margin:0 auto;padding:0 40px}
.flag{flex:none;border-radius:2px;box-shadow:0 0 0 1px rgba(var(--navy-rgb),.12)}
.kicker{font-size:13px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:var(--ice-deep)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ===== Buttons ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:48px;padding:0 22px;border-radius:999px;font-family:var(--sans);font-weight:600;font-size:15px;border:1.5px solid transparent;cursor:pointer;transition:transform .15s ease}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--lemon);color:var(--navy)}
.btn-ghost{border-color:rgba(255,255,255,.5);color:var(--white)}
.btn-outline{border-color:var(--navy);color:var(--navy);background:none}

/* ===== Header ===== */
.site-header{background:var(--navy);border-bottom:1px solid rgba(var(--ice-rgb),.18);position:relative;z-index:10}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:72px}
.logo{font-family:var(--serif);font-weight:700;font-size:28px;letter-spacing:-.5px;color:var(--white)}
.logo i{font-style:normal;color:var(--lemon)}
.nav{display:flex;gap:24px;margin-inline-start:auto;margin-inline-end:20px;font-weight:600;font-size:15px}
.nav a{color:rgba(255,255,255,.85);padding:6px 0}
.nav a:hover{color:var(--white)}
.nav a[aria-current="page"]{color:var(--white);box-shadow:inset 0 -3px 0 var(--lemon)}
.header-actions{display:flex;gap:10px}
.icon-btn{width:42px;height:42px;border-radius:50%;border:1.5px solid rgba(255,255,255,.55);background:none;color:var(--white);display:grid;place-items:center;cursor:pointer}
.menu-btn{display:none;border-radius:8px}
.mobile-nav{display:none;background:var(--navy);border-bottom:1px solid rgba(var(--ice-rgb),.18)}
.mobile-nav a{display:block;padding:14px 20px;color:var(--white);font-weight:600;border-top:1px solid rgba(var(--ice-rgb),.12)}
.mobile-nav.open{display:block}

/* ===== Hero ===== */
.hero{background:var(--navy);color:var(--white);padding:84px 0 92px;position:relative;overflow:hidden}
.hero::before,.hero::after{content:"";position:absolute;border-radius:50%;pointer-events:none;top:50%;transform:translateY(-50%)}
.hero::after{right:-140px;width:640px;height:640px;border:1.5px solid rgba(var(--ice-rgb),.2)}
.hero::before{right:40px;width:300px;height:300px;border:1.5px solid rgba(var(--lemon-rgb),.35)}
.hero-inner{position:relative;z-index:1}
.hero .kicker{color:var(--ice)}
.hero h1{font-size:84px;line-height:1.02;letter-spacing:-1.5px;margin:18px 0 22px}
.hl{box-shadow:inset 0 -.24em 0 var(--lemon)}
.lede{font-size:19px;color:rgba(var(--ice-rgb),.9)}
.pick-label{margin:34px 0 12px}
.pills{display:flex;flex-wrap:wrap;gap:10px}
.pill{display:flex;align-items:center;gap:9px;height:48px;padding:0 16px 0 13px;border-radius:999px;background:rgba(255,255,255,.07);border:1.5px solid rgba(255,255,255,.22);font-weight:600;font-size:15px;transition:background .15s ease}
.pill:hover{background:rgba(255,255,255,.14)}
.ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}

/* ===== Sections ===== */
section.block{padding:72px 0}
section.block.tight{padding-top:0}
section.alt{background:var(--ice)}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:28px}
.sec-head h2{font-size:38px;letter-spacing:-.8px;line-height:1.1}
.sec-head .aside{font-size:15px;color:var(--muted)}
.sec-head a{font-size:15px;font-weight:600;white-space:nowrap}
.sec-head a:hover{text-decoration:underline}

/* Country cards */
.countries{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.ccard{background:var(--white);border:1.5px solid var(--navy);border-radius:6px;padding:20px;display:flex;flex-direction:column;gap:14px;transition:transform .15s ease}
.ccard:hover{transform:translateY(-2px)}
.ccard-top{height:40px;display:flex;justify-content:space-between;align-items:flex-start}
.path{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px;color:var(--navy);background:var(--ice);padding:3px 8px;border-radius:4px}
.ccard h3{font-size:25px;line-height:1.2}
.kw{font-size:15px;color:var(--muted)}
.ccard-go{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid var(--rule);padding-top:14px;font-weight:600;font-size:14px}
.ccard-go span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.arr{flex:none;width:34px;height:34px;border-radius:50%;background:var(--lemon);color:var(--navy);display:grid;place-items:center}

/* Guide rows */
.glist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px}
.grow{display:flex;gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid var(--rule)}
.grow:hover .grow-title{text-decoration:underline}
.num{font-family:var(--serif);font-weight:600;font-size:30px;color:var(--ice-deep);width:34px}
.tile{flex:none;width:56px;height:56px;border-radius:8px;display:grid;place-items:center;font-family:var(--serif);font-weight:700;font-size:24px}
.tile-navy{background:var(--navy);color:var(--white)}
.tile-ice{background:var(--ice);color:var(--navy)}
.tile-deep{background:var(--ice-deep);color:var(--white)}
.grow-body{flex:1;display:flex;flex-direction:column;gap:2px}
.grow-title{font-family:var(--serif);font-size:21px;font-weight:600;line-height:1.25}
.meta{font-size:13.5px;color:var(--muted);display:flex;gap:8px;align-items:center}
.grow-arr{color:var(--navy)}

/* Networks */
.nets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:2px solid var(--navy)}
.net{padding:24px;border-bottom:1px solid var(--rule)}
.net + .net{border-left:1px solid var(--rule)}
.net:first-child{padding-left:0}
.net h3{font-size:22px;margin-bottom:6px}
.net p{font-size:15px;color:var(--muted)}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.chip{font-size:13px;font-weight:600;background:var(--white);border:1.5px solid var(--navy);border-radius:999px;padding:3px 11px}

/* Footer */
.site-footer{background:var(--navy);color:rgba(var(--ice-rgb),.9);padding:56px 0 32px;font-size:14.5px}
.foot-cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px}
.foot-about{max-width:320px;margin-top:12px}
.site-footer h4{color:var(--white);font-size:13px;letter-spacing:1.5px;text-transform:uppercase;margin:0 0 14px}
.site-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.site-footer ul a{display:inline-flex;gap:9px;align-items:center}
.site-footer ul a:hover{color:var(--white)}
.foot-bottom{margin-top:40px;padding-top:22px;border-top:1px solid rgba(255,255,255,.2);display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px}
.rg{display:flex;align-items:center;gap:10px}
.badge{width:34px;height:34px;border:1.5px solid var(--white);border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:12px;color:var(--white);flex:none}

/* ===== Tablet ===== */
@media (max-width:1100px){
  .countries{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hero::before{display:none}
}

/* ===== Mobile ===== */
@media (max-width:768px){
  body{font-size:16px}
  .wrap{padding:0 20px}
  .site-header .wrap{height:62px}
  .logo{font-size:25px}
  .nav,.search-btn{display:none}
  .menu-btn{display:grid}
  .hero{padding:44px 0 52px}
  .hero::before,.hero::after{display:none}
  .hero h1{font-size:46px;letter-spacing:-1px;margin:14px 0 16px}
  .lede{font-size:16.5px}
  .pills{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .pills .pill:last-child:nth-child(odd){grid-column:1/-1}
  .pill{height:46px;font-size:14px}
  .ctas{flex-direction:column}
  .ctas .btn{width:100%}
  section.block{padding:44px 0}
  section.block.tight{padding-top:0}
  .sec-head{display:block}
  .sec-head h2{font-size:30px}
  .sec-head .aside,.sec-head a{display:none}
  .countries{grid-template-columns:1fr 1fr;gap:12px}
  .countries .ccard:last-child:nth-child(odd){grid-column:1/-1}
  .ccard{padding:16px;gap:10px}
  .ccard h3{font-size:22px}
  .kw{font-size:13px}
  .ccard-go{font-size:13px}
  .ccard-go span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .glist{grid-template-columns:1fr}
  .num{display:none}
  .grow-title{font-size:18px}
  .nets{grid-template-columns:1fr}
  .net,.net:first-child{padding:20px 0}
  .net + .net{border-left:none}
  .foot-cols{grid-template-columns:1fr 1fr}
  .foot-cols > div:first-child{grid-column:1/-1}
  .foot-bottom{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

:focus-visible{outline:3px solid var(--ice-deep);outline-offset:4px}
.hero :focus-visible,.site-header :focus-visible,.site-footer :focus-visible{outline-color:var(--lemon)}
.hero h1{font-size:clamp(2.45rem,7vw,5.25rem)}
.guide-copy{font-size:16px;color:var(--muted);padding:0 0 18px 74px}
summary.grow{cursor:pointer;list-style:none}
summary.grow::-webkit-details-marker{display:none}
details[open] .grow-arr{transform:rotate(45deg)}
#search{position:fixed;inset:auto;width:min(460px,calc(100% - 32px));margin:0;padding:20px;border:1px solid var(--rule);border-radius:12px;background:var(--white);color:var(--navy);box-shadow:0 12px 36px rgba(var(--navy-rgb),.2);z-index:100;overflow:hidden}
#search[open]{display:flex;flex-direction:column}
.search-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.search-head h2{font-size:26px;line-height:1.1}
.search-head .btn{height:36px;padding-inline:14px;font-size:14px}
#search input{flex:none;width:100%;padding:12px;margin:16px 0 10px;font:inherit;border:1px solid var(--rule);border-radius:8px}
.search-options{list-style:none;padding:0;margin:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;max-height:min(360px,50dvh)}
.search-options li + li{border-top:1px solid var(--rule)}
.search-options .search-result{display:flex;align-items:center;gap:14px;padding:10px 8px;border-radius:6px;color:var(--navy);text-decoration:none}
.search-options .search-result:hover,.search-options .search-result:focus-visible,.search-options [aria-selected="true"] .search-result{background:var(--ice);text-decoration:none}
.search-result-logo{flex:none;width:72px;height:44px;padding:5px;object-fit:contain;border-radius:5px;background:var(--navy)}
.search-result-logo-light{background:var(--white);border:1px solid var(--rule)}
.search-result-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.search-result-name{font-size:16px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.search-result-country{font-size:13px;line-height:1.3;color:var(--muted)}
#search-status:empty,.hub-search-results [role="status"]:empty{display:none}
#search-status,.hub-search-results [role="status"]{font-size:15px;padding:12px 8px}
.market-flag{margin-bottom:16px}
.foot-cols{grid-template-columns:1.4fr 1fr 1fr}
.net p{font-size:16px}
@media(max-width:640px){.foot-cols{grid-template-columns:1fr 1fr}.wrap{padding-inline:16px}.ccard{min-width:0}.ccard-go span:first-child{white-space:normal}}

.mobile-nav a[aria-current="page"]{box-shadow:inset 4px 0 var(--lemon)}

.hero-compact{padding:clamp(36px,5vw,64px) 0}
.hero-compact::before,.hero-compact::after{content:none}
.hero-compact h1{font-size:clamp(2.25rem,5.5vw,4.25rem);margin-bottom:0}

/* Shared inner-page layout */
.hub-hero{background:var(--navy);color:var(--white);padding:28px 0 56px}
.hub-hero h1{font-size:clamp(2.4rem,6.4vw,4.75rem);line-height:1.02;letter-spacing:-.02em;margin:14px 0 0;overflow-wrap:anywhere}
.hub-hero .lede{margin-top:18px}
.hub-editorial{padding-block:clamp(32px,5vw,64px)}
section.block.hub-directory{padding-bottom:0}
section.block.hub-directory + section.block,
.hub-directory + .hub-copy > .hub-editorial:first-child{padding-top:clamp(24px,4vw,44px)}
.hub-columns{display:grid;gap:28px}
.hub-topic h3{font-size:1.45rem;line-height:1.2;margin-bottom:.6rem}
.hub-copy .hub-band:not(.alt){padding-top:0}
.hub-copy .hub-band.alt + .hub-band{padding-top:clamp(44px,6vw,72px)}
.hub-copy a{text-decoration:underline;text-underline-offset:.15em}
.hub-faq .sec-head{border:0;padding:0;margin-bottom:20px}
.faq{border-top:2px solid var(--navy)}
.faq details{border-bottom:1px solid var(--rule)}
.faq summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 0;font-weight:600;font-size:1.09375rem;cursor:pointer}
.faq summary::-webkit-details-marker{display:none}
.faq summary svg{flex:none}
.faq details[open] summary svg{transform:rotate(180deg)}
.faq .a{padding-bottom:20px;color:var(--muted)}
@media(max-width:768px){
  .hub-hero{padding:20px 0 40px}
  .faq summary{font-size:1rem}
}

/* Country hub hero from the supplied design */
.country-hero{position:relative;z-index:2;padding:30px 0 56px}
.country-hero .kicker{display:flex;align-items:center;gap:10px;color:var(--ice)}
.country-hero h1{font-size:clamp(2.65rem,10.3vw,4.75rem);line-height:1.02;margin:12px 0 24px}
.country-hero .lede{margin-top:0}
.hub-search-shell{position:relative;margin-top:30px}
.hub-search{display:flex;align-items:center;gap:12px;min-height:56px;margin:0;padding:7px 8px 7px 20px;border-radius:999px;background:var(--white);color:var(--navy)}
.hub-search svg{flex:none}
.hub-search input{flex:1;min-width:0;border:0;background:none;color:inherit;font:inherit;font-size:1rem}
.hub-search input::placeholder{color:var(--muted)}
.hub-search .btn{height:42px;flex:none}
.hub-search:focus-within{box-shadow:0 0 0 2px var(--ice-deep)}
.hub-search input:focus-visible{outline:none}
.hub-search .btn:focus-visible{outline-color:var(--navy);outline-offset:2px}
.hub-search-results{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:20;padding:6px;border:1px solid var(--rule);border-radius:10px;background:var(--white);color:var(--navy);box-shadow:0 12px 30px rgba(var(--navy-rgb),.18)}
@media(max-width:480px){
  .country-hero{padding:24px 0 40px}
  .hub-search{padding-left:12px;gap:8px}
  .hub-search .btn{padding-inline:12px}
  #search{padding:16px}
  .search-head h2{font-size:23px}
}

/* German sister-site directory and article pages */
.guide-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.guide-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--rule);border-radius:6px;background:var(--white)}
.guide-card-media{position:relative;flex:none;aspect-ratio:16/9;background:var(--navy)}
.guide-card-media-light{background:var(--white)}
.guide-card-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.guide-card-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:10px;padding:22px}
.guide-card-body h3{font-size:1.5rem;line-height:1.15}
.guide-card-body p{margin-bottom:8px}
.guide-card-body .btn{margin-top:auto}
.guide-card-body .btn:hover{background:var(--lemon)}
.brand-article section + section{margin-top:3rem}
.brand-article p + p{margin-top:1rem}
.brand-article p a{text-decoration:underline;text-underline-offset:.15em}
.brand-article h3{font-size:1.45rem;margin:1.75rem 0 .65rem}
.brand-article figure{margin:0 0 .8rem}
.brand-article figure img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:6px;background:var(--navy)}
.brand-article figcaption{font-size:.875rem;color:var(--muted);margin-top:.4rem}
.brand-article .table-scroll{overflow-x:auto;margin-top:1rem}
.brand-article table{width:100%;min-width:800px;border-collapse:collapse}
.brand-article thead{background:var(--navy);color:var(--white)}
.brand-article th,.brand-article td{padding:.85rem 1rem;text-align:left;border-bottom:1px solid var(--rule)}
.brand-article tbody tr:nth-child(even){background:var(--ice)}
.brand-article .brand-logo{width:112px;height:48px;object-fit:contain;padding:4px;border-radius:6px;background:var(--navy)}
.brand-article .brand-logo-light{background:var(--white)}
.brand-article .brand-logo-padded{object-fit:cover}
.brand-article .table-brand{display:inline-grid;justify-items:center;gap:6px;width:112px;vertical-align:middle}
.brand-article .table-brand-name{font-size:.875rem;font-weight:600;line-height:1.3;text-align:center;color:var(--navy);overflow-wrap:anywhere}
.brand-article .faq p{padding-bottom:1rem}
@media(max-width:900px){.guide-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){
  .guide-cards{gap:12px}
  .guide-card-body{gap:8px;padding:12px}
  .guide-card-body h3{font-size:1.2rem;overflow-wrap:anywhere}
  .guide-card-body p{font-size:.875rem;margin-bottom:4px}
  .guide-card-body .btn{min-height:42px;height:auto;padding:8px 10px;text-align:center}
}

/* Homepage: one compact gap between sections, without stacked padding. */
.home-page{--section-gap:40px}
.home-page > section.block{padding-block:0 var(--section-gap)}
.home-page > .hero + section.block{padding-top:var(--section-gap)}
.home-page > section.block + section.block{padding-top:0}
.home-page > section.block.hub-directory{padding-bottom:var(--section-gap)}
@media(max-width:768px){.home-page{--section-gap:28px}}

/* Supporting pages: one shared section gap, without stacked outer padding. */
.support-page{--section-gap:32px}
.support-page > section.block{padding-block:var(--section-gap) 0}
.support-page .hub-editorial{padding-block:var(--section-gap)}
.support-page .brand-article section + section{margin-top:var(--section-gap)}
.support-page .sec-head{margin-bottom:16px}
.support-page .author-card{margin-top:var(--section-gap)}
@media(max-width:768px){.support-page{--section-gap:24px}}

/* Shared editorial author card. Avatars are illustrations, not profile photos. */
.author-card{display:grid;grid-template-columns:80px minmax(0,1fr);column-gap:20px;row-gap:16px;margin:40px 0;padding:24px;border:1px solid var(--rule);border-inline-start:4px solid var(--lemon);border-radius:6px;background:var(--white);color:var(--navy)}
.author-card .author-avatar{grid-column:1;grid-row:1;align-self:end;width:80px;height:80px;max-width:100%;aspect-ratio:1;object-fit:contain;border-radius:6px;background:var(--ice)}
.author-card .author-heading{grid-column:2;grid-row:1;min-width:0}
.author-card .author-label{margin:0 0 4px;font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--ice-deep)}
.author-card .author-name{margin:0;font-family:var(--serif);font-size:28px;font-weight:600;line-height:1.15}
.author-card .author-role{margin:5px 0 0;font-size:15px;line-height:1.4;color:var(--muted)}
.author-card .author-bio{grid-column:1 / -1;grid-row:2;margin:0;font-size:1rem;line-height:1.6}
.author-card--hub{margin-top:0}
.author-card--end{margin-bottom:0}
.author-band .author-card{margin:0}
.brand-article .author-card + section{margin-top:0}
@media(max-width:640px){
  .author-card{grid-template-columns:64px minmax(0,1fr);column-gap:16px;row-gap:16px;margin-block:28px;padding:18px}
  .author-card .author-avatar{width:64px;height:64px}
  .author-card .author-name{font-size:26px}
  .author-card .author-role{font-size:14px}
  .author-card .author-bio{grid-column:1 / -1}
  .author-card--hub{margin-top:0}
  .author-card--end{margin-bottom:0}
}
