/*
Theme Name: LPUMC 2026
Theme URI: https://lakepalestineumc.com/
Author: The Clone Shop
Author URI: https://cloneshop.com
Description: Custom WordPress theme for Lake Palestine United Methodist Church in Chandler, TX. Designed for local SEO with auto-generated schema, breadcrumbs, optimized meta tags, and a dynamic YouTube sermon feed.
Version: 2026.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: lpumc2026
*/

/* ==================== CUSTOM PROPERTIES ==================== */
:root {
  --gold: #D4A843;          /* Brand gold — logo accents, borders, button bgs */
  --gold-light: #E8C97A;    /* For text on DARK backgrounds only */
  --gold-dark: #B8922E;     /* Hover/active state */
  --gold-text: #8B5A1A;     /* AA-compliant gold for TEXT on light bgs (5.87:1 on white) */
  --blue: #2B5797;
  --blue-deep: #1B3A6B;
  --blue-lake: #3A7CC3;
  --blue-pale: #E8F0FA;
  --cream: #FBF8F1;
  --cream-dark: #F0EAD6;
  --warm-white: #FEFCF8;
  --text-dark: #2C2418;
  --text-body: #4A4135;
  --text-muted: #5A5145;
  --warm-gray: #E8E2D8;
  --shadow-warm: rgba(44, 36, 24, 0.08);
  --shadow-deep: rgba(44, 36, 24, 0.15);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==================== FOCUS INDICATORS (WCAG 2.4.7) ==================== */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-body);
  background: var(--warm-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ==================== UTILITY ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 12px;
}
/* On cream sections, use brand blue for stronger contrast (8.7:1 vs 4.5:1) */
.section-cream .section-label,
.section-white .section-label {
  color: var(--blue-deep);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==================== TOP BAR ==================== */
.top-bar {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: rgba(255,255,255,0.9); transition: color 0.3s; }
.top-bar a:hover { color: var(--gold-light); }
.top-bar-left { display: flex; gap: 24px; align-items: center; }
.top-bar-right { display: flex; gap: 16px; align-items: center; }
.top-bar-right a {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==================== NAVIGATION ==================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(51, 51, 51, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-logo img {
  height: 70px;
  width: auto;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.navbar-links a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  color: rgba(255,255,255,0.9);
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}
.navbar-links a:hover {
  color: var(--gold-light);
  background: rgba(255,255,255,0.1);
}
.navbar-links .nav-cta {
  background: var(--gold);
  color: white;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  margin-left: 8px;
  transition: all 0.3s var(--ease-spring);
}
.navbar-links .nav-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.3);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
  transition: transform 0.3s ease;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #333;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  padding: 8px 0;
  z-index: 200;
  border: 1px solid rgba(255,255,255,0.1);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px !important;
  font-size: 0.88rem !important;
  white-space: nowrap;
  color: rgba(255,255,255,0.85);
  transition: all 0.2s ease;
}
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.1) !important;
  color: var(--gold-light) !important;
}
.nav-dropdown-menu .dropdown-divider {
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 6px 0;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: calc(92vh - 200px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--blue-deep);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  opacity: 0.25;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27, 58, 107, 0.4) 0%,
    rgba(27, 58, 107, 0.15) 35%,
    rgba(27, 58, 107, 0.7) 75%,
    rgba(27, 58, 107, 0.95) 100%
  );
}

/* ---- Layout: split hero ---- */
.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  min-height: calc(92vh - 200px);
}

/* ---- Left: text content ---- */
.hero-content {
  padding: 0 0 120px 0;
  max-width: 560px;
  justify-self: start;
}
.hero-welcome {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: white;
  line-height: 1.1;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-text {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 460px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 1s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: var(--gold);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: all 0.3s var(--ease-spring);
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 67, 0.35);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.45);
}

/* ---- Right: animated logo scene ---- */
.hero-logo-scene {
  position: relative;
  justify-self: center;
  align-self: center;
  width: 100%;
  max-width: 520px;
  padding-bottom: 40px;
  /* Container matches the aspect ratio of the logo layers: 800x352 */
  aspect-ratio: 800 / 352;
}

/* Glow behind the whole logo */
.hero-logo-glow {
  position: absolute;
  top: 5%;
  left: 10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(212, 168, 67, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0;
  animation: glowIn 2.5s var(--ease-out) 0.3s forwards;
  pointer-events: none;
}
@keyframes glowIn {
  to { opacity: 1; }
}

/* Each layer is absolutely positioned, filling the container */
.logo-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.logo-layer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(1.1);
}

/* ---- Individual layer animations ---- */

/* Sun: rises up from below */
.logo-layer--sun {
  z-index: 1;
  opacity: 0;
  transform: translateY(25%);
  animation: sunRise 1.2s var(--ease-out) 0.4s forwards;
}
@keyframes sunRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ray 1 (outer arc): sweeps in with rotation */
.logo-layer--ray1 {
  z-index: 2;
  opacity: 0;
  transform: rotate(-15deg) scale(0.85);
  transform-origin: 30% 85%;
  animation: raySweep1 1.1s var(--ease-out) 0.8s forwards;
}
@keyframes raySweep1 {
  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

/* Ray 2 (inner arc): sweeps in slightly after ray1 */
.logo-layer--ray2 {
  z-index: 3;
  opacity: 0;
  transform: rotate(-10deg) scale(0.9);
  transform-origin: 30% 85%;
  animation: raySweep2 1s var(--ease-out) 1s forwards;
}
@keyframes raySweep2 {
  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

/* Wave 2 (back wave): slides in from left */
.logo-layer--wave2 {
  z-index: 4;
  opacity: 0;
  transform: translateX(-12%);
  animation: waveSlide2 1.2s var(--ease-out) 1.1s forwards;
}
@keyframes waveSlide2 {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Wave 1 (front wave): slides in from right */
.logo-layer--wave1 {
  z-index: 5;
  opacity: 0;
  transform: translateX(10%);
  animation: waveSlide1 1.2s var(--ease-out) 1.3s forwards;
}
@keyframes waveSlide1 {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Name text: fades up last */
.logo-layer--name {
  z-index: 6;
  opacity: 0;
  transform: translateY(10px);
  animation: nameFadeIn 1s var(--ease-out) 1.6s forwards;
}
@keyframes nameFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Service times strip at top of hero ---- */
.hero-times-bar {
  position: relative;
  z-index: 5;
  background: rgba(27, 58, 107, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 14px 0;
}
.hero-times-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-time-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}
.hero-time-item .time-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.hero-time-item strong {
  color: var(--gold-light);
  font-weight: 600;
}

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

/* ==================== WELCOME STRIP ==================== */
.welcome-strip {
  background: var(--blue-deep);
  padding: 56px 0;
  border-top: 8px solid var(--gold);
  border-bottom: 8px solid var(--gold);
}
.welcome-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.welcome-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.welcome-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.welcome-icon svg {
  width: 26px;
  height: 26px;
  color: white;
}
.welcome-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: white;
}
.welcome-item p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: 300px;
}

/* ==================== ABOUT / MISSION ==================== */
.about {
  padding: 100px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrapper {
  position: relative;
}
.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow-deep);
}
.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.about-image:hover img {
  transform: scale(1.03);
}
.about-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border-radius: 16px;
  background: var(--gold);
  opacity: 0.12;
  z-index: -1;
}
.about-text .section-subtitle {
  margin-bottom: 28px;
}
.about-verse {
  padding: 24px 0;
  border-top: 1px solid var(--warm-gray);
  border-bottom: 1px solid var(--warm-gray);
  margin-top: 28px;
}
.about-verse blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--blue);
  line-height: 1.6;
}
.about-verse cite {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-weight: 600;
  color: var(--blue);
  font-size: 0.95rem;
  transition: gap 0.3s ease;
}
.btn-text:hover { gap: 14px; }
.btn-text svg { width: 18px; height: 18px; }

/* ==================== LIVE STREAM ==================== */
.livestream {
  padding: 100px 0;
  background: var(--blue-deep);
  position: relative;
  overflow: hidden;
}
.livestream::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.1) 0%, transparent 70%);
}
.livestream .container {
  position: relative;
  z-index: 2;
}
.livestream .section-label { color: var(--gold-light); }
.livestream .section-title { color: white; }
.livestream .section-subtitle { color: rgba(255,255,255,0.7); }

