/* SoCal Defense Innovation Cluster — site layer styles.
   Brand: red #C8102E, navy #15263D, ink #2C2A29, slate #53565A, line #E1E4E6, mist #F6F7F8.

   The home page sections and the footer keep the approved design's inline styles. This sheet
   supplies what inline styles cannot: the self-hosted fonts, the header, hover states, the
   responsive layer (the design had none), and the overrides that stop the theme's own skin
   from showing through. The font and hover blocks are generated by build_home.py. */

/* ── Fonts: Barlow + Inter, self-hosted (SIL Open Font License), latin subset ── */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('/wp-content/plugins/socal-defense-site/assets/fonts/barlow-500-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: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('/wp-content/plugins/socal-defense-site/assets/fonts/barlow-600-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: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('/wp-content/plugins/socal-defense-site/assets/fonts/barlow-700-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: 'Barlow'; font-style: normal; font-weight: 800; font-display: swap; src: url('/wp-content/plugins/socal-defense-site/assets/fonts/barlow-800-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: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/wp-content/plugins/socal-defense-site/assets/fonts/inter-400-600-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; }

/* ── Theme overrides, sitewide ─────────────────────────────────────────────── */
/* The kit's nav sheet (dequeued by the plugin) pads <body> for a fixed bar. */
body { padding-top: 0; }
/* The kit skins GeneratePress's footer wrapper grey with padding; our footer sits inside it. */
body .site-footer { background: transparent !important; border-top: 0 !important; padding: 0 !important; }

/* ── Scoped base (matches the design's bare-browser defaults) ──────────────── */
.sdc, .sdc *, .sdc *::before, .sdc *::after { box-sizing: border-box; }
.sdc { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: normal; color: #2C2A29; text-align: left; }
.sdc h1, .sdc h2, .sdc h3 { line-height: normal; text-transform: none; letter-spacing: normal; }
.sdc p { margin: 0; }
.sdc a { color: #C8102E; text-decoration: none; }
.sdc a:hover { color: #9B0C22; }
.sdc button, .sdc input { line-height: normal; margin: 0; }
.sdc input:focus { border-color: #C8102E !important; }
.sdc [id] { scroll-margin-top: 100px; }
.sdc [class*="sdc-hv-"] { transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease, gap .15s ease; }

/* ── Hover states (from the design's style-hover attributes) ──────────────── */
.sdc .sdc-hv-1:hover { background: #A50D25 !important; }
.sdc .sdc-hv-2:hover { background: #2C2A29 !important; color: #fff !important; }
.sdc .sdc-hv-3:hover { border-color: #C8102E !important; box-shadow: 0 2px 12px rgba(200,16,46,0.08) !important; }
.sdc .sdc-hv-4:hover { gap: 10px !important; }
.sdc .sdc-hv-5:hover { background: #E0243F !important; }
.sdc .sdc-hv-6:hover { text-decoration: underline !important; }
.sdc .sdc-hv-7:hover { background: #53565A !important; }
.sdc .sdc-hv-8:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important; }
.sdc .sdc-hv-9:hover { color: #fff !important; }

/* ── Front page: let the sections run edge to edge ─────────────────────────── */
.sdc-front { background: #fff; }
.sdc-front #page,
.sdc-front .site.grid-container { max-width: 100%; padding: 0; }
.sdc-front .site-content { display: block; padding: 0; }
.sdc-front .content-area { width: 100%; float: none; }
.sdc-front .site-main { margin: 0 !important; }
.sdc-front .site-main > article { margin: 0; }
.sdc-front .inside-article { padding: 0 !important; background: transparent; }
.sdc-front .entry-header { display: none; }
.sdc-front .entry-content { margin: 0 !important; }

/* ── Header ─────────────────────────────────────────────────────────────────── */
.sdc-header, .sdc-header * { box-sizing: border-box; }
.sdc-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid #E1E4E6; font-family: Barlow, system-ui, sans-serif; line-height: normal; }
.admin-bar .sdc-header { top: 32px; }
.sdc-header__in { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; height: 80px; }
.sdc-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.sdc-brand__bar { width: 6px; height: 28px; background: #C8102E; transform: skewX(-12deg); flex: none; }
.sdc-brand__name { display: block; font-weight: 800; font-size: 16px; letter-spacing: 0.02em; color: #2C2A29; line-height: 1.1; }
.sdc-brand__sub { display: block; font-weight: 500; font-size: 12px; color: #53565A; line-height: 1.1; letter-spacing: 0.04em; }
.sdc-nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 15px; }
.sdc-nav a, .sdc-menu__panel a { color: #2C2A29; text-decoration: none; transition: color .15s ease, background-color .15s ease; }
.sdc-nav a:hover, .sdc-menu__panel a:hover { color: #C8102E; }
.sdc-nav a.sdc-nav__cta, .sdc-menu__panel a.sdc-nav__cta { font-weight: 700; font-size: 14px; background: #C8102E; color: #fff; padding: 10px 22px; border-radius: 4px; letter-spacing: 0.02em; }
.sdc-nav a.sdc-nav__cta:hover, .sdc-menu__panel a.sdc-nav__cta:hover { background: #A50D25; color: #fff; }
.sdc-menu { display: none; }
/* Dropdown menus (desktop): a section reveals its child pages on hover or keyboard focus. */
.sdc-nav__item { position: relative; display: flex; align-items: center; }
.sdc-nav__top { display: inline-flex; align-items: center; gap: 5px; }
.sdc-nav__caret { flex: none; transition: transform .15s ease; }
.sdc-nav__item:hover .sdc-nav__caret, .sdc-nav__item:focus-within .sdc-nav__caret { transform: rotate(180deg); }
.sdc-nav__drop { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 18px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s ease; z-index: 200; }
.sdc-nav__item:hover .sdc-nav__drop, .sdc-nav__item:focus-within .sdc-nav__drop { opacity: 1; visibility: visible; pointer-events: auto; }
.sdc-nav__drop-in { min-width: 260px; background: #fff; border: 1px solid #E1E4E6; border-radius: 10px; box-shadow: 0 16px 36px rgba(21,38,61,0.16); padding: 8px; display: flex; flex-direction: column; }
.sdc-nav__drop-in a { padding: 11px 14px; border-radius: 6px; font-size: 14px; line-height: 1.3; color: #2C2A29; white-space: nowrap; }
.sdc-nav__drop-in a:hover { background: #F6F7F8; color: #C8102E; }

@media (max-width: 1100px) {
  .sdc-header__in { padding: 0 24px; }
  .sdc-nav { display: none; }
  .sdc-menu { display: block; }
  .sdc-menu > summary { list-style: none; cursor: pointer; width: 44px; height: 44px; margin-right: -10px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 4px; }
  .sdc-menu > summary::-webkit-details-marker { display: none; }
  .sdc-menu > summary span { display: block; width: 22px; height: 2px; background: #2C2A29; }
  .sdc-menu__panel { position: absolute; left: 0; right: 0; top: 80px; background: #fff; border-bottom: 1px solid #E1E4E6; box-shadow: 0 12px 24px rgba(21, 38, 61, 0.08); padding: 4px 24px 24px; display: flex; flex-direction: column; font-weight: 500; font-size: 16px; }
  .sdc-menu__panel a { padding: 14px 0; border-bottom: 1px solid #E1E4E6; }
  .sdc-menu__panel a.sdc-nav__cta { margin-top: 16px; padding: 14px 22px; border-bottom: 0; text-align: center; font-size: 15px; }
  .sdc-menu__panel { max-height: calc(100vh - 80px); overflow-y: auto; }
  .sdc-menu__panel a.sdc-menu__sec { font-weight: 700; }
  .sdc-menu__panel a.sdc-menu__sub { padding-left: 16px; font-weight: 500; font-size: 15px; color: #53565A; }
  .sdc-menu__panel a.sdc-menu__sub:hover { color: #C8102E; }
}
@media (max-width: 782px) { .admin-bar .sdc-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .sdc-header { top: 0; } }

/* ── Responsive layer for the inline-styled sections ───────────────────────── */
/* Inline styles win over a stylesheet, so these overrides need !important. The sdc-*
   classes are added to the design's markup by build_home.py from its inline values. */
/* The slanted edge bars lean 12deg, so on a tall section with narrow side margins they cut
   across the text. Below the width where the margins clear them, stand them upright. */
@media (max-width: 1400px) {
  .sdc .sdc-edge { transform: none !important; margin: 0 !important; }
}
@media (max-width: 1024px) {
  .sdc .sdc-g5 { grid-template-columns: repeat(3, 1fr) !important; row-gap: 40px !important; }
}
@media (max-width: 900px) {
  .sdc .sdc-hero { grid-template-columns: 1fr !important; gap: 40px !important; padding: 56px 24px 48px !important; }
  .sdc .sdc-hero > div:last-child { max-width: 560px; }
  .sdc .sdc-counties { flex-wrap: wrap !important; }
  .sdc .sdc-wrap { padding-left: 24px !important; padding-right: 24px !important; }
  .sdc .sdc-sec { padding-top: 64px !important; padding-bottom: 64px !important; }
  .sdc .sdc-g2 { grid-template-columns: 1fr !important; gap: 40px !important; }
  .sdc .sdc-g3 { grid-template-columns: 1fr !important; }
  .sdc .sdc-g4f { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }
  .sdc .sdc-h1 { font-size: 42px !important; }
  .sdc .sdc-h2 { font-size: 32px !important; }
}
@media (max-width: 700px) {
  .sdc .sdc-g5 { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 520px) {
  .sdc .sdc-hero { padding: 40px 20px 40px !important; }
  .sdc .sdc-wrap { padding-left: 20px !important; padding-right: 20px !important; }
  .sdc .sdc-sec { padding-top: 56px !important; padding-bottom: 56px !important; }
  .sdc .sdc-h1 { font-size: 34px !important; }
  .sdc .sdc-h2 { font-size: 28px !important; }
  .sdc .sdc-g5, .sdc .sdc-g360, .sdc .sdc-g280, .sdc .sdc-g4f { grid-template-columns: 1fr !important; }
}

/* ── Blog authors: post byline, "About the author" box, author page ────────── */
/* Printed by inc/authors.php for real authors only (never admin). Site palette and fonts only. */

/* Byline, in the navy post hero under the H1 */
.sdc .sdc-byline { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; }
.sdc .sdc-byline__photo { flex: none; display: block; width: 44px; height: 44px; max-width: none; object-fit: cover; border-radius: 4px; border: 2px solid rgba(255,255,255,0.2); background: #15263D; }
.sdc .sdc-byline__text { min-width: 0; }
.sdc .sdc-byline__by { font-family: Inter, sans-serif; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,0.8); margin: 0 0 3px; }
.sdc .sdc-byline__name { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.35); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .15s ease; }
.sdc .sdc-byline__name:hover, .sdc .sdc-byline__name:focus-visible { color: #fff; text-decoration-color: #C8102E; text-decoration-thickness: 2px; }
.sdc .sdc-byline__meta { font-family: Inter, sans-serif; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.65); letter-spacing: 0.02em; margin: 0; }
.sdc .sdc-byline__dot { margin: 0 8px; }

/* "About the author" box: the site's callout (mist, line border, red left rule) */
.sdc .sdc-author-sec { background: #fff; padding: 8px 0 64px; }
.sdc .sdc-author-sec__wrap { max-width: 760px; margin: 0 auto; padding: 0 40px; }
.sdc .sdc-author-box { display: flex; align-items: flex-start; gap: 28px; background: #F6F7F8; border: 1px solid #E1E4E6; border-left: 4px solid #C8102E; border-radius: 8px; padding: 32px; }
.sdc .sdc-author-box__photo { flex: none; display: block; width: 96px; height: 96px; max-width: none; object-fit: cover; border-radius: 4px; background: #E1E4E6; }
.sdc .sdc-author-box__body { flex: 1; min-width: 0; }
.sdc .sdc-author-box__eyebrow { display: flex; align-items: center; gap: 10px; font-family: Barlow, sans-serif; font-weight: 700; font-size: 13px; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; color: #C8102E; margin: 0 0 12px; }
.sdc .sdc-author-box__eyebrow::before { content: ""; flex: none; width: 32px; height: 2px; background: #C8102E; }
.sdc .sdc-author-box__name { font-family: Barlow, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.25; color: #2C2A29; margin: 0 0 4px; }
.sdc .sdc-author-box__role { font-family: Inter, sans-serif; font-size: 14px; line-height: 1.5; color: #53565A; margin: 0 0 14px; }
.sdc .sdc-author-box__bio { font-family: Inter, sans-serif; font-size: 16px; line-height: 1.65; color: #3D4043; margin: 0 0 18px; }
.sdc .sdc-author-box__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 0; }
.sdc .sdc-author-box__link { display: inline-flex; align-items: center; gap: 6px; font-family: Barlow, sans-serif; font-weight: 700; font-size: 15px; color: #C8102E; text-decoration: none; }
.sdc .sdc-author-box__link--li { gap: 8px; }
.sdc .sdc-author-box__link svg { flex: none; }

/* Author page: full width like the posts, hero with the headshot beside the name */
.sdc-author-archive #page,
.sdc-author-archive .site.grid-container { max-width: 100%; padding: 0; }
.sdc-author-archive .site-content { display: block; padding: 0; }
.sdc-author-archive .content-area { width: 100%; float: none; }
.sdc-author-archive .site-main { margin: 0 !important; }
.sdc .sdc-author-hero { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 48px; align-items: start; }
.sdc .sdc-author-hero__media { position: relative; width: 160px; }
.sdc .sdc-author-hero__photo { position: relative; display: block; width: 160px; height: 160px; max-width: none; object-fit: cover; border-radius: 8px; box-shadow: 0 24px 48px rgba(0,0,0,0.32); background: #15263D; }
.sdc .sdc-pager { margin-top: 40px; }
.sdc .sdc-pager ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sdc .sdc-pager li { margin: 0; }
.sdc .sdc-pager a, .sdc .sdc-pager span { display: inline-flex; align-items: center; min-width: 40px; height: 40px; padding: 0 14px; justify-content: center; font-family: Barlow, sans-serif; font-weight: 700; font-size: 15px; border: 1px solid #E1E4E6; border-radius: 4px; color: #2C2A29; text-decoration: none; }
.sdc .sdc-pager a:hover { border-color: #C8102E; color: #C8102E; }
.sdc .sdc-pager .current { background: #C8102E; border-color: #C8102E; color: #fff; }

@media (max-width: 900px) {
  .sdc .sdc-author-hero { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .sdc .sdc-author-sec { padding-bottom: 56px; }
  .sdc .sdc-author-box { flex-direction: column; gap: 18px; padding: 24px 20px; }
  .sdc .sdc-author-box__photo { width: 72px; height: 72px; }
  .sdc .sdc-author-hero__media, .sdc .sdc-author-hero__photo { width: 128px; height: 128px; }
  .sdc .sdc-byline__dot { margin: 0 6px; }
}

/* ─── 1.3.0 header: the mega menu built from the page tree (inc/nav.php, inc/header-v2.php, assets/sdc-nav.js) ───
   Rendered only while sdc_nav_v2 is on (or previewed); the 1.2.2 rules above stay for the off switch. One nav serves
   desktop panels (above 1100px) and the mobile accordions; the no-JavaScript fallback is <noscript> CSS in the header. */
.sdc-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sdc-header--v2 .sdc-header__in { position: relative; }
.sdc-burger { display: none; }
.sdc-mnav { display: flex; align-items: stretch; align-self: stretch; gap: 26px; font-family: Barlow, system-ui, sans-serif; font-weight: 500; font-size: 15px; line-height: normal; }
.sdc-mnav ul { list-style: none; margin: 0; padding: 0; }
.sdc-mnav li { margin: 0; padding: 0; }
.sdc-mnav a { color: #2C2A29; text-decoration: none; transition: color .15s ease, background-color .15s ease; }
.sdc-mnav a:hover { color: #C8102E; }
.sdc-mnav a:focus-visible, .sdc-mnav button:focus-visible, .sdc-burger:focus-visible { outline: 2px solid #C8102E; outline-offset: 2px; border-radius: 3px; }
.sdc-mnav a[aria-current="page"] { color: #C8102E; }
.sdc-mnav button { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; box-shadow: none; }
.sdc-mnav__list { display: flex; align-items: stretch; gap: 20px; }
.sdc-mnav__item { position: relative; display: flex; align-items: center; }
.sdc-mnav__item--wide { position: static; }
.sdc-mnav__top { padding: 6px 0; }
.sdc-mnav__item.is-current > .sdc-mnav__top { color: #C8102E; }
.sdc-mnav__toggle, .sdc-mnav__subtoggle { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 32px; color: #2C2A29; }
.sdc-mnav__toggle svg, .sdc-mnav__subtoggle svg { transition: transform .15s ease; }
.sdc-mnav__item.is-open > .sdc-mnav__toggle svg, .sdc-mnav__group.is-open .sdc-mnav__subtoggle svg { transform: rotate(180deg); }
.sdc-mnav a.sdc-mnav__cta { align-self: center; font-weight: 700; font-size: 14px; background: #C8102E; color: #fff; padding: 10px 22px; border-radius: 4px; letter-spacing: 0.02em; white-space: nowrap; }
.sdc-mnav a.sdc-mnav__cta:hover { background: #A50D25; color: #fff; }

/* group content (both layouts) */
.sdc-mnav__headrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sdc-mnav__head, .sdc-mnav__head-text { display: block; flex: 1; font-family: Barlow, sans-serif; font-weight: 700; font-size: 12px; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: #15263D; margin: 0; }
.sdc-mnav a.sdc-mnav__head { color: #15263D; }
.sdc-mnav a.sdc-mnav__head:hover { color: #C8102E; }
.sdc-mnav__links a { display: block; padding: 6px 0; font-size: 14px; line-height: 1.35; }
.sdc-mnav a.sdc-mnav__all { display: inline-block; margin-top: 6px; font-weight: 700; font-size: 13px; color: #C8102E; }
.sdc-mnav a.sdc-mnav__all:hover { text-decoration: underline; }
.sdc-mnav__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 20px; }
.sdc-mnav a.sdc-mnav__card-link { display: block; padding: 10px 12px; margin: 0 -12px; border-radius: 6px; }
.sdc-mnav a.sdc-mnav__card-link:hover { background: #F6F7F8; }
.sdc-mnav__card-title { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; color: #2C2A29; }
.sdc-mnav a.sdc-mnav__card-link:hover .sdc-mnav__card-title, .sdc-mnav a.sdc-mnav__card-link[aria-current="page"] .sdc-mnav__card-title { color: #C8102E; }
.sdc-mnav__card-desc { display: block; margin-top: 3px; font-family: Inter, system-ui, sans-serif; font-weight: 400; font-size: 13px; line-height: 1.45; color: #53565A; }
.sdc-mnav__sub { margin: -4px 0 6px !important; }
.sdc-mnav__sub a { display: block; padding: 3px 0; font-size: 13px; line-height: 1.35; color: #53565A; }
.sdc-mnav__sub a::before { content: "\21B3\00a0"; color: #63666A; }
.sdc-mnav__strip { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.sdc-mnav__strip-list { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.sdc-mnav__strip-list a { font-size: 14px; font-weight: 600; }
.sdc-mnav a.sdc-mnav__featured { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: #C8102E; }
.sdc-mnav a.sdc-mnav__featured::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #C8102E; }
.sdc-mnav a.sdc-mnav__featured:hover { text-decoration: underline; }

/* desktop: panels under the header bar */
@media (min-width: 1101px) {
  .sdc-mnav__panel { position: absolute; top: 100%; left: 50%; transform: translateX(calc(-50% + var(--sdc-shift, 0px))); z-index: 200; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s ease, visibility .15s ease; }
  .sdc-mnav__panel--wide { left: 40px; right: 40px; transform: none; }
  .sdc-mnav__item:hover > .sdc-mnav__panel, .sdc-mnav__item.is-open > .sdc-mnav__panel { opacity: 1; visibility: visible; pointer-events: auto; }
  .sdc-mnav__item:hover > .sdc-mnav__toggle svg { transform: rotate(180deg); }
  .sdc-mnav__panel-in { background: #fff; border: 1px solid #E1E4E6; border-top: 0; border-radius: 0 0 10px 10px; box-shadow: 0 16px 36px rgba(21, 38, 61, 0.16); overflow: hidden; }
  .sdc-mnav__panel:not(.sdc-mnav__panel--wide) { width: max-content; max-width: calc(100vw - 32px); }
  .sdc-mnav__groups { display: grid; grid-template-columns: repeat(var(--cols, 1), 240px); gap: 26px 36px; padding: 26px 32px 24px; }
  .sdc-mnav__panel--wide .sdc-mnav__groups { grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); }
  .sdc-mnav__group--services { grid-column: span 2; }
  .sdc-mnav__group--hub .sdc-mnav__headrow, .sdc-mnav__group--links .sdc-mnav__head-text { padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid #E1E4E6; }
  .sdc-mnav__panel--wide .sdc-mnav__headrow { min-height: 42px; align-items: flex-end; }
  .sdc-mnav__subtoggle { display: none; }
  .sdc-mnav__strip { padding: 14px 32px; background: #F6F7F8; border-top: 1px solid #E1E4E6; }
  .sdc-mnav a.sdc-mnav__featured { margin-left: auto; }
}
@media (min-width: 1101px) and (max-width: 1279px) {
  .sdc-mnav { gap: 18px; }
  .sdc-mnav__list { gap: 14px; }
  .sdc-mnav a.sdc-mnav__cta { padding: 10px 16px; }
  .sdc-mnav__panel--wide .sdc-mnav__groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* phones and tablets: a menu panel with accordions */
@media (max-width: 1100px) {
  .sdc-header--v2 .sdc-header__in { padding: 0 24px; }
  .sdc-burger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; margin: 0 -10px 0 0; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 4px; }
  .sdc-burger__bar { display: block; width: 22px; height: 2px; background: #2C2A29; transition: transform .15s ease, opacity .15s ease; }
  .is-menu-open .sdc-burger__bar:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .is-menu-open .sdc-burger__bar:nth-of-type(3) { opacity: 0; }
  .is-menu-open .sdc-burger__bar:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .sdc-mnav { position: absolute; left: 0; right: 0; top: 80px; display: none; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid #E1E4E6; box-shadow: 0 12px 24px rgba(21, 38, 61, 0.08); padding: 4px 24px 24px; max-height: calc(100vh - 80px); overflow-y: auto; font-size: 16px; }
  .sdc-header--v2.is-menu-open .sdc-mnav { display: flex; }
  .sdc-mnav__list { flex-direction: column; gap: 0; }
  .sdc-mnav__item { flex-wrap: wrap; position: static; border-bottom: 1px solid #E1E4E6; }
  .sdc-mnav__top { flex: 1; padding: 13px 0; font-weight: 700; }
  .sdc-mnav__toggle, .sdc-mnav__subtoggle { width: 44px; height: 44px; margin-right: -12px; }
  .sdc-mnav__panel { flex-basis: 100%; display: none; padding: 0 0 12px; }
  .sdc-mnav__item.is-open > .sdc-mnav__panel { display: block; }
  .sdc-mnav__groups { display: block; }
  .sdc-mnav__group + .sdc-mnav__group { margin-top: 4px; }
  .sdc-mnav__group--links .sdc-mnav__head-text { padding: 10px 0 2px; }
  .sdc-mnav__head { padding: 10px 0; }
  .sdc-mnav__group--hub:not(.is-open) .sdc-mnav__body { display: none; }
  .sdc-mnav__body { padding: 0 0 8px 12px; border-left: 2px solid #E1E4E6; margin-left: 2px; }
  .sdc-mnav__links a { padding: 9px 0; font-size: 15px; }
  .sdc-mnav__cards { grid-template-columns: 1fr; }
  .sdc-mnav a.sdc-mnav__card-link { padding: 9px 0; margin: 0; }
  .sdc-mnav__card-desc, .sdc-mnav__sub { display: none; }
  .sdc-mnav__strip { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 0 0; margin-top: 8px; border-top: 1px solid #E1E4E6; }
  .sdc-mnav__strip-list { flex-direction: column; gap: 0; }
  .sdc-mnav__strip-list a { display: block; padding: 9px 0; font-size: 15px; }
  .sdc-mnav a.sdc-mnav__featured { padding: 9px 0; font-size: 15px; }
  .sdc-mnav a.sdc-mnav__cta { align-self: stretch; margin-top: 18px; padding: 14px 22px; text-align: center; font-size: 15px; }
  /* without JavaScript the whole menu shows under the bar: the <noscript> rules in inc/header-v2.php */
}
@media (prefers-reduced-motion: reduce) {
  .sdc-mnav__panel, .sdc-mnav__toggle svg, .sdc-mnav__subtoggle svg, .sdc-burger__bar { transition: none; }
}

/* breadcrumbs (inc/breadcrumbs.php) */
.sdc-crumbs { background: #F6F7F8; border-bottom: 1px solid #E1E4E6; font-family: Inter, system-ui, sans-serif; font-size: 13px; line-height: 1.4; color: #53565A; }
.sdc-crumbs__in { max-width: 1280px; margin: 0 auto; padding: 10px 40px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.sdc-crumbs__in::-webkit-scrollbar { display: none; }
.sdc-crumbs a { color: #2C2A29; text-decoration: none; }
.sdc-crumbs a:hover { color: #C8102E; text-decoration: underline; }
.sdc-crumbs__sep { margin: 0 8px; color: #63666A; }
.sdc-crumbs .breadcrumb_last { color: #53565A; }

/* bands after the page content: the hub index fallback and Keep reading (inc/hub-index.php, inc/keep-reading.php) */
.sdc-module { background: #F6F7F8; border-top: 1px solid #E1E4E6; padding: 64px 0; font-family: Inter, system-ui, sans-serif; }
.sdc-module__in { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.sdc-module .sdc-module__h { font-family: Barlow, sans-serif; font-weight: 700; font-size: 28px; line-height: 1.2; color: #2C2A29; margin: 0 0 24px; }
.sdc-hubidx__group + .sdc-hubidx__group { margin-top: 32px; }
.sdc-hubidx .sdc-hubidx__title { font-family: Barlow, sans-serif; font-weight: 700; font-size: 13px; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: #15263D; margin: 0 0 14px; }
.sdc-hubidx__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.sdc-hubidx__grid li { margin: 0; padding: 0; display: flex; }
.sdc-hubidx a.sdc-hubidx__link { flex: 1; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid #E1E4E6; border-radius: 10px; padding: 18px 20px; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.sdc-hubidx a.sdc-hubidx__link:hover { border-color: #C8102E; box-shadow: 0 8px 20px rgba(21, 38, 61, 0.08); }
.sdc-hubidx__label { font-family: Barlow, sans-serif; font-weight: 700; font-size: 17px; line-height: 1.3; color: #2C2A29; }
.sdc-hubidx a.sdc-hubidx__link:hover .sdc-hubidx__label { color: #C8102E; }
.sdc-hubidx__desc { font-size: 14px; line-height: 1.55; color: #53565A; }
.sdc-hubidx__more { margin-top: 16px; }
.sdc-hubidx__more > summary { display: inline-block; cursor: pointer; font-family: Barlow, sans-serif; font-weight: 700; font-size: 15px; color: #C8102E; list-style: none; }
.sdc-hubidx__more > summary::-webkit-details-marker { display: none; }
.sdc-hubidx__more > summary::after { content: " \25BE"; }
.sdc-hubidx__more[open] > summary { margin-bottom: 16px; }
.sdc-hubidx__more[open] > summary::after { content: " \25B4"; }
.sdc-keep__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.sdc-keep a.sdc-keep__card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid #E1E4E6; border-radius: 10px; padding: 20px 22px; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.sdc-keep a.sdc-keep__card:hover { border-color: #C8102E; box-shadow: 0 8px 20px rgba(21, 38, 61, 0.08); }
.sdc-keep a.sdc-keep__card--next { text-align: right; }
.sdc-keep__dir { font-family: Barlow, sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #53565A; }
.sdc-keep__title { font-family: Barlow, sans-serif; font-weight: 700; font-size: 18px; line-height: 1.3; color: #2C2A29; }
.sdc-keep a.sdc-keep__card:hover .sdc-keep__title { color: #C8102E; }
.sdc-keep a.sdc-keep__all { display: inline-block; margin-top: 20px; font-family: Barlow, sans-serif; font-weight: 700; font-size: 15px; color: #C8102E; text-decoration: none; }
.sdc-keep a.sdc-keep__all:hover { text-decoration: underline; }
@media (max-width: 1100px) {
  .sdc-crumbs__in { padding: 10px 24px; }
  .sdc-module { padding: 48px 0; }
  .sdc-module__in { padding: 0 24px; }
  .sdc-module .sdc-module__h { font-size: 24px; }
}
@media (max-width: 520px) {
  .sdc-crumbs__in, .sdc-module__in { padding-left: 20px; padding-right: 20px; }
  .sdc-keep a.sdc-keep__card--next { text-align: left; }
}
