/* Home layout only. Visual/type tokens are scoped to .home-page in styles.css. */
.home-document{scroll-behavior:auto}
.home-page .home-width{width:calc(100% - 40px);max-width:1200px;margin-inline:auto}
.home-page main{min-width:0}
.home-page .home-hero{padding-block:40px}
.home-page .home-hero-copy{min-width:0}
.home-page .home-disclosure{margin-block:16px 0}
.home-page .home-hero h1{max-width:900px;margin:0 0 24px}
.home-page .home-intro{max-width:680px;margin:0}
.home-page .home-freshness{margin:16px 0 0;max-width:680px}
.home-page h2{margin:0 0 16px}
.home-page .home-subline{margin:0 0 24px}
.home-page .home-parts,.home-page .home-world{padding-bottom:48px}
.home-page .home-part-list{list-style:none;padding:0;margin:0}
.home-page .home-part{min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 16px;padding-block:20px}
.home-page .home-part-heading{display:flex;align-items:center;gap:12px;min-width:0}
.home-page .home-category-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px}
.home-page .home-category-icon .ph-icon{display:block;width:32px;height:32px}
.home-page .home-part h3{margin:0;min-width:0}
.home-page .home-part h3 a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding-block:8px}
.home-page .home-part-description{order:3;flex-basis:100%;margin:0}
.home-page .home-part-count{margin:0 0 0 auto;max-width:100%}
.home-page .home-regions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.home-page .home-regions button{min-width:44px;min-height:44px;padding:8px 12px}
.home-page .home-world-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;align-items:start}
.home-page .home-geography,.home-page .home-key-dates{min-width:0}
.home-page .home-map{display:block;width:100%;height:auto;aspect-ratio:1000/430}
.home-page .home-map-caption{margin:16px 0 0}
.home-page .home-coverage-link,.home-page .home-all-dates{display:inline-flex;align-items:center;min-height:44px;padding-block:8px}
.home-page .home-key-dates{padding:24px}
.home-page .home-key-dates h3{margin:0 0 12px}
.home-page .home-current-region{margin:0 0 16px}
.home-page .home-key-dates p{max-width:65ch}
.home-page .home-date-list{list-style:none;margin:0;padding:0}
.home-page .home-date-list li{padding-block:20px}
.home-page .home-date-list time,.home-page .home-date-meta,.home-page .home-date-title,.home-page .home-date-scope{display:block}
.home-page .home-date-meta{margin-top:4px}
.home-page .home-date-title{min-height:44px;padding-block:8px}
.home-page .home-date-scope{margin:0}
.home-page .site-footer{padding-block:32px}
.home-page .home-footer-inner{display:flex;flex-direction:column;align-items:start;gap:16px}
.home-page .home-footer-inner p{margin:0}
.home-page .home-part h3 a,.home-page .home-part-count{overflow-wrap:anywhere}
@media(min-width:600px){
 .home-page .home-width{width:calc(100% - 64px)}
 .home-page .home-hero{padding-block:48px}
 .home-page .home-parts,.home-page .home-world{padding-bottom:64px}
 .home-page .home-part{display:grid;grid-template-columns:160px minmax(0,1fr);gap:8px 24px;padding-block:24px}
 .home-page .home-part-heading{grid-row:1/3;align-self:start}
 .home-page .home-part-description{grid-column:2;order:0}
 .home-page .home-part-count{grid-column:2;grid-row:2;margin:0}
}
@media(min-width:960px){
 .home-page .home-width{width:calc(100% - 96px)}
 .home-page .home-hero{padding-block:64px}
 .home-page .home-parts,.home-page .home-world{padding-bottom:64px}
 .home-page .home-part-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;border-top:0}
 .home-page .home-part{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:0;padding-top:24px;padding-bottom:0;border-top:1px solid var(--line)}
 .home-page .home-part:last-child{border-top:1px solid var(--line)}
 .home-page .home-part-description{flex-basis:auto}
 .home-page .home-part-heading{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:16px}
 .home-page .home-part-count{margin-top:auto;padding-top:16px;align-self:start}
 .home-page .home-world-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:32px}
 .home-page .home-footer-inner{flex-direction:row;justify-content:space-between;align-items:baseline;flex-wrap:wrap}
}

