/* ==========================================================================
   STYLE.CSS - RANDOLIB'09 (ASSOCIATION LOI 1901)
   Architecture Institutionnelle & Charte Graphique Officielle 2026
   ========================================================================== */

:root {
  --spruce-green: #005A36;
  --spruce-deep: #02472B;
  --spruce-light: #0A6B43;
  --gold-sand: #A68244;
  --gold-dark: #9E7D3B;
  --gold-bright: #D97706;
  --gold-bright-hover: #C87A00;
  --bg-light: #F4F5F4;
  --bg-alt: #EFEFEF;
  --card-bg: #FFFFFF;
  --charcoal: #1C1A17;
  --charcoal-soft: #2D2A26;
  --text-muted: #57534E;
  --border-light: #E2E4E1;
  --border-dark: rgba(255, 255, 255, 0.15);
  --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;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Georgia", "Cambria", serif;
}

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

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

body {
  font-family: var(--font-family);
  color: var(--charcoal);
  background-color: var(--bg-light);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--spruce-deep);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1.25rem;
  color: var(--charcoal-soft);
  max-width: 75ch;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* ==========================================================================
   DYNAMIC READING PROGRESS BAR
   ========================================================================== */
#reading-progress-bar {
  background: var(--gold-sand);
  height: 4px;
  width: 0%;
  position: fixed;
  top: 75px;
  left: 0;
  z-index: 999;
  transition: width 0.1s linear;
}

/* ==========================================================================
   TOP STICKY HEADER & CLOCK WIDGET
   ========================================================================== */
.site-header {
  background: var(--spruce-green);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 75px;
  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;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--spruce-green);
  font-weight: 900;
  font-size: 1.1rem;
  border: 2px solid var(--gold-sand);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  color: #FFFFFF;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.brand-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.analog-clock-svg {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
  border: 1.5px solid var(--gold-sand);
  flex-shrink: 0;
}

.clock-hand-hour, .clock-hand-min, .clock-hand-sec {
  transform-origin: 50% 50%;
}

.clock-hand-hour {
  stroke: #FFFFFF;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.clock-hand-min {
  stroke: var(--gold-sand);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.clock-hand-sec {
  stroke: var(--gold-bright);
  stroke-width: 1;
}

.clock-digital-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

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

.clock-row-label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.clock-row-time {
  color: #FFFFFF;
  font-size: 0.78rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 600;
}

.clock-row-time.local-time {
  color: #FCD34D;
}

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

.main-nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.nav-caret {
  font-size: 0.65rem;
  opacity: 0.8;
  margin-left: 2px;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #FFFFFF;
  min-width: 240px;
  list-style: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--gold-sand);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1010;
}

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

.dropdown-link {
  display: block;
  padding: 9px 18px;
  color: var(--charcoal);
  font-size: 0.86rem;
  font-weight: 500;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dropdown-link:hover {
  background: var(--bg-light);
  color: var(--spruce-green);
  padding-left: 22px;
}

/* High-Priority Right CTA */
.header-cta-btn {
  background: var(--gold-bright);
  color: #FFFFFF !important;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
  display: inline-block;
}

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

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #FFFFFF;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   STRUCTURAL LAYOUT & TWO-COLUMN CONTAINER
   ========================================================================== */
.site-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
}

.page-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

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

/* Breadcrumb Bar */
.breadcrumb-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb-separator {
  color: var(--gold-sand);
}

.breadcrumb-current {
  color: var(--spruce-deep);
  font-weight: 600;
}

/* Hero Section */
.page-hero {
  background: linear-gradient(135deg, var(--spruce-deep) 0%, var(--spruce-green) 100%);
  color: #FFFFFF;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--gold-sand);
}

.page-hero .hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

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

.hero-tagline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 65ch;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gold-sand);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-media {
  position: relative;
}

.hero-media img {
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ==========================================================================
   NOTRE ENGAGEMENT & MISSION INSTITUTIONNELLE BOX
   ========================================================================== */
.institutional-engagement-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--gold-sand);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

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

