/* =============================================
   ASIF KHAN FOR MAYOR OF MILTON 2026 — CANADIAN WHITE, BLACK & RED
   ============================================= */

/* =============================================
   DESIGN TOKENS (WHITE FIELD, BLACK TYPE, MAPLE RED)
============================================= */
:root {
  --bg-dark: #111111;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f6f4f2;
  --navy: #141414;
  --navy-mid: #1a1a1a;
  --navy-light: #2c2c2c;
  --red: #c8102e;
  --red-hover: #9e0c24;
  --gold: #c8102e;
  --gold-dark: #9e0c24;
  --gold-light: #ffd5dc;
  --gold-pale: #fff4f6;
  --emerald: #157a3a;
  --fb-blue: #1877f2;
  --cream: #f6f4f2;
  --white: #ffffff;
  --text-dark: #161616;
  --text-muted: #5c5856;
  --border: rgba(200, 16, 46, 0.22);
  --border-light: rgba(255, 255, 255, 0.18);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-italic: 'Cormorant Garamond', Georgia, serif;
  --font-red-heading: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 6px 18px rgba(20, 20, 20, 0.06);
  --shadow-md: 0 16px 40px rgba(20, 20, 20, 0.1);
  --shadow-lg: 0 24px 56px rgba(20, 20, 20, 0.16);
  --shadow-gold: 0 10px 28px rgba(200, 16, 46, 0.28);
  --shadow-red: 0 10px 28px rgba(200, 16, 46, 0.34);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   RESET & BASE
============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 88px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-heading {
  text-align: center;
  margin-bottom: 56px;
}

.section-heading .overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-heading .overline::before,
.section-heading .overline::after {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.section-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #141414;
  line-height: 1.2;
}

.section-heading p {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   NAVBAR
============================================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 17, 40, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.nav-logo > div {
  min-width: 0;
}

.nav-logo .crest {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.28);
}

.nav-logo .crest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-logo .logo-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

#navbar.scrolled .logo-name {
  color: var(--white);
}

.nav-logo .logo-title {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   HERO WITH ANIMATED CAMPAIGN VIDEO (SAPPHIRE NAVY)
============================================= */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

/* Video Background Container */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg,
      rgba(10, 17, 40, 0.94) 0%,
      rgba(10, 17, 40, 0.82) 50%,
      rgba(16, 31, 66, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 31, 66, 0.85);
  border: 1px solid var(--border);
  padding: 6px 18px;
  border-radius: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  animation: fadeInDown 0.8s ease both;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #2a9d8f;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.3);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.ticker-label {
  color: var(--text-muted);
}

.ticker-sep {
  color: var(--border-light);
}

.ticker-highlight {
  color: var(--gold);
  font-weight: 800;
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 16px;
  animation: fadeInDown 0.9s ease 0.1s both;
}

.hero-text h1 .title-sub {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
}

.hero-slogan-box {
  background: rgba(16, 31, 66, 0.75);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(12px);
  animation: fadeInDown 1s ease 0.15s both;
}

.hero-slogan-box .hero-slogan {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}

.slogan-pillars {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.sp-item {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
  animation: fadeInDown 1.1s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 32px;
  animation: fadeInDown 1.2s ease 0.25s both;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 6px;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}

/* Redesigned Floating Audio Controller Pill */
/* Redesigned Floating Audio Controller Pill */
.video-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 17, 40, 0.85);
  border: 1.5px solid rgba(233, 196, 106, 0.45);
  color: var(--gold-pale);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(233, 196, 106, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.video-toggle-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.video-toggle-btn:hover::before {
  left: 100%;
}

.video-toggle-btn:hover {
  background: rgba(233, 196, 106, 0.2);
  border-color: var(--gold);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(233, 196, 106, 0.35), 0 0 25px rgba(233, 196, 106, 0.3);
}

.video-toggle-btn.sound-on {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: var(--gold-pale);
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(233, 196, 106, 0.5), 0 0 25px rgba(233, 196, 106, 0.4);
}

.video-toggle-btn.sound-on:hover {
  background: linear-gradient(135deg, #fff3c4, var(--gold));
  color: var(--navy);
  transform: translateY(-2px) scale(1.02);
}

.video-toggle-btn .sound-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
  margin-left: 2px;
}

.video-toggle-btn .sound-bar {
  width: 3px;
  background: currentColor;
  border-radius: 3px;
  height: 4px;
  transition: height 0.25s ease;
}

.video-toggle-btn.sound-on .sound-bar:nth-child(1) { animation: barPulse 0.7s ease-in-out infinite alternate; }
.video-toggle-btn.sound-on .sound-bar:nth-child(2) { animation: barPulse 1.0s ease-in-out infinite alternate 0.15s; }
.video-toggle-btn.sound-on .sound-bar:nth-child(3) { animation: barPulse 0.8s ease-in-out infinite alternate 0.3s; }
.video-toggle-btn.sound-on .sound-bar:nth-child(4) { animation: barPulse 1.1s ease-in-out infinite alternate 0.45s; }

@keyframes barPulse {
  0% { height: 3px; opacity: 0.6; }
  100% { height: 14px; opacity: 1; }
}

/* Quick Metrics Floating Chips */
.hero-quick-chips {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInDown 1.3s ease 0.3s both;
}

.chip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 31, 66, 0.7);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  color: var(--white);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