.livestream-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}
.livestream-embed {
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: relative;
}
.livestream-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.livestream-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(135deg, #111 0%, #1B3A6B 100%);
  color: white;
  text-align: center;
  padding: 40px;
}
.livestream-placeholder .play-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 0 0 rgba(212, 168, 67, 0.4);
  animation: pulse-ring 2s infinite;
}
.livestream-placeholder .play-icon svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(212, 168, 67, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(212, 168, 67, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 168, 67, 0); }
}
.livestream-placeholder h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.livestream-placeholder p {
  font-size: 0.9rem;
  opacity: 0.7;
}

.livestream-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
}
.livestream-info p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
  line-height: 1.7;
}
.livestream-schedule {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 28px;
}
.livestream-schedule-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.livestream-schedule-item + .livestream-schedule-item {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.schedule-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.schedule-label {
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
}
.schedule-time {
  margin-left: auto;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.9rem;
}
.btn-youtube {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #FF0000;
  color: white;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.btn-youtube:hover {
  background: #CC0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.3);
}
.btn-youtube svg { width: 20px; height: 20px; }

/* ==================== NEWS & EVENTS ==================== */
.news {
  padding: 100px 0;
  background: var(--cream);
}
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-warm);
  transition: all 0.4s var(--ease-out);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px var(--shadow-deep);
}
.news-card-image {
  height: 200px;
  overflow: hidden;
}
.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.news-card:hover .news-card-image img {
  transform: scale(1.06);
}
.news-card-body {
  padding: 24px;
}
.news-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(212, 168, 67, 0.12);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.news-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 8px;
}
.news-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--warm-gray);
}
.news-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.news-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
}
.news-card-link:hover { gap: 8px; }

/* ==================== MINISTRIES ==================== */
.ministries {
  padding: 56px 0;
  background: var(--blue-deep);
  border-top: 8px solid var(--gold);
  border-bottom: 8px solid var(--gold);
}
.ministries-header {
  text-align: center;
  margin-bottom: 40px;
}
.ministries-header .section-label {
  color: var(--gold-light);
}
.ministries-header .section-title {
  color: white;
}
.ministries-header .section-subtitle {
  margin: 0 auto;
  color: rgba(255,255,255,0.75);
}
.ministries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ministry-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
}
.ministry-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.ministry-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background 0.3s ease;
}
.ministry-card:hover .ministry-icon {
  background: var(--gold);
}
.ministry-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold-light);
  transition: color 0.3s ease;
}
.ministry-card:hover .ministry-icon svg {
  color: white;
}
.ministry-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: white;
  margin-bottom: 8px;
}
.ministry-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* ==================== PASTOR ==================== */
.pastor {
  padding: 100px 0;
  background: var(--cream);
}
.pastor-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
.pastor-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow-deep);
  position: relative;
}
.pastor-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top;
}
.pastor-text .section-title {
  margin-bottom: 8px;
}
.pastor-role {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 24px;
}
.pastor-text p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* ==================== GIVING ==================== */
.giving {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 8px solid var(--gold);
  border-bottom: 8px solid var(--gold);
}
.giving::before {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.15) 0%, transparent 70%);
}
.giving .container {
  position: relative;
  z-index: 2;
}
.giving .section-label { color: var(--gold-light); }
.giving .section-title {
  color: white;
  max-width: 600px;
  margin: 0 auto 16px;
}
.giving .section-subtitle {
  color: rgba(255,255,255,0.75);
  margin: 0 auto 40px;
  max-width: 500px;
}
.giving-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.giving-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.giving-feature svg {
  width: 20px;
  height: 20px;
  color: var(--gold-light);
}
.btn-give {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 48px;
  background: var(--gold);
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s var(--ease-spring);
}
.btn-give:hover {
  background: var(--gold-light);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(212, 168, 67, 0.4);
}

/* ==================== CONTACT / MAP ==================== */
.contact {
  padding: 100px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}
.contact-item-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.contact-item-text span {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.contact-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px var(--shadow-warm);
  height: 360px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
  border-top: 8px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: var(--gold);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 18px;
  height: 18px;
  color: white;
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .livestream-content { grid-template-columns: 1fr; }
  .ministries-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .top-bar { display: none; }
  .navbar .container { height: 70px; }
  .navbar-links { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile menu */
  .navbar-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #333;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-radius: 0 0 16px 16px;
  }
  .navbar-links.open a {
    padding: 14px 16px;
    font-size: 1rem;
    width: 100%;
    color: rgba(255,255,255,0.9);
  }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    min-width: 0;
    background: #333;
  }
  .nav-dropdown-menu a {
    padding: 10px 16px !important;
    font-size: 0.95rem !important;
    color: rgba(255,255,255,0.8) !important;
  }
  .nav-dropdown > a::after {
    transition: transform 0.3s ease;
  }
  .nav-dropdown.open > a::after {
    transform: rotate(180deg);
  }

  .hero { min-height: auto; }
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 40px;
  }
  .hero-content { padding: 0 0 40px 0; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-logo-scene {
    max-width: 340px;
    justify-self: center;
    padding-bottom: 80px;
    order: -1;
  }
  .hero-times-bar .container { gap: 12px; flex-direction: column; align-items: center; padding: 0 24px; }
  .hero-time-item { font-size: 0.85rem; }

  .welcome-strip .container { grid-template-columns: 1fr; gap: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 300px; }
  .news-grid { grid-template-columns: 1fr; }
  .ministries-grid { grid-template-columns: 1fr; }
  .pastor-grid { grid-template-columns: 1fr; gap: 40px; }
  .pastor-image img { height: 350px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .giving-features { flex-direction: column; align-items: center; }
}



/* ============================================================
   ABOUT PAGE
   ============================================================ */

.mission-section {
  padding: 80px 0;
  background: var(--cream);
}

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

.mission-box {
  background: white;
  padding: 60px 48px;
  border-left: 8px solid var(--gold);
  box-shadow: 0 10px 30px var(--shadow-warm);
  border-radius: 8px;
}

.mission-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.mission-quote {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
  font-style: italic;
}

.history-section {
  padding: 80px 0;
  background: white;
}

.history-container {
  max-width: 1000px;
  margin: 0 auto;
}

.history-header {
  text-align: center;
  margin-bottom: 60px;
}

.history-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.history-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-body);
}

.history-text p:first-child {
  color: var(--blue-deep);
  font-weight: 500;
  font-size: 1.05rem;
}

.history-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow-deep);
}

.history-image img {
  width: 100%;
  height: auto;
  display: block;
}

.history-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(212, 168, 67, 0.1) 0%,
    transparent 100%
  );
  pointer-events: none;
}

.beliefs-section {
  padding: 80px 0;
  background: var(--cream);
}

.beliefs-container {
  max-width: 900px;
  margin: 0 auto;
}

.beliefs-header {
  text-align: center;
  margin-bottom: 60px;
}

.beliefs-content {
  background: white;
  padding: 48px;
  border-radius: 8px;
  box-shadow: 0 10px 30px var(--shadow-warm);
}

.beliefs-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
}

.beliefs-text strong {
  color: var(--text-dark);
  font-weight: 600;
}

.faq-section {
  padding: 80px 0;
  background: var(--blue-deep);
  border-top: 8px solid var(--gold);
  border-bottom: 8px solid var(--gold);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-header .section-label {
  color: var(--gold-light);
}

.faq-header .section-title {
  color: white;
}

.faq-header .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.faq-item {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-light);
}

.faq-question {
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: white;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--gold-light);
}

