/* ==========================================================================
   PORTAIL INSTITUTIONNEL - ASSOCIATION LA JOIE DE LIRE (LOI 1901)
   Feuille de styles officielle - Conforme aux standards d'accessibilité & responsive
   Couleurs : Bordeaux/Marron (#800000, #7A0016), Bleu Nuit (#0B2545), Anthracite (#222222)
   ========================================================================== */

:root {
  --primary-maroon: #800000;
  --primary-dark-maroon: #7A0016;
  --primary-light-maroon: #991b1b;
  --accent-navy: #0B2545;
  --accent-navy-light: #133E6D;
  --neutral-dark: #222222;
  --neutral-charcoal: #2A2A2A;
  --neutral-body: #333333;
  --neutral-muted: #555555;
  --neutral-light: #F9F8F6;
  --neutral-border: #E2DFD8;
  --neutral-white: #FFFFFF;
  --neutral-topbar: #F4F4F4;
  --gold-accent: #B8860B;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --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;
  --font-serif: "Georgia", "Garamond", "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --max-width: 1200px;
}

/* Reset & Base Elements */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--accent-navy);
  line-height: 1.3;
  font-weight: 700;
}

h1 {
  font-size: 2.35rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.85rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-maroon);
}

h2.no-line::after {
  display: none;
}

h3 {
  font-size: 1.4rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
  text-align: justify;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.site-main {
  min-height: 60vh;
}

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

/* 1. Top Utility Bar */
.top-utility-bar {
  background-color: var(--neutral-topbar);
  border-bottom: 1px solid var(--neutral-border);
  font-size: 0.825rem;
  min-height: 34px;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.25rem 0;
}

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

.top-rna-badge {
  font-weight: 700;
  color: var(--primary-maroon);
  background-color: #ECEAE4;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.top-utility-bar a {
  color: var(--neutral-muted);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.top-utility-bar a:hover {
  color: var(--primary-maroon);
}

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

.top-search-input {
  padding: 3px 8px;
  font-size: 0.8rem;
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-sm);
  background: var(--neutral-white);
  outline: none;
  width: 140px;
}

.top-search-input:focus {
  border-color: var(--primary-maroon);
  width: 180px;
  transition: width 0.2s ease;
}

.lang-selector {
  font-weight: 700;
  color: var(--accent-navy);
}

/* 2. Central Branding Header */
.central-header {
  background-color: var(--neutral-white);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--neutral-border);
}

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

.shield-logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

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

.brand-title-main {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--primary-maroon);
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-subtitle-statut {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent-navy);
  margin-top: 0.25rem;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.85rem;
  color: var(--neutral-muted);
  font-style: italic;
  margin-top: 0.25rem;
}

/* 3. Tier 1 Primary Navigation Bar */
.primary-nav-bar {
  background-color: var(--primary-maroon);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 100;
}

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

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.15rem;
  color: var(--neutral-white);
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  min-height: 48px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

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

/* 4. Tier 2 Mega-Dropdown / Sub-bar */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--neutral-white);
  min-width: 260px;
  border-top: 3px solid var(--gold-accent);
  box-shadow: var(--shadow-lg);
  display: none;
  padding: 0.5rem 0;
  z-index: 1000;
  list-style: none;
  margin: 0;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

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

.dropdown-menu li a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--accent-navy);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid #F0EFEA;
  min-height: 44px;
  line-height: 1.4;
  text-align: left;
}

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

.dropdown-menu li a:hover {
  background-color: var(--neutral-light);
  color: var(--primary-maroon);
  text-decoration: none;
  padding-left: 1.45rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--neutral-white);
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   PAGE HERO & BANNER MODULES
   ========================================================================== */

.page-hero {
  position: relative;
  background-color: var(--accent-navy);
  color: var(--neutral-white);
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(11, 37, 69, 0.95) 0%, rgba(122, 0, 22, 0.85) 100%);
  z-index: 1;
}

.hero-banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  color: var(--neutral-white);
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.hero-slogan {
  font-size: 1.25rem;
  font-weight: 300;
  color: #E2E8F0;
  margin-bottom: 1.5rem;
  max-width: 850px;
  text-align: left;
}

