/* =========================================================================
   MCC Lions Club - Premium Redesign
   Inspired by Canadian Red Cross
   Navy + Gold palette, modern nonprofit aesthetic
   ========================================================================= */

:root {
  --navy:        #0A2463;
  --navy-deep:   #061843;
  --navy-700:    #1E3A8A;
  --blue:        #1E3A8A;
  --gold:        #D4A93A;
  --gold-soft:   #E6C260;
  --gold-deep:   #B8902B;

  --ink:         #0A1628;
  --body:        #41506a;
  --muted:       #6f7d93;
  --line:        #e8e6df;
  --line-strong: #d6d2c8;

  --paper:       #FAF8F1;
  --paper-2:     #F3F0E7;
  --card:        #ffffff;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1200px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(10,36,99,.06), 0 2px 8px rgba(10,36,99,.04);
  --shadow-md: 0 6px 24px rgba(10,36,99,.10), 0 2px 6px rgba(10,36,99,.06);
  --shadow-lg: 0 20px 60px rgba(10,36,99,.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.1em; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* =========================================================================
   STICKY HEADER
   ========================================================================= */
.site-header--sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header--sticky.scrolled {
  box-shadow: 0 2px 20px rgba(10,36,99,.08);
}

.site-header--sticky .nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  min-height: 72px;
}

.site-header--sticky .brand {
  gap: 12px;
  flex-shrink: 0;
}

.site-header--sticky .b-name a,
.site-header--sticky .b-name {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0;
  line-height: 1.3;
  text-decoration: none;
}

.site-header--sticky .b-name-custom {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
}

.site-header--sticky .b-sub {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0;
  line-height: 1.2;
}

.site-header--sticky .b-sub-custom {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}

.site-header--sticky .b-name-short {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.06em;
  line-height: 1;
  margin: 0;
}

.site-header--sticky .b-text { gap: 0; }

.site-header--sticky .nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.site-header--sticky .mcc-nav {
  gap: 0;
}

.site-header--sticky .mcc-nav .wp-block-navigation-item a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 7px 16px;
  border-radius: 6px;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.site-header--sticky .mcc-nav .wp-block-navigation-item a:hover {
  color: var(--navy);
  background: rgba(10,36,99,.04);
}

.site-header--sticky .nav-right { flex-shrink: 0; }

.site-header--sticky .nav-donate .wp-block-button__link {
  background: var(--navy) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.site-header--sticky .nav-donate .wp-block-button__link:hover {
  background: var(--navy-deep) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10,36,99,.2);
}

/* push main content below fixed header */
.mcc-main { padding-top: 72px; }

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-section .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-section .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,24,67,0.88) 0%, rgba(10,36,99,0.72) 50%, rgba(6,24,67,0.6) 100%);
  z-index: 1;
}

.hero-section .hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 28px 100px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,169,58,0.15);
  border: 1px solid rgba(212,169,58,0.3);
  border-radius: 50px;
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 15px;
  border-radius: 50px;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.hero-btn-primary:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212,169,58,.35);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.35);
  transition: all var(--transition);
}

.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* =========================================================================
   SECTION SHARED STYLES
   ========================================================================= */
.section {
  padding: 100px 0;
}

.section--alt {
  background: var(--card);
}

.section--navy {
  background: var(--navy);
}

.section--dark {
  background: var(--navy-deep);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.65;
}

.section--navy .section-eyebrow,
.section--dark .section-eyebrow { color: var(--gold-soft); }
.section--navy .section-eyebrow::before,
.section--dark .section-eyebrow::before { background: var(--gold-soft); }
.section--navy .section-title,
.section--dark .section-title { color: #ffffff; }
.section--navy .section-subtitle,
.section--dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* =========================================================================
   INTERACTIVE ACCORDION (Red Cross Inspired)
   ========================================================================= */
.accordion-section {
  padding: 0;
  overflow: hidden;
}

.accordion-wrapper {
  display: flex;
  height: 600px;
  width: 100%;
}

.accordion-panel {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,24,67,0.92) 0%, rgba(6,24,67,0.4) 40%, rgba(6,24,67,0.15) 100%);
  z-index: 1;
  transition: background 0.5s ease;
}