.faq-toggle {
  width: 32px;
  height: 32px;
  background: rgba(212, 168, 67, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.faq-item.open .faq-toggle {
  background: var(--gold);
  color: var(--blue-deep);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 24px;
}

.faq-answer p {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

.cta-section {
  padding: 80px 0;
  background: white;
}

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

.cta-content h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.3;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .history-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-dropdown.open > a::after {
    transform: rotate(180deg);
  }

  .page-header {
    padding: 80px 0 60px;
  }
  .page-header h1 { font-size: clamp(2rem, 6vw, 2.5rem); }

  .mission-section {
    padding: 60px 0;
  }
  .mission-box {
    padding: 40px 24px;
  }
  .mission-quote {
    font-size: 1.4rem;
  }

  .history-section {
    padding: 60px 0;
  }

  .beliefs-section {
    padding: 60px 0;
  }
  .beliefs-content {
    padding: 32px 24px;
  }
  .beliefs-text {
    font-size: 1rem;
  }

  .faq-section {
    padding: 60px 0;
  }
  .faq-question {
    padding: 20px;
    font-size: 1rem;
  }

  .cta-section {
    padding: 60px 0;
  }
  .cta-content h2 {
    font-size: 1.8rem;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }


}
@media (max-width: 480px) {
  .page-header h1 { font-size: 1.8rem; }

  .mission-section { padding: 40px 0; }
  .mission-box { padding: 30px 20px; }
  .mission-quote { font-size: 1.2rem; }

  .history-section { padding: 40px 0; }

  .beliefs-section { padding: 40px 0; }

  .faq-section { padding: 40px 0; }
  .faq-item { margin-bottom: 16px; }
  .faq-question { padding: 16px; }
  .faq-item.open .faq-answer { padding: 16px; }

  .cta-section { padding: 40px 0; }
  .cta-content h2 { font-size: 1.4rem; }
  .cta-content p { font-size: 1rem; }
}


/* ============================================================
   WATCH / SERMONS PAGE
   ============================================================ */

.featured-sermon {
  padding: 80px 0;
  background: white;
}

.featured-sermon .container {
  max-width: 900px;
  margin: 0 auto;
}

.featured-sermon-inner {
  border: 8px solid var(--gold);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 60px var(--shadow-deep);
}

.featured-sermon-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: var(--blue-deep);
  overflow: hidden;
}

.featured-sermon-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.featured-sermon-info {
  padding: 40px;
  background: var(--blue-deep);
  color: white;
  text-align: center;
}

.featured-sermon-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.featured-sermon-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.featured-sermon-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}

.sermons-section {
  padding: 80px 0;
  background: var(--cream);
}

.sermons-section .container {
  max-width: 1200px;
}

.sermons-header {
  margin-bottom: 60px;
  text-align: center;
}

.sermons-header .section-label {
  display: inline-block;
}

.sermon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.sermon-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-warm);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}

.sermon-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px var(--shadow-deep);
}

.sermon-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--blue-deep);
  overflow: hidden;
}

.sermon-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sermon-thumbnail-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 58, 107, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sermon-card:hover .sermon-thumbnail-overlay {
  opacity: 1;
}

.play-button {
  width: 60px;
  height: 60px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(212, 168, 67, 0.4);
}

.sermon-content {
  padding: 28px;
}

.sermon-date {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.sermon-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 12px;
  min-height: 2.6em;
}

.sermon-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.sermon-speaker {
  color: var(--blue-deep);
  font-weight: 500;
}

.sermon-duration {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.sermon-card-video {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sermon-card-video.open {
  display: flex;
}

.sermon-card-video-container {
  width: 100%;
  max-width: 800px;
  position: relative;
  padding-bottom: 56.25%;
  background: var(--blue-deep);
  border-radius: 8px;
  overflow: hidden;
}

.sermon-card-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.sermon-card-video-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.sermon-card-video-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.view-more-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

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

}
@media (max-width: 768px) {
  .nav-dropdown.open > a::after {
    transform: rotate(180deg);
  }

  .page-header {
    padding: 80px 0 60px;
  }
  .page-header h1 { font-size: clamp(2rem, 6vw, 2.5rem); }

  .featured-sermon {
    padding: 60px 0;
  }
  .featured-sermon-info {
    padding: 30px 24px;
  }
  .featured-sermon-title {
    font-size: 1.4rem;
  }

  .sermons-section {
    padding: 60px 0;
  }
  .sermon-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sermon-title {
    font-size: 1.1rem;
  }


}
@media (max-width: 480px) {
  .page-header h1 { font-size: 1.8rem; }
  .featured-sermon { padding: 40px 0; }
  .featured-sermon-info { padding: 20px 16px; }
  .sermons-section { padding: 40px 0; }
  .sermons-header { margin-bottom: 40px; }
  .sermon-grid { gap: 24px; }
  .sermon-content { padding: 20px; }
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-section {
  padding: 80px 0;
  background: white;
}

.contact-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--cream);
  border-left: 8px solid var(--gold);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  box-shadow: 0 10px 30px var(--shadow-warm);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-deep);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 24px;
  flex-shrink: 0;
}

.contact-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-card-content p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

.contact-card-content a {
  color: var(--blue-deep);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.map-container {
  margin-top: 32px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-warm);
  height: 300px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.form-group label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,

.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--warm-gray);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--warm-white);
  transition: all 0.3s ease;
}

.form-group input:focus,

.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

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

.form-group.optional label::after {
  content: ' (optional)';
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.visit-section {
  padding: 80px 0;
  background: var(--cream);
}

.visit-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.visit-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.visit-text h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.visit-text p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 20px;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.visit-detail {
  display: flex;
  gap: 16px;
}

.visit-detail-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-deep);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 24px;
  flex-shrink: 0;
}

.visit-detail-text h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.visit-detail-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .visit-content {
    grid-template-columns: 1fr;
  }

}
@media (max-width: 768px) {
  .nav-dropdown.open > a::after {
    transform: rotate(180deg);
  }

  .page-header {
    padding: 80px 0 60px;
  }
  .page-header h1 { font-size: clamp(2rem, 6vw, 2.5rem); }

  .contact-section {
    padding: 60px 0;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px; /* Prevents mobile zoom */
  }

  .visit-section {
    padding: 60px 0;
  }

  .visit-text h2 {
    font-size: 1.6rem;
  }


}
@media (max-width: 480px) {
  .page-header h1 { font-size: 1.8rem; }

  .contact-section { padding: 40px 0; }
  .contact-inner { gap: 32px; }
  .contact-card { padding: 20px; }
  .map-container { height: 250px; }

  .visit-section { padding: 40px 0; }
  .visit-text h2 { font-size: 1.4rem; }
  .visit-content { gap: 32px; }

  .footer-social { justify-content: center; }
}


/* ============================================================
   GIVING PAGE
   ============================================================ */

    .page-header-content {
      position: relative;
      z-index: 3;
      max-width: 800px;
      padding: 60px 32px;
    }

    .section-cream {
      background-color: var(--cream);
    }

    .section-white {
      background-color: white;
    }

    .section-blue {
      background-color: var(--blue-deep);
      color: white;
      border-top: 8px solid var(--gold);
      border-bottom: 8px solid var(--gold);
    }

    .giving-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
      margin-top: 64px;
    }

    .giving-card {
      background: white;
      border-radius: 8px;
      padding: 48px 36px;
      box-shadow: 0 10px 30px var(--shadow-warm);
      text-align: center;
      transition: all 0.3s var(--ease-spring);
    }

    .giving-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 50px var(--shadow-deep);
    }

    .giving-card h3 {
      font-size: 24px;
      margin-bottom: 16px;
    }

    .giving-card p {
      font-size: 16px;
      line-height: 1.8;
      margin-bottom: 24px;
      color: var(--text-body);
    }

    .giving-card-note {
      font-size: 14px;
      color: var(--text-muted);
      margin-top: 16px;
      font-style: italic;
    }

    .giving-card-steps {
      text-align: left;
      margin-bottom: 24px;
    }

    .giving-card-steps ol {
      margin-left: 20px;
      color: var(--text-body);
    }

    .giving-card-steps li {
      margin-bottom: 12px;
      line-height: 1.6;
    }

    .phone-number {
      font-size: 18px;
      font-weight: 600;
      color: var(--blue-deep);
      margin: 24px 0;
      font-family: monospace;
    }

    .app-links {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: 24px;
    }

    .mailin-card {
      background: white;
      border-radius: 8px;
      padding: 48px 36px;
      box-shadow: 0 10px 30px var(--shadow-warm);
      text-align: center;
    }

    .mailin-card h3 {
      font-size: 24px;
      margin-bottom: 24px;
    }

    .mailin-card p {
      font-size: 16px;
      line-height: 1.8;
      margin-bottom: 16px;
      color: var(--text-body);
    }

    .mailin-address {
      background: var(--blue-pale);
      padding: 24px;
      border-radius: 6px;
      margin: 24px 0;
      font-weight: 500;
      color: var(--text-dark);
    }

    .mailin-note {
      font-size: 14px;
      color: var(--text-muted);
      margin-top: 16px;
      font-style: italic;
    }

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


      .page-header .section-title {
        font-size: 48px;
      }

      .section-title {
        font-size: 42px;
      }
    }

    @media (max-width: 768px) {


      .nav-dropdown.open > a::after {
        transform: rotate(180deg);
      }


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


      .page-header {
        min-height: 300px;
      }

      .page-header .section-title {
        font-size: 36px;
      }

      .section-title {
        font-size: 32px;
      }

      .section {
        padding: 60px 0;
      }

    }

    @media (max-width: 480px) {

      .navbar-logo img {
        height: 50px;
      }

      .page-header-content {
        padding: 40px 20px;
      }

      .page-header .section-title {
        font-size: 28px;
      }

      .section-title {
        font-size: 24px;
      }

      .section-subtitle {
        font-size: 16px;
      }

      .giving-card {
        padding: 32px 24px;
      }

      .cta-section p {
        font-size: 16px;
      }

      .footer-brand img {
        height: 40px;
      }
    }