/* Right Column Media Stage Card */
.hero-media-stage {
  display: flex;
  justify-content: flex-end;
  animation: fadeInRight 1.2s ease 0.3s both;
}

.media-card-wrapper {
  position: relative;
  width: 400px;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  background: var(--navy);
}

.hero-portrait-card {
  cursor: default;
  border-color: #ffffff;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(200, 16, 46, 0.45);
}

.media-card-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.media-card-wrapper:hover img {
  transform: scale(1.05);
}

.stage-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: rgba(220, 38, 38, 0.92);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.media-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background var(--transition);
}

.media-card-wrapper:hover .media-play-overlay {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.15) 60%, transparent 100%);
}

.stage-play-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #b91c1c);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  padding-left: 4px;
  box-shadow: 0 0 32px rgba(220, 38, 38, 0.7);
  transition: transform var(--transition);
}

.media-card-wrapper:hover .stage-play-button {
  transform: scale(1.14);
}

.stage-play-caption {
  text-align: center;
  color: var(--white);
}

.stage-play-caption strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.stage-play-caption span {
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-bottom-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 16px;
}

.sbb-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.sbb-sub {
  font-size: 0.65rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portrait-badge .badge-tag {
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.portrait-badge .badge-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--navy);
  font-weight: 700;
}

.portrait-badge .badge-sub {
  font-size: 0.62rem;
  color: var(--navy-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2s ease infinite;
}

/* =============================================
   STATS BANNER
============================================= */
.stats-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stat-item {
  padding: 8px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

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

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
}

/* =============================================
   ABOUT / PLATFORM
============================================= */
#about {
  padding: 110px 0;
  background: var(--navy-mid);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 5%;
  border-radius: var(--radius-lg);
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
  filter: contrast(1.04) brightness(1.02);
}

.about-campaign-stamp {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 3;
  background: rgba(10, 22, 40, 0.92);
  border: 1px solid var(--gold);
  color: var(--gold-pale);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

.about-img-accent {
  position: absolute;
  width: 190px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
  bottom: -20px;
  right: -20px;
  z-index: 2;
}

.about-years-badge {
  position: absolute;
  top: 16px;
  left: -14px;
  z-index: 3;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  border-radius: var(--radius);
  padding: 12px 18px;
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.about-years-badge .num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.about-years-badge .lbl {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.about-text .overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 18px;
}

.about-text h2 em {
  font-style: italic;
  color: var(--gold);
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* =============================================
   PLATFORM / POLICIES
============================================= */
#platform {
  padding: 110px 0;
  background: var(--cream);
}

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

.policy-card {
  background: rgba(16, 31, 66, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.policy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  opacity: 0;
  transition: opacity var(--transition);
}

.policy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.policy-card:hover::before {
  opacity: 1;
}

.policy-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(233, 196, 106, 0.2);
  line-height: 1;
  margin-bottom: 12px;
}

.policy-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 16px;
  box-shadow: var(--shadow-gold);
}

.policy-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.policy-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* =============================================
   BIO / TIMELINE
============================================= */
#bio {
  padding: 110px 0;
  background: var(--navy-mid);
}

.bio-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}

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

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 6px;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  border: 3px solid var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(233, 196, 106, 0.35);
}

.timeline-year {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-item h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.bio-sidebar {
  position: sticky;
  top: 100px;
}

.bio-portrait {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.bio-quote {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  border: 1px solid var(--border);
}

.bio-quote::before {
  content: '"';
  position: absolute;
  top: -14px;
  left: 20px;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.5;
}

.bio-quote p {
  font-family: var(--font-italic);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-style: italic;
}

.bio-quote .author {
  margin-top: 14px;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =============================================
   PROMISE SECTION
============================================= */
.promise-section {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.promise-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.promise-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.promise-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.promise-inner h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.promise-inner>p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 48px;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 0 auto 48px;
}

.promise-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: background var(--transition), border-color var(--transition);
}

.promise-item:hover {
  background: rgba(201, 168, 76, 0.12);
  border-color: var(--gold);
}

.promise-item i {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.promise-item p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  line-height: 1.4;
}

.promise-cta {
  font-family: var(--font-italic);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold-pale);
  letter-spacing: 0.04em;
}

/* =============================================
   GALLERY & FACEBOOK CAMPAIGN FEED
============================================= */
#gallery {
  padding: 110px 0;
  background: var(--bg-dark);
}

#gallery .section-heading h2 {
  color: var(--white);
}

#gallery .section-heading p {
  color: var(--text-muted);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 40px;
  border: 1.5px solid var(--border-dark);
  color: var(--navy-light);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--cream);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.trail-note {
  max-width: 820px;
  margin: 0 auto 48px;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
}

.trail-note-date {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.trail-note h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: #141414;
  margin-bottom: 14px;
}

.trail-note p {
  color: #3a3a3a;
  line-height: 1.8;
  margin-bottom: 12px;
}

.trail-note-sign {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  color: #141414;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  aspect-ratio: 3/4;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: #f3f1ef;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.gallery-item.wide {
  grid-column: span 1;
  aspect-ratio: 3/4;
}

.gallery-item:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.gallery-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--red);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: contrast(1.02) brightness(1.02);
}

