/* ShelterSync Core: shared structural CSS for skins.
 * Header variants (masthead/clean/pill/menu/psas), footer variants (bento/statement/compact/centered/psas),
 * the menu drawer, sticky-header clone and the flush rule. Loads after core style.css and BEFORE the skin's style.css.
 * A skin sets the --st-* variables (see the :root block at the top of its style.css) and may override anything after this.
 * Variables: --st-bar-bg --st-header-bg --st-header-glow --st-footer-fg --st-footer-line --st-drawer-bg --st-display-font --st-pill --st-badge-radius
 */

/* ---- Header: one full-width band (sand utility strip above a cream band), no floating cards ---- */
.site-header-wrapper{padding-top:0;}
.top-bar{margin:0;border-radius:0;padding:6px var(--ds-gutter);font-size:.8rem;background:var(--st-bar-bg);color:var(--text);}
.top-bar,.top-bar p,.top-bar span,.top-bar a:not(.favorites-link-button){color:var(--text);}
.top-bar .top-bar-wrap{padding:0!important;min-height:0;max-width:none!important;margin-inline:0!important;}
.site-header{margin:0;padding:12px var(--ds-gutter);background:var(--st-header-bg);border:0;border-radius:0;box-shadow:0 1px 0 var(--ssc-border),0 10px 28px var(--st-header-glow);position:relative;z-index:5;}
.site-header .header-wrap{padding:0;}

/* ---- Footer: a framed bento panel ---- */
footer:has(.site-footer-wrap){margin:var(--ds-section-tight) 0 0;padding:var(--ds-panel-pad) var(--ds-gutter);border-radius:0;background:var(--footer);color:var(--st-footer-fg);}
.site-footer-wrap{max-width:none!important;}
.footer-bento{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--ds-gap);}
.footer-tile{background:rgba(255,255,255,.07);border-radius:var(--ds-radius-tile);padding:var(--ds-tile-pad);min-width:0;}
.footer-tile>*{margin-block:0!important;}
.footer-tile>*+*{margin-block-start:.9rem!important;}
.footer-brand{grid-column:span 5;grid-row:span 2;background:rgba(255,255,255,.1);display:flex;flex-direction:column;justify-content:space-between;}
.footer-brand h2{font-size:clamp(1.4rem,2.2vw,2rem);}
.footer-visit{grid-column:span 4;}
.footer-hours{grid-column:span 3;}
.footer-badges{grid-column:span 7;display:flex;align-items:center;gap:1rem;}
.footer-tile h3{font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;opacity:.75;}
.footer-tile ul{list-style:none;padding:0;margin:0;}
.footer-tile .footer-badges img,.footer-badges img{max-height:72px;width:auto;border-radius:var(--st-badge-radius);}
.site-credit{display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;align-items:center;margin-top:var(--ds-gap);padding-top:var(--ds-gap);border-top:1px solid var(--st-footer-line);font-size:.9rem;}
.site-credit>*{margin:0!important;}
@media (max-width:1000px){.footer-brand{grid-column:span 12;grid-row:auto;}.footer-visit,.footer-hours{grid-column:span 6;}.footer-badges{grid-column:span 12;}}
@media (max-width:640px){.footer-visit,.footer-hours{grid-column:span 12;}.site-credit{flex-direction:column;align-items:flex-start;}}
.site-header .header-wrap{width:100%;max-width:none!important;display:flex;align-items:center;flex-wrap:nowrap;gap:clamp(12px,2vw,28px);}
.site-header .header-wrap .header-right{margin-left:auto!important;}
.footer-tile a{text-decoration:none;}
.footer-tile a:hover{text-decoration:underline;}
@media (max-width:781px){
 .top-bar{padding:8px var(--ds-gutter);}
 .site-header{padding:10px var(--ds-gutter);}
 .site-header .header-wrap{gap:8px;}
 .site-header .site-logo img{width:104px;height:auto;}
 .site-header .header-right .wp-block-buttons{flex-wrap:nowrap;gap:6px;}
 .site-header .header-right .wp-block-button__link{padding:.5em .85em;font-size:.8rem;white-space:nowrap;}
}
.site-header .header-right{flex:0 0 auto;}
.site-header .header-buttons{flex-wrap:nowrap!important;gap:6px;}
@media (max-width:781px){
 .site-header .site-logo img,.site-header .custom-logo{width:104px!important;height:auto!important;max-width:none;}
 .site-header .header-buttons .wp-block-button__link{padding:.5em .85em!important;font-size:.8rem!important;white-space:nowrap;}
}
.top-bar .lang-picker select,.top-bar select{background:var(--st-header-bg)!important;color:var(--text)!important;border:1px solid var(--ssc-border)!important;border-radius:var(--st-pill);}