/* ============================================================
   MINISTRIES LANDING PAGE
   ============================================================ */

.ministries-section {
  padding: 80px 0;
  background: var(--cream);
}

.ministries-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.ministry-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 600;
  color: white;
}

.ministry-schedule {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ministry-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.ministry-link:hover {
  color: var(--gold-dark);
  gap: 12px;
}

.ministries-cta {
  padding: 80px 0;
  background: white;
}

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

}
@media (max-width: 768px) {
  .nav-dropdown.open > a::after {
    transform: rotate(180deg);
  }

  .page-header {
    padding: 80px 0 60px;
  }
  .page-header h1 { font-size: clamp(2rem, 6vw, 2.5rem); }

  .ministries-section {
    padding: 60px 0;
  }
  .ministries-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ministries-cta {
    padding: 60px 0;
  }
  .cta-content h2 {
    font-size: 1.8rem;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }


}
@media (max-width: 480px) {
  .page-header h1 { font-size: 1.8rem; }

  .ministries-section { padding: 40px 0; }
  .ministries-grid { gap: 20px; }
  .ministry-card {
    padding: 24px;
  }
  .ministry-card h3 {
    font-size: 1.3rem;
  }

  .ministries-cta { padding: 40px 0; }
  .cta-content h2 { font-size: 1.4rem; }
  .cta-content p { font-size: 1rem; }
}


/* ============================================================
   NEWS PAGE (additional)
   ============================================================ */

.recurring-events {
  padding: 80px 0;
  background: var(--cream);
}

.recurring-events .container {
  max-width: 1200px;
}

.events-header {
  margin-bottom: 60px;
  text-align: center;
}

.events-header .section-label {
  display: inline-block;
}

.announcements {
  padding: 80px 0;
  background: var(--blue-deep);
  color: white;
  border-top: 8px solid var(--gold);
  border-bottom: 8px solid var(--gold);
}

.announcements .container {
  max-width: 1200px;
}

.announcements-header {
  margin-bottom: 60px;
  text-align: center;
}

.announcements-header .section-label {
  color: var(--gold-light);
  display: inline-block;
}

.announcements-header .section-title {
  color: white;
}

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

.announcement-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 8px;
  padding: 40px;
  transition: all 0.3s var(--ease-out);
  backdrop-filter: blur(10px);
}

.announcement-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-light);
  transform: translateY(-4px);
}

.announcement-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--gold-light);
}

.announcement-card p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.announcement-date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 168, 67, 0.2);
}

.stay-connected {
  padding: 80px 0;
  background: white;
}

.stay-connected .container {
  max-width: 900px;
  text-align: center;
}

.stay-connected .section-label {
  display: inline-block;
}

.stay-connected .section-title {
  margin-bottom: 20px;
}

.stay-connected-content {
  margin-bottom: 40px;
}

.stay-connected-content p {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 12px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--cream);
  border-radius: 50px;
  transition: all 0.3s var(--ease-spring);
  font-weight: 500;
}

.social-link:hover {
  background: var(--gold);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 168, 67, 0.3);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1024px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .announcements-grid { grid-template-columns: 1fr; }

}
@media (max-width: 768px) {
  .nav-dropdown.open > a::after {
    transform: rotate(180deg);
  }

  .page-header {
    padding: 80px 0 60px;
  }
  .page-header h1 { font-size: clamp(2rem, 6vw, 2.5rem); }

  .recurring-events {
    padding: 60px 0;
  }
  .events-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .announcements {
    padding: 60px 0;
  }
  .announcements-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .announcement-card {
    padding: 30px;
  }

  .stay-connected {
    padding: 60px 0;
  }
  .social-links {
    gap: 16px;
  }


}
@media (max-width: 480px) {
  .page-header h1 { font-size: 1.8rem; }

  .recurring-events { padding: 40px 0; }
  .events-grid { gap: 16px; }
  .event-card { padding: 24px; }

  .announcements { padding: 40px 0; }
  .announcement-card { padding: 20px; }

  .stay-connected { padding: 40px 0; }
  .social-link { padding: 10px 16px; font-size: 0.9rem; }
}