.gallery-item:hover img {
  transform: none;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.35) 60%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay .gallery-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
  line-height: 1.2;
}

.gallery-overlay .gallery-subtitle {
  font-size: 0.68rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.gallery-overlay-icon {
  width: 36px;
  height: 36px;
  background: rgba(220, 38, 38, 0.85);
  border: 1px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  backdrop-filter: blur(4px);
  align-self: flex-start;
}

/* Facebook Feed Cards Grid */
.fb-feed-section {
  margin-top: 64px;
}

.fb-feed-section h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
}

.fb-feed-section p.sub {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

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

.fb-card {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
}

.fb-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 16px 36px rgba(200, 16, 46, 0.12);
}

.fb-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.fb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fdecef;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.fb-type-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.fb-card h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.fb-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.fb-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
}

/* Video Cards Grid */
.gallery-videos {
  margin-top: 56px;
}

.gallery-videos h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--white);
  text-align: center;
  margin-bottom: 28px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.3);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}

.video-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.video-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}

.video-card-media {
  position: relative;
  overflow: hidden;
}

.video-card video,
.video-card-poster {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform var(--transition);
}

.video-card:hover .video-card-poster {
  transform: scale(1.05);
}

.video-info-bar {
  padding: 14px 16px;
  background: rgba(10, 22, 40, 0.95);
  border-top: 1px solid var(--border);
}

.video-info-bar h4 {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.3;
}

.video-info-bar p {
  font-size: 0.65rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 22, 40, 0.45);
  transition: background var(--transition);
  z-index: 2;
}

.video-card:hover .play-overlay {
  background: rgba(10, 22, 40, 0.25);
}

.play-btn {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.1rem;
  padding-left: 4px;
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.6);
  transition: transform var(--transition);
}

.video-card:hover .play-btn {
  transform: scale(1.12);
}

/* =============================================
   DEDICATED VIDEO MODAL (POPUP LIGHTBOX)
============================================= */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(6, 14, 26, 0.96);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.video-modal.open {
  opacity: 1;
  pointer-events: all;
}

.video-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 880px;
  background: var(--navy-mid);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7), var(--shadow-gold);
  transform: scale(0.95);
  transition: transform var(--transition);
}

.video-modal.open .video-modal-dialog {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 10;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}

.video-modal-close:hover {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(90deg);
}

.video-modal-header {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--border);
}

.video-modal-header h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.video-modal-header p {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.video-modal-body {
  position: relative;
  width: 100%;
  background: #000;
}

.video-modal-body video {
  width: 100%;
  max-height: 68vh;
  display: block;
  outline: none;
}

/* Lightbox for Images */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition);
}

.lightbox-close:hover {
  color: var(--gold);
}

/* =============================================
   CONTACT
============================================= */
#contact {
  padding: 110px 0;
  background: var(--cream);
}

.contact-info {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.contact-info>p {
  color: var(--text-muted);
  line-height: 1.85;
  margin: 0 auto 40px;
  max-width: 640px;
}

.contact-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
}

.ci-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1rem;
}

.ci-text h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}

.ci-text p {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.5;
}

.ci-text a {
  color: inherit;
}

.ci-text a:hover {
  color: var(--red);
}

.social-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.soc-link {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.9rem;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.soc-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.contact-form-card {
  background: rgba(16, 31, 66, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(14px);
}

.contact-form-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-pale);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(6, 11, 25, 0.8);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

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

.form-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.3);
}

/* =============================================
   SLIDE TO SEND ANTI-BOT BUTTON
============================================= */
.slide-to-submit-wrapper {
  position: relative;
  width: 100%;
  margin-top: 12px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.slide-track {
  position: relative;
  width: 100%;
  height: 56px;
  background: var(--navy);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: border-color var(--transition), background var(--transition);
  touch-action: none;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
}

.slide-text {
  position: relative;
  z-index: 2;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  transition: opacity 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.slide-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  z-index: 1;
  border-radius: var(--radius) 0 0 var(--radius);
  pointer-events: none;
}

.slide-handle {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.1rem;
  cursor: grab;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: background var(--transition), color var(--transition);
  touch-action: none;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
}

.slide-handle:active {
  cursor: grabbing;
}

.slide-track.unlocked {
  background: #1e8449;
  border-color: #27ae60;
}

.slide-track.unlocked .slide-text {
  color: #ffffff;
}

.slide-track.unlocked .slide-handle {
  background: #ffffff;
  color: #1e8449;
  cursor: default;
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  color: #2d8a4e;
  background: #f0fdf4;
  border-radius: var(--radius);
  font-weight: 600;
}

/* =============================================
   FOOTER
============================================= */
footer {
  background: #060e1a;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}

.footer-brand .brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand .brand-title {
  font-size: 0.62rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.32);
}

.footer-bottom .site-credit a {
  color: var(--gold);
  font-style: italic;
  transition: color var(--transition);
}

.footer-bottom .site-credit a:hover {
  color: var(--gold-light);
}

/* =============================================
   SCROLL TOP
============================================= */
#scrollTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  z-index: 999;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition);
  border: none;
}

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

#scrollTop:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* =============================================
   ANIMATIONS
