/* Shared page layout; the existing logo and the seed-map renderer are unchanged. */
:root{--xh-page-title:clamp(34px,4vw,50px)}
.site-header .primary-navigation{padding:0;border:0;border-radius:0;background:none;box-shadow:none;gap:30px;align-self:stretch}
.site-header .primary-navigation a{padding:8px 0;border-radius:0;font-size:16px;background:transparent;color:var(--muted);min-height:44px}
.site-header .primary-navigation a:hover,.site-header .primary-navigation a.is-active{background:transparent;color:var(--text)}
.site-header .primary-navigation a:after{content:"";position:absolute;left:0;right:0;bottom:16px;height:2px;width:auto;border-radius:0;background:var(--accent);opacity:0;transition:opacity .15s}
.site-header .primary-navigation a:hover:after,.site-header .primary-navigation a.is-active:after{opacity:1}
.site-header .primary-navigation a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.hero-copy h1,.page-heading h1,.detail-heading h1,.xh-map-page .xh-map-intro h1{font-size:var(--xh-page-title);font-weight:750;line-height:1.12;letter-spacing:-.035em}
.hero-copy h1{max-width:760px;text-wrap:initial}.hero-copy h1 span{margin-top:5px}
.detail-page.shell{max-width:var(--shell)}
.detail-page .detail-heading h1{max-width:1100px;margin-top:0;text-wrap:balance}
.detail-page .detail-content{max-width:none;width:100%;margin-inline:0}
.detail-page .detail-heading{padding-top:22px}
.detail-subline{margin-top:14px;display:block;overflow-wrap:anywhere}
.seed-description{white-space:normal;max-width:88ch}
.seed-description p+p{margin-top:12px}.editorial-description{white-space:pre-line}
.detail-taxonomies a{display:inline-flex;font-size:14px;line-height:1.5;padding:5px 10px;background:#1e2933;border:1px solid #344552;border-radius:4px;color:#c9d9e6}
.detail-taxonomies a:hover{border-color:var(--accent);color:#fff}
.seed-gallery .gallery-editions{left:16px;top:16px;z-index:3;pointer-events:none}
.seed-gallery .gallery-editions span{font-size:14px;padding:5px 10px;background:#101820e8}
.content-guide{padding-block:28px;border-top:1px solid var(--line);margin-top:28px}
.content-guide h2{font-size:clamp(25px,2.5vw,32px);margin-bottom:16px}
.content-guide p,.content-guide li{font-size:17px;line-height:1.75;color:var(--muted);max-width:94ch}
.content-guide p+p{margin-top:12px}.content-guide ol{padding-left:24px;margin-block:0}.content-guide li+li{margin-top:8px}
.explore-links{display:flex;gap:16px 28px;flex-wrap:wrap;margin-top:18px}
.category-links a{gap:12px;padding:12px;min-height:92px;font-size:15px;background:#19232a}
.category-links .category-icon{flex:0 0 58px;width:58px;height:64px;background:none}
.category-links .category-icon svg{width:58px;height:64px;fill:none;stroke:none;filter:drop-shadow(0 5px 5px #0004)}
.category-links .category-icon svg *{stroke:none}
.category-links a:hover .category-icon{transform:translateY(-2px)}
.category-links a>svg{flex:0 0 14px}
/* The map receives exactly the site's shared outer width. Its controls and canvas keep their own styles. */
.xh-map-page{padding-top:28px}
.xh-map-page .xh-map-intro{padding:0 0 24px}
.xh-map-page .xh-map-intro p{font-size:17px;line-height:1.7;max-width:88ch;margin-top:15px;color:var(--muted)}
.xh-map-page .xh-seedmap{width:100%;max-width:none;margin:0;padding:0 0 12px;min-width:0}
.xh-map-page .xh-map-guide{margin-top:18px}
@media(max-width:1100px){.site-header .primary-navigation{gap:22px}.category-links{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.site-header .primary-navigation{gap:17px}.site-header .primary-navigation a{font-size:14px}}
@media(max-width:640px){
:root{--xh-page-title:clamp(32px,8.8vw,40px)}
.site-header .primary-navigation{align-self:auto;padding:12px 20px 18px;background:#141c23;border:1px solid #34434f;gap:0;box-shadow:0 12px 24px #0004}
.site-header .primary-navigation a{font-size:16px;padding:13px 0}
.site-header .primary-navigation a:after{bottom:5px;left:0;right:auto;width:36px;height:2px}
.category-links{grid-template-columns:repeat(2,minmax(0,1fr))}
.category-links a{font-size:14px;gap:8px;padding:10px 8px;min-height:82px}
.category-links .category-icon{flex-basis:42px;width:42px;height:50px}
.category-links .category-icon svg{width:42px;height:50px}
.category-links a>svg{display:none}
.content-guide p,.content-guide li,.xh-map-page .xh-map-intro p{font-size:16px}
.content-guide{padding-block:23px;margin-top:20px}
.detail-page .detail-heading{padding-top:18px}.detail-subline{font-size:16px}
.seed-gallery .gallery-editions{left:10px;top:10px}.seed-gallery .gallery-editions span{font-size:12px;padding:4px 7px}
.xh-map-page{padding-top:22px}
}
@media(prefers-reduced-motion:reduce){.category-links .category-icon,.site-header .primary-navigation a:after{transition:none;transform:none}}

.detail-page .about-section{padding-top:10px}