/* ============================================================
   MINISTRY SUB-PAGES (shared components)
   ============================================================ */

    .info-card {
      background: white;
      border-left: 8px solid var(--gold);
      padding: 2rem;
      border-radius: 4px;
      box-shadow: 0 2px 8px var(--shadow-warm);
      margin-bottom: 2rem;
    }

    .info-card h3 {
      margin-top: 0;
    }

    .expect-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
    }

    .expect-item {
      background: white;
      padding: 2rem;
      border-radius: 4px;
      box-shadow: 0 2px 8px var(--shadow-warm);
    }

    .expect-item h4 {
      color: var(--blue-deep);
      margin-bottom: 0.75rem;
    }

    .sidebar-ministries {
      background: var(--blue-pale);
      padding: 2rem;
      border-radius: 4px;
      margin-top: 3rem;
    }

    .sidebar-ministries h3 {
      color: var(--blue-deep);
      margin-bottom: 1.5rem;
    }

    .sidebar-ministries ul {
      list-style: none;
    }

    .sidebar-ministries li {
      margin-bottom: 0.75rem;
    }

    .sidebar-ministries a {
      color: var(--blue);
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .sidebar-ministries a::before {
      content: '→';
      opacity: 0;
      transition: opacity 0.3s var(--ease-out);
    }

    .sidebar-ministries a:hover::before {
      opacity: 1;
    }

    .sidebar-ministries a:hover {
      color: var(--gold);
    }

    @media (max-width: 1024px) {
      h1 {
        font-size: 2.5rem;
      }

      h2 {
        font-size: 2rem;
      }

      .section-title {
        font-size: 2rem;
      }

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

    }

    @media (max-width: 768px) {


      .nav-dropdown.open > a::after {
        transform: rotate(180deg);
      }

      .page-header {
        padding: 80px 0 60px;
      }
      .page-header h1 { font-size: clamp(2rem, 6vw, 2.5rem); }

      h1 {
        font-size: 2rem;
      }

      h2 {
        font-size: 1.5rem;
      }

      .section-title {
        font-size: 1.5rem;
      }

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


      section {
        padding: 2.5rem 0;
      }

      .cta-links {
        flex-direction: column;
      }

      .cta-links a {
        width: 100%;
      }
    }

    @media (max-width: 480px) {

      h1 {
        font-size: 1.5rem;
      }

      h2 {
        font-size: 1.3rem;
      }

      .page-header {
        padding: 60px 0 40px;
      }
      .page-header h1 { font-size: 1.8rem; }

      .page-header p {
        font-size: 1rem;
      }

      .section-title {
        font-size: 1.3rem;
      }

      .expect-grid {
        gap: 1rem;
      }

      .expect-item {
        padding: 1.5rem;
      }

      .info-card {
        padding: 1.5rem;
      }

      .cta-section {
        padding: 2rem;
      }


    }


/* ============================================================
   FREE PANTRY PAGE
   ============================================================ */

    .help-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
    }

    .help-card {
      background: white;
      border-radius: 4px;
      padding: 2rem;
      border-top: 4px solid var(--gold);
      box-shadow: 0 2px 8px var(--shadow-warm);
    }

    .help-card h4 {
      color: var(--blue-deep);
    }

    .pantry-gallery {
      display: grid;
      grid-template-columns: 2fr 1fr;
      grid-template-rows: 1fr 1fr;
      gap: 16px;
      margin-top: 2rem;
    }

    .pantry-gallery-item {
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 16px var(--shadow-warm);
      transition: all 0.3s var(--ease-out);
      position: relative;
    }

    .pantry-gallery-item:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px var(--shadow-deep);
    }

    .pantry-gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .pantry-gallery-item.featured {
      grid-row: 1 / 3;
    }

    .pantry-gallery-caption {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 12px 16px;
      background: linear-gradient(transparent, rgba(27, 58, 107, 0.85));
      color: white;
      font-size: 0.85rem;
      font-weight: 500;
    }

    .pantry-gallery-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-top: 16px;
    }

    .pantry-gallery-row .pantry-gallery-item img {
      height: 220px;
    }

    @media (max-width: 768px) {
      .pantry-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
      }
      .pantry-gallery-item.featured {
        grid-row: auto;
      }
      .pantry-gallery-item.featured img {
        height: 350px;
      }
      .pantry-gallery-item img {
        height: 250px;
      }
      .pantry-gallery-row {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 480px) {
      .pantry-gallery-row {
        grid-template-columns: 1fr;
      }
      .pantry-gallery-item img,
      .pantry-gallery-item.featured img {
        height: 240px;
      }
      .pantry-gallery-row .pantry-gallery-item img {
        height: 200px;
      }
    }

    @media (max-width: 1024px) {
      h1 {
        font-size: 2.5rem;
      }

      h2 {
        font-size: 2rem;
      }

      .section-title {
        font-size: 2rem;
      }

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

    }

    @media (max-width: 768px) {


      .nav-dropdown.open > a::after {
        transform: rotate(180deg);
      }

      .page-header {
        padding: 80px 0 60px;
      }
      .page-header h1 { font-size: clamp(2rem, 6vw, 2.5rem); }

      h1 {
        font-size: 2rem;
      }

      h2 {
        font-size: 1.5rem;
      }

      .section-title {
        font-size: 1.5rem;
      }

      .info-grid,
      .help-grid {
        grid-template-columns: 1fr;
      }


      section {
        padding: 2.5rem 0;
      }

      .cta-links {
        flex-direction: column;
      }

      .cta-links a {
        width: 100%;
      }
    }

    @media (max-width: 480px) {

      h1 {
        font-size: 1.5rem;
      }

      h2 {
        font-size: 1.3rem;
      }

      .page-header {
        padding: 60px 0 40px;
      }
      .page-header h1 { font-size: 1.8rem; }

      .page-header p {
        font-size: 1rem;
      }

      .section-title {
        font-size: 1.3rem;
      }

      .info-grid,
      .help-grid {
        gap: 1rem;
      }

      .help-card {
        padding: 1.5rem;
      }

      .info-card {
        padding: 1.5rem;
      }

      .cta-section {
        padding: 2rem;
      }


    }


/* ============================================================
   AA MEETINGS PAGE
   ============================================================ */

    .schedule-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 2rem;
      background: white;
      box-shadow: 0 2px 8px var(--shadow-warm);
    }

    .schedule-table thead {
      background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-lake) 100%);
      color: white;
    }

    .schedule-table th {
      padding: 1rem;
      text-align: left;
      font-weight: 600;
    }

    .schedule-table td {
      padding: 1rem;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      color: var(--text-body);
    }

    .schedule-table tbody tr:hover {
      background: var(--blue-pale);
    }

    @media (max-width: 768px) {


      .nav-dropdown.open > a::after {
        transform: rotate(180deg);
      }

      .page-header {
        padding: 80px 0 60px;
      }
      .page-header h1 { font-size: clamp(2rem, 6vw, 2.5rem); }

      h1 {
        font-size: 2rem;
      }

      h2 {
        font-size: 1.5rem;
      }

      .section-title {
        font-size: 1.5rem;
      }

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


      section {
        padding: 2.5rem 0;
      }

      .cta-links {
        flex-direction: column;
      }

      .cta-links a {
        width: 100%;
      }

      .schedule-table {
        font-size: 0.9rem;
      }

      .schedule-table th,
      .schedule-table td {
        padding: 0.75rem;
      }
    }

    @media (max-width: 480px) {

      h1 {
        font-size: 1.5rem;
      }

      h2 {
        font-size: 1.3rem;
      }

      .page-header {
        padding: 60px 0 40px;
      }
      .page-header h1 { font-size: 1.8rem; }

      .page-header p {
        font-size: 1rem;
      }

      .section-title {
        font-size: 1.3rem;
      }

      .info-grid {
        gap: 1rem;
      }

      .info-card {
        padding: 1.5rem;
      }

      .cta-section {
        padding: 2rem;
      }


      .schedule-table {
        font-size: 0.8rem;
      }

      .schedule-table th,
      .schedule-table td {
        padding: 0.5rem;
      }
    }


/* ==================== EVENTS STYLES ==================== */

/**
 * Events Styles — Lake Palestine UMC Theme
 *
 * Covers:
 * - Single event page (single-lpumc_event.php)
 * - Events archive (archive-lpumc_event.php)
 * - Combined homepage feed (template-parts/combined-feed.php)
 *
 * Assumes global CSS variables from the main stylesheet are available.
 */


/* ============================================================
   SINGLE EVENT PAGE
   ============================================================ */

.event-content {
    padding: 60px 0 80px;
}
.event-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}
.event-main {
    min-width: 0;
}
.event-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-body);
}
.event-body p {
    margin-bottom: 1.25em;
}
.event-body h2,
.event-body h3 {
    font-family: var(--font-display);
    color: var(--text-dark);
    margin-top: 2em;
    margin-bottom: 0.75em;
}
.event-body img {
    border-radius: 8px;
    margin: 1.5em 0;
}

/* Past event notice */
.event-past-notice {
    background: var(--cream);
    border-left: 4px solid var(--gold);
    padding: 16px 20px;
    margin-bottom: 32px;
    border-radius: 0 6px 6px 0;
    font-size: 0.95rem;
    color: var(--text-body);
}
.event-past-notice a {
    color: var(--gold-dark);
    font-weight: 600;
}
.event-past-notice a:hover {
    text-decoration: underline;
}

/* Sidebar details card */
.event-sidebar {
    position: sticky;
    top: 100px;
}
.event-details-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 10px 40px var(--shadow-warm);
    border: 1px solid var(--warm-gray);
}
.event-details-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gold);
}
.event-detail-row {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--warm-gray);
}
.event-detail-row:last-child {
    border-bottom: none;
}
.event-detail-row svg {
    flex-shrink: 0;
    color: var(--gold-dark);
    margin-top: 2px;
}
.event-detail-row div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.event-detail-row strong {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
}
.event-detail-row span {
    font-size: 0.95rem;
    color: var(--text-body);
}
.event-recurring-badge {
    display: inline-block;
    background: var(--blue-pale);
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    margin-top: 4px;
    width: fit-content;
}
.event-map-link {
    color: var(--blue) !important;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 4px;
}
.event-map-link:hover {
    text-decoration: underline;
}

/* Related events */
.related-events {
    padding: 80px 0;
    background: var(--cream);
    border-top: 8px solid var(--gold);
}
.related-events .events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.related-events .event-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 20px var(--shadow-warm);
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
    color: inherit;
}
.related-events .event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow-deep);
}
.related-events .event-card-date {
    text-align: center;
    min-width: 56px;
}
.related-events .event-card-month {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dark);
}
.related-events .event-card-day {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}
.related-events .event-card-info h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.related-events .event-card-time {
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* ============================================================
   EVENTS ARCHIVE PAGE
   ============================================================ */

/* Upcoming events — uses .events-grid and .event-card from news page styles */

/* Date block inside archive event cards */
.event-card-date-block {
    text-align: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gold);
}
.event-card-date-block .event-card-month {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-dark);
}
.event-card-date-block .event-card-day {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
}