============================================= */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(32px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* =============================================
   BUTTON VARIANTS & BADGES
============================================= */
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--red), #e74c3c);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-red);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.btn-red:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 8px 32px rgba(216, 41, 39, 0.5);
}

/* =============================================
   4 PILLARS OF ACCOUNTABILITY
============================================= */
#pillars {
  padding: 90px 0;
  background: var(--navy);
  color: var(--white);
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.pillar-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  opacity: 0.7;
}

.pillar-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--navy-mid));
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold-light);
  font-size: 1.3rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.pillar-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
}

/* =============================================
   PREDICTION MARKET SNAPSHOT SECTION
============================================= */
#prediction-market {
  padding: 100px 0;
  background: var(--cream);
}

.prediction-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.prediction-image-box {
  padding: 32px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.prediction-image-box img {
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  max-height: 540px;
  object-fit: contain;
}

.prediction-content-box {
  padding: 48px 40px;
}

.prediction-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(216, 41, 39, 0.1);
  border: 1px solid rgba(216, 41, 39, 0.3);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.prediction-content-box h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.poll-chart-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}

.poll-row {
  display: grid;
  grid-template-columns: 140px 1fr 50px;
  align-items: center;
  gap: 12px;
}

.poll-row.highlight .candidate-name {
  font-weight: 800;
  color: var(--emerald);
}

.candidate-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.poll-bar-track {
  height: 22px;
  background: #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.poll-bar-fill {
  height: 100%;
  border-radius: 12px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.poll-bar-fill.red { background: #e74c3c; }
.poll-bar-fill.green { background: #2ecc71; }
.poll-bar-fill.purple { background: #9b59b6; }
.poll-bar-fill.blue { background: #3498db; }
.poll-bar-fill.orange { background: #e67e22; }
.poll-bar-fill.yellow { background: #f1c40f; }
.poll-bar-fill.teal { background: #1abc9c; }

.poll-percent {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy);
  text-align: right;
}

.prediction-callout {
  background: rgba(0, 168, 107, 0.08);
  border-left: 4px solid var(--emerald);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
}

/* =============================================
   SCORECARD & COMMITMENTS TABS
============================================= */
#scorecard {
  padding: 110px 0;
  background: var(--navy-mid);
}

.scorecard-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: 40px;
  border: 1.5px solid var(--border);
  background: rgba(10, 17, 40, 0.8);
  color: var(--gold-pale);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}

.tab-btn.active {
  border-color: var(--gold-pale);
  font-weight: 800;
}

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

.score-card {
  background: rgba(10, 17, 40, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
}

.score-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(233, 196, 106, 0.2);
  border-color: var(--gold);
}

.score-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.score-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(42, 157, 143, 0.25);
  color: #2ec4b6;
  border: 1px solid rgba(46, 196, 182, 0.3);
}

.score-card-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
}

.score-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.score-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex-grow: 1;
}

.score-card-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed rgba(233, 196, 106, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 72px;
  }

  .hero-media-stage {
    justify-content: center;
    margin-top: 32px;
  }

  .hero-quick-chips {
    justify-content: center;
  }

  .hero-scroll {
    display: none;
  }

  .hero-portrait {
    justify-content: center;
    animation-name: fadeInDown;
  }

  .portrait-frame::before {
    top: -8px;
    right: 0;
  }

  .about-years-badge {
    left: 12px;
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(28px);
  }

  .reveal-left.visible,
  .reveal-right.visible {
    transform: translateY(0);
  }

  .hero-text p {
    margin: 0 auto 36px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-divider {
    margin: 0 auto 24px;
  }

  .portrait-badge {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: -20px;
  }

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

  .about-images {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-img-accent {
    display: none;
  }

  .bio-layout {
    grid-template-columns: 1fr;
  }

  .bio-sidebar {
    position: static;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

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

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

  .gallery-item.wide {
    grid-column: span 1;
  }

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

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

  .stat-item:nth-child(2) {
    border-right: none;
  }

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

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #0a1628;
    padding: 12px 16px 20px;
    gap: 4px;
    max-height: calc(100dvh - 80px);
    min-height: calc(100dvh - 80px);
    overflow-y: auto;
  }

  .nav-links.mobile-open a {
    display: block;
    padding: 14px 16px;
    text-align: left;
  }

  #navbar:has(.nav-toggle.open) {
    background: rgba(10, 22, 40, 0.97);
  }

  body.nav-open {
    overflow: hidden;
    overflow-x: hidden;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 16px;
  }

  .nav-inner {
    padding: 0 16px;
    height: 72px;
  }

  .nav-links.mobile-open {
    top: 72px;
    max-height: calc(100dvh - 72px);
    min-height: calc(100dvh - 72px);
  }

  .nav-logo {
    min-width: 0;
    gap: 10px;
  }

  .nav-logo .crest {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .nav-logo .logo-name,
  .nav-logo .logo-title {
    display: block;
  }

  .nav-logo .logo-name {
    font-size: 0.9rem;
  }

  .nav-logo .logo-title {
    font-size: 0.52rem;
    letter-spacing: 0.08em;
  }

  #home {
    min-height: 0;
  }

  .hero-content {
    padding: 108px 16px 56px;
    gap: 36px;
  }

  .hero-tag {
    max-width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    letter-spacing: 0.1em;
    font-size: 0.62rem;
    line-height: 1.45;
    padding: 6px 14px;
  }

  .hero-text h1 {
    font-size: clamp(2.15rem, 10vw, 2.8rem);
  }

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

  .hero-text p {
    font-size: 0.98rem;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn-gold,
  .hero-actions .btn-outline,
  .hero-actions .video-toggle-btn {
    width: min(100%, 280px);
    justify-content: center;
  }

  .hero-portrait {
    padding: 8px 8px 36px;
  }

  .portrait-frame {
    width: min(320px, 100%);
    margin: 0 auto;
  }

  .portrait-frame::before {
    top: -8px;
    right: 0;
  }

  .portrait-frame img {
    height: 380px;
  }

  .portrait-badge {
    width: max-content;
    max-width: calc(100% - 20px);
    padding: 8px 14px;
    text-align: center;
  }

  .portrait-badge .badge-tag,
  .portrait-badge .badge-sub {
    letter-spacing: 0.06em;
  }

  .contact-items {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .contact-item {
    width: min(100%, 360px);
    justify-content: flex-start;
  }

  .stats-banner {
    padding: 40px 0;
  }

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

  .stat-item {
    padding: 16px 12px;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stat-item:nth-child(2),
  .stat-item:nth-child(4) {
    border-right: none;
  }

  #about,
  #platform,
  #platform,
  #bio,
  #gallery,
  #contact {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .about-years-badge {
    left: 12px;
    top: 12px;
  }

  .about-campaign-stamp {
    left: 10px;
    right: 10px;
    bottom: 12px;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-align: center;
  }

  .about-img-main {
    height: 360px;
  }

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

  .policy-card {
    padding: 28px 22px;
  }

  .promise-section {
    padding: 56px 0;
  }

  .promise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .promise-cta {
    font-size: 1.15rem;
  }

  .trail-note {
    padding: 22px 18px;
    margin-bottom: 32px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-item.wide {
    grid-column: span 1;
  }

  .gallery-badge {
    font-size: 0.52rem;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    left: 8px;
    top: 8px;
  }

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

  .contact-form-card {
    padding: 24px 18px;
  }

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

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }

  .slide-text {
    padding: 0 12px 0 56px;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-align: center;
  }

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

  .footer-brand p {
    max-width: none;
  }

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

  #scrollTop {
    bottom: 18px;
    right: 14px;
    width: 44px;
    height: 44px;
  }

  .lightbox-close {
    top: 12px;
    right: 14px;
  }

  .video-modal {
    padding: 12px;
    align-items: flex-start;
    padding-top: max(12px, env(safe-area-inset-top));
  }

  .video-modal-dialog {
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }

  .video-modal-header {
    padding: 16px 56px 12px 16px;
  }

  .video-modal-close {
    top: 10px;
    right: 10px;
  }

  .video-modal-body video {
    max-height: 56vh;
  }
}

@media (hover: none) {
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.15) 55%, transparent 100%);
  }

  .gallery-overlay-icon {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-logo .logo-title {
    letter-spacing: 0.04em;
  }

  .hero-tag {
    letter-spacing: 0.06em;
  }

  .portrait-frame img {
    height: 340px;
  }

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

  .gallery-item.wide {
    grid-column: span 1;
    aspect-ratio: 3 / 4;
  }

  .promise-item {
    padding: 16px 10px;
  }

  .promise-item p {
    font-size: 0.75rem;
  }
}

/* =============================================
   CANADIAN THEME — WHITE FIELD, BLACK TYPE, MAPLE RED
============================================= */
#navbar {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.08);
  border-bottom: 3px solid var(--red);
}

