/* ==========================================================================
   DOMAINE DE LA LAUZE - CHARTE GRAPHIQUE & DESIGN SYSTEM OFFICIEL
   Association Loi 1901 (ACCA) - RNA: W343029969 - SIREN: 912593548
   Couleurs officielles: Deep Maroon (#7A0016 / #800000), Dark Navy (#0B2545),
   Canvas Neutre (#FFFFFF / #F9F8F6), Footer Charcoal (#222222 / #2A2A2A)
   ========================================================================== */

:root {
  --primary-maroon: #7A0016;
  --primary-maroon-dark: #5C0010;
  --primary-maroon-light: #991024;
  --secondary-navy: #0B2545;
  --secondary-navy-light: #134074;
  --bg-white: #FFFFFF;
  --bg-neutral: #F9F8F6;
  --bg-neutral-alt: #F2EFE9;
  --text-main: #212529;
  --text-muted: #555E68;
  --text-light: #76808C;
  --border-light: #E2DDD5;
  --border-medium: #CDC7BD;
  --footer-dark: #222222;
  --footer-darker: #1A1A1A;
  --gold-accent: #C49A45;
  --font-serif: "Georgia", "Garamond", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.68;
  color: var(--text-main);
  background-color: var(--bg-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--secondary-navy);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

h1 { font-size: 2.35rem; letter-spacing: -0.01em; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }

p {
  margin-bottom: 1.25rem;
  color: #333A42;
}

a {
  color: var(--primary-maroon);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover, a:focus {
  color: var(--primary-maroon-dark);
  text-decoration: underline;
}

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

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

.container-narrow {
  max-width: 900px;
}

/* ==========================================================================
   HEADER ARCHITECTURE
   ========================================================================== */

.site-header {
  width: 100%;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 1000;
}

/* 1. Top Utility Bar (#F4F4F4, 32px height) */
.top-utility-bar {
  background-color: #F4F4F4;
  height: 34px;
  border-bottom: 1px solid #E5E5E5;
  font-size: 0.82rem;
  color: #555555;
}

.top-utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

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

.top-utility-left a, .top-utility-right a {
  color: #4A4A4A;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 500;
}

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

.rna-badge {
  background-color: #E2E0D8;
  color: #333333;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 600;
}

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

.top-search-input {
  height: 24px;
  border: 1px solid #CCCCCC;
  border-radius: var(--radius-sm);
  padding: 0 0.5rem;
  font-size: 0.78rem;
  background-color: #FFFFFF;
  color: #333333;
  width: 140px;
  transition: width 0.2s ease, border-color 0.2s ease;
}

.top-search-input:focus {
  outline: none;
  border-color: var(--primary-maroon);
  width: 180px;
}

.lang-selector {
  color: #777777;
  font-size: 0.78rem;
}

.lang-selector strong {
  color: var(--primary-maroon);
}

/* 2. Central Branding Header (#FFFFFF) */
.central-branding {
  background-color: var(--bg-white);
  padding: 1.5rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.branding-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.institutional-emblem-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none !important;
}

.institutional-shield-svg {
  width: 64px;
  height: 64px;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 4px rgba(122, 0, 22, 0.15));
}

.brand-acronym {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary-maroon);
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-org-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--secondary-navy);
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

.brand-subline {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
  font-weight: 500;
}

