/* Country navigation is part of the home page, with the same instrument surfaces. */
body #routes .section-heading{flex-wrap:wrap;gap:16px;margin-bottom:24px}
body #routes .section-heading h2{margin-left:0;white-space:normal}
body #routes .country-directory{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}
body .home-country-filter{position:relative;padding:20px;background:var(--instrument-surface);border:1px solid var(--instrument-edge);border-radius:22px;box-shadow:var(--instrument-shadow);min-width:0;scroll-margin-top:28px}
body .home-country-search{display:flex;gap:10px;align-items:center;border:1px solid #8bb5bd66;border-radius:14px;background:#0b1922;padding:0 12px;box-shadow:inset 0 2px 6px #0005}
body .home-country-search svg{width:21px;height:21px;color:var(--instrument-white);flex:none}
body .home-country-search input{width:100%;min-width:0;min-height:48px;background:none;border:0;box-shadow:none;border-radius:0;padding:10px 0;font-size:16px;color:var(--instrument-white)}
body .home-country-search:focus-within{outline:2px solid var(--instrument-mint);outline-offset:3px}
body .home-country-search input:focus-visible{outline:none}
body .country-region-details{margin:14px 0 0}
body .country-region-details>summary{display:none}
body .home-country-regions{border:0;padding:0;margin:0;display:grid;gap:4px}
body .home-country-regions legend{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
body .home-region-option{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px;border:1px solid transparent;border-radius:12px;cursor:pointer;font:500 15px/1.4 var(--body);color:var(--instrument-white)}
body .home-region-option input{appearance:none;flex:none;width:22px;height:22px;margin:0;padding:0;border:1px solid #a9c4cc;border-radius:50%;background:#10232d;box-shadow:none}
body .home-region-option input:checked{border:2px solid #a2ffdc;background:radial-gradient(#b6ffe3 0 30%,#1d5949 34% 55%,transparent 59%);box-shadow:0 0 0 3px #70efbe15}
body .home-region-option:has(:checked){border-color:#70efbe52;background:linear-gradient(145deg,#234b40aa,#0c2c2888);color:#b6ffe0}
body .home-region-option b{font-size:14px;font-weight:500;color:var(--instrument-muted);margin-left:auto}
body #home-country-count{border-top:1px solid var(--instrument-edge);padding-top:16px;margin-top:16px;font-size:14px;color:var(--instrument-muted)}
body .country-reset{width:100%;margin-top:14px;font-size:14px}
body #routes .country-directory .route-cards{grid-template-columns:repeat(3,minmax(0,1fr));padding:0;gap:16px;min-width:0}
body #routes .country-directory .route-card{height:250px;min-width:0}
body #routes .country-directory .route-copy{padding:44px 16px 16px}
body #routes .country-directory .route-copy strong{font-size:21px;overflow-wrap:anywhere}
body #routes .country-directory .route-copy small{font-size:14px;padding-right:0}
body .country-directory-results{min-width:0}
body .country-more{display:flex;margin:24px auto 0;font-size:15px}
body .country-empty{padding:28px;background:var(--instrument-surface);border:1px solid var(--instrument-edge);border-radius:18px;line-height:1.6}
body :is(.country-more,.country-reset,.country-empty)[hidden]{display:none}
@media(min-width:701px){body .country-region-details:not([open])>.home-country-regions{display:grid}}
@media(max-width:1100px) and (min-width:701px){body #routes .country-directory{grid-template-columns:260px minmax(0,1fr);gap:18px}body #routes .country-directory .route-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body #routes .country-directory{display:block}body .home-country-filter{padding:16px;border-radius:18px;margin-bottom:20px}body .country-region-details>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 2px;min-height:44px;font-size:16px;cursor:pointer;list-style:none}body .country-region-details>summary::after{content:'⌄';color:var(--instrument-mint);font-size:22px}body .country-region-details[open]>summary::after{transform:rotate(180deg)}body .country-region-details>summary::-webkit-details-marker{display:none}body .home-country-regions{margin-top:8px}body .country-region-details:not([open])>.home-country-regions{display:none}body #home-country-count{margin-top:8px;padding-top:12px}body #routes .country-directory .route-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:12px}body #routes .country-directory .route-card{height:220px;width:auto}body #routes .country-directory .route-copy{padding:40px 12px 12px}body #routes .country-directory .route-copy strong{font-size:18px}body #routes .country-directory .route-copy small{font-size:13px}body #routes .all-routes{font-size:13px;margin:0}}
@media(max-width:420px){body #routes .country-directory .route-cards{grid-template-columns:1fr}body #routes .country-directory .route-card{height:270px}body #routes .country-directory .route-copy strong{font-size:24px}}
/* The country finder is the first section after the hero, before the library. */
body .hero-countries-link{display:inline-flex;align-items:center;min-height:44px;margin-top:10px;color:#91f5cd;font-size:16px;text-decoration:underline;text-underline-offset:5px}
body #routes{scroll-margin-top:24px;padding-top:36px}
body #routes .home-country-filter{border-color:#82b6a75c;background:radial-gradient(at 0 0,#34595688,transparent 70%),linear-gradient(150deg,#142d32,#071922)}
body #routes .home-country-search svg{fill:none;stroke:currentColor;stroke-width:1.6}
@media(min-width:701px){body #routes .home-country-filter{position:sticky;top:22px}}
/* Country navigation belongs to the hero scene, next to the globe. */
body.hero-country-navigation .hero#home{min-height:930px}
body.hero-country-navigation .hero .hero-layout{grid-template-columns:minmax(0,600px) minmax(180px,1fr) 280px;column-gap:24px;min-height:930px}
body.hero-country-navigation .hero .hero-copy{grid-column:1/3;max-width:600px}
body.hero-country-navigation .hero .home-country-filter{grid-column:3;grid-row:1/3;align-self:start;width:100%;margin:250px 0 0;padding:16px;z-index:8;border-radius:20px;background:linear-gradient(145deg,#244441ec,#091d25ed);border:1px solid #a6e8d44a;box-shadow:inset 0 1px #e7ffff26,0 12px 30px #0004;scroll-margin-top:24px}
body.hero-country-navigation .hero .home-country-search{padding:0 10px;border-radius:28px;background:#0c2528ba}
body.hero-country-navigation .hero .home-country-search input{min-height:44px;font-size:14px}
body.hero-country-navigation .hero .home-country-search svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}
body.hero-country-navigation .hero .country-region-details{margin-top:10px}
body.hero-country-navigation .hero .home-country-regions{gap:2px}
body.hero-country-navigation .hero .home-region-option{min-height:40px;padding:8px 5px;gap:10px;font-size:14px}
body.hero-country-navigation .hero .home-region-option input{width:22px;height:22px}
body.hero-country-navigation .hero #home-country-count{padding-top:12px;margin-top:10px;font-size:13px;line-height:1.4}
body.hero-country-navigation .hero .map-card{grid-column:2;grid-row:2;justify-self:end;width:220px;align-self:end}
body.hero-country-navigation .hero .globe{bottom:-180px;right:0;width:min(1150px,82vw)}
body.hero-country-navigation .hero .hero-art{height:760px;object-position:100% center;mask-image:linear-gradient(#000 78%,transparent);-webkit-mask-image:linear-gradient(#000 78%,transparent)}
body.hero-country-navigation .hero .stats{grid-column:1;max-width:600px}
body.hero-country-navigation #routes .country-directory{display:block}
body.hero-country-navigation #routes .country-directory .route-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
body.hero-country-navigation #routes .country-directory .route-card{height:300px}
body.hero-country-navigation .hero-country-results{display:grid;gap:5px;margin-top:12px;border-top:1px solid #9dbfbf3b;padding-top:8px}
body.hero-country-navigation .hero-country-results[hidden]{display:none}
body.hero-country-navigation .hero-country-result{display:flex;align-items:center;min-height:44px;padding:10px 12px;font-size:15px;font-weight:600;color:#e5fff3;border-radius:10px;background:#a1e8ca12;border:1px solid #a1e8ca24;text-decoration:none}
body.hero-country-navigation .hero-country-result:hover{background:#71efbe2b;border-color:#a0f2cd}
body.hero-country-navigation .hero-country-no-results{font-size:14px;line-height:1.5;color:#d0e3df;margin:0}
body.hero-country-navigation .hero-country-browse{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:10px;border-radius:12px;border:1px solid #7edcba66;background:#0b2524b8;color:#a3f5d3;font-size:14px;line-height:1.4;font-weight:600;padding:9px 12px;text-align:center}
body.hero-country-navigation .hero .country-reset{margin-top:10px;min-height:40px;font-size:14px}
@media(min-width:1201px) and (max-width:1350px){body.hero-country-navigation .hero .hero-layout{grid-template-columns:minmax(0,1fr) 205px 268px;column-gap:20px}body.hero-country-navigation .hero .map-card{width:205px}body.hero-country-navigation .hero .stats>div{padding-inline:12px}body.hero-country-navigation .hero .stats strong,body.hero-country-navigation .hero .stats>div:first-child strong{font-size:21px}}
@media(min-width:701px) and (max-width:1200px){body.hero-country-navigation .hero#home{min-height:0}body.hero-country-navigation .hero .hero-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;min-height:0;padding-top:410px;gap:24px}body.hero-country-navigation .hero .hero-copy{grid-column:1/-1;grid-row:1;max-width:700px}body.hero-country-navigation .hero .stats{grid-column:1;grid-row:2;align-self:start}body.hero-country-navigation .hero .home-country-filter{grid-column:2;grid-row:2/4;margin:0}body.hero-country-navigation .hero .map-card{display:block;grid-column:1;grid-row:3;justify-self:start;align-self:start;width:220px}body.hero-country-navigation .hero .globe{display:block;bottom:-100px;right:-80px;width:850px;opacity:.75}body.hero-country-navigation .hero .hero-art{height:740px;object-position:88% top}body.hero-country-navigation .hero .stats{grid-template-columns:1fr 1fr;padding:10px 0}body.hero-country-navigation .hero .stats>div{padding:12px 16px;border:0}body.hero-country-navigation .hero .stats strong{font-size:23px}}
@media(max-width:700px){body.hero-country-navigation .hero#home{min-height:0}body.hero-country-navigation .hero .hero-layout{display:flex;min-height:0;gap:24px;padding-bottom:28px}body.hero-country-navigation .hero .hero-art{height:620px;object-position:88% top}body.hero-country-navigation .hero .hero-copy{width:100%;max-width:none}body.hero-country-navigation .hero .home-country-filter{margin:120px 0 0;width:100%;padding:18px;align-self:stretch;order:4;background:linear-gradient(145deg,#244441ed,#091d25f5)}body.hero-country-navigation .hero .home-country-search input{font-size:16px;min-height:48px}body.hero-country-navigation .hero .home-region-option{min-height:44px;font-size:15px}body.hero-country-navigation .hero .map-card{display:none}body.hero-country-navigation .hero .globe{display:block;bottom:-160px;right:-220px;width:850px;opacity:.8;pointer-events:none}body.hero-country-navigation .hero .globe button{pointer-events:auto}body.hero-country-navigation .hero .stats{width:100%;max-width:none;order:2}body.hero-country-navigation .hero .country-region-details>summary{min-height:44px;font-size:16px}body.hero-country-navigation #routes .country-directory .route-cards{grid-template-columns:repeat(2,minmax(0,1fr))}body.hero-country-navigation #routes .country-directory .route-card{height:250px}}
@media(max-width:420px){body.hero-country-navigation #routes .country-directory .route-cards{grid-template-columns:1fr}body.hero-country-navigation #routes .country-directory .route-card{height:290px}}
body.hero-country-navigation .site-frame .hero#home{background:#0b1b22}
body.hero-country-navigation .hero-country-zone{display:contents}
@media(max-width:700px){body.hero-country-navigation .hero-country-zone{display:block;position:relative;width:100%;order:4;margin-top:120px}body.hero-country-navigation .hero .home-country-filter{margin:0}body.hero-country-navigation .hero .globe{top:-140px;bottom:auto;right:auto;left:50%;transform:translateX(-50%);width:800px;opacity:.85}body.hero-country-navigation .hero #map-pins{display:none}}
/* Feather the globe photograph into the hero instead of exposing its rectangular edge. */
body.hero-country-navigation .hero .globe{mask-image:linear-gradient(180deg,transparent,#000 18%),linear-gradient(90deg,transparent,#000 16%);mask-composite:intersect;-webkit-mask-image:linear-gradient(180deg,transparent,#000 18%),linear-gradient(90deg,transparent,#000 16%);-webkit-mask-composite:source-in}