.engagement-badge-icon {
  width: 32px;
  height: 32px;
  background: var(--spruce-green);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.engagement-header h2, .engagement-header h3 {
  color: var(--spruce-deep);
  margin-bottom: 0;
  font-size: 1.35rem;
}

.engagement-body p {
  color: var(--charcoal-soft);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

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

/* ==========================================================================
   ACTIVITY CARDS (INDEX POST PREVIEWS)
   ========================================================================== */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: 36px 0;
}

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

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

.activity-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.activity-card-media img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  transition: transform 0.3s ease;
}

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

.activity-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--spruce-deep);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid var(--gold-sand);
}

.activity-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.activity-card-content h3 {
  font-size: 1.25rem;
  color: var(--spruce-green);
  margin-bottom: 12px;
  line-height: 1.35;
}

.activity-card-content p {
  font-size: 0.94rem;
  color: var(--charcoal-soft);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-sand);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  align-self: flex-start;
}

.card-cta-link:hover {
  color: var(--spruce-green);
  border-bottom-color: var(--spruce-green);
}

/* ==========================================================================
   SOLIDARITY INDEX METRICS PANEL
   ========================================================================== */
.metrics-panel {
  background: linear-gradient(135deg, var(--spruce-deep) 0%, #033621 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  margin: 40px 0;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-md);
}

.metrics-panel-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 36px;
}

.metrics-panel-header h2 {
  color: #FFFFFF;
  font-size: 1.85rem;
}

.metrics-panel-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin: 0 auto;
}

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

.metric-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.metric-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-sand);
}

.metric-number {
  color: var(--gold-sand);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.metric-label {
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.metric-sublabel {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  line-height: 1.35;
}

/* ==========================================================================
   VOLUNTEER OPPORTUNITIES HUB & ROLES
   ========================================================================== */
.volunteer-hub {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 36px;
  margin: 40px 0;
  box-shadow: var(--shadow-sm);
}

.volunteer-hub h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.volunteer-roles-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.volunteer-role-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--spruce-green);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.role-header h3 {
  font-size: 1.15rem;
  color: var(--spruce-deep);
  margin-bottom: 6px;
}

.role-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.role-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.role-desc {
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  margin-bottom: 0;
}

/* Buttons */
.btn-primary-gold {
  background: var(--gold-sand);
  color: #FFFFFF !important;
  border: none;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.88rem;
}

.btn-primary-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.btn-bright-cta {
  background: var(--gold-bright);
  color: #FFFFFF !important;
  border: none;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.88rem;
}

.btn-bright-cta:hover {
  background: var(--gold-bright-hover);
  transform: translateY(-1px);
}

.btn-spruce {
  background: var(--spruce-green);
  color: #FFFFFF !important;
  border: none;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 0.88rem;
}

.btn-spruce:hover {
  background: var(--spruce-deep);
}

/* ==========================================================================
   SIDEBAR: "JOURNAL DE BORD 2026"
   ========================================================================== */
.sidebar-journal {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 95px;
}

.sidebar-header {
  background: var(--spruce-green);
  color: #FFFFFF;
  padding: 18px 20px;
  border-bottom: 3px solid var(--gold-sand);
}

.sidebar-title-badge {
  font-size: 0.72rem;
  background: var(--gold-sand);
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 4px;
}

.sidebar-header h2 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.sidebar-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  margin-bottom: 0;
}

.sidebar-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sidebar-section-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--spruce-deep);
  font-weight: 800;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.timeline-list {
  list-style: none;
  position: relative;
  padding-left: 18px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 5px;
  width: 2px;
  background: var(--border-light);
}

.timeline-item {
  position: relative;
  margin-bottom: 16px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -18px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-sand);
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 1px var(--gold-sand);
}

.timeline-date {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--spruce-green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
}

.timeline-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 3px;
  line-height: 1.3;
}

.timeline-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0;
}

.sidebar-meta-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.meta-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.meta-label {
  color: var(--text-muted);
  font-weight: 500;
}

.meta-value {
  color: var(--spruce-deep);
  font-weight: 700;
  text-align: right;
}