/* Mobile Hamburger Button */
.mobile-nav-toggle {
  display: none;
  background: var(--primary-maroon);
  color: #FFFFFF;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

/* 3. Tier 1 Primary Navigation Bar */
.primary-nav-bar {
  background-color: var(--primary-maroon);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.primary-nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.95rem 1.4rem;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: 48px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

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

/* 4. Tier 2 Mega-Dropdown / Sub-Bar */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-top: 3px solid var(--gold-accent);
  box-shadow: var(--shadow-lg);
  display: none;
  padding: 0.6rem 0;
  z-index: 1100;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.nav-item:hover .mega-dropdown,
.nav-item:focus-within .mega-dropdown {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--secondary-navy);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  border-bottom: 1px solid #F0ECE4;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: background-color 0.15s ease, padding-left 0.15s ease;
}

.dropdown-link:last-child {
  border-bottom: none;
}

.dropdown-link:hover, .dropdown-link:focus {
  background-color: var(--bg-neutral);
  color: var(--primary-maroon);
  padding-left: 1.5rem;
  text-decoration: none;
}

/* ==========================================================================
   HERO BANNER & MANDATORY SUMMARY
   ========================================================================== */

.hero-section {
  position: relative;
  background-color: var(--secondary-navy);
  color: #FFFFFF;
  overflow: hidden;
  border-bottom: 4px solid var(--gold-accent);
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  height: 460px;
  background-color: #1A1A1A;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 37, 69, 0.4) 0%, rgba(122, 0, 22, 0.65) 100%);
  display: flex;
  align-items: center;
}

.hero-content {
  color: #FFFFFF;
  max-width: 860px;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-badge {
  display: inline-block;
  background-color: var(--gold-accent);
  color: #1A1A1A;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.hero-title {
  color: #FFFFFF;
  font-size: 2.85rem;
  line-height: 1.18;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.hero-slogan {
  font-size: 1.25rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: #F2EFE9;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Mandatory Homepage Headline Summary */
.mandatory-headline-summary {
  background-color: rgba(255, 255, 255, 0.96);
  border-left: 5px solid var(--primary-maroon);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-md);
  color: #1D232A;
  font-size: 1.05rem;
  line-height: 1.6;
}

.mandatory-headline-summary p {
  margin-bottom: 0;
  color: #1D232A;
  font-weight: 500;
}

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

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  min-height: 46px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

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

.btn-maroon:hover, .btn-maroon:focus {
  background-color: var(--primary-maroon-dark);
  border-color: var(--primary-maroon-dark);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

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

.btn-navy:hover, .btn-navy:focus {
  background-color: var(--secondary-navy-light);
  border-color: var(--secondary-navy-light);
  color: #FFFFFF;
}

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

.btn-outline-white:hover, .btn-outline-white:focus {
  background-color: #FFFFFF;
  color: var(--primary-maroon);
}

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

.btn-outline-maroon:hover, .btn-outline-maroon:focus {
  background-color: var(--primary-maroon);
  color: #FFFFFF;
}

/* ==========================================================================
   NOTRE MISSION CONTINUOUS BLOCK (EXACTLY 150+ WORDS)
   ========================================================================== */

.mission-highlight-block {
  background-color: var(--bg-neutral);
  border: 1px solid var(--border-medium);
  border-top: 4px solid var(--primary-maroon);
  padding: 2.25rem;
  margin: 2.5rem 0;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.mission-highlight-title {
  font-size: 1.6rem;
  color: var(--primary-maroon);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mission-continuous-text {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #2D3748;
  font-style: normal;
  text-align: justify;
  margin-bottom: 0;
}

/* ==========================================================================
   STATUTORY STATUS & REINVESTMENT NOTICE
   ========================================================================== */

.reinvestment-banner {
  background-color: #EFECE6;
  border-left: 4px solid var(--gold-accent);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: #2F3E46;
}

.reinvestment-banner strong {
  color: var(--primary-maroon);
}

/* ==========================================================================
   TWO-COLUMN SPLIT PANELS & CARDS
   ========================================================================== */

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

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

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

.split-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.split-media img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.split-media:hover img {
  transform: scale(1.02);
}

.split-narrative h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.meta-stamp {
  font-size: 0.82rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

/* ==========================================================================
   FULL-WIDTH MAROON BANNER STRIP WITH INTEGRATED CARD GRID
   ========================================================================== */

.maroon-strip-section {
  background-color: var(--primary-maroon);
  color: #FFFFFF;
  padding: 3.5rem 0;
  margin: 3.5rem 0;
}

.maroon-strip-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
}

.maroon-strip-header h2 {
  color: #FFFFFF;
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.maroon-strip-header p {
  color: #F7EBEB;
  font-size: 1.05rem;
}

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

.preview-card {
  background-color: #FFFFFF;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.preview-card-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: #E8E8E8;
}

.preview-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.preview-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-maroon);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.preview-card-title {
  font-size: 1.18rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.preview-card-summary {
  font-size: 0.92rem;
  color: #4A5568;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.preview-card-link {
  color: var(--primary-maroon);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

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

.events-section {
  padding: 3.5rem 0;
  background-color: var(--bg-neutral);
}

.section-header-centered {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem auto;
}

.section-header-centered h2 {
  font-size: 2.15rem;
  color: var(--secondary-navy);
}

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

.event-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.event-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-maroon);
  box-shadow: var(--shadow-md);
}

.event-date-badge {
  background-color: var(--primary-maroon);
  color: #FFFFFF;
  width: 60px;
  padding: 0.35rem 0;
  text-align: center;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.date-badge-month {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  letter-spacing: 0.05em;
  background-color: var(--primary-maroon-dark);
  margin: -0.35rem 0 0.15rem 0;
  padding: 0.15rem 0;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.date-badge-day {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  display: block;
}

.event-title {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.event-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.event-desc {
  font-size: 0.9rem;
  color: #4A5568;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* ==========================================================================
   CHIFFRES CLÉS & STATISTICS SIDE-RAIL / ROW
   ========================================================================== */

.stats-section {
  padding: 3rem 0;
  background-color: var(--secondary-navy);
  color: #FFFFFF;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold-accent);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.92rem;
  color: #ECEFF4;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   INNER PAGE CONTENT STYLING & SIDEBAR
   ========================================================================== */

.page-header {
  background-color: var(--bg-neutral);
  padding: 3rem 0 2rem 0;
  border-bottom: 1px solid var(--border-medium);
}

.breadcrumb {
  font-size: 0.84rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary-maroon);
}

.breadcrumb span {
  margin: 0 0.4rem;
}

.page-title {
  font-size: 2.45rem;
  color: var(--secondary-navy);
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 820px;
  line-height: 1.6;
}

.page-layout-sidebar {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.page-layout-full {
  margin: 3rem 0;
}

.content-article {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2D3748;
}

.content-article h2 {
  font-size: 1.85rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 0.4rem;
}

.content-article h3 {
  font-size: 1.4rem;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}

.content-article ul, .content-article ol {
  margin-left: 1.75rem;
  margin-bottom: 1.5rem;
}

.content-article li {
  margin-bottom: 0.5rem;
}

.content-featured-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

/* Sidebar Styles */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background-color: var(--bg-neutral);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget-title {
  font-size: 1.25rem;
  color: var(--primary-maroon);
  border-bottom: 2px solid var(--primary-maroon);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  border-bottom: 1px solid var(--border-light);
}

.sidebar-menu li:last-child {
  border-bottom: none;
}

.sidebar-menu a {
  display: block;
  padding: 0.65rem 0.4rem;
  color: var(--secondary-navy);
  font-weight: 500;
  font-size: 0.92rem;
}

.sidebar-menu a:hover {
  color: var(--primary-maroon);
  padding-left: 0.6rem;
  background-color: #FFFFFF;
}

/* Financial Tables */
.table-responsive {
  overflow-x: auto;
  margin: 2rem 0;
}

.table-custom {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table-custom th, .table-custom td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-medium);
  text-align: left;
}

.table-custom th {
  background-color: var(--secondary-navy);
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-weight: 600;
}

.table-custom tr:nth-child(even) {
  background-color: var(--bg-neutral);
}

.table-custom tr.highlight-total {
  background-color: #F1ECE1;
  font-weight: 700;
  color: var(--primary-maroon);
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--secondary-navy);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-maroon);
  box-shadow: 0 0 0 3px rgba(122, 0, 22, 0.12);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* ==========================================================================
   FOOTER ARCHITECTURE (#222222)
   ========================================================================== */

.site-footer {
  background-color: var(--footer-dark);
  color: #E0E0E0;
  margin-top: auto;
  border-top: 4px solid var(--primary-maroon);
  font-size: 0.92rem;
}

.footer-top {
  padding: 3.5rem 0 2.5rem 0;
}

.footer-brand-center {
  text-align: center;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #333333;
}

.footer-shield-svg {
  width: 52px;
  height: 52px;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.footer-brand-sub {
  font-size: 0.85rem;
  color: #A0A0A0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--gold-accent);
}

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

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

.footer-links a {
  color: #C8C8C8;
  font-size: 0.88rem;
  transition: color 0.15s ease, padding-left 0.15s ease;
  display: inline-block;
}

.footer-links a:hover, .footer-links a:focus {
  color: #FFFFFF;
  padding-left: 0.35rem;
  text-decoration: none;
}

.footer-contact-info {
  font-size: 0.88rem;
  color: #C8C8C8;
  line-height: 1.6;
}

.footer-contact-info p {
  color: #C8C8C8;
  margin-bottom: 0.5rem;
}

/* Mandatory Legal Notice Block */
.footer-legal-notice-block {
  background-color: var(--footer-darker);
  border-top: 1px solid #333333;
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: #9E9E9E;
  line-height: 1.65;
}

.footer-legal-statement {
  background-color: #282828;
  border-left: 3px solid var(--gold-accent);
  padding: 0.85rem 1.25rem;
  margin-bottom: 1rem;
  color: #C2C2C2;
}

.footer-sub-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.75rem;
}

.footer-sub-links a {
  color: #B0B0B0;
  margin-right: 1.25rem;
}

.footer-sub-links a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & BREAKPOINTS (STRICT STANDARDS)
   ========================================================================== */

@media (max-width: 992px) {
  .maroon-grid-4, .events-grid-4, .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .stat-item:nth-child(2) {
    border-right: none;
  }
  
  .page-layout-sidebar {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .split-panel {
    gap: 2rem;
  }
  
  .nav-link {
    padding: 0.85rem 0.9rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation Collapse into Drawer */
  .mobile-nav-toggle {
    display: inline-flex;
  }

  .primary-nav-bar {
    position: relative;
  }

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

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

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link {
    padding: 0.85rem 1.25rem;
    min-height: 44px;
    width: 100%;
    justify-content: space-between;
  }

  .mega-dropdown {
    position: static;
    display: none;
    background-color: #2E0006;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .nav-item.is-expanded .mega-dropdown {
    display: block;
  }

  .dropdown-link {
    color: #F0ECE4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.75rem;
    min-height: 44px;
  }

  .dropdown-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
  }

  /* Utility bar responsive */
  .top-utility-bar {
    height: auto;
    padding: 0.4rem 0;
  }

  .top-utility-bar .container {
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
  }

  .top-utility-left, .top-utility-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
  }

  .top-search-form {
    margin: 0.25rem 0;
  }

  /* Split panels on mobile */
  .split-panel, .split-panel.reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    direction: ltr;
  }

  /* Grids to single column */
  .maroon-grid-4, .events-grid-4, .stats-grid, .footer-grid-4 {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.25rem 0;
  }

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

  .hero-image-wrap {
    height: 520px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-slogan {
    font-size: 1.05rem;
  }

  .mandatory-headline-summary {
    font-size: 0.95rem;
    padding: 1rem;
  }

  .mission-highlight-block {
    padding: 1.5rem;
  }
}