.accordion-panel .panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-panel:hover .panel-bg,
.accordion-panel.active .panel-bg {
  transform: scale(1.08);
}

.accordion-panel .panel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 28px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.accordion-panel .panel-number {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.accordion-panel .panel-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 0;
  transition: font-size 0.4s ease, margin-bottom 0.4s ease;
  writing-mode: horizontal-tb;
}

.accordion-panel .panel-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
  margin-top: 0;
}

.accordion-panel .panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
  margin-top: 0;
}

.accordion-panel .panel-cta::after {
  content: "\2192";
  transition: transform 0.3s ease;
}

.accordion-panel:hover .panel-cta::after {
  transform: translateX(4px);
}

/* Active / hovered state */
.accordion-panel.active,
.accordion-panel:hover {
  flex: 4;
}

.accordion-panel.active .panel-title,
.accordion-panel:hover .panel-title {
  font-size: 28px;
  margin-bottom: 12px;
}

.accordion-panel.active .panel-number,
.accordion-panel:hover .panel-number {
  opacity: 1;
}

.accordion-panel.active .panel-desc,
.accordion-panel:hover .panel-desc {
  max-height: 120px;
  opacity: 1;
  margin-top: 0;
  margin-bottom: 16px;
}

.accordion-panel.active .panel-cta,
.accordion-panel:hover .panel-cta {
  max-height: 40px;
  opacity: 1;
  margin-top: 4px;
}

/* Inactive siblings contract */
.accordion-wrapper:hover .accordion-panel:not(:hover) {
  flex: 0.6;
}

.accordion-wrapper:hover .accordion-panel:not(:hover) .panel-title {
  font-size: 16px;
}

/* =========================================================================
   IMPACT STATISTICS / COUNTERS
   ========================================================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
}

.stat-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
}

/* Animated counter */
.stat-number[data-count] {
  transition: none;
}

/* =========================================================================
   PROGRAM CARDS
   ========================================================================= */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.program-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--line);
}

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

.program-card .card-image {
  height: 240px;
  overflow: hidden;
}

.program-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .card-image img {
  transform: scale(1.06);
}

.program-card .card-body {
  padding: 28px;
}

.program-card .card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  background: rgba(10,36,99,0.06);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.program-card .card-title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
}

.program-card .card-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.program-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: gap var(--transition), color var(--transition);
}

.program-card .card-link::after {
  content: "\2192";
  transition: transform 0.3s ease;
}

.program-card:hover .card-link {
  color: var(--gold-deep);
  gap: 10px;
}

/* =========================================================================
   EVENTS SECTION
   ========================================================================= */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.event-card {
  display: flex;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: all var(--transition);
}

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

.event-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  padding: 24px 20px;
  min-width: 90px;
  text-align: center;
}

.event-date-block .event-month {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
}

.event-date-block .event-day {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  margin: 4px 0;
}

.event-date-block .event-weekday {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.event-card .event-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.event-card .event-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.event-card .event-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.event-card .event-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.event-card .event-cta::after {
  content: "\2192";
}

/* =========================================================================
   TESTIMONIALS / IMPACT STORIES
   ========================================================================= */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.story-card {
  padding: 40px;
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.story-card::before {
  content: "\201C";
  font-family: var(--serif);
  font-size: 64px;
  color: var(--gold);
  line-height: 1;
  position: absolute;
  top: 24px;
  left: 32px;
  opacity: 0.3;
}

.story-quote {
  font-size: 17px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.story-author {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.story-role {
  font-size: 13px;
  color: var(--muted);
}

/* =========================================================================
   DONATION / CTA SECTION
   ========================================================================= */
.donate-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.donate-section .donate-bg {
  position: absolute;
  inset: 0;
}

.donate-section .donate-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.donate-section .donate-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,24,67,0.9) 0%, rgba(10,36,99,0.8) 100%);
}

.donate-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.donate-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.15;
}

