/* Archive headings and their search controls share one surface. */
/* The same container controls the heading, filters, results and pagination. */
#site-main[data-archive-width]:not([data-archive-width="theme"]){width:calc(100% - 32px);max-width:var(--archive-max-width,none);margin-inline:auto;min-width:0}
#site-main[data-archive-width="reading"]{--archive-max-width:900px}
#site-main[data-archive-width="standard"]{--archive-max-width:1120px}
#site-main[data-archive-width="wide"]{--archive-max-width:1400px}
#site-main[data-archive-width="full"]{--archive-max-width:none}
#site-main[data-archive-width]:not([data-archive-width="theme"])>:is(.news-archive,.dl-archive,.od-page,.ig-archive,.ga-archive,.eb-public-archive,.es-archive,.smap-page,.ec-archive){width:100%;max-width:none;margin-inline:0;min-width:0}
@media(max-width:520px){#site-main[data-archive-width]:not([data-archive-width="theme"]){width:calc(100% - 24px)}}
.page-header-card{--ph-ink:#243e48;--ph-muted:#617079;--ph-gold:#af915b;--ph-line:#e5e0d5;--ph-primary:var(--site-primary,#20473c);--ph-deep:var(--site-deep,#17372f);box-sizing:border-box;min-width:0;margin:0 0 30px;background:#fffefb;color:var(--ph-ink);border:1px solid var(--ph-line);border-radius:20px;box-shadow:0 8px 30px #243e4807}
.page-header-card *{box-sizing:border-box}
.page-header-card .ph-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:24px;padding:32px;min-height:182px;border-radius:19px 19px 0 0;overflow:hidden;background:linear-gradient(115deg,#fffdf8,#f4f1e8);color:var(--ph-ink);border-bottom:1px solid var(--ph-line)}
.ph-copy{min-width:0}.page-header-card .ph-mark{display:grid;place-items:center;width:60px;height:68px;border:1px solid #bda16c6b;border-radius:15px;color:#927542;background:#fffdf870;flex:none}.ph-mark svg{width:29px;height:29px}
.page-header-card .ph-eyebrow{display:block;color:#776340;font-size:.81rem;line-height:1.7;margin:0 0 8px;letter-spacing:.025em}
.page-header-card .ph-title{font-size:clamp(1.45rem,2.6vw,2.1rem)!important;font-weight:600!important;line-height:1.5!important;letter-spacing:0!important;margin:0!important;padding:0!important;border:0!important;background:none!important;color:inherit!important;overflow-wrap:anywhere;box-shadow:none!important}
.page-header-card .ph-title::before,.page-header-card .ph-title::after{display:none!important}
.page-header-card .ph-description{margin:9px 0 0;color:var(--ph-muted);font-size:.92rem;line-height:1.85;max-width:65ch;overflow-wrap:anywhere}
.page-header-card .ph-stat{padding:16px 22px;min-width:170px;border:1px solid #bda16c50;border-radius:14px;background:#fffdfb9e;color:var(--ph-ink)}
.page-header-card .ph-stat-label{font-size:.81rem;line-height:1.6;color:var(--ph-muted)}
.page-header-card .ph-stat p{display:flex;align-items:baseline;gap:9px;margin:5px 0 0;line-height:1.5}.page-header-card .ph-stat strong{font-size:2rem;font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums}.page-header-card .ph-stat p>span{font-size:.86rem}
.page-header-card[data-ph-style="signature"] .ph-hero,.page-header-card[data-ph-style="outline"] .ph-hero{background:linear-gradient(115deg,var(--ph-deep),var(--ph-primary));color:#fffdf5;border-top:3px solid var(--ph-gold);border-bottom:0}
.page-header-card[data-ph-style="signature"] .ph-hero::after{content:"";position:absolute;z-index:-1;width:360px;height:360px;border:1px solid #d9c69d25;border-radius:50%;top:-220px;right:-30px;box-shadow:0 0 0 35px #ffffff03,0 0 0 70px #ffffff03;pointer-events:none}
.page-header-card:is([data-ph-style="signature"],[data-ph-style="outline"]) .ph-eyebrow{color:#e2cfa5}.page-header-card:is([data-ph-style="signature"],[data-ph-style="outline"]) .ph-description{color:#e2e8e5}.page-header-card:is([data-ph-style="signature"],[data-ph-style="outline"]) .ph-mark{background:#ffffff08;color:#e2cfa5;border-color:#d9c69d55}.page-header-card:is([data-ph-style="signature"],[data-ph-style="outline"]) .ph-stat{color:#fffdf5;background:#ffffff06;border-color:#d9c69d40}.page-header-card:is([data-ph-style="signature"],[data-ph-style="outline"]) .ph-stat-label{color:#e2e8e5}
.page-header-card[data-ph-style="split"] .ph-hero{padding:0 0 0 32px;gap:24px;background:#fffefb}.page-header-card[data-ph-style="split"] .ph-copy{padding:28px 0}.page-header-card[data-ph-style="split"] .ph-stat{display:flex;flex-direction:column;justify-content:center;align-self:stretch;border:0;border-radius:0;background:linear-gradient(135deg,var(--ph-primary),var(--ph-deep));color:#fffdf5;min-width:205px;padding:30px}.page-header-card[data-ph-style="split"] .ph-stat-label{color:#e2cfa5}.page-header-card[data-ph-style="split"] .ph-stat strong{font-size:2.5rem}
.page-header-card[data-ph-style="centered"] .ph-hero{grid-template-columns:1fr;justify-items:center;text-align:center;gap:14px;background:radial-gradient(ellipse at 50% 0,#f0e8d2 0,transparent 75%),#fffefb;padding:28px}.page-header-card[data-ph-style="centered"] .ph-mark{width:48px;height:48px;border-radius:50%}.page-header-card[data-ph-style="centered"] .ph-stat{display:flex;align-items:center;gap:16px;min-width:0;padding:8px 18px;border-radius:50px}.page-header-card[data-ph-style="centered"] .ph-stat p{margin:0}.page-header-card[data-ph-style="centered"] .ph-stat strong{font-size:1.45rem}
.page-header-card[data-ph-style="ribbon"] .ph-hero{border-left:7px solid var(--ph-primary);background:linear-gradient(105deg,#edf2ee,#fffefb);border-radius:19px 19px 0 0}.page-header-card[data-ph-style="ribbon"] .ph-mark{background:var(--ph-primary);color:#f1dfb7;border:0;border-radius:50%}.page-header-card[data-ph-style="ribbon"] .ph-stat{border:0;background:#e6ede7}
.page-header-card[data-ph-style="editorial"] .ph-hero{background:#fffefb;gap:28px;border-top:5px solid var(--ph-primary)}.page-header-card[data-ph-style="editorial"] .ph-mark{width:42px;border:0;border-radius:0;background:none;border-right:1px solid var(--ph-line);padding-right:12px}.page-header-card[data-ph-style="editorial"] .ph-stat{background:none;border:0;border-left:1px solid var(--ph-line);border-radius:0;padding-left:30px}.page-header-card[data-ph-style="editorial"] .ph-stat strong{font-size:3rem;font-weight:400}
.page-header-card[data-ph-style="minimal"] .ph-hero{min-height:0;padding:24px 28px;gap:18px;background:#fffefb}.page-header-card[data-ph-style="minimal"] .ph-mark{width:44px;height:44px;border-radius:12px}.page-header-card[data-ph-style="minimal"] .ph-mark svg{width:23px;height:23px}.page-header-card[data-ph-style="minimal"] .ph-title{font-size:1.45rem!important}.page-header-card[data-ph-style="minimal"] .ph-eyebrow{margin-bottom:3px}.page-header-card[data-ph-style="minimal"] .ph-description{margin-top:5px}.page-header-card[data-ph-style="minimal"] .ph-stat{min-width:0;padding:8px 16px;background:#f5f3ed}.page-header-card[data-ph-style="minimal"] .ph-stat strong{font-size:1.5rem}
.page-header-card[data-ph-style="outline"] .ph-hero{margin:10px 10px 0;border-radius:12px;padding:34px;border:1px solid #af915b;outline:1px solid #d9c69d70;outline-offset:-8px}.page-header-card[data-ph-style="outline"] .ph-mark{border-radius:50%}
/* Keep filters, active terms and reset links inside the card in every layout. */
/* Give the new heading hierarchy its own scale while preserving reader overrides. */
body.site-theme[data-link-normal][data-link-normal] .page-header-card .ph-title:not(.reading-scaled){font-size:clamp(1.4rem,2.5vw,1.9rem)!important}
body.site-theme[data-link-normal][data-link-normal] .page-header-card .ph-stat strong:not(.reading-scaled){font-size:1.9rem!important}
body.site-theme[data-link-normal][data-link-normal] .page-header-card[data-ph-style="minimal"] .ph-title:not(.reading-scaled){font-size:1.35rem!important}
.page-header-card[data-ph-style]>form{margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;padding:24px 28px}
.page-header-card[data-ph-style]>.dl-archive-filters{padding:0}
.page-header-card[data-ph-style]>:is(.news-active-filters,.dl-active-filters,.eb-active-filters,.es-active-filters,.ig-active-filters){display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 28px;padding:16px 0 20px;border-top:1px solid var(--ph-line);font-size:.86rem}
.page-header-card[data-ph-style] :is(.news-filter-chip,.dl-filter-chip,.eb-filter-chip,.es-filter-chip,.ig-filter-chip){display:inline-flex;align-items:center;gap:12px;min-height:38px;max-width:100%;border:1px solid #ded5c4;border-radius:8px;background:#f6f3ec;color:#394952;padding:7px 12px;text-decoration:none;overflow-wrap:anywhere}
.page-header-card[data-ph-style] :is(.news-clear-filters,.dl-clear-filters,.eb-clear-filters,.es-clear-filters,.ig-clear-filters){margin-left:auto;color:#394952;min-height:38px;display:inline-flex;align-items:center;padding:6px 0;text-decoration:underline;text-underline-offset:4px}
.page-header-card .ph-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:15px;padding:18px 28px;color:var(--ph-muted);font-size:.86rem}.page-header-card .ph-footer a{color:var(--ph-ink)}
.page-header-card :is(a,input,select,button):focus-visible{outline:2px solid #9e793c;outline-offset:3px}
@media(max-width:900px){.page-header-card .ph-hero{gap:18px;padding:26px;grid-template-columns:auto minmax(0,1fr)}.page-header-card .ph-stat{grid-column:2;display:flex;align-items:center;gap:18px;justify-self:start;min-width:0;padding:9px 16px}.page-header-card .ph-stat p{margin:0}.page-header-card .ph-stat strong{font-size:1.5rem}.page-header-card[data-ph-style="split"] .ph-hero{padding:26px}.page-header-card[data-ph-style="split"] .ph-copy{padding:0}.page-header-card[data-ph-style="split"] .ph-stat{padding:10px 20px;border-radius:10px;display:flex;flex-direction:row;gap:18px;min-width:0}.page-header-card[data-ph-style="split"] .ph-stat strong{font-size:1.7rem}.page-header-card[data-ph-style="centered"] .ph-stat{grid-column:1;justify-self:center}.page-header-card[data-ph-style="editorial"] .ph-stat{border:0;padding:0}.page-header-card[data-ph-style="editorial"] .ph-stat strong{font-size:2rem}}
@media(max-width:520px){.page-header-card{border-radius:16px;margin-bottom:24px}.page-header-card .ph-hero{padding:22px 18px;gap:16px;grid-template-columns:minmax(0,1fr)}.page-header-card .ph-mark{width:44px;height:48px;border-radius:10px}.page-header-card .ph-mark svg{width:23px;height:23px}.page-header-card .ph-title{font-size:1.5rem!important}.page-header-card .ph-description{font-size:.86rem}.page-header-card .ph-stat{grid-column:1;max-width:100%;flex-wrap:wrap;gap:7px 16px}.page-header-card[data-ph-style="split"] .ph-hero{padding:22px 18px}.page-header-card[data-ph-style="minimal"] .ph-hero{padding:20px 18px;gap:12px}.page-header-card[data-ph-style="minimal"] .ph-mark{display:none}.page-header-card[data-ph-style="minimal"] .ph-title{font-size:1.3rem!important}.page-header-card[data-ph-style="outline"] .ph-hero{padding:25px 18px}.page-header-card[data-ph-style="centered"] .ph-hero{padding:22px 18px}.page-header-card[data-ph-style]>form{padding:20px 18px}.page-header-card[data-ph-style]>.dl-archive-filters{padding:0}.page-header-card[data-ph-style]>:is(.news-active-filters,.dl-active-filters,.eb-active-filters,.es-active-filters,.ig-active-filters){margin:0 18px;padding:14px 0 18px}.page-header-card[data-ph-style] :is(.news-clear-filters,.dl-clear-filters,.eb-clear-filters,.es-clear-filters,.ig-clear-filters){margin-left:0}.page-header-card .ph-footer{padding:18px}}
@media(forced-colors:active){.page-header-card .ph-hero,.page-header-card .ph-stat{background:Canvas!important;color:CanvasText!important}.page-header-card .ph-description,.page-header-card .ph-eyebrow,.page-header-card .ph-stat-label{color:CanvasText!important}.page-header-card{border:1px solid CanvasText;box-shadow:none}}

/* Calendar archive uses the same width and heading controls as the other archives. */
#site-main[data-archive-width]:not([data-archive-width="theme"])>.ec-archive{padding-inline:0}
.page-header-card>.ec-filters{margin:0;border:0;border-radius:0 0 19px 19px;background:transparent;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,.7fr) minmax(0,1.3fr) auto}
.page-header-card>.ec-filters label{min-width:0}
@media(max-width:1050px){.page-header-card>.ec-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.page-header-card>.ec-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.page-header-card>.ec-filters label:first-child{grid-column:1/-1}}
@media(max-width:380px){.page-header-card>.ec-filters{grid-template-columns:minmax(0,1fr);padding:18px}.page-header-card>.ec-filters>label,.page-header-card>.ec-filters>button{grid-column:1/-1}}