/* Archive event cards are links */
a.event-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Past events section */
.past-events {
    padding: 60px 0 80px;
    background: var(--cream);
    border-top: 8px solid var(--gold);
}
.past-events-grid {
    max-width: 800px;
    margin: 0 auto;
}
.past-event-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--warm-gray);
    transition: background 0.2s ease;
    text-decoration: none;
    color: inherit;
}
.past-event-row:hover {
    background: rgba(212, 168, 67, 0.08);
}
.past-event-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 100px;
}
.past-event-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}
.past-event-time {
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* ============================================================
   COMBINED HOMEPAGE FEED
   ============================================================ */

.combined-feed {
    padding: 80px 0;
    background: var(--warm-white);
}
.combined-feed-header {
    text-align: center;
    margin-bottom: 60px;
}

.combined-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Feed card base */
.feed-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-warm);
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
    color: inherit;
    position: relative;
}
.feed-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-deep);
}

/* Type badges */
.feed-card-type {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gold);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 12px;
    border-radius: 4px;
    z-index: 2;
}
.feed-card-type--news {
    background: var(--blue);
}

/* Image area */
.feed-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.feed-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.feed-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease-out);
}
.feed-card:hover .feed-card-image img {
    transform: scale(1.05);
}

/* Date badge overlay on image */
.feed-card-date-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: white;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 56px;
}
.feed-date-month {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-dark);
}
.feed-date-day {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

/* Date block (no image) */
.feed-card-date-block {
    text-align: center;
    padding: 32px 24px 16px;
    border-bottom: 2px solid var(--gold);
    margin: 0 24px;
}

/* Card body */
.feed-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.feed-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}
.feed-card-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 8px;
}
.feed-recurring-badge {
    display: inline-block;
    background: var(--blue-pale);
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    width: fit-content;
}
.feed-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-top: auto;
}

/* Action buttons */
.combined-feed-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 48px;
}
.btn-secondary {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid var(--gold);
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-secondary:hover {
    background: var(--gold);
    color: white;
}


/* ============================================================
   EVENTS RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .event-layout {
        grid-template-columns: 1fr;
    }
    .event-sidebar {
        position: static;
    }
    .related-events .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .combined-feed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .related-events .events-grid {
        grid-template-columns: 1fr;
    }
    .combined-feed-grid {
        grid-template-columns: 1fr;
    }
    .past-event-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    .past-event-date {
        min-width: auto;
    }
    .combined-feed-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    .event-details-card {
        padding: 24px;
    }
    .event-content {
        padding: 40px 0 60px;
    }
}


/* ==================== WORDPRESS CORE ==================== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--cream);
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}
.breadcrumbs li + li::before {
  content: "\203A";
  margin: 0 8px;
  color: var(--warm-gray);
}
.breadcrumbs a {
  color: var(--blue);
  transition: color 0.2s;
}
.breadcrumbs a:hover {
  color: var(--gold-dark);
}

/* Form Messages */
.form-message {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.form-success {
  background: #e8f5e9;
  border: 1px solid #4caf50;
  color: #2e7d32;
}
.form-error {
  background: #fce4ec;
  border: 1px solid #e57373;
  color: #c62828;
}
.form-message p {
  margin: 0;
}
.form-privacy {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.form-privacy a {
  color: var(--blue);
}

/* Page Header (interior pages) */
.page-header {
  position: relative;
  padding: 80px 0 60px;
  background: var(--blue-deep);
  color: white;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27, 58, 107, 0.85);
  z-index: 1;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--gold);
  z-index: 2;
}
.page-header .container {
  position: relative;
  z-index: 3;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  margin-bottom: 12px;
}
.page-header p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}
.page-header .section-label {
  color: var(--gold-light);
}

/* WordPress alignment classes */
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }

/* WordPress image captions */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--text-muted); padding: 8px 0; text-align: center; }

/* WordPress gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.gallery-item { margin: 0; }
.gallery-item img { border-radius: 8px; }

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--gold);
  color: white;
  padding: 12px 24px;
  z-index: 9999;
  font-weight: 600;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* ==========================================================================
   PAGE TEMPLATE STYLES
   --------------------------------------------------------------------------
   Layout/component CSS used by page-*.php templates (ministries, contact,
   giving, privacy, about, etc.). Previously these selectors only lived in
   the inline <style> blocks of the static HTML prototypes; ported here so
   the WordPress templates render correctly.
   ========================================================================== */

/* Section backgrounds */
.section-cream { background: var(--cream); padding: 80px 0; }
.section-white { background: var(--warm-white); padding: 80px 0; }
.section-blue  { background: var(--blue-deep); color: white; padding: 80px 0; border-top: 8px solid var(--gold); }
.section       { padding: 80px 0; }

/* Hero page subtitle (used on ministry-specific pages) */
.page-subtitle,
.page-header .subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

/* Info card — primary content block on ministry pages */
.info-card {
  background: white;
  border-left: 8px solid var(--gold);
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px var(--shadow-warm);
  margin-bottom: 2rem;
}
.info-card h3,
.info-card h4 { margin-top: 0; margin-bottom: 0.75rem; }
.info-card p:last-child { margin-bottom: 0; }
.info-card ul { margin: 0.5rem 0 0 1.5rem; }
.info-card ul li { margin-bottom: 0.5rem; }

/* Info grid — responsive grid for card rows */
.info-grid {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}
.info-grid-2 { grid-template-columns: repeat(2, 1fr); }
.info-grid-3 { grid-template-columns: repeat(3, 1fr); }
.info-grid-4 { grid-template-columns: repeat(4, 1fr); }
.info-grid-item {
  background: white;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px var(--shadow-warm);
}
.info-grid-item h3,
.info-grid-item h4 { margin-top: 0; margin-bottom: 0.5rem; color: var(--blue-deep); }
.info-grid-item p:last-child { margin-bottom: 0; }
@media (max-width: 992px) {
  .info-grid-3, .info-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .info-grid-2, .info-grid-3, .info-grid-4 { grid-template-columns: 1fr; }
}

/* Support box — callout */
.support-box {
  background: var(--blue-pale);
  border-left: 4px solid var(--blue);
  padding: 1.5rem 2rem;
  border-radius: 4px;
  margin: 2rem 0;
}
.support-box h3,
.support-box h4 { margin-top: 0; color: var(--blue-deep); }
.support-box p:last-child { margin-bottom: 0; }

/* Highlight box — gold accent quotation */
.highlight-box {
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.08), rgba(212, 168, 67, 0.04));
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.1rem;
}

/* Expect grid (Bible Study, etc.) */
.expect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.expect-item {
  background: white;
  padding: 1.75rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px var(--shadow-warm);
}
.expect-item h3,
.expect-item h4 { color: var(--blue-deep); margin-bottom: 0.75rem; margin-top: 0; }

/* Buttons used by page templates */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  line-height: 1.2;
}
.btn.btn-primary {
  background: var(--gold);
  color: white;
  border-radius: 50px;
  padding: 0.95rem 2rem;
}
.btn.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 168, 67, 0.3);
  color: white;
}
.btn.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 50px;
  padding: 0.85rem 2rem;
}
.btn.btn-outline:hover {
  background: var(--blue);
  color: white;
}
.btn.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
}
.btn.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* CTA buttons row */
.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* CTA section (gradient block at bottom of pages) */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-lake) 100%);
  color: white;
}
.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 1.5rem;
}
.cta-section .cta-buttons {
  justify-content: center;
}

/* Two-column content + sidebar layout */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.content-with-sidebar .content-primary {
  min-width: 0;
}
@media (max-width: 900px) {
  .content-with-sidebar { grid-template-columns: 1fr; gap: 2rem; }
}

/* Sidebar of related ministry links */
.sidebar-ministries {
  background: var(--blue-pale);
  padding: 1.75rem;
  border-radius: 6px;
  border-top: 4px solid var(--gold);
}
.sidebar-ministries h3 {
  color: var(--blue-deep);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.15rem;
}
.sidebar-ministries ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-ministries li {
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(43, 87, 151, 0.1);
  padding-bottom: 0.5rem;
}
.sidebar-ministries li:last-child {
  border-bottom: none;
}
.sidebar-ministries a {
  color: var(--blue);
  font-weight: 500;
  text-decoration: none;
  display: block;
}
.sidebar-ministries a:hover {
  color: var(--gold-dark);
}