.donate-text {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 36px;
}

.donate-btn {
  display: inline-flex;
  align-items: center;
  padding: 18px 44px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 16px;
  border-radius: 50px;
  transition: all var(--transition);
}

.donate-btn:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212,169,58,.35);
}

/* =========================================================================
   VOLUNTEER SECTION
   ========================================================================= */
.volunteer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.volunteer-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.volunteer-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.volunteer-info .volunteer-title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.2;
}

.volunteer-info .volunteer-text {
  font-size: 17px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.benefit-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--body);
}

.benefit-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 16px;
}

.volunteer-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 50px;
  transition: all var(--transition);
}

.volunteer-btn:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10,36,99,.2);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer-cta-band {
  background: var(--gold);
  padding: 48px 0;
}

.footer-cta-band .container {
  gap: 32px;
}

.footer-cta-title {
  font-size: 26px;
  color: var(--navy-deep) !important;
  margin-bottom: 4px;
}

.footer-cta-sub {
  font-size: 16px;
  color: var(--navy);
  margin: 0;
}

.footer-cta-btn .wp-block-button__link {
  background: var(--navy) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  transition: all var(--transition);
}

.footer-cta-btn .wp-block-button__link:hover {
  background: var(--navy-deep) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(10,36,99,.25);
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
}

.footer-main {
  padding: 72px 28px 0;
}