/* ---- Header variants (chosen in Customize > Header layout; preview with ?hdr=) ---- */
.top-announce{margin:0;border-radius:0;padding:6px var(--ds-gutter);background:var(--st-bar-bg);text-align:center;}
.top-announce .top-bar-wrap{justify-content:center!important;text-align:center;}

/* A. Stacked masthead */
.hdr-masthead.site-header{padding:0 var(--ds-gutter);}
.hdr-masthead .hdr-row-top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding-block:10px;}
.hdr-masthead .hdr-utils{display:flex;align-items:center;gap:14px;justify-self:start;flex-wrap:nowrap;}
.hdr-masthead .hdr-brand{justify-self:center;}
.hdr-masthead .hdr-brand .site-logo img{width:190px;height:auto;}
.hdr-masthead .hdr-cta{justify-self:end;margin-left:auto;}
.hdr-masthead .hdr-row-nav{border-top:1px solid var(--ssc-border);display:flex;justify-content:center;}
.hdr-masthead .hdr-row-nav .shelter-mm{justify-content:center;}
.hdr-masthead .shelter-mm__link{padding-block:10px;}

/* B. One clean row, announcement as a toast */
.top-toast{position:fixed;left:var(--ds-gutter);bottom:var(--ds-gutter);right:auto;max-width:min(520px,calc(100vw - 2 * var(--ds-gutter)));z-index:9990;margin:0;border-radius:var(--ds-radius-tile);padding:12px 20px;background:var(--primary);box-shadow:var(--ssc-shadow);}
.top-toast,.top-toast p,.top-toast span,.top-toast a{color:var(--st-footer-fg)!important;}
.hdr-clean .hdr-extras{display:flex;align-items:center;gap:14px;}

/* C. Centered nav pill */
.hdr-pill.site-header{background:transparent;box-shadow:none;padding-block:14px;}
.hdr-pill .header-wrap .shelter-mm{align-self:center;margin-inline:auto;background:none;border-radius:0;padding:0;}
.hdr-pill .shelter-mm__list{min-height:48px;}
.hdr-pill .shelter-mm__link,.hdr-pill .shelter-mm__toggle{color:var(--text);}
.hdr-pill .shelter-mm__link:hover,.hdr-pill .shelter-mm__item.is-open .shelter-mm__link{color:var(--primary);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:8px;}
.hdr-pill .hdr-extras{display:flex;align-items:center;gap:14px;}

/* D. Menu button */
.hdr-menu .hdr-extras{display:flex;align-items:center;gap:14px;}

/* shared: single-row headers (B/C/D) stay one row, vertically centred */
.hdr-clean .header-wrap,.hdr-pill .header-wrap,.hdr-menu .header-wrap{align-items:center!important;flex-wrap:nowrap!important;}
.hdr-clean .hdr-extras,.hdr-pill .hdr-extras,.hdr-menu .hdr-extras{flex-wrap:nowrap!important;align-items:center!important;margin-block:0!important;}
.hdr-extras>*{margin:0!important;}
.hdr-extras p:empty,.hdr-extras br,.header-wrap .shelter-mm>p:empty{display:none!important;}
.hdr-extras .lang-picker{display:flex!important;align-items:center;}
.hdr-extras .lang-picker p{display:none;}
.hdr-extras .header-right,.hdr-extras .header-buttons{margin:0!important;}

@media (max-width:1024px){
 .hdr-masthead .hdr-row-top{grid-template-columns:auto 1fr auto;}
 .hdr-masthead .hdr-utils{display:none;}
 .hdr-masthead .hdr-brand{justify-self:start;}
 .hdr-masthead .hdr-brand .site-logo img{width:120px;}
 .hdr-masthead .hdr-row-nav{border:0;position:absolute;right:var(--ds-gutter);top:14px;}
 .hdr-pill .header-wrap .shelter-mm{background:none;padding:0;margin:0;}
 .hdr-pill .shelter-mm__burger{color:var(--text);}
 .hdr-clean .hdr-extras .lang-picker,.hdr-pill .hdr-extras .custom-favorites-block{display:none;}
}