/* Help/donate cards (Pantry, etc.) */
.help-card {
  background: white;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px var(--shadow-warm);
  border-top: 4px solid var(--gold);
}
.help-card h3,
.help-card h4 { color: var(--blue-deep); margin-top: 0; }

/* Schedule table (AA Meetings) */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow-warm);
  margin: 1.5rem 0;
}
.schedule-table th,
.schedule-table td {
  text-align: left;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--warm-gray);
}
.schedule-table th {
  background: var(--blue-deep);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}
.schedule-table tbody tr:last-child td {
  border-bottom: none;
}
.schedule-table tbody tr:hover {
  background: var(--cream);
}

/* Pantry photo gallery */
.pantry-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}
.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .gallery-row { grid-template-columns: 1fr; }
}
.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow-warm);
  background: white;
}
.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.gallery-featured img {
  height: 320px;
}
.gallery-caption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

/* Mail-In Giving card */
.mailin-card {
  background: white;
  padding: 2.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px var(--shadow-warm);
  border-left: 8px solid var(--blue);
  max-width: 600px;
  margin: 0 auto;
}
.mailin-card h3 { color: var(--blue-deep); margin-top: 0; }
.mailin-card address {
  font-style: normal;
  background: var(--cream);
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
  font-weight: 500;
}

/* Giving cards row (already partly defined elsewhere, ensure base) */
.giving-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}
@media (max-width: 900px) {
  .giving-grid { grid-template-columns: 1fr; }
}
.giving-card {
  background: white;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 4px 16px var(--shadow-warm);
  text-align: center;
}
.giving-card-icon {
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}
.giving-card h3 { color: var(--blue-deep); margin-bottom: 0.75rem; }
.text-give-steps {
  text-align: left;
  margin: 1rem 0 1.5rem 1.5rem;
}
.text-give-steps li { margin-bottom: 0.5rem; }

/* App store links (kept generic in case re-added) */
.app-links {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.btn-app {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: var(--blue-deep);
  color: white;
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
}
.btn-app:hover {
  background: var(--blue);
  color: white;
}

/* Generic page-template subtitle for sub-headers inside sections */
.subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* Visit Us details on Contact page */
.visit-details {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.visit-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.visit-detail-icon {
  color: var(--gold);
  flex-shrink: 0;
}
.visit-detail-content h3,
.visit-detail-text h3 {
  margin: 0 0 0.25rem;
  color: var(--blue-deep);
  font-size: 1.1rem;
}
.visit-detail-content p,
.visit-detail-text p { margin: 0; }

/* Recurring events grid (News & Events page) */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.event-card {
  background: white;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px var(--shadow-warm);
  border-top: 4px solid var(--gold);
}
.event-card h3 { color: var(--blue-deep); margin-top: 0; margin-bottom: 0.5rem; }
.event-frequency { color: var(--gold-dark); font-weight: 600; font-size: 0.9rem; display: block; }
.event-time { color: var(--text-dark); font-weight: 500; display: block; margin-top: 0.25rem; }
.event-badge {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* Announcement cards */
.announcements { padding: 80px 0; background: var(--cream); }
.announcements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.announcement-card {
  background: white;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px var(--shadow-warm);
  border-left: 4px solid var(--blue);
}
.announcement-card h3 { color: var(--blue-deep); margin-top: 0; margin-bottom: 0.75rem; }
.announcement-date { color: var(--text-muted); font-size: 0.85rem; margin-top: 1rem; display: block; }
.announcement-card--event { border-left-color: var(--gold); }
.announcement-card--news  { border-left-color: var(--blue); }
.announcement-type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  background: var(--blue);
  color: white;
}
.announcement-card--event .announcement-type { background: var(--gold); }
.announcement-meta { color: var(--gold-dark); font-weight: 600; font-size: 0.9rem; margin: 0 0 0.5rem; }

/* Force breadcrumb list reset (override default ol styles) */
.breadcrumbs ol,
.breadcrumbs ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.breadcrumbs li {
  list-style: none !important;
  display: inline-flex;
  align-items: center;
}
.breadcrumbs li::marker { content: none; }
.breadcrumbs li + li::before {
  content: '›';
  color: var(--text-muted);
  margin-right: 0.4rem;
  font-size: 0.85rem;
}
.breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumbs a:hover { color: var(--gold-dark); }
.breadcrumbs span[aria-current="page"] { color: var(--text-muted); }


/* ==========================================================================
   FOOTER LOGO — fix warped aspect ratio
   ========================================================================== */
.footer-brand img {
  width: auto !important;
  height: auto !important;
  max-width: 180px;
  max-height: 80px;
  display: block;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}


/* ==========================================================================
   FAQ SECTION — white text on the dark blue background
   ========================================================================== */
.faq-section h2,
.faq-section h3,
.faq-section .section-title,
.faq-section .section-subtitle {
  color: white !important;
}
.faq-section .container > h2,
.faq-section .container > .section-title {
  text-align: center;
}

.faq-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: background 0.25s ease;
}
.faq-item.open {
  background: rgba(255, 255, 255, 0.1);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: white;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 1.1rem 3rem 1.1rem 1.5rem;
  cursor: pointer;
  position: relative;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold-light);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-question::after {
  content: '−';
}
.faq-question:hover { background: rgba(255, 255, 255, 0.05); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: rgba(255, 255, 255, 0.92);
}
.faq-item.open .faq-answer {
  max-height: 800px;
  padding: 0 1.5rem 1.25rem;
}
.faq-answer a {
  color: var(--gold-light);
  text-decoration: underline;
}


/* ==========================================================================
   SERMONS / WATCH PAGE — polished styling
   ========================================================================== */
.featured-sermon {
  padding: 64px 0;
  background: var(--cream);
}
.featured-sermon .featured-video {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
@media (max-width: 900px) {
  .featured-sermon .featured-video { grid-template-columns: 1fr; }
}
.featured-sermon .video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow-deep);
}
.featured-sermon .video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.featured-sermon .featured-info {
  padding: 1rem 0.5rem;
}
.featured-sermon .featured-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.featured-sermon .featured-info p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.sermons-section {
  padding: 80px 0;
  background: var(--warm-white);
}
.sermons-section .sermons-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.sermons-section .sermons-header h2,
.sermons-section .sermons-header .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
}

.sermon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 992px) {
  .sermon-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 640px) {
  .sermon-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.sermon-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px var(--shadow-warm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.sermon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px var(--shadow-deep);
}

.sermon-thumbnail {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.sermon-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.sermon-card:hover .sermon-thumbnail img {
  transform: scale(1.04);
}
.sermon-thumbnail .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.0);
  color: white;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
  pointer-events: none;
}
.sermon-card:hover .play-overlay {
  opacity: 1;
  background: rgba(27, 58, 107, 0.55);
}
.sermon-thumbnail .play-overlay svg {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.sermon-info {
  padding: 1.1rem 1.25rem 1.4rem;
}
.sermon-info .sermon-date {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}
.sermon-info .sermon-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-deep);
  line-height: 1.3;
  margin: 0;
}


/* ==========================================================================
   MINISTRIES LANDING PAGE — light-background ministry-card variant
   ========================================================================== */