.footer-top {
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.f-brand { gap: 12px; margin-bottom: 20px; }

.f-brand .fn {
  font-family: var(--sans);
  font-weight: 700;
  color: #ffffff;
  font-size: 16px;
  margin: 0;
  line-height: 1.3;
}

.f-brand .ftxt { gap: 0; }

.site-footer .blurb {
  font-size: 14.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 360px;
}

.site-footer .motto {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 15px;
  margin: 0;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

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

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
  font-size: 14.5px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

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

.footer-contact li {
  color: rgba(255,255,255,0.6);
}

.footer-contact a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 28px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom .badge {
  color: rgba(255,255,255,0.35);
}

/* =========================================================================
   REVEAL ANIMATIONS
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .site-header--sticky .nav-center { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .volunteer-grid { grid-template-columns: 1fr; gap: 40px; }

  .accordion-wrapper {
    flex-direction: column;
    height: auto;
  }

  .accordion-panel {
    height: 200px;
    flex: none !important;
    transition: height 0.4s ease;
  }

  .accordion-panel:hover,
  .accordion-panel.active {
    height: 360px;
    flex: none !important;
  }

  .accordion-wrapper:hover .accordion-panel:not(:hover) {
    flex: none !important;
    height: 120px;
  }

  .accordion-panel .panel-title { font-size: 20px !important; }
  .accordion-panel:hover .panel-title,
  .accordion-panel.active .panel-title { font-size: 24px !important; }
}

@media (max-width: 768px) {
  .hero-content { padding: 80px 24px 60px; }
  .hero-title { font-size: clamp(30px, 8vw, 42px); }
  .hero-buttons { flex-direction: column; align-items: center; }

  .section { padding: 70px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-card { padding: 28px 16px; }
  .stat-number { font-size: 32px; }

  .programs-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }

  .event-card { flex-direction: column; }
  .event-date-block {
    flex-direction: row;
    gap: 12px;
    padding: 14px 20px;
    min-width: auto;
  }

  .footer-top .wp-block-columns {
    flex-direction: column;
  }

  .footer-cta-band .container {
    flex-direction: column;
    text-align: center;
  }

  .accordion-panel { height: 140px; }
  .accordion-panel:hover,
  .accordion-panel.active { height: 300px; }
  .accordion-wrapper:hover .accordion-panel:not(:hover) { height: 80px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 12px; }
}

/* =========================================================================
   WP OVERRIDES + TAILWIND RESET FIXES
   The WPVibe preview injects Tailwind CSS which resets SVGs, headings, etc.
   These overrides ensure our styles win.
   ========================================================================= */
.wp-block-group.mcc-main { margin: 0; padding: 0; }
.mcc-main > .wp-block-post-content,
.mcc-main > .entry-content { max-width: 100%; margin: 0; padding: 0; }
.mcc-main .wp-block-post-content > *,
.mcc-main .entry-content > * { max-width: 100%; }

/* Force SVG sizing globally (Tailwind resets display:block on SVGs) */
.vic svg,
div.vic svg,
.vic > svg {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  display: block !important;
  flex-shrink: 0 !important;
}

/* Force grid-3 over Tailwind's .grid utility */
.grid.grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
}

@media (max-width: 768px) {
  .grid.grid-3 { grid-template-columns: 1fr !important; }
}

/* Force container max-width over Tailwind's .container */
.wp-block-group.container,
div.container {
  max-width: var(--maxw) !important;
  padding-left: 28px;
  padding-right: 28px;
}

/* Restore heading font sizes over Tailwind resets */
.mcc-main h1 { font-size: clamp(40px, 5.6vw, 70px) !important; font-weight: 600 !important; font-family: var(--serif) !important; }
.mcc-main h2 { font-size: clamp(29px, 3.6vw, 42px) !important; font-weight: 600 !important; font-family: var(--serif) !important; }
.mcc-main h3 { font-size: 24px !important; font-weight: 600 !important; font-family: var(--serif) !important; }
.mcc-main h4 { font-size: 17px !important; font-weight: 600 !important; font-family: var(--serif) !important; }

/* hero-page heading override */
.hero-page h1 { font-size: clamp(32px, 4.5vw, 48px) !important; color: #ffffff !important; }
.section-title { font-size: clamp(28px, 3.5vw, 42px) !important; }

/* Remove default WP paragraph/heading widths inside our custom sections */
.mcc-main .alignfull { max-width: none; margin-left: 0; margin-right: 0; }

/* =========================================================================
   SUBPAGE STYLES
   Constrain content on About, Officers, Projects, Gallery, Contact pages
   so they don't blow up with oversized elements
   ========================================================================= */

/* Subpages use the page.html template which also has .mcc-main */
/* Content width constraint for non-homepage */
body:not(.home) .mcc-main .wp-block-post-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 28px 80px;
}

body:not(.home) .mcc-main .wp-block-post-content > .wp-block-cover {
  max-width: none;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}

/* Tame heading sizes on subpages */
body:not(.home) .mcc-main h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 16px;
}

body:not(.home) .mcc-main h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-top: 48px;
  margin-bottom: 14px;
}

body:not(.home) .mcc-main h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 10px;
}

body:not(.home) .mcc-main h4 {
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 8px;
}

/* Subpage paragraphs */
body:not(.home) .mcc-main p {
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--body);
}

/* Subpage images */
body:not(.home) .mcc-main .wp-block-image img {
  border-radius: var(--radius-lg);
  max-height: 480px;
  object-fit: cover;
  width: 100%;
}

body:not(.home) .mcc-main .wp-block-image {
  margin-top: 24px;
  margin-bottom: 24px;
}

/* Subpage columns */
body:not(.home) .mcc-main .wp-block-columns {
  gap: 28px;
  margin-top: 28px;
  margin-bottom: 28px;
}

/* Subpage separator */
body:not(.home) .mcc-main .wp-block-separator {
  border-color: var(--line);
  margin: 40px 0;
}

body:not(.home) .mcc-main .hero-page .gold-rule {
  margin: 20px auto;
  float: none;
  display: block;
}

/* Subpage lists */
body:not(.home) .mcc-main .wp-block-list {
  padding-left: 20px;
  margin-bottom: 20px;
}

body:not(.home) .mcc-main .wp-block-list li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 6px;
  color: var(--body);
}

/* Subpage buttons */
body:not(.home) .mcc-main .wp-block-button__link {
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 50px;
}