/* Mandatory 2-Sentence Non-Profit Summary on Homepage */
.mandatory-nonprofit-summary {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--neutral-dark);
  padding: 1.25rem 1.5rem;
  border-left: 5px solid var(--gold-accent);
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 500;
  margin-top: 1.5rem;
  max-width: 900px;
  box-shadow: var(--shadow-md);
}

.mandatory-nonprofit-summary strong {
  color: var(--primary-maroon);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  min-height: 46px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-maroon);
  color: var(--neutral-white);
  border-color: var(--primary-maroon);
}

.btn-primary:hover {
  background-color: var(--primary-dark-maroon);
  border-color: var(--primary-dark-maroon);
  color: var(--neutral-white);
}

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

.btn-secondary:hover {
  background-color: var(--accent-navy-light);
  border-color: var(--accent-navy-light);
  color: var(--neutral-white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--neutral-white);
  border-color: var(--neutral-white);
}

.btn-outline-white:hover {
  background-color: var(--neutral-white);
  color: var(--accent-navy);
}

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

.btn-outline-maroon:hover {
  background-color: var(--primary-maroon);
  color: var(--neutral-white);
}

.btn-gold {
  background-color: var(--gold-accent);
  color: var(--neutral-dark);
  border-color: var(--gold-accent);
}

.btn-gold:hover {
  background-color: #996F08;
  color: var(--neutral-white);
}

/* ==========================================================================
   SECTION MODULES & LAYOUTS
   ========================================================================== */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background-color: var(--neutral-light);
  border-top: 1px solid var(--neutral-border);
  border-bottom: 1px solid var(--neutral-border);
}

.section-maroon {
  background-color: var(--primary-maroon);
  color: var(--neutral-white);
}

.section-maroon h2, .section-maroon h3 {
  color: var(--neutral-white);
}

.section-maroon h2::after {
  background-color: var(--gold-accent);
}

.section-maroon p {
  color: #F8F9FA;
}

.section-header {
  margin-bottom: 2.5rem;
  text-align: left;
}

.section-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-maroon);
  margin-bottom: 0.5rem;
}

.section-maroon .section-kicker {
  color: #FFE6B0;
}

/* Two-column split panels */
.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 2.5rem 0;
}

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

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

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

.split-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Continuous Statutory "Notre mission" Box */
.notre-mission-statutaire {
  background-color: #FFFFFF;
  border: 2px solid var(--primary-maroon);
  border-left-width: 8px;
  padding: 2.25rem 2.5rem;
  border-radius: var(--radius-sm);
  margin: 2.5rem 0;
  box-shadow: var(--shadow-md);
}

.notre-mission-statutaire h3 {
  color: var(--primary-maroon);
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.notre-mission-statutaire p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2D3748;
}

/* Activity Preview Cards (Exact 100-word summaries) */
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.activity-card {
  background: var(--neutral-white);
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.activity-card-media {
  height: 190px;
  overflow: hidden;
  background-color: #E2DFD8;
}

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

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

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-maroon);
  background: #FEE2E2;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.activity-card h3 {
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.activity-card p {
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--neutral-muted);
  flex-grow: 1;
  text-align: left;
  margin-bottom: 1.25rem;
}

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

.activity-card .card-link:hover {
  color: var(--primary-dark-maroon);
  text-decoration: underline;
}

/* 4-Column Events Grid */
.events-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.event-card {
  background: var(--neutral-white);
  border: 1px solid var(--neutral-border);
  border-top: 4px solid var(--primary-maroon);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--neutral-topbar);
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  width: fit-content;
  margin-bottom: 1rem;
}

.event-month {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-maroon);
  text-transform: uppercase;
}

.event-day {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-navy);
  line-height: 1;
}

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

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

.event-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--neutral-body);
  flex-grow: 1;
  text-align: left;
  margin-bottom: 1rem;
}

.event-card .btn {
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: 40px;
}