#navbar.scrolled .logo-name,
#navbar.scrolled .nav-links a {
  color: #1a1a1a;
}

#navbar.scrolled .logo-title,
#navbar.scrolled .nav-links a:hover,
#navbar.scrolled .nav-links a.active {
  color: var(--red);
}

#navbar.scrolled .nav-links a::after {
  background: var(--red);
}

#navbar.scrolled .nav-toggle span {
  background: #141414;
}

.nav-logo .crest {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.28);
}

.hero-overlay {
  background: linear-gradient(108deg,
      rgba(8, 8, 8, 0.92) 0%,
      rgba(12, 12, 12, 0.74) 52%,
      rgba(200, 16, 46, 0.42) 100%);
}

.ticker-label,
.hero-desc {
  color: rgba(255, 255, 255, 0.84);
}

.live-dot {
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.35);
}

.hero-ticker-badge,
.hero-slogan-box,
.chip-item {
  background: rgba(12, 12, 12, 0.72);
  border-color: rgba(255, 255, 255, 0.16);
}

.hero-slogan-box {
  border-left-color: var(--red);
}

.btn-outline:hover,
.video-toggle-btn.sound-on,
.video-toggle-btn.sound-on:hover,
.about-years-badge,
.policy-icon,
.video-badge,
.play-btn,
.slide-handle,
.tab-btn:hover,
.tab-btn.active,
#scrollTop,
.soc-link:hover,
.video-modal-close:hover,
.ci-icon {
  color: #ffffff;
}

.video-toggle-btn {
  border-color: rgba(200, 16, 46, 0.55);
  color: #ffffff;
}

.video-toggle-btn.sound-on,
.video-toggle-btn.sound-on:hover {
  background: var(--red);
  border-color: var(--red);
}