/* Subpage cover blocks (hero banners on subpages) */
body:not(.home) .mcc-main .wp-block-cover {
  min-height: 320px;
  border-radius: 0;
}

/* Subpage group blocks */
body:not(.home) .mcc-main .wp-block-group {
  margin-top: 0;
  margin-bottom: 0;
}

/* Subpage quote blocks */
body:not(.home) .mcc-main .wp-block-quote {
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--ink);
}

/* Eyebrow on subpages */
body:not(.home) .mcc-main .eyebrow {
  font-size: 12px;
  margin-bottom: 12px;
}

/* Card-like group sections on subpages */
body:not(.home) .mcc-main .wp-block-group.has-background {
  border-radius: var(--radius-lg);
  padding: 36px;
}

/* Fix icons/SVGs that might be too large on subpages */
body:not(.home) .mcc-main svg {
  max-width: 48px !important;
  max-height: 48px !important;
}

/* Direct SVG constraint: any svg inside .vic, anywhere */
div.vic > svg,
.vic > svg {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  display: block !important;
  flex-shrink: 0 !important;
}

/* =========================================================================
   SUBPAGE COMPONENTS (carried from old theme)
   Values grid, hero-page banner, eyebrow, lead text, gold-rule, etc.
   ========================================================================= */

/* Hero banner on subpages */
.hero-page {
  background: var(--navy);
  padding: 80px 0 56px;
  text-align: center;
}

.hero-page h1 {
  color: #ffffff !important;
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 12px;
}

body:not(.home) .mcc-main .hero-page p {
  color: #E6C260;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 20px;
  font-family: var(--serif);
}

/* Gold rule separator */
.gold-rule {
  border: none;
  height: 3px;
  width: 56px;
  background: var(--gold);
  margin: 20px auto;
  opacity: 1;
}

.hero-page .gold-rule {
  background: var(--gold);
  margin-bottom: 0;
}

/* Lead paragraph */
.lead {
  font-size: 17.5px;
  color: var(--body);
  line-height: 1.75;
  max-width: 720px;
}

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Section head */
.section-head {
  margin-bottom: 32px;
}

.section-head.center { text-align: center; }

/* Eyebrow used on subpages */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.eyebrow.center { justify-content: center; }

.eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Subpage section with alt background */
.section.alt {
  background: var(--card);
}

/* Navy dark section on subpages */
.section.navy {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
}

.section.navy h1,
.section.navy h2,
.section.navy h3 {
  color: #ffffff !important;
}

.section.navy p {
  color: rgba(255,255,255,0.7) !important;
  font-weight: 400;
}

.section.navy .qmark {
  font-family: var(--serif);
  font-size: 80px;
  color: var(--gold);
  line-height: 1;
  text-align: center;
  opacity: 0.4;
}

.section.navy blockquote {
  text-align: center;
  border: none;
  padding: 0;
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

.section.navy blockquote p {
  font-family: var(--serif);
  font-size: 26px;
  color: #ffffff;
  line-height: 1.4;
}

.section.navy blockquote cite {
  font-style: normal;
  font-size: 14px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-top: 12px;
  display: block;
}

/* 3-column grid for values */
.grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr !important; }
}

