/* Humanity 1.4.0: "Stop Hiding Stuff" header and section style (Customizer > Humanity Theme >
   Header and Section Style). Loaded only when that style is picked; every rule is scoped under
   body.h-style-stuff. Designer mockups: refresh-2026-11 (stop-hiding-stuff-desktop/phone).
   Fonts: the bundled Inter (variable, weights 100-900, SIL OFL 1.1), under its own family name so
   sites on Current Look keep their 400-700 Inter exactly as before. No web font service is used.
   Contrast: white on #1565c0 5.75:1, white on #16181d 17.4:1, #16181d on #fff 17.4:1. */

@font-face{font-family:"Humanity Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("../fonts/inter-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Humanity Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("../fonts/inter-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}

body.h-style-stuff{
  --h-stuff-font:"Humanity Inter","Inter",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --h-stuff-blue:#1565c0; --h-stuff-ink:#16181d;
  --h-font:var(--h-stuff-font);
  font-family:var(--h-stuff-font);
  font-weight:500;
}

/* One bold sans everywhere: no serif, no italic, no all-capital text (icon fonts and code are left alone). */
body.h-style-stuff :where(*):not(code,pre,kbd,samp,svg,svg *,.dashicons,[class^="dashicons"],[class*=" dashicons"],[class*="icon"]){font-family:var(--h-stuff-font)!important;text-transform:none!important}
body.h-style-stuff :is(em,i,cite,blockquote,q,address,dfn,var){font-style:normal!important}
body.h-style-stuff :is(p,li,dd,td,.nr-card-dek,.nr-hero-dek,.nr-xc-text,.h-card-excerpt,.entry-content){font-weight:500}

/* Masthead: centered, Inter 900, last word blue, thick dark rule under it. */
body.h-style-stuff .h-header{border-bottom:4px solid var(--h-stuff-ink)!important}
body.h-style-stuff .h-brand{flex:1 1 auto!important;justify-content:center;text-align:center}
body.h-style-stuff .h-brand--tag{align-items:center}
body.h-style-stuff .h-title{font-weight:900!important;letter-spacing:-.035em!important;text-align:center;font-size:clamp(28px,calc(28px + 24 * (100vw - 390px) / 890),52px)!important;line-height:1.05}
body.h-style-stuff .h-title .h-title-last{color:var(--h-stuff-blue)}
html[data-mode="dark"] body.h-style-stuff .h-title .h-title-last{color:#64a8f0}
@media (prefers-color-scheme:dark){html[data-mode="auto"] body.h-style-stuff .h-title .h-title-last{color:#64a8f0}}
body.h-style-stuff .h-tagline{font-weight:600}
body.h-style-stuff .h-menu a{font-weight:600}
body.h-style-stuff .h-menu .current-menu-item > a{box-shadow:inset 0 -3px 0 var(--h-stuff-blue)}

/* Headlines: lead headline 900, card headlines 800, sentence case comes from the posts themselves. */
body.h-style-stuff :is(.nr-hero-title,.h-lead-title,.h-nf-hero .h-card-title){font-weight:900!important;letter-spacing:-.02em}
body.h-style-stuff :is(.nr-card-title,.nr-headline-title,.nr-headline-title a,.h-card-title,.nr-xc-name,.wp-block-post-title){font-weight:800!important}
body.h-style-stuff :is(.nr-kicker,.h-kicker){letter-spacing:.01em!important;font-weight:700}
body.h-style-stuff :is(h1,h2,h3,h4,h5,h6){font-weight:800}

/* Section titles: Group "Section title" style, or groups with the sha-sh class (Stop Hiding Stuff home page).
   Label with a thick blue bar, pill kicker above it, a solid 3px rule, and a dark See All button. */
body.h-style-stuff :is(.wp-block-group.is-style-h-section,.wp-block-group.sha-sh){display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:14px!important;margin-bottom:18px!important}
body.h-style-stuff :is(.wp-block-group.is-style-h-section,.wp-block-group.sha-sh)::after{content:"";order:2;flex:1 1 auto;min-width:8px;height:3px;border-radius:2px;background:var(--h-stuff-ink)}
html[data-mode="dark"] body.h-style-stuff :is(.wp-block-group.is-style-h-section,.wp-block-group.sha-sh)::after{background:#e9ecef}
body.h-style-stuff :is(.is-style-h-section,.sha-sh) > :is(h1,h2,h3,h4,h5,h6),
body.h-style-stuff :is(.is-style-h-section,.sha-sh) > .wp-block-group > :is(h1,h2,h3,h4,h5,h6){margin:0!important;padding:0!important;border:0!important;font-weight:900!important;font-size:clamp(22px,calc(22px + 8 * (100vw - 390px) / 890),30px)!important;line-height:1.05!important;letter-spacing:-.025em!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.h-style-stuff :is(.is-style-h-section,.sha-sh) > :is(h1,h2,h3,h4,h5,h6){order:1;border-left:8px solid var(--h-stuff-blue)!important;padding:2px 0 2px 14px!important}
body.h-style-stuff :is(.is-style-h-section,.sha-sh) > .wp-block-group{order:1;display:flex!important;flex-direction:column-reverse!important;align-items:flex-start!important;flex-wrap:nowrap!important;gap:6px!important;min-width:0;margin:0!important;border-left:8px solid var(--h-stuff-blue);padding:2px 0 2px 14px}
body.h-style-stuff :is(.is-style-h-section,.sha-sh) .wp-block-buttons{order:3;flex:none;margin:0!important;display:flex!important}
body.h-style-stuff :is(.is-style-h-section,.sha-sh) .wp-block-button__link{display:inline-flex!important;align-items:center;min-height:44px;padding:0 18px!important;border-radius:999px!important;border:0!important;background:var(--h-stuff-ink)!important;color:#fff!important;font-size:14px!important;font-weight:700!important;line-height:1!important;white-space:nowrap;text-decoration:none!important}
body.h-style-stuff :is(.is-style-h-section,.sha-sh) .wp-block-button__link:hover,
body.h-style-stuff :is(.is-style-h-section,.sha-sh) .wp-block-button__link:focus-visible{background:var(--h-stuff-blue)!important;color:#fff!important}
body.h-style-stuff :is(.is-style-h-section,.sha-sh) .wp-block-button__link:focus-visible{outline:3px solid var(--h-stuff-blue);outline-offset:2px}
html[data-mode="dark"] body.h-style-stuff :is(.is-style-h-section,.sha-sh) .wp-block-button__link{background:#f4f6f8!important;color:#16181d!important}
@media (max-width:781px){body.h-style-stuff :is(.is-style-h-section,.sha-sh) .wp-block-button__link{min-height:48px}}
/* The section title's own See All replaces News Rank's spare "See all" row right under it. */
body.h-style-stuff :is(.is-style-h-section,.sha-sh) + .nr-rail > .nr-rail-head:has(> .nr-rail-title-spacer){display:none!important}
body.h-style-stuff :is(.is-style-h-section,.sha-sh) + .nr-rail{margin-top:0!important}

/* Pills: sans, blue (the mockup's "Hot Right Now" kicker). */
body.h-style-stuff :is(.is-style-h-pill,p.h-pill){display:inline-flex;align-items:center;margin:0!important;padding:5px 10px!important;border-radius:999px!important;background:var(--h-stuff-blue)!important;color:#fff!important;font-size:12px!important;font-weight:800!important;letter-spacing:.02em!important;line-height:1!important}

/* List labels (Latest, Up Next) in Title Case as typed, not spaced-out capitals. */
body.h-style-stuff :is(.sha-upnext h3,.nr-rail-title,.h-side-heading){letter-spacing:0!important;font-weight:800!important}

/* Designer must-fix (1.4.0 review): phone section titles. The title group no longer shrinks under its title, so the
   rule can't draw across it; titles are 20px (18px under 375px), buttons keep 48px. Desktop is unchanged. */
@media (max-width:781px){
  body.h-style-stuff :is(.wp-block-group.is-style-h-section,.wp-block-group.sha-sh){gap:10px!important}
  body.h-style-stuff :is(.is-style-h-section,.sha-sh) > .wp-block-group{flex:0 1 auto!important;box-sizing:border-box;max-width:calc(100% - 114px)}
  body.h-style-stuff :is(.is-style-h-section,.sha-sh) > .wp-block-group > :is(h1,h2,h3,h4,h5,h6){max-width:100%}
  body.h-style-stuff :is(.wp-block-group.is-style-h-section,.wp-block-group.sha-sh)::after{min-width:0!important}
  body.h-style-stuff :is(.is-style-h-section,.sha-sh) .wp-block-button__link{padding:0 16px!important}
  body.h-style-stuff :is(.is-style-h-section,.sha-sh) > :is(h1,h2,h3,h4,h5,h6),
  body.h-style-stuff :is(.is-style-h-section,.sha-sh) > .wp-block-group > :is(h1,h2,h3,h4,h5,h6){font-size:clamp(20px,calc(20px + 10 * (100vw - 375px) / 905),30px)!important}
}
@media (max-width:374px){
  body.h-style-stuff :is(.is-style-h-section,.sha-sh) > :is(h1,h2,h3,h4,h5,h6),
  body.h-style-stuff :is(.is-style-h-section,.sha-sh) > .wp-block-group > :is(h1,h2,h3,h4,h5,h6){font-size:18px!important}
  /* Coder addition: at 360 "Stop Hiding Democrats" was 5px short; 8px gap and 14px button padding make it fit (button stays 48px). */
  body.h-style-stuff :is(.wp-block-group.is-style-h-section,.wp-block-group.sha-sh){gap:8px!important}
  body.h-style-stuff :is(.is-style-h-section,.sha-sh) .wp-block-button__link{padding:0 14px!important}
}

/* Dark mode, and Auto mode on a device set to dark (Designer nice-to-have 2). */
html[data-mode="dark"] body.h-style-stuff .h-header{border-bottom-color:#e9ecef!important}
@media (prefers-color-scheme:dark){
  html[data-mode="auto"] body.h-style-stuff .h-header{border-bottom-color:#e9ecef!important}
  html[data-mode="auto"] body.h-style-stuff :is(.wp-block-group.is-style-h-section,.wp-block-group.sha-sh)::after{background:#e9ecef}
  html[data-mode="auto"] body.h-style-stuff :is(.is-style-h-section,.sha-sh) .wp-block-button__link{background:#f4f6f8!important;color:#16181d!important}
}