#scrollTop {
  background: var(--red);
}

.stats-banner {
  background: #111111;
  border-top: 3px solid var(--red);
  border-bottom: none;
}

.stat-num {
  color: #ff3b52;
}

#platform {
  padding: 110px 0;
}

/* Campaign announcements and Milton in Motion */
#tax-relief,
#affordable-homes,
#milton-moves,
#budget-proposal,
#milton-in-motion {
  padding: 110px 0;
  background: #ffffff;
}

#tax-relief,
#milton-moves {
  background: #f6f4f2;
}

#budget-proposal {
  background: #f6f4f2;
}

.mim-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: start;
}

.mim-article {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}

.mim-article p {
  color: #3a3a3a;
  line-height: 1.8;
  margin-bottom: 14px;
}

.mim-article .mim-lead {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
  color: #141414;
}

.mim-article .mim-source {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #6b6562;
  margin-bottom: 18px;
}

.mim-article h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #141414;
  margin: 26px 0 16px;
}

.mim-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mim-points li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: #3a3a3a;
  line-height: 1.7;
}

.mim-points strong {
  color: #141414;
}

.mim-icon {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.mim-timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.mim-step {
  background: #f6f4f2;
  border-radius: var(--radius);
  padding: 18px 20px;
}

.mim-step-label {
  display: inline-block;
  background: var(--red);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.mim-step p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

.mim-media {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gallery-item.mim-figure {
  aspect-ratio: 1 / 1;
}

.gallery-item.mim-figure.tall {
  aspect-ratio: 1150 / 2000;
}

.gallery-item.mim-figure.portrait {
  aspect-ratio: 2 / 3;
}

.mim-plan {
  margin-top: 64px;
}

.mim-plan-heading {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.mim-plan-heading h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #141414;
  margin-bottom: 10px;
}

.mim-plan-heading p {
  color: #5c5856;
  line-height: 1.7;
}

.mim-plan-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) {
  .mim-plan-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .mim-plan-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 900px) {
  #tax-relief,
  #affordable-homes,
  #milton-moves,
  #budget-proposal,
  #milton-in-motion {
    padding: 72px 0;
  }

  .mim-layout {
    grid-template-columns: 1fr;
  }

  .mim-article {
    padding: 24px 20px;
  }

  .mim-timeline {
    grid-template-columns: 1fr;
  }
}

#pillars,
#platform,
#bio,
#contact {
  background: #f6f4f2;
  color: #161616;
  border: none;
}

#prediction-market,
#scorecard,
#gallery {
  background: #ffffff;
}

.pillar-card,
.score-card,
.contact-form-card,
.fb-card,
.policy-card {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.1);
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.05);
}

.pillar-card h3,
.pillar-card p,
.score-card h3,
.score-card p,
.score-card-footer,
.timeline-item h3,
.timeline-item p,
.contact-form-card h3,
.policy-card h3,
.about-text h2,
.gallery-videos h3,
#gallery .section-heading h2,
.fb-feed-section h3,
.fb-card h4 {
  color: #161616;
}

.pillar-card p,
.score-card p,
.timeline-item p,
.policy-card p,
.about-text p {
  color: #5c5856;
}

.pillar-card::before {
  background: var(--red);
  opacity: 1;
}

.pillar-icon {
  background: var(--red);
  border-color: #ffffff;
  color: #ffffff;
}

.pillar-card:hover,
.score-card:hover,
.policy-card:hover {
  background: #ffffff;
  border-color: var(--red);
  box-shadow: 0 16px 36px rgba(200, 16, 46, 0.12);
}

.tab-btn {
  background: #ffffff;
  color: #1a1a1a;
  border-color: rgba(20, 20, 20, 0.16);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
}

.score-card-num,
.timeline-year,
.ci-text h4 {
  color: var(--red);
}

.score-badge {
  background: #fdecef;
  color: var(--red);
  border-color: rgba(200, 16, 46, 0.28);
}

.score-card-footer {
  border-top-color: rgba(20, 20, 20, 0.1);
}

.timeline::before {
  background: linear-gradient(to bottom, var(--red), transparent);
}

.timeline-dot {
  background: var(--red);
  border-color: #f6f4f2;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.22);
}

.bio-portrait,
.about-img-main,
.about-img-accent,
.prediction-image-box img {
  border-color: var(--red);
}

.bio-quote {
  background: #141414;
  border-color: rgba(200, 16, 46, 0.45);
}

.bio-quote p {
  color: rgba(255, 255, 255, 0.92);
}

.prediction-wrapper {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 18px 48px rgba(20, 20, 20, 0.08);
}

.prediction-image-box {
  background: #f6f4f2;
  border-right: 1px solid rgba(20, 20, 20, 0.08);
}

.prediction-content-box h2,
.poll-percent,
.candidate-name,
.contact-info h3 {
  color: #141414;
}

.poll-row.highlight .candidate-name,
.poll-row.highlight .poll-percent {
  color: var(--red);
}

.poll-bar-fill.red {
  background: var(--red);
}

.prediction-callout {
  background: #fdecef;
  border-left-color: var(--red);
  color: #141414;
}

.form-group label {
  color: #1a1a1a;
}