/* Value card */
.value {
  text-align: center;
  padding: 32px 24px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

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

/* Value icon container */
.vic {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px;
  max-width: 56px !important;
  min-height: 56px;
  max-height: 56px !important;
  border-radius: 14px;
  background: rgba(193,154,62,0.12);
  border: 1px solid rgba(193,154,62,0.30);
  box-shadow: 0 2px 10px rgba(12,44,92,0.10);
  margin: 0 auto 18px;
  color: #c19a3e;
  overflow: hidden !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.vic svg {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px;
  max-width: 28px !important;
  min-height: 28px;
  max-height: 28px !important;
  flex-shrink: 0;
}

/* Global SVG constraint for all SVGs inside wp:html blocks on subpages */
.value .wp-block-html svg,
.section .wp-block-html .vic svg,
.mcc-main .wp-block-html .vic svg {
  max-width: 28px !important;
  max-height: 28px !important;
  width: 28px !important;
  height: 28px !important;
}

/* Ensure the vic wrapper clips its contents */
.value .wp-block-html {
  display: flex;
  justify-content: center;
}

.value .wp-block-html .vic {
  display: inline-flex !important;
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  overflow: hidden !important;
}

/* Quote block on subpages */
.cta-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  margin: 48px 0;
}

.cta-card h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-card p {
  color: rgba(255,255,255,0.8);
}

/* Subpage hero full-width breakout */
body:not(.home) .hero-page {
  max-width: none !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  width: 100vw !important;
}

/* Subpage responsive */
@media (max-width: 768px) {
  body:not(.home) .mcc-main .wp-block-post-content {
    padding: 32px 20px 60px;
  }

  body:not(.home) .mcc-main .wp-block-columns {
    flex-direction: column;
  }
}


/* MCC: navy subtitle readability + LEOs full-bleed CTA (2026-06-10) */
.section.navy blockquote p { color: #ffffff !important; }
.page-id-84 .section.navy { margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; max-width: 100vw !important; width: auto !important; }

/* MCC: LEOs CTA center-align (2026-06-10) */
.page-id-84 .section.navy .cta-strip { text-align: center; }
.page-id-84 .section.navy .cta-strip .lead { margin-left: auto; margin-right: auto; }


/* =========================================================================
   MCC MOBILE RESPONSIVE FIXES (2026-06-11)
   Published from the approved query-gated preview.
   ========================================================================= */
.rcx-menu-toggle{display:none}
html,body,.wp-site-blocks{max-width:100%;overflow-x:clip}

@media (max-width: 760px) {
  .rcx-header{z-index:100;background:#fff}
  .rcx-topbar{display:none!important}
  .rcx-mainbar-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 44px;
    align-items:center!important;
    gap:12px!important;
    min-height:72px!important;
    padding:10px 18px!important;
    flex-wrap:nowrap!important;
  }
  .rcx-brand{
    min-width:0!important;
    max-width:calc(100vw - 92px)!important;
    gap:10px!important;
  }
  .rcx-brand-mark{width:46px!important;height:46px!important;flex-basis:46px!important}
  .rcx-brand-mark img,.rcx-brand-mark::after{width:46px!important;height:46px!important}
  .rcx-brand-text{min-width:0}
  .rcx-brand-name{font-size:1.18rem!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .rcx-brand-tag{display:block!important;font-size:.58rem!important;letter-spacing:.13em!important;white-space:nowrap}
  .rcx-menu-toggle{
    position:relative;
    display:block;
    width:44px;
    height:44px;
    padding:0;
    border:1px solid #dfe3eb;
    border-radius:6px;
    background:#fff;
    color:var(--rcx-navy,#0c2c5c);
    cursor:pointer;
  }
  .rcx-menu-toggle span,.rcx-menu-toggle::before,.rcx-menu-toggle::after{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    display:block;
    width:20px;
    height:2px;
    margin:0;
    border-radius:2px;
    background:currentColor;
    transform-origin:center;
    transition:transform .22s ease,opacity .16s ease;
  }
  .rcx-menu-toggle::before{transform:translate(-50%,-6px)}
  .rcx-menu-toggle span{transform:translate(-50%,-1px)}
  .rcx-menu-toggle::after{transform:translate(-50%,4px)}
  .rcx-menu-toggle[aria-expanded="true"]::before{transform:translate(-50%,-1px) rotate(45deg)}
  .rcx-menu-toggle[aria-expanded="true"] span{opacity:0;transform:translate(-50%,-1px) scaleX(0)}
  .rcx-menu-toggle[aria-expanded="true"]::after{transform:translate(-50%,-1px) rotate(-45deg)}
  .rcx-mainnav{
    grid-column:1 / -1;
    order:initial!important;
    display:none!important;
    width:100%!important;
    max-height:none!important;
    overflow:visible!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    padding:8px 0 4px!important;
    border-top:1px solid #e7eaf0;
  }
  .rcx-mainnav.is-open{display:flex!important}
  .rcx-mainnav>a,.rcx-mainnav>.rcx-has-sub>a{
    display:block!important;
    width:100%!important;
    padding:11px 4px!important;
    font-size:.88rem!important;
    white-space:normal!important;
    border-bottom:1px solid #edf0f4;
  }
  .rcx-mainnav a::after{display:none!important}
  .rcx-mainnav .rcx-has-sub{display:block!important;width:100%!important}
  .rcx-mainnav .rcx-sub{
    position:static!important;
    display:block!important;
    min-width:0!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
    box-shadow:none!important;
    border:0!important;
    border-bottom:1px solid #edf0f4!important;
    border-radius:0!important;
    padding:4px 0 7px 14px!important;
  }
  .rcx-mainnav .rcx-sub a{padding:7px 4px!important;font-size:.8rem!important;border:0!important}
  .rcx-nav-cta{
    justify-content:center!important;
    width:100%!important;
    margin:10px 0 2px!important;
    padding:12px 18px!important;
  }

  .container,div.container,.wp-block-group.container{
    padding-left:20px!important;
    padding-right:20px!important;
  }
  .section{padding:56px 0!important}
  .section-title{font-size:clamp(27px,8vw,36px)!important}
  .section-subtitle{font-size:16px!important}

  .hero-section{min-height:auto!important}
  .hero-section .hero-content,.hero-content{padding:66px 20px 72px!important}
  .mcc-main .hero-title{font-size:clamp(34px,10vw,42px)!important;line-height:1.06!important}
  .hero-subtitle{font-size:16px!important;line-height:1.55!important;margin-bottom:30px!important}
  .hero-badge{font-size:11px!important;padding:6px 13px!important;margin-bottom:20px!important;white-space:normal!important;text-align:center}
  .hero-buttons{width:100%}
  .hero-buttons a{width:100%;justify-content:center;padding:14px 22px}

  .accordion-wrapper{display:grid!important;height:auto!important}
  .accordion-panel,
  .accordion-panel:hover,
  .accordion-panel.active,
  .accordion-wrapper:hover .accordion-panel:not(:hover){height:280px!important;flex:none!important}
  .accordion-panel .panel-content{padding:24px 20px!important}
  .accordion-panel .panel-title{font-size:23px!important;margin-bottom:10px!important}
  .accordion-panel .panel-desc{max-height:120px!important;opacity:1!important;margin-bottom:12px!important}
  .accordion-panel .panel-cta{max-height:40px!important;opacity:1!important;margin-top:0!important}

  .stats-grid{grid-template-columns:1fr!important;gap:14px!important;margin-top:34px!important}
  .stat-card{padding:25px 16px!important}
  .stat-number{font-size:clamp(34px,11vw,46px)!important;overflow-wrap:anywhere}
  .programs-grid,.events-grid,.stories-grid{margin-top:34px!important;gap:18px!important}
  .program-card .card-image{height:auto!important;aspect-ratio:16/10}
  .story-card{padding:30px 22px!important}
  .donate-section{padding:76px 0!important}
  .donate-content{padding:0 20px}
  .donate-text{font-size:16px!important}
  .donate-btn{width:100%;justify-content:center;padding:15px 24px!important}
  .volunteer-grid{gap:28px!important;margin-top:32px!important}
  .volunteer-image img{height:auto!important;aspect-ratio:4/3}

  body:not(.home) .mcc-main .wp-block-post-content{padding:0 18px 54px!important}
  body:not(.home) .hero-page{
    padding:54px 18px 42px!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    width:100vw!important;
  }
  body:not(.home) .mcc-main .hero-page h1{font-size:clamp(32px,9vw,40px)!important;line-height:1.08!important}
  body:not(.home) .mcc-main .hero-page p{font-size:16px!important;line-height:1.5!important}
  body:not(.home) .mcc-main .wp-block-group.has-background{padding:24px 18px!important}
  body:not(.home) .mcc-main .wp-block-columns{gap:18px!important}
  .cta-card{padding:38px 20px!important;margin:34px 0!important}
  .section.navy blockquote p{font-size:21px!important}

  .wp-block-gallery.has-nested-images{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .wp-block-gallery.has-nested-images figure.wp-block-image{width:100%!important;margin:0!important}
  .wp-block-gallery.has-nested-images figure.wp-block-image img{width:100%!important;height:100%!important;aspect-ratio:1;object-fit:cover}

  .proj-row,.proj-row.flip{grid-template-columns:1fr!important;gap:22px!important}
  .proj-row.flip .pr-img,.proj-row.flip .pr-text{order:initial!important}
  .member-grid,.meet-light-grid{grid-template-columns:1fr!important;gap:16px!important}
  .contact-map iframe{width:100%!important;max-width:100%!important}

  .mccbp-inner{padding-left:18px!important;padding-right:18px!important}
  .mccbp-grid{grid-template-columns:1fr!important;gap:16px!important}
  .mccbp-pres-wrap{padding-left:0!important;padding-right:0!important}
  .mccbp-dialog{width:calc(100vw - 28px)!important;max-height:calc(100dvh - 28px)!important;overflow:auto!important}

  .mcc-leos{overflow-x:clip}
  .leo-wall{display:grid!important;grid-template-columns:1fr!important;gap:20px!important}
  .leo-pola{width:100%!important;max-width:360px!important;margin-inline:auto!important;transform:none!important}
  .leo-stats{grid-template-columns:1fr!important;gap:12px!important}

  .mcc-lci-hero{padding:58px 0 52px!important}
  .mcc-lci-hero h1{font-size:clamp(35px,10vw,46px)!important}
  .mcc-lci-wrap{padding-inline:18px!important}
  .mcc-lci-cslide{flex-basis:88%!important}
  .mcc-lci-stats,.mcc-lci-worldnums{grid-template-columns:1fr!important}
  .mcc-lci-phero h3{font-size:clamp(28px,8vw,38px)!important}
  .mcc-lci-cta{align-items:stretch!important}
  .mcc-lci-cta .lci-btn{width:100%;justify-content:center;white-space:normal;text-align:center}
  .mcc-lci-motto .lci-motto-big{font-size:clamp(3rem,19vw,5rem)!important;overflow-wrap:anywhere}

  .footer-cta-band{padding:38px 0!important}
  .footer-main{padding:52px 20px 0!important}
  .footer-top{padding-bottom:30px!important}
  .footer-bottom>.container{flex-direction:column!important;align-items:flex-start!important;gap:8px!important}
}

@media (max-width: 380px) {
  .rcx-brand-name{font-size:1.03rem!important}
  .rcx-brand-tag{font-size:.53rem!important}
  .wp-block-gallery.has-nested-images{grid-template-columns:1fr!important}
}

@media (hover:none) and (pointer:coarse) {
  .program-card:hover,.stat-card:hover,.story-card:hover,.value:hover,.mccbp-card:hover{transform:none!important}
}

/* =========================================================================
   LYLEV / LEOS page (id 84) UI fixes — centering. Scoped to .page-id-84.
   ========================================================================= */
/* Gold-rule dashes centered (beats theme .wp-block-separator{margin:40px 0}) */
body:not(.home).page-id-84 .mcc-main .gold-rule{margin-left:auto;margin-right:auto;float:none;}
/* Overview lead paragraphs centered */
.page-id-84 #lsecs-overview .lead{text-align:center;margin-left:auto;margin-right:auto;}
/* Navy Integration checklist: centered block, items left-aligned so checkmarks line up */
.page-id-84 .lsecs-callout ul{width:max-content;max-width:100%;margin-left:auto;margin-right:auto;justify-items:start;}
