/* ==========================================================================
   LES MAJORETTES DE SAINT GIRONS - PORTAIL INSTITUTIONNEL (LOI 1901)
   Feuille de styles officielle - Visual Identity, Design System & Responsive Layout
   ========================================================================== */

:root {
  --color-maroon-primary: #800000;
  --color-maroon-dark: #7A0016;
  --color-maroon-deep: #5c0010;
  --color-maroon-light: #fbebee;
  --color-canvas-white: #FFFFFF;
  --color-canvas-neutral: #F9F8F6;
  --color-canvas-subtle: #F4F4F4;
  --color-charcoal-footer: #222222;
  --color-charcoal-dark: #1A1A1A;
  --color-charcoal-card: #2A2A2A;
  --color-navy-accent: #0B2545;
  --color-navy-light: #eef3f9;
  --color-text-main: #2b2b2b;
  --color-text-muted: #595959;
  --color-text-light: #F4F4F4;
  --color-border-subtle: #e2ded8;
  --color-border-strong: #800000;
  --font-serif-heading: "Georgia", "Garamond", "Times New Roman", serif;
  --font-sans-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow-subtle: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.09);
  --radius-card: 12px;
  --radius-button: 6px;
  --transition-standard: all 0.25s ease-in-out;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-main);
  background-color: var(--color-canvas-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif-heading);
  color: var(--color-maroon-primary);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

h1 {
  font-size: 2.35rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.85rem;
  border-bottom: 2px solid var(--color-border-subtle);
  padding-bottom: 0.5rem;
  margin-top: 1.75rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.35rem;
  margin-top: 1.25rem;
}

p {
  margin-bottom: 1.25rem;
  max-width: 82ch;
}

a {
  color: var(--color-maroon-primary);
  text-decoration: none;
  transition: var(--transition-standard);
}