.form-group input,
.form-group select,
.form-group textarea {
  color: #161616;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.16);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.16);
}

.slide-track {
  background: #141414;
  border-color: #141414;
}

.slide-text {
  color: #ffffff;
}

.slide-handle,
.slide-fill {
  background: var(--red);
  color: #ffffff;
}

.ci-icon {
  background: var(--red);
}

.soc-link {
  color: #141414;
  border-color: rgba(20, 20, 20, 0.16);
}

.soc-link:hover {
  background: var(--red);
  border-color: var(--red);
}

.filter-btn {
  background: #ffffff;
  color: #1a1a1a;
  border-color: rgba(20, 20, 20, 0.16);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
}

.gallery-videos h3 {
  color: #141414;
}

footer {
  background: #111111;
  border-top: 3px solid var(--red);
}

.policy-num {
  color: rgba(200, 16, 46, 0.18);
}

@media (max-width: 860px) {
  .nav-links.mobile-open {
    background: #ffffff;
    border-bottom: 3px solid var(--red);
  }

  .nav-links.mobile-open a {
    color: #1a1a1a;
  }

  .nav-links.mobile-open a:hover,
  .nav-links.mobile-open a.active {
    color: var(--red);
  }

  #navbar:has(.nav-toggle.open) {
    background: #ffffff;
    border-bottom: 3px solid var(--red);
  }

  #navbar:has(.nav-toggle.open) .logo-name,
  #navbar:has(.nav-toggle.open) .nav-toggle span {
    color: #141414;
    background: #141414;
  }

  #navbar:has(.nav-toggle.open) .logo-name {
    background: none;
  }
}

.hero-text h1 .title-sub,
.section-heading .overline,
.about-text .overline,
.prediction-badge,
.ci-text h4,
.footer-col h5,
.nav-logo .logo-title,
.footer-brand .brand-title,
.timeline-year,
.trail-note-date {
  font-family: var(--font-red-heading);
}

@media (max-width: 860px) {
  .pillars-grid,
  .scorecard-grid {
    grid-template-columns: 1fr 1fr;
  }

  .prediction-wrapper {
    grid-template-columns: 1fr;
  }

  .prediction-image-box {
    border-right: none;
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
    padding: 20px;
  }

  .prediction-content-box {
    padding: 28px 22px;
  }
}

@media (max-width: 680px) {
  .pillars-grid,
  .scorecard-grid,
  .fb-grid {
    grid-template-columns: 1fr;
  }

  .poll-row {
    grid-template-columns: minmax(0, 108px) 1fr 40px;
    gap: 8px;
  }

  .candidate-name {
    font-size: 0.8rem;
  }
}
/* =============================================
   NEWS CAROUSEL & NEWS MODAL
============================================= */
#news {
  padding: 96px 0 72px;
  background: #ffffff;
}

.news-section-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.news-carousel-wrap {
  position: relative;
}

.news-carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.news-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.news-card {
  flex: 0 0 auto;
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}

.news-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f3f1ef;
  overflow: hidden;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.news-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid var(--red);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.news-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.news-card-date {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.news-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.35;
  color: #141414;
}

.news-card-excerpt {
  font-size: 0.92rem;
  color: #5c5856;
  line-height: 1.65;
  flex: 1;
}

.news-read-more {
  align-self: flex-start;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #ffffff;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.news-read-more:hover {
  background: var(--red-hover);
}

.news-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.news-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: #ffffff;
  color: var(--red);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.news-nav-btn:hover:not(:disabled) {
  background: var(--red);
  color: #ffffff;
}

.news-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.news-carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.news-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(20, 20, 20, 0.2);
  cursor: pointer;
  padding: 0;
}

.news-dot.active {
  background: var(--red);
  width: 22px;
  border-radius: 6px;
}

.news-load-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}

.news-load-more:hover {
  background: var(--red);
  color: #ffffff;
}

/* News page grid */
#news-page {
  padding: 120px 0 90px;
  background: #f6f4f2;
  min-height: 60vh;
}

.news-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-page-grid .news-card {
  flex: none;
  width: 100%;
}

/* News modal — left content, right image */
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(10, 10, 12, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.news-modal.open {
  display: flex;
  opacity: 1;
}

body.news-modal-open {
  overflow: hidden;
}

.news-modal-dialog {
  position: relative;
  width: min(1080px, 100%);
  max-height: min(90vh, 820px);
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.8);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.news-modal-close:hover {
  background: var(--red);
}

.news-modal-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 0;
  max-height: min(90vh, 820px);
}

.news-modal-content {
  padding: 40px 36px;
  overflow-y: auto;
  min-height: 0;
}

.news-modal-content time {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.news-modal-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.25;
  color: #141414;
  margin-bottom: 18px;
}

.news-modal-body {
  color: #3a3a3a;
  line-height: 1.75;
}

.news-modal-body p {
  margin-bottom: 14px;
}

.news-modal-body ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0 0 16px;
}

.news-modal-body li {
  margin-bottom: 8px;
}

.news-modal-body .news-source {
  font-size: 0.82rem;
  color: #6b6562;
  line-height: 1.6;
}

.news-modal-body .news-sign {
  font-weight: 700;
  color: #141414;
  margin-top: 8px;
}