.section-cream .ministry-card,
.ministries-section.section-cream .ministry-card,
.section-white .ministry-card {
  background: white;
  border: 1px solid rgba(43, 87, 151, 0.1);
  box-shadow: 0 4px 20px var(--shadow-warm);
  text-align: center;
  padding: 2.5rem 1.75rem;
  border-radius: 12px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
}
.section-cream .ministry-card:hover,
.section-white .ministry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px var(--shadow-deep);
}
.section-cream .ministry-card .ministry-icon,
.section-white .ministry-card .ministry-icon {
  background: var(--blue-deep);
  color: white;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.section-cream .ministry-card h3,
.section-white .ministry-card h3 {
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.section-cream .ministry-card p,
.section-white .ministry-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}
.section-cream .ministry-card .ministry-schedule,
.section-white .ministry-card .ministry-schedule {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  flex-grow: 0;
}
.section-cream .ministry-card .ministry-link,
.section-white .ministry-card .ministry-link {
  display: inline-block;
  margin-top: auto;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.section-cream .ministry-card .ministry-link:hover,
.section-white .ministry-card .ministry-link:hover {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

.ministries-section .ministries-grid,
.section-cream .ministries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 992px) {
  .ministries-section .ministries-grid,
  .section-cream .ministries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .ministries-section .ministries-grid,
  .section-cream .ministries-grid {
    grid-template-columns: 1fr;
  }
}

/* End of page-template additions */


/* ==========================================================================
   NEWS & EVENTS PAGE — 1:1 featured image on announcement cards
   ========================================================================== */
.announcement-card-image {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin: -1.5rem -1.5rem 1.25rem;
  background: var(--blue-pale);
}
.announcement-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease-out);
}
.announcement-card:hover .announcement-card-image img {
  transform: scale(1.04);
}

/* Make sure the announcement-card grid heading is dark on cream background */
.announcements .announcements-header h2,
.announcements .announcements-header .section-title,
.announcements > .container > h2,
section.announcements h2 {
  color: var(--blue-deep) !important;
}

/* Announcement card title — dark on white card */
.announcement-card h3,
.announcement-card h3 a {
  color: var(--blue-deep) !important;
  text-decoration: none;
}
.announcement-card h3 a:hover {
  color: var(--gold-dark) !important;
}


/* ==========================================================================
   CTA SECTION — buttons on dark blue gradient background
   Override .btn.btn-outline (which is blue-on-transparent by default) so the
   button is visible against the blue gradient.
   ========================================================================== */
.cta-section .btn.btn-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.6);
  background: transparent;
}
.cta-section .btn.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  color: white;
}
.cta-section .btn.btn-primary {
  background: var(--gold);
  color: white;
}
.cta-section .btn.btn-primary:hover {
  background: var(--gold-dark);
  color: white;
}
.cta-section h2 { color: white; }
.cta-section p { color: rgba(255, 255, 255, 0.9); }

/* End additions */


/* ==========================================================================
   HOME PAGE MINISTRIES STRIP — force 4-up layout (4x1 desktop, 2x2 tablet, 1x4 mobile)
   The home-page .ministries section has 4 cards. The generic .ministries-grid
   rule at line 2508 uses repeat(3, 1fr), which causes the awkward 3+1 layout.
   Use the more-specific .ministries .ministries-grid selector to override.
   ========================================================================== */
.ministries .ministries-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px;
}
@media (max-width: 1024px) {
  .ministries .ministries-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 640px) {
  .ministries .ministries-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ==========================================================================
   CONTACT PAGE — Visit Us details grid (force 4x1 / 2x2 / 1x4 like ministries)
   ========================================================================== */
.visit-details {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.5rem !important;
  max-width: 1100px;
  margin: 1.5rem auto;
}
@media (max-width: 1024px) {
  .visit-details {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 640px) {
  .visit-details {
    grid-template-columns: 1fr !important;
  }
}
.visit-detail {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}


/* ==========================================================================
   CONTACT FORM 7 — styled to match the site
   Targets the default markup CF7 generates: .wpcf7 wrapper, .wpcf7-form,
   labels, inputs/textareas, submit button, validation/response messages.
   ========================================================================== */

.wpcf7 {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 16px var(--shadow-warm);
  max-width: 100%;
}
.wpcf7-form > p {
  margin: 0 0 1.1rem;
}
.wpcf7-form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  font-family: var(--font-body);
}
.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
}

/* Inputs & textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="time"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  display: block;
  margin-top: 0.35rem;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--cream);
  border: 1.5px solid var(--warm-gray);
  border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}
.wpcf7-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  outline: none;
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(43, 87, 151, 0.15);
}
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

/* Submit button — match .btn.btn-primary */
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
  display: inline-block;
  padding: 0.95rem 2rem;
  background: var(--gold);
  color: white;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-out);
  margin-top: 0.5rem;
}
.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 168, 67, 0.3);
}
.wpcf7-form input[type="submit"]:active {
  transform: translateY(0);
}

/* Required indicator */
.wpcf7-form label .wpcf7-not-valid-tip,
.wpcf7-not-valid-tip {
  color: #c5283d;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.35rem;
  display: block;
}

/* Field with validation error — red border */
.wpcf7-form .wpcf7-not-valid {
  border-color: #c5283d !important;
  background: #fdf2f4 !important;
}

/* Response messages (sent / error) */
.wpcf7-response-output {
  margin: 1.25rem 0 0 !important;
  padding: 0.85rem 1.25rem !important;
  border-radius: 4px !important;
  font-size: 0.95rem !important;
  border-width: 0 !important;
  border-left: 4px solid currentColor !important;
}
.wpcf7 form.sent .wpcf7-response-output {
  background: #e8f5e9 !important;
  color: #2e7d32 !important;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  background: #fdf2f4 !important;
  color: #c5283d !important;
}

/* Loading spinner */
.wpcf7-spinner {
  background-color: var(--gold) !important;
}

/* Two-column field rows when CF7 form has nested .row markup */
.wpcf7-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .wpcf7-form .row { grid-template-columns: 1fr; }
}

/* Small visual asterisk for required fields if you mark them in CF7 (e.g. "Name *") */
.wpcf7-form label .required,
.wpcf7-form .required {
  color: var(--gold-dark);
  margin-left: 2px;
}

/* Honeypot — keep hidden no matter what CF7 plugin variant adds */
.wpcf7-form .lpumc-hp,
.wpcf7-form input[name="honeypot"],
.wpcf7-form .hp-field {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
}

/* ==================== FAQ <details>/<summary> ==================== */
/* Native HTML disclosure works without JS. The legacy .faq-item.open
   class rules above (button-based) are kept for backward compatibility. */
details.faq-item {
  display: block;
}
details.faq-item > summary.faq-question {
  cursor: pointer;
  list-style: none;
  position: relative;
}
details.faq-item > summary.faq-question::-webkit-details-marker { display: none; }
details.faq-item > summary.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.2s ease;
}
details.faq-item[open] > summary.faq-question::after {
  content: '\2013'; /* en dash */
  transform: translateY(-50%) rotate(0);
}
details.faq-item > .faq-answer {
  max-height: none;          /* native open already controls visibility */
  overflow: visible;
  padding: 0 20px 20px;
}
details.faq-item > .faq-answer p { margin: 0 0 0.75em; }
details.faq-item > .faq-answer p:last-child { margin-bottom: 0; }
details.faq-item > summary.faq-question:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ==================== PRINT STYLES ==================== */
@media print {
  /* Hide chrome that has no business on paper */
  .top-bar,
  .navbar,
  .nav-toggle,
  .breadcrumbs,
  .footer,
  .skip-link,
  .cta-section,
  .hero-bg,
  .hero-logo-scene,
  .hero-actions,
  iframe,
  .tithely-give-btn,
  .play-overlay,
  .scroll-indicator {
    display: none !important;
  }

  /* Expand layout for paper */
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
    line-height: 1.4;
  }
  .container { max-width: 100% !important; width: auto !important; padding: 0 !important; }
  .page-header,
  .section,
  .section-white,
  .section-cream,
  .section-blue,
  .hero,
  .announcements,
  .events,
  .ministries,
  .faq-section,
  .mission-section,
  .beliefs-section,
  .history-section {
    background: #fff !important;
    color: #000 !important;
    padding: 12pt 0 !important;
    page-break-inside: avoid;
  }
  .page-header h1,
  h1, h2, h3, h4 { color: #000 !important; }
  .section-label { color: #444 !important; }

  /* Expand link URLs in print so paper readers can find them */
  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #444;
  }
  /* Don't expand internal anchors, mailto, or tel */
  a[href^="#"]:after,
  a[href^="mailto:"]:after,
  a[href^="tel:"]:after { content: ""; }

  /* Make sure the FAQ all opens for print */
  details.faq-item { display: block !important; }
  details.faq-item > .faq-answer { display: block !important; }

  /* Avoid orphaned headings */
  h1, h2, h3 { page-break-after: avoid; }
  img, table, blockquote { page-break-inside: avoid; }
}
