/*
Theme Name: CFTC Occitanie Territoriaux V4.6
Theme URI: https://cftc-occitanie-territoriaux.fr/
Author: CFTC Occitanie Territoriaux
Description: Thème institutionnel multi-pages administrable de la CFTC Occitanie Territoriaux.
Version: 4.6.7
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: cftc-occitanie
*/

:root {
  --blue: #2669b2;
  --deep: #0f3f93;
  --indigo: #212e81;
  --blue-mid: #114f9f;
  --indigo-bright: #24318a;
  --gold: #d7ad24;
  --pale: #f4f7fc;
  --ink: #17243b;
  --muted: #59677b;
  --line: #dbe3ef;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(31, 79, 145, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-content { min-height: 55vh; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; background: var(--gold); color: var(--indigo); font-weight: 800; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 20; background: #fff; }
.site-header__top { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; width: 230px; height: 88px; overflow: hidden; }
.brand a { display: block; width: 100%; height: 100%; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.header-phone { color: var(--deep); font-size: 14px; font-weight: 900; }
.header-contact { color: var(--deep); font-weight: 800; font-size: 14px; }
.nav-bar { border-top: 1px solid #edf1f7; background: var(--deep); color: #fff; }
.main-nav { min-height: 54px; display: flex; align-items: stretch; justify-content: space-between; margin-block: 0; padding-left: 0; list-style: none; }
.main-nav li { display: flex; align-items: stretch; }
.main-nav a { display: flex; align-items: center; gap: 4px; padding: 14px 12px; font-size: 13px; font-weight: 800; letter-spacing: .01em; border-bottom: 3px solid transparent; }
.main-nav a:hover, .main-nav a:focus-visible { background: rgba(255,255,255,.08); border-bottom-color: var(--gold); outline: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 19px; border: 0; border-radius: 2px; font-weight: 900; font-size: 14px; line-height: 1.2; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23,36,59,.18); }
.button:focus-visible, .text-link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--blue); }
.button--gold { background: var(--gold); color: var(--indigo); }
.button--deep { background: var(--deep); color: #fff; }
.button--ghost { border: 1px solid rgba(255,255,255,.65); color: #fff; background: rgba(19,50,98,.25); backdrop-filter: blur(5px); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 11px; line-height: 1.2; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow--gold { color: var(--gold); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--deep); font-size: 14px; font-weight: 900; }
.text-link span { color: var(--gold); font-size: 18px; }
.text-link--light { color: #fff; }

.home-hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; background: var(--deep); color: #fff; }
.home-hero__image, .home-hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero__image { object-fit: cover; object-position: left top; }
.home-hero__shade { background: linear-gradient(90deg, rgba(15,49,96,.82) 0%, rgba(15,49,96,.55) 41%, rgba(15,49,96,.08) 72%), linear-gradient(0deg, rgba(10,31,64,.52), transparent 50%); }
.home-hero__content { position: relative; z-index: 2; padding-block: 100px 74px; }
.home-hero h1 { max-width: 760px; margin: 0; font-size: clamp(46px, 6.2vw, 78px); line-height: .99; letter-spacing: -.055em; }
.hero-lead { max-width: 610px; margin: 24px 0 0; font-size: 19px; line-height: 1.55; color: #f4f7ff; }
.scope-strip { background: var(--blue); color: #fff; }
.scope-strip__inner { min-height: 72px; display: flex; align-items: center; gap: 32px; }
.scope-strip strong { color: #fff; font-size: 15px; }
.scope-strip span { position: relative; padding-left: 18px; font-weight: 800; }
.scope-strip span::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

.section { padding-block: 92px; }
.section--pale { background: var(--pale); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.section-heading h2, .content-heading h2, .contact-copy h2 { margin: 0; color: var(--deep); font-size: clamp(38px, 4vw, 54px); line-height: 1.04; letter-spacing: -.04em; }
.section-heading--departments { align-items: flex-start; }
.content-heading { max-width: 760px; margin-bottom: 40px; }
.content-heading > p:last-child { color: var(--muted); font-size: 18px; }

.news-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 18px; }
.news-card { min-height: 320px; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--pale); border-top: 5px solid var(--gold); }
.news-card--feature { min-height: 390px; background: linear-gradient(145deg, var(--deep), var(--indigo)); color: #fff; box-shadow: var(--shadow); }
.news-card h3 { margin: 2px 0 18px; font-size: 25px; line-height: 1.16; letter-spacing: -.025em; }
.news-card p:not(.eyebrow) { margin: 0 0 22px; color: #dfe9f8; }
.news-card > a { margin-top: auto; padding-top: 28px; color: inherit; font-size: 13px; font-weight: 900; }
.news-card:not(.news-card--feature) > a { color: var(--deep); }

.department-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.department-card { min-height: 100px; padding: 23px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .18s ease, color .18s ease, transform .18s ease; }
.department-card:hover { position: relative; z-index: 1; background: var(--deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.department-card__number { color: var(--blue); font-size: 12px; font-weight: 900; }
.department-card:hover .department-card__number { color: var(--gold); }
.department-card strong { font-size: 17px; }
.department-card__arrow { color: var(--gold); font-size: 20px; }

.sections-map { margin-bottom: 70px; }
.sections-map__visual { width: min(100%, 880px); min-width: 0; margin-inline: auto; padding: 30px; background: var(--pale); border-top: 5px solid var(--gold); box-shadow: var(--shadow); }
.sections-map__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.sections-map__heading h3, .departments-list-heading h3 { margin: 0; color: var(--deep); font-size: 29px; line-height: 1.1; letter-spacing: -.025em; }
.sections-map__canvas { margin-top: 22px; padding: 12px; background: #fff; border: 1px solid var(--line); }
.sections-map__canvas svg { width: 100%; height: auto; display: block; }
.map-department path { stroke: #fff; stroke-width: 2.2; vector-effect: non-scaling-stroke; transition: fill .18s ease, filter .18s ease; }
.map-department text { fill: #fff; font-size: 15px; font-weight: 900; text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.map-department--covered path { fill: var(--blue); }
.map-department--covered:hover path, .map-department--covered:focus path { fill: var(--deep); filter: drop-shadow(0 5px 7px rgba(15,63,147,.28)); }
.map-department--covered:focus { outline: none; }
.map-department--covered:focus path { stroke: var(--gold); stroke-width: 4; }
.map-department--out path { fill: #cbd5e2; }
.map-department--out text { fill: #6f7d90; }
.sections-map__source { margin: 10px 0 0; color: var(--muted); font-size: 10px; text-align: right; }
.departments-list-heading { margin-bottom: 24px; }

.rights-band { padding-block: 92px; background: var(--blue); color: #fff; }
.rights-band__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; align-items: center; }
.rights-band .eyebrow { display: flex; align-items: center; gap: 10px; color: #fff; }
.rights-band .eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.rights-band h2 { margin: 0; color: #fff; font-size: clamp(48px, 5.5vw, 70px); line-height: .98; letter-spacing: -.05em; }
.rights-band p:not(.eyebrow) { max-width: 500px; margin: 24px 0 30px; color: #edf4fc; font-size: 18px; }
.rights-list { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; list-style: none; }
.rights-list li { min-height: 122px; padding: 22px; display: flex; align-items: center; gap: 18px; background: #fff; border-left: 4px solid var(--gold); color: var(--deep); box-shadow: 0 10px 30px rgba(15,63,147,.08); font-size: 17px; font-weight: 800; line-height: 1.3; }
.rights-list span { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; background: var(--gold); color: var(--indigo); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.contact-cta { padding-block: 54px; background: #fff; border-top: 1px solid var(--line); }
.contact-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-cta .eyebrow { color: var(--blue); }
.contact-cta h2 { max-width: 760px; margin: 0; color: var(--indigo); font-size: clamp(28px, 3vw, 42px); line-height: 1.1; letter-spacing: -.03em; }

.page-hero { position: relative; overflow: hidden; background: linear-gradient(125deg, var(--deep) 0%, var(--indigo) 76%); color: #fff; }
.brand-motif { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: .55; }
.brand-motif span { position: absolute; display: block; background: rgba(255,255,255,.09); }
.brand-motif__bar { height: 42px; border-radius: 999px; }
.brand-motif__bar--one { width: 250px; right: 7%; top: 26px; transform: rotate(31deg); }
.brand-motif__bar--two { width: 170px; right: 27%; bottom: 20px; transform: rotate(-42deg); }
.brand-motif__dot { width: 70px; height: 70px; border-radius: 50%; }
.brand-motif__dot--one { right: 4%; bottom: 26px; }
.brand-motif__dot--two { right: 43%; top: 24px; width: 28px; height: 28px; }
.page-hero__inner { position: relative; z-index: 1; padding-block: 84px 92px; }
.page-hero h1 { max-width: 920px; margin: 0; font-size: clamp(46px, 6vw, 76px); line-height: 1; letter-spacing: -.05em; }
.page-hero p:last-child { max-width: 740px; margin: 24px 0 0; color: #e6edfa; font-size: 19px; }
.department-layout { display: grid; grid-template-columns: 1.45fr .7fr; gap: 70px; align-items: start; }
.department-layout > div > h2 { margin: 0 0 30px; color: var(--deep); font-size: 42px; line-height: 1.05; letter-spacing: -.035em; }
.department-sidebar { display: grid; gap: 22px; }
.empty-section { display: grid; grid-template-columns: 190px 1fr; gap: 34px; padding: 34px; background: var(--pale); border-left: 5px solid var(--gold); }
.section-logo-frame { width: 190px; min-height: 145px; padding: 14px; display: grid; place-items: center; align-self: start; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(15,63,147,.08); }
.section-logo-frame img { width: 100%; height: 132px; object-fit: contain; }
.empty-section h3 { margin: 0; color: var(--deep); font-size: 24px; }
.empty-section p { margin: 10px 0 22px; color: var(--muted); }
.department-contact { margin: -4px 0 24px; display: grid; gap: 2px; color: var(--muted); font-style: normal; font-size: 14px; }
.department-contact strong { margin-bottom: 3px; color: var(--deep); }
.department-contact a { width: fit-content; color: var(--deep); font-weight: 800; }
.department-contact a:hover { text-decoration: underline; }
.local-sections-block { margin-top: 48px; }
.local-sections-block > .eyebrow { margin-bottom: 10px; }
.local-sections-block > h3 { margin: 0 0 24px; color: var(--deep); font-size: 31px; line-height: 1.1; letter-spacing: -.025em; }
.local-sections-list { display: grid; gap: 22px; }
.local-section-card { display: grid; grid-template-columns: 210px 1fr; gap: 34px; padding: 30px; background: var(--pale); border-left: 5px solid var(--gold); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.local-section-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(15,63,147,.16); }
.local-section-card__logo { min-height: 170px; padding: 12px; display: grid; place-items: center; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.local-section-card__logo img { width: 100%; height: 170px; object-fit: contain; }
.logo-crop-isle-jourdain { transform: scale(1.75); transform-origin: center 52%; }
.logo-crop-montech { transform: scale(2.8); transform-origin: center 50%; }
.logo-crop-fronton { transform: scale(2.8); transform-origin: center 50%; }
.local-section-card .eyebrow { margin: 4px 0 10px; }
.local-section-card h3 { margin: 0; color: var(--deep); font-size: 28px; line-height: 1.1; }
.local-section-card p:not(.eyebrow) { margin: 12px 0 22px; color: var(--muted); }
.local-section-card strong { color: var(--deep); }
.referent-card { margin-top: 22px; padding: 26px; display: grid; grid-template-columns: 88px 1fr; gap: 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.referent-card__department { width: 88px; height: 104px; display: grid; place-items: center; background: var(--deep); color: #fff; font-size: 25px; font-weight: 900; }
.referent-card__heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.referent-card__heading .eyebrow { margin: 0; }
.referent-card__heading > span { padding: 4px 8px; background: var(--pale); color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.referent-card h3 { margin: 12px 0 0; color: var(--deep); font-size: 25px; line-height: 1.15; }
.referent-card p:not(.eyebrow) { margin: 5px 0 0; color: var(--muted); }
.referent-card .referent-card__organization { margin-top: 0; font-size: 14px; }
.referent-card__links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.referent-card__links a { color: var(--deep); font-size: 14px; font-weight: 900; }
.referent-card__links a:hover { text-decoration: underline; }
.referent-card--sidebar { margin-top: 0; grid-template-columns: 1fr; padding: 28px; }
.referent-card--sidebar .referent-card__department { width: 64px; height: 64px; }
.referent-card--sidebar .referent-card__heading { align-items: flex-start; flex-direction: column; gap: 8px; }
.side-panel { padding: 36px; background: var(--indigo); color: #fff; box-shadow: var(--shadow); }
.side-panel h2 { margin: 0; font-size: 30px; line-height: 1.13; letter-spacing: -.035em; }
.side-panel p:not(.eyebrow) { color: #e1e2f8; }

.local-section-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 54px; align-items: start; }
.local-section-identity { padding: 30px; background: var(--pale); border-top: 5px solid var(--gold); box-shadow: var(--shadow); }
.local-section-identity__logo { padding: 22px; display: grid; place-items: center; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.local-section-identity__logo img { width: 100%; max-height: 410px; object-fit: contain; }
.local-section-identity p { margin: 24px 0 0; color: var(--muted); }
.local-section-office { padding: 38px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.local-section-office h2 { margin: 0; color: var(--deep); font-size: clamp(32px, 4vw, 46px); line-height: 1.05; letter-spacing: -.035em; }
.office-members { margin: 34px 0 0; padding: 0; display: grid; gap: 14px; list-style: none; }
.office-members li { padding: 22px 24px; display: grid; gap: 5px; background: var(--pale); border-left: 4px solid var(--gold); }
.office-members strong { color: var(--deep); font-size: 19px; }
.office-members span { color: var(--muted); }
.local-section-contact { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.local-section-contact p { margin: 0 0 20px; color: var(--muted); }

.news-empty { padding: 48px; background: var(--pale); border-left: 5px solid var(--gold); }
.news-empty h2 { max-width: 760px; margin: 0; color: var(--deep); font-size: 38px; line-height: 1.1; }
.news-empty p:not(.eyebrow) { max-width: 760px; color: var(--muted); }
.external-news { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.external-news > div { padding: 34px; border: 1px solid var(--line); }
.external-news h3 { margin: 0; color: var(--deep); font-size: 27px; }
.external-news p:not(.eyebrow) { color: var(--muted); }

.rights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rights-card { min-height: 260px; padding: 30px; background: var(--pale); border-top: 4px solid var(--blue); }
.rights-card > span { color: var(--gold); font-size: 12px; font-weight: 900; }
.rights-card h2 { margin: 20px 0 12px; color: var(--deep); font-size: 24px; line-height: 1.15; }
.rights-card p { margin: 0; color: var(--muted); }
.support-section { padding-block: 70px; background: var(--deep); color: #fff; }
.support-section__inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.support-section h2 { margin: 0; font-size: 40px; line-height: 1.08; }
.support-section p:not(.eyebrow) { max-width: 740px; margin-bottom: 0; color: #e1eaf7; }

.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); }
.contact-details { margin-top: 28px; padding: 27px; display: grid; gap: 5px; background: var(--pale); border-left: 4px solid var(--gold); color: var(--muted); font-style: normal; }
.contact-details strong { margin-bottom: 4px; color: var(--deep); font-size: 19px; }
.contact-details span:nth-of-type(1) { margin-bottom: 9px; line-height: 1.4; }
.contact-details a { width: fit-content; color: var(--deep); font-weight: 800; }
.contact-details a:hover { text-decoration: underline; }
.contact-note { margin-top: 32px; padding: 24px; background: var(--pale); border-left: 4px solid var(--gold); }
.contact-note strong { color: var(--deep); }
.contact-note p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.contact-form { padding: 38px; background: var(--pale); border-top: 5px solid var(--gold); box-shadow: var(--shadow); }
.contact-form label { display: block; margin-bottom: 19px; color: var(--deep); font-size: 13px; font-weight: 900; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 7px; padding: 12px 13px; border: 1px solid #cbd5e4; border-radius: 2px; background: #fff; color: var(--ink); font-weight: 400; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid rgba(38,105,178,.22); border-color: var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .checkbox { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 10px; color: var(--muted); font-weight: 400; }
.checkbox input { width: 17px; margin-top: 4px; }
.form-status { margin: 9px 0 0; color: var(--muted); font-size: 12px; }

.site-footer { background: var(--deep); color: #fff; }
.footer-grid { padding-block: 58px; display: grid; grid-template-columns: 1.25fr 1.15fr .68fr .92fr; gap: 48px; align-items: start; }
.footer-brand img { width: 220px; height: 118px; padding: 7px; object-fit: contain; background: #fff; }
.footer-mission { max-width: 390px; margin: 20px 0 0; }
.footer-mission strong { display: block; color: var(--gold); font-size: 17px; line-height: 1.35; letter-spacing: .015em; }
.footer-mission span { max-width: 350px; margin-top: 7px; display: block; color: #cad5e7; font-size: 15px; line-height: 1.5; }
.footer-contact { display: grid; gap: 4px; color: #e6edf8; font-style: normal; font-size: 14px; }
.footer-contact span:nth-child(2) { margin-bottom: 10px; }
.footer-contact a { width: fit-content; display: grid; gap: 1px; margin-top: 5px; overflow-wrap: anywhere; font-weight: 800; line-height: 1.35; }
.footer-contact small { color: #b9cbe4; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.site-footer h2 { margin: 0 0 16px; color: var(--gold); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 8px 0; color: #e6edf8; font-size: 14px; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); }
.footer-bottom .shell { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #b9c6da; font-size: 12px; }

@media (max-width: 960px) {
  .header-contact, .header-phone { display: none; }
  .main-nav { overflow: visible; flex-wrap: wrap; justify-content: center; padding-block: 4px; }
  .main-nav a { flex: 0 0 auto; padding: 9px 8px; font-size: 11px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card--feature { grid-column: 1 / -1; }
  .department-grid, .rights-grid { grid-template-columns: 1fr 1fr; }
  .rights-band__grid, .department-layout, .contact-layout, .local-section-layout { grid-template-columns: 1fr; gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 30px, 1180px); }
  .site-header__top { min-height: 88px; gap: 12px; }
  .brand { width: 150px; height: 72px; }
  .header-contact, .header-phone { display: none; }
  .header-actions .button { min-height: 42px; padding: 10px 12px; font-size: 12px; }
  .main-nav a { padding-inline: 13px; font-size: 12px; }
  .home-hero { min-height: 620px; }
  .home-hero__image { object-position: left top; }
  .home-hero__shade { background: linear-gradient(0deg, rgba(14,45,91,.92) 0%, rgba(14,45,91,.48) 58%, rgba(14,45,91,.12) 100%); }
  .home-hero__content { padding-block: 210px 52px; }
  .home-hero h1 { font-size: 46px; }
  .hero-lead { font-size: 17px; }
  .button-row .button { width: 100%; }
  .scope-strip__inner { padding-block: 20px; flex-wrap: wrap; gap: 10px 22px; }
  .scope-strip strong { flex-basis: 100%; }
  .section { padding-block: 64px; }
  .section-heading, .contact-cta__inner, .support-section__inner { align-items: flex-start; flex-direction: column; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2, .content-heading h2, .contact-copy h2 { font-size: 38px; }
  .news-grid, .department-grid, .rights-grid, .external-news, .footer-grid { grid-template-columns: 1fr; }
  .news-card--feature, .footer-brand { grid-column: auto; }
  .news-card, .news-card--feature { min-height: 290px; }
  .department-card { min-height: 84px; }
  .sections-map__visual { padding: 22px; }
  .sections-map__heading { flex-direction: column; }
  .sections-map__canvas { margin-inline: -8px; padding: 4px; }
  .map-department text { font-size: 18px; }
  .rights-band { padding-block: 68px; }
  .rights-band h2 { font-size: 52px; }
  .rights-list { grid-template-columns: 1fr; }
  .rights-list li { min-height: 92px; font-size: 16px; }
  .page-hero__inner { padding-block: 62px 70px; }
  .page-hero h1 { font-size: 46px; }
  .empty-section { grid-template-columns: 1fr; padding: 25px; }
  .local-section-card { grid-template-columns: 1fr; padding: 24px; }
  .local-section-card__logo { width: min(100%, 240px); }
  .section-logo-frame { width: min(100%, 210px); min-height: 135px; }
  .referent-card { grid-template-columns: 1fr; padding: 22px; }
  .referent-card__department { width: 64px; height: 64px; }
  .referent-card__heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .news-empty { padding: 30px; }
  .news-empty h2 { font-size: 31px; }
  .contact-form { padding: 25px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { gap: 34px; }
  .footer-bottom .shell { padding-block: 16px; align-items: flex-start; flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.custom-content { max-width: 900px; margin: 0 auto; }
.custom-content > * + * { margin-top: 1rem; }
.contact-alert { padding: 1rem 1.2rem; margin-bottom: 1.5rem; border-left: 5px solid var(--gold); background: #fff; color: var(--deep); font-weight: 700; }
.contact-alert--error { border-left-color: #b42318; color: #8a1c13; }
.required { color: #b42318; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.post-card { padding: 1.7rem; background: #fff; border-top: 5px solid var(--gold); box-shadow: 0 14px 32px rgba(31,79,145,.08); }
.post-card h2 { font-size: 1.5rem; margin: .5rem 0 1rem; }
.post-card__date { color: var(--muted); font-size: .9rem; }
.site-header__top .custom-logo-link img { width: 230px; height: 100px; object-fit: contain; }

@media (max-width: 782px) {
  .post-grid { grid-template-columns: 1fr; }
}