.news-modal-media {
  background: #111111;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.news-modal-media img {
  width: 100%;
  height: 100%;
  max-height: min(90vh, 820px);
  object-fit: contain;
  object-position: center top;
}

@media (max-width: 1024px) {
  .news-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .news-modal-layout {
    grid-template-columns: 1fr;
    max-height: min(92vh, 900px);
    overflow-y: auto;
  }

  .news-modal-dialog {
    max-height: min(92vh, 900px);
  }

  .news-modal-media {
    order: -1;
    max-height: 42vh;
    padding: 12px;
  }

  .news-modal-media img {
    max-height: 38vh;
  }

  .news-modal-content {
    padding: 24px 20px 32px;
  }
}

@media (max-width: 700px) {
  #news {
    padding: 72px 0 56px;
  }

  .news-page-grid {
    grid-template-columns: 1fr;
  }

  #news-page {
    padding: 100px 0 64px;
  }
}

/* =============================================
   PLEDGE YOUR VOTE MODAL
============================================= */
.pledge-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  background: rgba(10, 10, 12, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.pledge-modal.open {
  display: flex;
  opacity: 1;
}

body.pledge-modal-open {
  overflow: hidden;
}

.pledge-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  background: #111111;
  color: #ffffff;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow-lg);
  padding: 28px 26px 26px;
}

.pledge-minimize-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.pledge-minimize-btn:hover {
  background: var(--red);
}

.pledge-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  line-height: 1.15;
  margin: 0 48px 8px 0;
  color: #ffffff;
}

.pledge-subtitle {
  font-family: var(--font-italic);
  font-size: 1.15rem;
  color: #ffd5dc;
  margin: 0 0 22px;
  font-style: italic;
}

.pledge-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pledge-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pledge-form input[type="text"],
.pledge-form input[type="email"],
.pledge-form input[type="tel"] {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #ffffff;
  color: #161616;
  border-radius: 10px;
  padding: 13px 14px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.pledge-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.22);
}

.pledge-check-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.pledge-check-card:hover {
  border-color: rgba(200, 16, 46, 0.55);
  background: rgba(200, 16, 46, 0.12);
}

.pledge-check-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  flex-shrink: 0;
}

.pledge-check-card span {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

.pledge-optional {
  font-style: normal;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.pledge-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.pledge-consent input {
  margin-top: 3px;
  accent-color: var(--red);
  flex-shrink: 0;
}

.pledge-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.pledge-error,
.pledge-success {
  display: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.pledge-error {
  background: rgba(200, 16, 46, 0.18);
  border: 1px solid rgba(200, 16, 46, 0.45);
  color: #ffd5dc;
}

.pledge-success {
  background: rgba(21, 122, 58, 0.2);
  border: 1px solid rgba(21, 122, 58, 0.45);
  color: #d8f5e3;
  text-align: center;
}

.pledge-success strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

#pledgeSlideTrack {
  background: #1a1a1a;
  border-color: var(--red);
}

#pledgeSlideText {
  color: #ffd5dc;
}

#pledgeSlideFill {
  background: linear-gradient(135deg, var(--red), #9e0c24);
}

#pledgeSlideHandle {
  background: linear-gradient(135deg, var(--red), #9e0c24);
  color: #ffffff;
}

#pledgeSlideTrack.unlocked {
  background: #157a3a;
  border-color: #1f9a4a;
}

/* Minimized reopen chip sits bottom-left; #scrollTop stays bottom-right */
.pledge-fab {
  position: fixed;
  left: 20px;
  bottom: 32px;
  z-index: 10040;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #111111;
  color: #ffffff;
  border: 1px solid rgba(200, 16, 46, 0.55);
  border-left: 4px solid var(--red);
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: var(--shadow-md);
}

.pledge-fab[hidden] {
  display: none !important;
}

.pledge-fab-open {
  border: none;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
}

.pledge-fab-open i {
  color: var(--red);
}

@media (max-width: 600px) {
  .pledge-row {
    grid-template-columns: 1fr;
  }

  .pledge-dialog {
    padding: 24px 18px 20px;
  }

  .pledge-fab {
    left: 12px;
    bottom: 24px;
    right: auto;
  }
}

/* PDF news cards & modal viewer */
.news-card-pdf {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(160deg, #1a1a1a 0%, #2c2c2c 55%, #3a1018 100%);
  color: #ffffff;
}

.news-card-pdf i {
  font-size: 2.8rem;
  color: var(--red);
}

.news-card-pdf span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffd5dc;
}

.news-card-is-pdf .news-card-badge {
  background: var(--red);
  border-color: #ffffff;
}

.news-pdf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}

.news-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #ffffff;
  border-radius: 6px;
  padding: 11px 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--transition);
}

.news-pdf-btn:hover {
  background: var(--red-hover);
  color: #ffffff;
}

.news-pdf-btn-secondary {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}

.news-pdf-btn-secondary:hover {
  background: var(--red);
  color: #ffffff;
}

.news-modal-media.is-pdf {
  padding: 0;
  background: #2c2c2c;
}

.news-modal-pdf {
  width: 100%;
  height: 100%;
  min-height: min(80vh, 760px);
  border: 0;
  background: #2c2c2c;
}

.news-modal-media img[hidden],
.news-modal-pdf[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .news-modal-pdf {
    min-height: 48vh;
  }
}
