/* ==========================================================================
   PORTAIL INSTITUTIONNEL - ÉCURIE, GÎTE, ÂNERIE DE JAU
   Association Loi 1901 - RNA : W092002595 - SIREN : 842011124
   Feuille de styles officielle conforme aux normes d'accessibilité & conformité
   ========================================================================== */

:root {
  --primary-spruce: #005A36;
  --primary-dark: #02472B;
  --accent-gold: #A68244;
  --accent-gold-hover: #9E7D3B;
  --bright-gold: #D97706;
  --bright-gold-hover: #C87A00;
  --bg-light-gray: #F4F5F4;
  --bg-alt-gray: #EFEFEF;
  --color-white: #FFFFFF;
  --color-charcoal: #1C1A17;
  --color-muted: #4A4844;
  --color-border: #D8DBD7;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-subtle: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-elevated: 0 8px 24px rgba(0, 90, 54, 0.12);
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-height: 75px;
}

/* Reset & Box Sizing */
*, *::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-base);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-charcoal);
  background-color: #FAFAFA;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover, a:focus-visible {
  color: var(--accent-gold);
}

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

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION BAR
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--primary-spruce);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-left-block {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
  text-decoration: none;
}

.brand-crest {
  width: 44px;
  height: 44px;
  background: var(--primary-dark);
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.brand-title-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.2;
  color: var(--color-white);
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.6px;
  color: #D6E8DE;
  text-transform: uppercase;
  font-weight: 600;
}

/* Analog Clock Widget with dual digital stack */
.clock-widget-badge {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 15px;
  margin-left: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.analog-clock-svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}

.clock-digital-stack {
  display: flex;
  flex-direction: column;
  font-size: 0.7rem;
  line-height: 1.25;
  color: #E2ECE6;
  font-variant-numeric: tabular-nums;
}

.clock-row {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.clock-label {
  color: #B5D4C3;
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.4px;
}

.clock-val {
  font-weight: 700;
  color: var(--color-white);
}

/* Navigation Row */
.header-right-block {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-matrix {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-trigger:hover, .nav-trigger:focus, .nav-item:hover > .nav-trigger {
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.nav-arrow {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-arrow {
  transform: translateY(2px);
}

.dropdown-pane {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primary-dark);
  border: 1px solid rgba(166, 130, 68, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  list-style: none;
  min-width: 240px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1005;
}

.nav-item:hover .dropdown-pane,
.nav-item:focus-within .dropdown-pane {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 10px 20px;
  color: #E2ECE6;
  font-size: 0.85rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dropdown-link:hover, .dropdown-link:focus {
  background-color: rgba(166, 130, 68, 0.2);
  color: var(--color-white);
  border-left-color: var(--accent-gold);
  padding-left: 24px;
}

/* Header High Priority CTA */
.header-cta-btn {
  background: var(--bright-gold);
  color: var(--color-white);
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
  transition: background-color 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.header-cta-btn:hover, .header-cta-btn:focus-visible {
  background-color: var(--bright-gold-hover);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* Mobile Hamburger Toggle */
.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  padding: 8px 12px;
  font-size: 1.4rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}

/* Dynamic Reading Progress Bar */
.reading-progress-bar {
  background: var(--accent-gold);
  height: 4px;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 0%;
  z-index: 999;
  transition: width 0.1s ease-out;
}

/* --------------------------------------------------------------------------
   LAYOUT & GRID STRUCTURE
   -------------------------------------------------------------------------- */
.site-wrapper {
  flex: 1;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 30px 25px 60px;
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 35px;
  align-items: start;
}

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

/* --------------------------------------------------------------------------
   HERO BANNER & MASTHEAD
   -------------------------------------------------------------------------- */
.institutional-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 35px;
  background: var(--primary-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-elevated);
}

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

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

.hero-overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  background: linear-gradient(180deg, rgba(2, 71, 43, 0.2) 0%, rgba(2, 71, 43, 0.95) 100%);
}

.hero-category-pill {
  display: inline-block;
  background: var(--accent-gold);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
  width: fit-content;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-white);
  margin-bottom: 12px;
}

.hero-lead-two-sentences {
  font-size: 1.12rem;
  line-height: 1.6;
  color: #F1F6F3;
  max-width: 860px;
  font-weight: 400;
}

/* Internal Page Mastheads */
.page-masthead {
  background: var(--primary-spruce);
  color: var(--color-white);
  padding: 35px 40px;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  box-shadow: var(--shadow-subtle);
  border-left: 6px solid var(--accent-gold);
}

.masthead-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #C2DFC9;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-white);
  margin-bottom: 12px;
}

.masthead-intro {
  font-size: 1.05rem;
  color: #EEF4F0;
  max-width: 820px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   NOTRE ENGAGEMENT INSTITUTIONNEL BOX (150+ Words Box)
   -------------------------------------------------------------------------- */
.institutional-charter-box {
  background: var(--bg-light-gray);
  border: 1px solid var(--color-border);
  border-left: 6px solid var(--primary-spruce);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 35px;
  box-shadow: var(--shadow-subtle);
}

.charter-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.charter-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-spruce);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.charter-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.charter-body {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--color-charcoal);
}

.charter-body p {
  margin-bottom: 12px;
}

.charter-body p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   METRICS & SOLIDARITY PANEL
   -------------------------------------------------------------------------- */
.metrics-panel {
  background: var(--primary-dark);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  margin-bottom: 35px;
  box-shadow: var(--shadow-elevated);
}

.metrics-panel-header {
  text-align: center;
  margin-bottom: 28px;
}

.metrics-badge {
  display: inline-block;
  color: var(--accent-gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.metrics-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  transition: transform 0.2s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
}

.metric-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1.1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.metric-label {
  font-size: 0.85rem;
  color: #E2ECE6;
  font-weight: 600;
  line-height: 1.4;
}

.metric-detail {
  font-size: 0.74rem;
  color: #B5D4C3;
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   ACTIVITIES & POSTS PREVIEW CARDS
   -------------------------------------------------------------------------- */
.section-heading-group {
  margin-bottom: 24px;
}

.section-pretitle {
  color: var(--primary-spruce);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.section-main-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-charcoal);
}

.activities-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 35px;
}

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

.activity-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: var(--accent-gold);
}

.card-media {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-alt-gray);
}

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