/* The decorative Atlas mark uses the available desktop hero space only. */
.home-page .home-atlas-mark{display:none}
@media(min-width:1200px){
 .home-page .home-hero{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);column-gap:64px;align-items:center}
 .home-page .home-atlas-mark{display:block;width:320px;height:auto;aspect-ratio:1;max-width:100%;justify-self:center}
}

/* Native HTML controls over the decorative Atlas map; no external map library. */
.home-page .home-map-stage{position:relative}
.home-page .home-map-explorer label{display:block;font-weight:600;margin-top:16px}
.home-page #home-place-picker{width:100%;min-height:44px;margin-top:8px;padding:8px 12px;border:1px solid var(--line);border-radius:6px}
.home-page .home-map-pin{position:absolute;transform:translate(-50%,-50%);width:24px;height:24px;padding:0;border:0;border-radius:50%;cursor:pointer}
.home-page .home-map-pin span{display:block;width:10px;height:10px;margin:0;border:2px solid var(--bg);border-radius:50%;box-shadow:0 0 0 1px var(--accent)}
.home-page .home-map-pin.is-active span{box-shadow:0 0 0 4px var(--accent-soft)}
.home-page .home-map-pins:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.home-page .home-place-card{position:relative;margin-top:16px;padding:24px;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px var(--shadow-colour)}
.home-page .home-place-card h3{margin:0 40px 8px 0}
.home-page .jurisdiction-label{display:inline-flex;align-items:center;gap:8px}
.home-page .jurisdiction-flag{display:inline-block;object-fit:cover;border-radius:2px}
.home-page .home-place-card p{margin:0 0 12px}
.home-page .home-place-card ul{list-style:none;padding:0;margin:0}
.home-page .home-place-card li{padding:8px 0;border-top:1px solid var(--line)}
.home-page .home-place-card li a{display:block;overflow-wrap:anywhere}
.home-page .home-place-card small{display:block;margin-top:4px}
.home-page .home-place-close{position:absolute;right:8px;top:8px;width:44px;height:44px;border:0;cursor:pointer}
.home-page .home-place-all{display:inline-flex;align-items:center;min-height:44px;margin-top:8px}
.home-page .home-place-fallback{margin-top:12px}
.home-page .home-place-fallback summary{min-height:44px;padding-block:10px;cursor:pointer}
.home-page .home-place-fallback ul{display:flex;flex-wrap:wrap;gap:8px 20px;list-style:none;padding:0}
.home-page .home-place-fallback a{display:inline-flex;align-items:center;min-height:44px}
.home-page .home-map-pins{position:absolute;top:0;left:0;width:100%;aspect-ratio:1000/430;padding:0;border:0;pointer-events:auto}
.home-page .home-map-pin{pointer-events:none;display:grid;place-items:center}


/* Point-triggered cards float by the selected marker, including on touch screens. */
.home-page .home-place-card.is-map-popover{position:absolute;left:var(--place-left);top:var(--place-top);width:var(--place-width);box-sizing:border-box;max-width:calc(100% - 16px);margin:0;padding:12px 16px;z-index:5}
.home-page .is-map-popover ul,.home-page .is-map-popover p{display:none}
.home-page .is-map-popover h3{margin:0 32px 4px 0;min-height:36px}
.home-page .is-map-popover .home-place-all{margin:0}

.home-page .home-place-nearby{display:flex;flex-wrap:wrap;gap:4px;border-top:1px solid var(--line);padding-top:8px;margin-top:4px}
.home-page .home-place-nearby button{min-height:44px;padding:4px 8px;border:1px solid var(--line);border-radius:4px;cursor:pointer}