/* ---- Header D: the plugin phone burger and drawer, used at every width ---- */
body.hdr-menu .shelter-mm{align-self: center; order: 3; margin-left: 0;}
body.hdr-menu .header-wrap > .shelter-mm{margin-left: 8px;}
body.hdr-menu .shelter-mm__list{display: none;}
body.hdr-menu .shelter-mm__burger{all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; padding: 8px; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--shmm-text);}
body.hdr-menu .shelter-mm__burger-icon,body.hdr-menu .shelter-mm__burger-icon::before{display: block; width: 24px; height: 2px; background: currentColor; content: '';}
body.hdr-menu .shelter-mm__burger-icon{position: relative; box-shadow: 0 6px 0 -0px transparent;}
body.hdr-menu .shelter-mm__burger-icon::before{position: absolute; top: 6px; left: 0;}
body.hdr-menu .shelter-mm__drawer{position: fixed; inset: 0; z-index: 100000; background: #fff; color: var(--shmm-text); overflow-y: auto; padding: 70px 24px 40px; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; font-size: 1.15rem;}
body.hdr-menu .shelter-mm__drawer{display: block;}
body.hdr-menu .shelter-mm__drawer.is-open{transform: none; visibility: visible;}
body.hdr-menu .shelter-mm__close{all: unset; position: absolute; top: 18px; right: 22px; cursor: pointer; font-weight: 700; padding: 6px 10px;}
body.hdr-menu .shelter-mm__d-row{display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e3e8ea;}
body.hdr-menu .shelter-mm__d-row a{flex: 1; padding: 14px 0; font-weight: 700;}
body.hdr-menu .shelter-mm__d-toggle{all: unset; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer;}
body.hdr-menu .shelter-mm__d-toggle::before{content: ''; width: .5em; height: .5em; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s;}
body.hdr-menu .shelter-mm__d-item.is-open .shelter-mm__d-toggle::before{transform: rotate(-135deg);}
body.hdr-menu .shelter-mm__d-sub{display: none; padding: 6px 0 12px 14px;}
body.hdr-menu .shelter-mm__d-item.is-open .shelter-mm__d-sub{display: block;}
body.hdr-menu .shelter-mm__d-sub a{display: block; padding: 8px 0;}
body.hdr-menu .shelter-mm__d-actions{display: grid; gap: 10px; margin-top: 24px;}
body.hdr-menu .shelter-mm__d-btn{display: block; text-align: center; padding: 12px 18px; border: 2px solid var(--shmm-accent); border-radius: var(--st-pill); font-weight: 700; color: var(--shmm-accent); text-decoration: none;}
body.hdr-menu .shelter-mm__d-btn.is-primary{background: var(--shmm-accent); color: #fff;}
body.hdr-menu .shelter-mm__d-phone{margin: 18px 0 0; text-align: center; font-weight: 700;}
body.hdr-menu .shelter-mm__d-social{display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; list-style: none; margin: 18px 0 0; padding: 0;}
body.hdr-menu .shelter-mm__d-social a{display: block; width: 28px; height: 28px; color: var(--shmm-text);}
body.hdr-menu .shelter-mm__d-social svg{width: 100%; height: 100%; fill: currentColor;}
body.hdr-menu .shelter-mm__list{display:none;}
body.hdr-menu .shelter-mm{align-self:center;}
body.hdr-menu .shelter-mm__burger{flex-direction:row;gap:10px;font-weight:700;color:var(--text);}
body.hdr-menu .shelter-mm__drawer{background:var(--st-drawer-bg);padding:90px var(--ds-gutter) 48px;}
body.hdr-menu .shelter-mm__d-row a{font-family:var(--st-display-font);font-size:clamp(1.6rem,3vw,2.4rem);padding:16px 0;}

/* D polish: logo left, actions + MENU pushed right; announcement bar spread */
.hdr-menu .header-wrap{justify-content:flex-start;}
.hdr-menu .header-wrap .hdr-extras{margin-left:auto!important;}
.hdr-menu .header-wrap .shelter-mm{order:3;flex:0 0 auto;margin-left:14px;}
.hdr-menu .top-bar,.hdr-menu .top-bar>.wp-block-group{justify-content:space-between!important;}
.hdr-extras .gtranslate_wrapper{margin:0!important;}

@media (max-width:1024px){
 .hdr-masthead .hdr-row-top{padding-right:72px;}
 .hdr-masthead .hdr-row-nav{top:50%;transform:translateY(-50%);}
}
@media (max-width:640px){
 .hdr-masthead .header-buttons{display:flex!important;flex-wrap:nowrap!important;}
 .hdr-masthead .header-buttons .is-style-outline{display:none;}
 .hdr-masthead .hdr-row-top{align-items:center;}
}

/* v0.0.33: kill flow-layout margins inside the language picker (they made the bars 90-150px tall) */
.lang-picker,.lang-picker>*{margin:0!important;}
.lang-picker p{display:none!important;}
.top-bar .social-group,.hdr-utils,.hdr-extras{align-items:center!important;}
.top-bar .social-group>*{margin:0!important;}
.custom-favorites-block p{display:none!important;}
/* header-right group (lang + buttons) sits hard right in B, C, D */
.hdr-clean .header-wrap .hdr-extras,.hdr-pill .header-wrap .hdr-extras,.hdr-menu .header-wrap .hdr-extras{margin-left:auto!important;justify-content:flex-end;}
.hdr-clean .shelter-mm{flex:0 1 auto;}
.hdr-extras .lang-picker select,.hdr-extras select{background:var(--st-header-bg)!important;color:var(--text)!important;border:1px solid var(--ssc-border)!important;border-radius:var(--st-pill);}
.hdr-pill.site-header{padding-block:10px;}
.hdr-utils select{background:var(--st-header-bg)!important;color:var(--text)!important;border:1px solid var(--ssc-border)!important;border-radius:var(--st-pill);}
.hdr-masthead .hdr-row-top{padding-block:6px;}
.hdr-masthead .hdr-brand .site-logo img{width:170px;}
.hdr-masthead .shelter-mm__link{padding-block:8px;}

/* v0.0.35 ---- polish round */
/* gap between Lost Pets and Donate in every header */
.site-header .header-buttons,.hdr-extras .header-buttons{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:10px!important;}
.site-header .header-buttons .wp-block-button{margin:0!important;}
/* socials: tight, even gap */
.wp-block-social-links.is-style-logos-only{gap:10px!important;margin:0!important;padding:0!important;}
.wp-block-social-links .wp-social-link{margin:0!important;}
/* burger: icon only, centred */
.shelter-mm__burger-label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
.shelter-mm__burger{align-items:center;justify-content:center;gap:0;width:46px;height:46px;padding:0!important;margin:0!important;border-radius:var(--st-pill);}
.shelter-mm>p,.shelter-mm p:has(>.shelter-mm__burger){margin:0!important;display:flex;align-items:center;}
.shelter-mm__burger-icon{transform:scale(1.15);}
/* A masthead: shorter logo row, sturdier nav row */
.hdr-masthead .hdr-row-top{padding-block:4px;}
.hdr-masthead .hdr-brand .site-logo img{width:150px;}
.hdr-masthead .hdr-cta .wp-block-button__link,.hdr-masthead .hdr-cta a{padding:.5em 1.2em;}
.hdr-masthead .shelter-mm__link{padding-block:13px;font-size:1.05rem;font-weight:600;}
.hdr-masthead .hdr-row-nav{border-top-width:1px;}
body.hdr-menu .shelter-mm__burger{display:inline-flex!important;}
@media (max-width:1024px){.shelter-mm__burger{display:inline-flex!important;}}
@media (min-width:1025px){body:not(.hdr-menu) .shelter-mm__burger{display:none!important;}}
.hdr-psas .top-bar,.hdr-menu .top-bar{padding:6px var(--ds-gutter);}
.hdr-psas .top-bar-wrap,.hdr-menu .top-bar-wrap{max-width:none!important;width:100%;justify-content:space-between!important;flex-wrap:nowrap!important;}

/* ---- Footer variants (Customize > Footer layout; preview ?ftr=) ---- */
.ftr-layout-statement>*,.ftr-layout-compact>*,.ftr-layout-centered>*{margin-block:0!important;}
.ftr-layout-statement .ftr-row,.ftr-layout-compact .ftr-row,.ftr-layout-centered .ftr-row{display:grid;gap:var(--ds-section-tight) var(--ds-gap);}
.ftr-col{min-width:0;}
.ftr-col>*{margin-block:0!important;}
.ftr-col>*+*{margin-block-start:.8rem!important;}
.ftr-col h3{font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;opacity:.75;}
.ftr-col ul{list-style:none;padding:0;margin:0;}
.ftr-col a{text-decoration:none;}
.ftr-col a:hover{text-decoration:underline;}
.ftr-col .footer-badges,.ftr-col img{max-width:100%;}
.site-footer-badges img{max-height:72px;width:auto;border-radius:var(--st-badge-radius);}
.ftr-layout-statement .site-credit,.ftr-layout-compact .site-credit,.ftr-layout-centered .site-credit{margin-top:var(--ds-section-tight);}

/* B. Big statement */
.ftr-statement-top{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:var(--ds-gap);padding-bottom:var(--ds-section-tight);margin-bottom:var(--ds-section-tight)!important;border-bottom:1px solid var(--st-footer-line);}
.ftr-statement-top>*{margin:0!important;}
.ftr-statement-head{flex:1 1 520px;}
.ftr-statement-head h2{font-size:clamp(2.2rem,5.4vw,4.6rem);line-height:1.04;max-width:16ch;}
.ftr-layout-statement .ftr-statement-cta .wp-block-button__link{font-size:1.1rem;padding:.9em 2.2em;}
.ftr-layout-statement .ftr-row{grid-template-columns:1fr 1.2fr 1fr 1.2fr;align-items:start;}

/* C. Compact */
.ftr-layout-compact .ftr-row{grid-template-columns:1.1fr 1.2fr 1fr 1fr;align-items:start;font-size:.92rem;}
.ftr-layout-compact .ftr-col-logo{display:flex;flex-direction:column;gap:1rem;align-items:flex-start;}
.ftr-layout-compact .ftr-col-logo>*{margin:0!important;}
.ftr-layout-compact .site-credit{padding-top:1rem;margin-top:1.5rem;}

/* D. Centered */
.ftr-layout-centered{text-align:center;}
.ftr-center-top{display:flex;flex-direction:column;align-items:center;gap:1.1rem;margin-bottom:var(--ds-section-tight)!important;}
.ftr-center-top>*{margin:0!important;}
.ftr-center-top h2{font-size:clamp(1.6rem,3vw,2.6rem);max-width:24ch;}
.ftr-center-top .wp-block-buttons{justify-content:center;}
.ftr-layout-centered .ftr-row{grid-template-columns:repeat(2,minmax(220px,340px));justify-content:center;gap:var(--ds-section-tight) clamp(32px,8vw,120px);}
.ftr-layout-centered .ftr-col li{justify-content:center;}
.ftr-center-badges{display:flex;justify-content:center;margin-top:var(--ds-section-tight)!important;}
.ftr-layout-centered .site-credit.is-centered{flex-direction:column;align-items:center;text-align:center;}
.ftr-layout-centered .site-credit.is-centered>*{align-items:center;text-align:center;}

@media (max-width:1000px){
 .ftr-layout-statement .ftr-row,.ftr-layout-compact .ftr-row{grid-template-columns:1fr 1fr;}
}
@media (max-width:640px){
 .ftr-layout-statement .ftr-row,.ftr-layout-compact .ftr-row,.ftr-layout-centered .ftr-row{grid-template-columns:1fr;}
}
/* E. Classic: core's own footer markup in the active skin */
.ftr-psas .site-footer-top-row,.ftr-psas .site-footer-bottom-row{gap:var(--ds-gap);}

/* v0.0.39 footer polish */
.site-footer-badges{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;}
.site-footer-badges>*{margin:0!important;}
.ftr-center-badges{justify-content:center;}
/* demo logo is purple: force white on the dark footer (real light logos are unaffected) */
footer .footer-logo{filter:brightness(0) invert(1);}
.ftr-layout-centered .ftr-row{align-items:start;}
.ftr-psas .site-footer-wrap ul{list-style:none;padding:0;}
.ftr-psas .site-footer-wrap a{text-decoration:none;}
.ftr-psas .site-footer-wrap a:hover{text-decoration:underline;}

/* ---- v0.0.41 flush rule -------------------------------------------------
   theme.json / WP core adds  :root :where(.is-layout-flow) > * { margin-block-start: 1.75rem }.
   Anything we turn into a grid or flex row (or want flush with its container) must NOT inherit it:
   spacing there comes from `gap`, never margins. Add new containers to this list, or give the
   element the helper class .ds-flush (children get zero block margins). */
.ds-flush>*,
.footer-bento>*,.bento>*,.bento-species-buttons>*,
.ftr-row>*,.ftr-statement-top>*,.ftr-center-top>*,.ftr-center-badges>*,
.site-credit>*,.site-credit-socials>*,.site-footer-badges>*,
.hdr-row-top>*,.hdr-row-nav>*,.hdr-utils>*,.hdr-extras>*,.hdr-brand>*,.hdr-cta>*,
.header-wrap>*,.top-bar-wrap>*,.social-group>*,
.shelter-slider>*,.page-section-signup>*{margin-block:0!important;}

/* v0.0.42 centered footer: full-width three-up strip with dividers (fills 1920 without a lonely narrow column) */
.ftr-layout-centered .ftr-row{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch;gap:0;border-top:1px solid var(--st-footer-line);border-bottom:1px solid var(--st-footer-line);align-items:stretch;}
.ftr-layout-centered .ftr-col{padding:var(--ds-section-tight) var(--ds-gutter);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;}
.ftr-layout-centered .ftr-col+.ftr-col{border-left:1px solid var(--st-footer-line);}
.ftr-layout-centered .ftr-col-badges{justify-content:center;flex-direction:row;flex-wrap:wrap;gap:1rem;}
.ftr-center-top{padding-bottom:var(--ds-section);margin-bottom:0!important;}
.ftr-center-top h2{font-size:clamp(1.8rem,3.6vw,3.4rem);line-height:1.1;max-width:26ch;}
.ftr-layout-centered .site-credit.is-centered{margin-top:var(--ds-section-tight);}
@media (max-width:900px){
 .ftr-layout-centered .ftr-row{grid-template-columns:1fr;}
 .ftr-layout-centered .ftr-col+.ftr-col{border-left:0;border-top:1px solid var(--st-footer-line);}
}


/* Menu-button header: full-size tap target, and the drawer must sit above everything (the header section's own z-index capped it below the footer) */
body.hdr-menu .shelter-mm__burger{width:44px!important;height:44px!important;padding:0!important;justify-content:center;align-items:center;position:relative}
body.hdr-menu .shelter-mm__burger-icon{width:24px!important;height:2px!important}
body.hdr-menu header .wp-block-group[class*=header],body.hdr-menu header section{z-index:100000!important}

/* Sticky header clone: masthead collapses to one compact row (logo | nav | buttons), utilities hidden */
@media(min-width:1025px){
 .ssc-sticky-header-clone .hdr-masthead{display:flex!important;align-items:center;justify-content:space-between;gap:clamp(16px,2.5vw,40px);padding-block:8px!important;}
 .ssc-sticky-header-clone .hdr-masthead .hdr-row-top{display:contents!important;}
 .ssc-sticky-header-clone .hdr-masthead .hdr-utils{display:none!important;}
 .ssc-sticky-header-clone .hdr-masthead .hdr-brand{order:1;}
 .ssc-sticky-header-clone .hdr-masthead .hdr-row-nav{order:2;flex:1;border:0!important;}
 .ssc-sticky-header-clone .hdr-masthead .hdr-cta{order:3;}
 .ssc-sticky-header-clone .hdr-masthead .custom-logo{max-height:48px;width:auto;}
}


/* Menu header: on desktop the drawer is a right-hand panel, 75% of the screen */
@media(min-width:1025px){body.hdr-menu .shelter-mm__drawer{left:auto!important;width:75vw!important;max-width:none;padding-left:56px;padding-right:56px;box-shadow:-24px 0 60px rgba(30,40,34,.25);}}

/* Menu drawer: the empty part of a parent row toggles its dropdown; only the parent text navigates */
body.hdr-menu .shelter-mm__d-row a{flex:0 0 auto!important;}
body.hdr-menu .shelter-mm__d-row .shelter-mm__d-toggle{flex:1 1 auto!important;align-self:stretch;height:auto!important;min-height:44px;justify-content:flex-end!important;padding-right:8px;}
.site-credit-text{margin:14px 0 0;font-size:.82rem;opacity:.85}.site-credit-text a{color:inherit;text-decoration:underline;text-underline-offset:3px}.site-credit-text a:hover{opacity:1}
/* sticky clone: language picker only in the full header */.ssc-sticky-header-clone .lang-picker{display:none!important;}