.activity-card:hover .card-media img {
  transform: scale(1.03);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary-spruce);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.card-text-exact-100w {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-charcoal);
  margin-bottom: 18px;
  flex: 1;
}

.card-action-link {
  color: var(--primary-spruce);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.card-action-link:hover {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   VOLUNTEER OPPORTUNITIES HUB
   -------------------------------------------------------------------------- */
.volunteer-hub-container {
  background: var(--bg-light-gray);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  margin-bottom: 35px;
}

.hub-header {
  margin-bottom: 20px;
}

.hub-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.hub-desc {
  font-size: 0.95rem;
  color: var(--color-muted);
  max-width: 780px;
}

.volunteer-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.role-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.role-badge {
  font-size: 0.72rem;
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.role-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 10px;
}

.role-specs {
  list-style: none;
  font-size: 0.84rem;
  color: var(--color-muted);
  margin-bottom: 14px;
}

.role-specs li {
  padding: 4px 0;
  border-bottom: 1px dashed var(--color-border);
}

.role-specs li:last-child {
  border-bottom: none;
}

.role-summary {
  font-size: 0.88rem;
  color: var(--color-charcoal);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

/* --------------------------------------------------------------------------
   SIDEBAR : JOURNAL DE BORD 2026
   -------------------------------------------------------------------------- */
.sidebar-sticky {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar-widget {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.widget-header {
  background: var(--primary-spruce);
  color: var(--color-white);
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-tag {
  background: var(--accent-gold);
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 0.4px;
}

.widget-body {
  padding: 18px;
}

/* Timeline Feed */
.timeline-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.timeline-item {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--primary-spruce);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gold);
  border: 2px solid var(--color-white);
}

.timeline-date {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-spruce);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.timeline-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 4px;
  line-height: 1.3;
}

.timeline-text {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.45;
}

/* Identity Card Widget */
.identity-specs-list {
  list-style: none;
  font-size: 0.82rem;
}

.identity-specs-list li {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  border-bottom: 1px solid var(--bg-light-gray);
}

.identity-specs-list li:last-child {
  border-bottom: none;
}

.spec-key {
  color: var(--color-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 600;
}

.spec-val {
  color: var(--primary-dark);
  font-weight: 700;
}

/* Direct Non-Commercial CTA Button */
.btn-primary-gold {
  background: var(--accent-gold);
  color: var(--color-white) !important;
  border: none;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  font-size: 0.88rem;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 6px rgba(166, 130, 68, 0.3);
}

.btn-primary-gold:hover, .btn-primary-gold:focus-visible {
  background-color: var(--accent-gold-hover);
  color: var(--color-white) !important;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   LONG-FORM INSTITUTIONAL ARTICLES (1,500+ Words Structure)
   -------------------------------------------------------------------------- */
.article-section {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 35px 40px;
  margin-bottom: 35px;
  box-shadow: var(--shadow-subtle);
}

.prose-block {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-charcoal);
}

.prose-block h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-top: 32px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--bg-light-gray);
  padding-bottom: 8px;
}

.prose-block h2:first-child {
  margin-top: 0;
}

.prose-block h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-spruce);
  margin-top: 24px;
  margin-bottom: 10px;
}