/* Key Statistics / Chiffres Clés Side-Rail Panel */
.stats-panel {
  background: linear-gradient(135deg, #F9F8F6 0%, #EDE9E1 100%);
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 2.5rem 0;
}

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

.stat-item {
  padding: 1rem;
  background: var(--neutral-white);
  border-radius: var(--radius-sm);
  border-bottom: 3px solid var(--primary-maroon);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-maroon);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Side-rail layout with article & sidebar */
.content-layout-with-sidebar {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 2.5rem;
  margin: 2.5rem 0;
}

.main-column {
  min-width: 0;
}

.sidebar-column {
  min-width: 0;
}

.sidebar-widget {
  background: var(--neutral-light);
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

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

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

.sidebar-widget li {
  padding: 0.65rem 0;
  border-bottom: 1px solid #E5E0D5;
}

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

.sidebar-widget a {
  color: var(--neutral-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-widget a:hover {
  color: var(--primary-maroon);
  text-decoration: none;
}

/* Executive Board Profiles */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.board-card {
  background: var(--neutral-white);
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.board-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background-color: var(--neutral-light);
  border: 3px solid var(--primary-maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-maroon);
}

.board-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-navy);
  margin-bottom: 0.25rem;
}

.board-role {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-maroon);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.board-bio {
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--neutral-muted);
  text-align: justify;
}

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

.financial-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background-color: var(--neutral-white);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.financial-table th, .financial-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--neutral-border);
}

.financial-table th {
  background-color: var(--accent-navy);
  color: var(--neutral-white);
  font-weight: 600;
  letter-spacing: 0.5px;
}

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

.financial-table tr:hover {
  background-color: #F1ECE1;
}

.financial-table td.amount {
  text-align: right;
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
}

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

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

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent-navy);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-sm);
  background-color: var(--neutral-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}

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

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

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

/* FAQ Accordions */
.faq-item {
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  background: var(--neutral-white);
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--neutral-light);
  border-bottom: 1px solid transparent;
}

.faq-question:hover {
  color: var(--primary-maroon);
}

.faq-answer {
  padding: 1.5rem;
  line-height: 1.7;
  color: var(--neutral-body);
}

/* Breadcrumb */
.breadcrumb-nav {
  background-color: var(--neutral-light);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--neutral-border);
  font-size: 0.85rem;
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumb-list li::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--neutral-muted);
}

.breadcrumb-list li:last-child::after {
  content: "";
}

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

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

.breadcrumb-list .current {
  color: var(--primary-maroon);
  font-weight: 600;
}

/* ==========================================================================
   FOOTER ARCHITECTURE
   ========================================================================== */

.site-footer {
  background-color: var(--neutral-dark);
  color: #D1D5DB;
  padding-top: 4rem;
  padding-bottom: 2rem;
  font-size: 0.925rem;
}

.footer-header-mark {
  text-align: center;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-shield {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.75rem;
  filter: brightness(0) invert(1);
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--neutral-white);
  letter-spacing: 1px;
}

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

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--neutral-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

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

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

.footer-links a {
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--neutral-white);
  text-decoration: underline;
}

.footer-contact-info p {
  color: #9CA3AF;
  margin-bottom: 0.65rem;
  text-align: left;
  font-size: 0.875rem;
}

.footer-contact-info strong {
  color: var(--neutral-white);
}

/* Mandatory Legal Notice Block in Footer */
.mandatory-legal-notice-block {
  background-color: #1A1A1A;
  border-left: 4px solid var(--primary-maroon);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #B5B5B5;
}

.mandatory-legal-notice-block p {
  margin: 0;
  text-align: justify;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: #888888;
}

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

.footer-bottom-links a {
  color: #888888;
}

.footer-bottom-links a:hover {
  color: var(--neutral-white);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (max-width: 992px & 768px)
   ========================================================================== */

@media (max-width: 992px) {
  .cards-grid-4, .events-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-layout-with-sidebar {
    grid-template-columns: 1fr;
  }
  
  .split-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .split-panel.reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.95rem;
  }
  
  h2 {
    font-size: 1.55rem;
  }
  
  .page-hero {
    padding: 2.5rem 0 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-slogan {
    font-size: 1.1rem;
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .top-links-right {
    width: 100%;
    justify-content: space-between;
  }

  .top-search-input {
    width: 120px;
  }

  /* Mobile Navigation Collapse */
  .mobile-nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--primary-dark-maroon);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu.is-active {
    display: flex;
  }

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

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    background-color: #5A0010;
    border-top: none;
    border-left: 4px solid var(--gold-accent);
  }

  .nav-item.open-mobile .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    color: #F8F9FA;
    padding-left: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .dropdown-menu li a:hover {
    background-color: transparent;
    color: #FFE6B0;
  }

  .cards-grid-4, .events-grid-4, .board-grid {
    grid-template-columns: 1fr;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

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