a:hover {
  color: var(--color-navy-accent);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   CONTAINER & GRID UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-neutral {
  background-color: var(--color-canvas-neutral);
}

.section-white {
  background-color: var(--color-canvas-white);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.section-header h2 {
  border-bottom: none;
  display: inline-block;
  position: relative;
  padding-bottom: 0.75rem;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-maroon-primary);
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

/* ==========================================================================
   HEADER & INSTITUTIONAL NAVIGATION
   ========================================================================== */

.site-header {
  background: var(--color-canvas-white);
  border-bottom: 1px solid var(--color-border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-subtle);
}

/* Top Utility Bar */
.top-utility-bar {
  background-color: var(--color-canvas-subtle);
  border-bottom: 1px solid #e7e5e0;
  min-height: 36px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.top-utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.top-utility-left, .top-utility-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-utility-left a, .top-utility-right a {
  color: var(--color-text-muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.top-utility-left a:hover, .top-utility-right a:hover {
  color: var(--color-maroon-primary);
  text-decoration: none;
}

.rna-badge {
  background-color: #e5e3de;
  color: #444;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.search-form-utility {
  display: inline-flex;
  align-items: center;
}

.search-form-utility input[type="search"] {
  padding: 0.25rem 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.775rem;
  outline: none;
  min-height: 30px;
}

.search-form-utility input[type="search"]:focus {
  border-color: var(--color-maroon-primary);
}

.lang-selector {
  font-weight: 700;
  color: var(--color-maroon-primary);
  font-size: 0.75rem;
}

/* Central Branding Header */
.branding-header {
  padding: 1.5rem 0;
  text-align: center;
  background-color: var(--color-canvas-white);
  border-bottom: 1px solid #efece6;
}

.branding-header .brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.brand-emblem-svg {
  width: 58px;
  height: 58px;
  fill: var(--color-maroon-primary);
  transition: transform 0.25s ease;
}

.brand-wrap:hover .brand-emblem-svg {
  transform: scale(1.05);
}

.brand-titles {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-acronym {
  font-family: var(--font-serif-heading);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-maroon-primary);
  line-height: 1.15;
}

.brand-full-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy-accent);
}

.brand-subtitle-legal {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* Tier 1 Primary Navigation */
.nav-primary-wrap {
  background-color: var(--color-maroon-primary);
  box-shadow: 0 2px 8px rgba(122, 0, 22, 0.2);
}

.nav-primary-wrap .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-primary-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.15rem;
  color: var(--color-canvas-white);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: 48px;
  white-space: nowrap;
}

.nav-link:hover, .nav-item.active > .nav-link {
  background-color: var(--color-maroon-dark);
  color: #fff;
  text-decoration: none;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 1.1rem;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}

/* Tier 2 Sub-Bar / Mega Dropdown */
.nav-tier2-subbar {
  background-color: #f7f5f2;
  border-bottom: 1px solid #ded9d0;
  font-size: 0.825rem;
}

.nav-tier2-subbar .container {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  overflow-x: auto;
  white-space: nowrap;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.nav-tier2-category {
  font-weight: 700;
  color: var(--color-maroon-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
}

.nav-tier2-link {
  color: var(--color-text-main);
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.nav-tier2-link:hover {
  background-color: #ebe7df;
  color: var(--color-maroon-primary);
  text-decoration: none;
}

.nav-tier2-divider {
  color: #bbb;
}

/* ==========================================================================
   BUTTONS & CALLS TO ACTION (All routing to contact.php)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-button);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-standard);
  min-height: 44px;
  min-width: 44px;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-maroon-primary);
  color: #fff;
  border-color: var(--color-maroon-primary);
}

.btn-primary:hover {
  background-color: var(--color-maroon-dark);
  border-color: var(--color-maroon-dark);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(122, 0, 22, 0.25);
}

.btn-secondary {
  background-color: var(--color-navy-accent);
  color: #fff;
  border-color: var(--color-navy-accent);
}

.btn-secondary:hover {
  background-color: #071930;
  border-color: #071930;
  color: #fff;
  text-decoration: none;
}

.btn-outline-maroon {
  background-color: transparent;
  color: var(--color-maroon-primary);
  border-color: var(--color-maroon-primary);
}

.btn-outline-maroon:hover {
  background-color: var(--color-maroon-primary);
  color: #fff;
  text-decoration: none;
}

.btn-outline-white {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline-white:hover {
  background-color: #fff;
  color: var(--color-maroon-primary);
  text-decoration: none;
}

/* ==========================================================================
   HOMEPAGE & HERO BANNER MODULES
   ========================================================================== */

.hero-section {
  position: relative;
  background-color: #1a1a1a;
  color: #fff;
  overflow: hidden;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  max-height: 580px;
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  filter: brightness(0.65);
}

.hero-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
}

.hero-content-box {
  background: rgba(20, 20, 20, 0.82);
  backdrop-filter: blur(8px);
  border-left: 5px solid var(--color-maroon-primary);
  padding: 2.5rem;
  max-width: 820px;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}

.hero-content-box h1 {
  color: #fff;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-slogan {
  font-size: 1.25rem;
  font-style: italic;
  color: #f1d2d6;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

/* Mandatory 2-Sentence Summary directly beneath H1 */
.mandatory-home-summary {
  background-color: rgba(255, 255, 255, 0.12);
  border-left: 3px solid #ffcc00;
  padding: 0.9rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.mandatory-home-summary p {
  color: #f5f5f5;
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Continuous "Notre mission" statutory block of 150+ words */
.statutory-mission-card {
  background-color: var(--color-canvas-white);
  border: 2px solid var(--color-maroon-primary);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-medium);
  margin-bottom: 3rem;
  position: relative;
}

.statutory-mission-badge {
  display: inline-block;
  background-color: var(--color-maroon-primary);
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.statutory-mission-text {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--color-text-main);
  font-weight: 500;
  border-left: 4px solid var(--color-maroon-dark);
  padding-left: 1.5rem;
}

/* ==========================================================================
   FULL-WIDTH MAROON STRIP WITH CARDS
   ========================================================================== */

.maroon-strip-section {
  background: linear-gradient(135deg, var(--color-maroon-primary) 0%, var(--color-maroon-deep) 100%);
  color: #fff;
  padding: 4rem 0;
}

.maroon-strip-section h2 {
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.maroon-strip-intro {
  color: #f7d2d6;
  font-size: 1.1rem;
  max-width: 800px;
  margin-bottom: 2.5rem;
}

.maroon-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.maroon-card-item {
  background-color: #fff;
  color: var(--color-text-main);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.maroon-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.maroon-card-img-wrap {
  height: 190px;
  overflow: hidden;
}

.maroon-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.maroon-card-item:hover .maroon-card-img-wrap img {
  transform: scale(1.06);
}

.maroon-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.maroon-card-body h3 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.maroon-card-body p {
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.maroon-card-body .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ==========================================================================
   TWO-COLUMN SPLIT PANELS (Media on one side, Narrative on the other)
   ========================================================================== */

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin: 3rem 0;
}

.split-panel.reverse {
  direction: rtl;
}

.split-panel.reverse > * {
  direction: ltr;
}

.split-media-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  position: relative;
}

.split-media-wrap img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}

.split-narrative h2 {
  margin-top: 0;
}

.split-narrative p {
  font-size: 1.025rem;
  line-height: 1.7;
}

/* ==========================================================================
   4-COLUMN EVENTS GRID WITH TOP DATE BADGES
   ========================================================================== */

.events-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.event-card {
  background-color: #fff;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-maroon-primary);
}

.event-date-badge-top {
  background-color: var(--color-maroon-primary);
  color: #fff;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.event-date-month {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-date-day {
  font-size: 1.4rem;
  font-weight: 700;
}

.event-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-card-body h3 {
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.event-location-info {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--color-navy-accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.event-card-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.event-card-body .btn {
  width: 100%;
}

/* ==========================================================================
   CHIFFRES CLÉS / KEY STATISTICS SIDE-RAIL PANELS
   ========================================================================== */

.content-with-siderail {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  margin: 2.5rem 0;
}

.siderail-panel {
  background-color: var(--color-canvas-neutral);
  border: 1px solid var(--color-border-subtle);
  border-top: 4px solid var(--color-maroon-primary);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  height: fit-content;
  position: sticky;
  top: 140px;
}

.siderail-panel h3 {
  color: var(--color-maroon-primary);
  margin-top: 0;
  font-size: 1.25rem;
  border-bottom: 1px solid var(--color-border-subtle);
  padding-bottom: 0.5rem;
}

.stat-metric-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid #e7e3dc;
}

.stat-metric-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-metric-number {
  font-family: var(--font-serif-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-maroon-primary);
  line-height: 1;
}

.stat-metric-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy-accent);
  margin-top: 0.25rem;
}

.stat-metric-desc {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
  margin-bottom: 0;
}

/* ==========================================================================
   GOVERNANCE, EXECUTIVE BOARD & TEAM PROFILES
   ========================================================================== */

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2.5rem 0;
}

.board-member-card {
  background: #fff;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  text-align: center;
  padding: 2rem 1.5rem;
}

.board-role-badge {
  display: inline-block;
  background-color: var(--color-maroon-light);
  color: var(--color-maroon-primary);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.board-member-name {
  font-family: var(--font-serif-heading);
  font-size: 1.35rem;
  color: var(--color-charcoal-dark);
  margin-bottom: 0.5rem;
}

.board-member-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   TABLES & FINANCIAL DISCLOSURES
   ========================================================================== */

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
}

.financial-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.financial-table th {
  background-color: var(--color-maroon-primary);
  color: #fff;
  padding: 1rem 1.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.financial-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid #ebe7e0;
}

.financial-table tr:nth-child(even) td {
  background-color: #faf9f7;
}

.financial-table tr:hover td {
  background-color: var(--color-maroon-light);
}

.financial-table tfoot td {
  font-weight: 700;
  background-color: #f1ede6;
  border-top: 2px solid var(--color-maroon-primary);
}

/* ==========================================================================
   FORMS & INTAKE (Contact & Benevolat)
   ========================================================================== */

.contact-form-card {
  background-color: #fff;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-subtle);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text-main);
  font-size: 0.925rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: var(--radius-button);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text-main);
  min-height: 44px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-maroon-primary);
  box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.15);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ==========================================================================
   PROGRAMS & ACCORDION MODULES
   ========================================================================== */

.program-card {
  background: #fff;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-subtle);
}

.active-operation-badge {
  display: inline-block;
  background-color: #0b2545;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   PAGE HERO BANNER (Inner Pages)
   ========================================================================== */

.page-header-banner {
  background: linear-gradient(135deg, var(--color-charcoal-dark) 0%, #3a000b 100%);
  color: #fff;
  padding: 3.5rem 0;
  border-bottom: 4px solid var(--color-maroon-primary);
}

.page-header-banner h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.page-header-banner p {
  color: #f0d5d9;
  font-size: 1.15rem;
  max-width: 850px;
  margin-bottom: 0;
}

.breadcrumb-nav {
  font-size: 0.825rem;
  margin-bottom: 1rem;
  color: #ccc;
}

.breadcrumb-nav a {
  color: #f1a9b2;
}

/* ==========================================================================
   ARTICLE STYLING & FIELD DISPATCHES
   ========================================================================== */

.article-hero-wrap {
  margin: 2rem 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.article-hero-wrap img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border-subtle);
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 850px;
}

.article-body h2 {
  margin-top: 2.25rem;
}

.article-body blockquote {
  border-left: 4px solid var(--color-maroon-primary);
  background-color: var(--color-canvas-neutral);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.1rem;
  border-radius: 0 var(--radius-button) var(--radius-button) 0;
}

/* ==========================================================================
   FOOTER ARCHITECTURE (`footer.php`)
   ========================================================================== */

.site-footer {
  background-color: var(--color-charcoal-footer);
  color: #dcdcd8;
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 5px solid var(--color-maroon-primary);
}

.footer-top-branding {
  text-align: center;
  padding-bottom: 3rem;
  border-bottom: 1px solid #383838;
  margin-bottom: 3rem;
}

.footer-emblem-svg {
  width: 52px;
  height: 52px;
  fill: #FFFFFF;
  margin: 0 auto 0.75rem auto;
}

.footer-brand-title {
  font-family: var(--font-serif-heading);
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.footer-brand-subtitle {
  font-size: 0.875rem;
  color: #a8a8a4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #FFFFFF;
  font-family: var(--font-serif-heading);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background-color: var(--color-maroon-primary);
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links-list li {
  margin-bottom: 0.65rem;
}

.footer-links-list a {
  color: #bbb;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.footer-links-list a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-contact-item {
  font-size: 0.875rem;
  color: #bbb;
  margin-bottom: 0.65rem;
  line-height: 1.5;
}

/* Mandatory Legal Notice Block */
.footer-mandatory-legal-box {
  background-color: var(--color-charcoal-dark);
  border: 1px solid #3d3d3d;
  border-radius: 8px;
  padding: 1.75rem;
  margin-bottom: 2.5rem;
}

.footer-mandatory-legal-box p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #a8a8a4;
  max-width: 100%;
  margin-bottom: 0.75rem;
}

.footer-mandatory-legal-box p:last-child {
  margin-bottom: 0;
}

.footer-funding-declaration {
  color: #f1b3bc !important;
  font-weight: 500;
}

.footer-bottom-bar {
  border-top: 1px solid #383838;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #888;
}

.footer-bottom-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom-nav a {
  color: #aaa;
}

.footer-bottom-nav a:hover {
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Pure CSS standards)
   ========================================================================== */

@media (max-width: 992px) {
  .maroon-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .events-grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-panel.reverse {
    direction: ltr;
  }

  .content-with-siderail {
    grid-template-columns: 1fr;
  }

  .siderail-panel {
    position: static;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.95rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-primary-list {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--color-maroon-dark);
    padding: 0.5rem 0;
  }

  .nav-primary-list.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .top-utility-bar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content-box {
    padding: 1.5rem;
    border-radius: 0;
  }

  .hero-content-box h1 {
    font-size: 1.85rem;
  }

  .hero-image-wrap img {
    height: 480px;
  }

  .maroon-cards-grid {
    grid-template-columns: 1fr;
  }

  .events-grid-4col {
    grid-template-columns: 1fr;
  }

  .footer-grid-4col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-nav {
    justify-content: center;
  }
}