.prose-block p {
  margin-bottom: 18px;
}

.prose-block ul, .prose-block ol {
  margin: 14px 0 20px 24px;
}

.prose-block li {
  margin-bottom: 8px;
}

.prose-block blockquote {
  background: var(--bg-light-gray);
  border-left: 4px solid var(--accent-gold);
  padding: 16px 20px;
  margin: 20px 0;
  font-style: italic;
  color: var(--color-charcoal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
}

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

.institutional-table th {
  background: var(--primary-spruce);
  color: var(--color-white);
  padding: 12px 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.institutional-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-charcoal);
}

.institutional-table tr:nth-child(even) {
  background-color: var(--bg-light-gray);
}

.article-photo-banner {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 28px 0;
  box-shadow: var(--shadow-subtle);
}

.article-photo-banner img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   CONTACT FORM & GOVERNANCE STYLING
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--bg-light-gray);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-top: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--color-charcoal);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

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

/* --------------------------------------------------------------------------
   FOOTER ARCHITECTURE
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--primary-dark);
  color: var(--color-white);
  margin-top: auto;
  padding: 55px 30px 30px;
  border-top: 5px solid var(--accent-gold);
}

.footer-inner {
  max-width: 1360px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 45px;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.footer-brand-p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #E2ECE6;
  margin-bottom: 16px;
}

.footer-contact-specs {
  list-style: none;
  font-size: 0.88rem;
  color: #D3E4DA;
  line-height: 1.6;
}

.footer-contact-specs li {
  margin-bottom: 8px;
}

.footer-nav-list {
  list-style: none;
  font-size: 0.9rem;
}

.footer-nav-list li {
  margin-bottom: 10px;
}

.footer-nav-list a {
  color: #D3E4DA;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}

.footer-nav-list a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-compliance-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 25px;
}

.compliance-notice-text {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #C5D8CD;
  text-align: justify;
}

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES (992px & 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .layout-grid {
    grid-template-columns: 1fr;
  }
  
  .sidebar-sticky {
    position: static;
    margin-top: 30px;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: auto;
    padding: 12px 18px;
    flex-wrap: wrap;
  }
  
  .header-left-block {
    width: 100%;
    justify-content: space-between;
    margin-bottom: 8px;
  }
  
  .clock-widget-badge {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }
  
  .mobile-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .header-right-block {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  
  .header-right-block.is-open {
    display: flex;
  }
  
  .nav-matrix {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }
  
  .nav-trigger {
    width: 100%;
    justify-content: space-between;
    min-height: 44px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.06);
  }
  
  .dropdown-pane {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border-radius: 0;
    border: none;
    background: rgba(0, 0, 0, 0.25);
    padding: 4px 0 4px 16px;
  }
  
  .nav-item.dropdown-open .dropdown-pane {
    display: block;
  }
  
  .dropdown-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 12px 16px;
  }
  
  .header-cta-btn {
    min-height: 44px;
    margin-top: 10px;
    width: 100%;
  }
  
  .reading-progress-bar {
    top: auto;
    bottom: 0;
  }
  
  .hero-title {
    font-size: 1.6rem;
  }
  
  .hero-overlay-content {
    padding: 24px;
  }
  
  .activities-cards-grid,
  .volunteer-roles-grid,
  .metrics-grid,
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  
  .article-section {
    padding: 24px 20px;
  }
  
  .page-masthead {
    padding: 24px 20px;
  }
}