.sidebar-cta-box {
  background: #FDF8F0;
  border: 1px solid #F3E4CA;
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.sidebar-cta-box p {
  font-size: 0.84rem;
  color: var(--charcoal-soft);
  margin-bottom: 12px;
}

/* ==========================================================================
   CONTENT ARTICLE / PROSE STYLING
   ========================================================================== */
.prose-section {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 36px 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.prose-section h2 {
  font-size: 1.75rem;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.prose-section h3 {
  font-size: 1.3rem;
  margin-top: 28px;
  margin-bottom: 12px;
}

.prose-section ul, .prose-section ol {
  margin-left: 24px;
  margin-bottom: 20px;
}

.prose-section li {
  margin-bottom: 8px;
  color: var(--charcoal-soft);
}

.prose-section blockquote {
  border-left: 4px solid var(--gold-sand);
  padding: 16px 20px;
  background: var(--bg-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  margin: 24px 0;
  color: var(--spruce-deep);
}

/* Data Tables */
.data-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

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

.data-table th {
  background: var(--spruce-green);
  color: #FFFFFF;
  padding: 12px 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

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

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

.data-table tr:hover {
  background-color: rgba(166, 130, 68, 0.08);
}

/* Forms */
.form-container {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--spruce-deep);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--charcoal);
  background-color: var(--bg-light);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-sand);
  background-color: #FFFFFF;
}

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

/* Notice & Alert Boxes */
.notice-box {
  background: #EBF3EF;
  border-left: 4px solid var(--spruce-green);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-size: 0.92rem;
}

.notice-box.warning {
  background: #FEF7EE;
  border-left-color: var(--gold-bright);
}

/* ==========================================================================
   FOOTER ARCHITECTURE
   ========================================================================== */
.site-footer {
  background: var(--spruce-deep);
  color: #FFFFFF;
  margin-top: 60px;
  border-top: 4px solid var(--gold-sand);
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col h3, .footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after, .footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold-sand);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.footer-link:hover {
  color: var(--gold-sand);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Exact Legal Compliance Notice in Footer */
.footer-compliance-bar {
  background: #013520;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.compliance-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.compliance-legal-text {
  max-width: 1100px;
  margin: 0 auto 12px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.footer-legal-links a {
  color: var(--gold-sand);
}

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Breakpoint 992px */
@media (max-width: 992px) {
  .site-header {
    padding: 0 20px;
  }

  .main-nav-menu {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .page-hero .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sidebar-journal {
    position: static;
  }

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

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

/* Breakpoint 768px */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .site-header {
    height: 70px;
    padding: 0 16px;
  }

  #reading-progress-bar {
    top: 70px;
  }

  .clock-widget-badge {
    padding-left: 10px;
    margin-left: 10px;
    gap: 6px;
  }

  .analog-clock-svg {
    width: 32px;
    height: 32px;
  }

  .clock-row-label {
    font-size: 0.55rem;
  }

  .clock-row-time {
    font-size: 0.7rem;
  }

  .header-cta-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .site-container {
    padding: 24px 16px;
  }

  .page-hero {
    padding: 40px 0 35px;
  }

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

  .hero-tagline {
    font-size: 1rem;
  }

  .activities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .metrics-panel {
    padding: 28px 18px;
  }

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

  .volunteer-role-card {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .prose-section {
    padding: 24px 20px;
  }

  .institutional-engagement-box {
    padding: 20px 20px;
  }
}

/* Mobile Sliding / Collapsible Menu */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #FFFFFF;
  z-index: 1060;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  right: 0;
}

.drawer-header {
  background: var(--spruce-green);
  color: #FFFFFF;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--gold-sand);
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-menu-list {
  list-style: none;
  padding: 16px 0;
}

.drawer-category-title {
  padding: 12px 20px 6px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--spruce-green);
  border-top: 1px solid var(--border-light);
  margin-top: 8px;
}

.drawer-category-title:first-child {
  border-top: none;
  margin-top: 0;
}

.drawer-link {
  display: block;
  padding: 12px 20px;
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 500;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.drawer-link:hover, .drawer-link:focus {
  background: var(--bg-light);
  color: var(--spruce-green);
}
