/* ========================================
   Stockdale Church of Christ — Styles
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Performance */
img, iframe {
  content-visibility: auto;
}

/* Accessibility & touch */
@media (pointer: coarse) {
  a, button {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Prevent horizontal overflow */
html, body {
  overflow-x: hidden;
}

/* Smooth scrolling only when no preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* Type scale */
  --text-md: 1.05rem;
  --text-lg: clamp(1.2rem, 2vw, 1.35rem);
  --text-xl: clamp(1.5rem, 3vw, 1.85rem);
  --text-2xl: clamp(1.75rem, 4vw, 2.5rem);
  --text-3xl: clamp(2rem, 5vw, 3.5rem);
  /* Spacing */
  --section-pad: clamp(4rem, 9vw, 6.5rem);
  --primary: #1a365d;
  --primary-light: #2a5a8c;
  --primary-dark: #0f1b2d;
  --accent: #c9a84c;
  --accent-light: #d4b965;
  --accent-text: #8a6d2f; /* gold dark enough for small text on light backgrounds */
  --white: #ffffff;
  --off-white: #f8f6f2;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--gray-900);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-text);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  gap: 0.5rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--gray-900);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--gray-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-nav {
  background: transparent;
  color: var(--white);
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-nav:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

.btn.btn-nav.btn-nav-accent {
  background: var(--accent);
  color: var(--gray-900);
  border-color: var(--accent);
}

.btn.btn-nav.btn-nav-accent:hover {
  background: var(--accent-light);
  color: var(--gray-900);
  border-color: var(--accent-light);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 27, 45, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 27, 45, 0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  text-decoration: none;
}

.logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.25rem;
}

.nav-menu a {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-menu a:hover {
  color: var(--accent-light);
  background: rgba(255,255,255,0.1);
}

/* --- Nav Dropdown --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-arrow {
  font-size: 0.65em;
  margin-left: 0.15em;
  vertical-align: middle;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primary);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  list-style: none;
  padding: 0.5rem 0;
  min-width: 200px;
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  white-space: nowrap;
  color: rgba(255,255,255,0.85);
}

.nav-dropdown-menu li a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--accent-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary-dark) url('../images/hero-worship.webp') center / cover no-repeat;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

/* --- Reusable slideshow (crossfade) --- */
.slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.slideshow .slide.active {
  opacity: 1;
}

.slideshow .slide:only-child {
  position: relative;
  opacity: 1;
}

.slideshow img.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.place-media img.slide {
  object-position: center;
}

.slideshow-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}

.slideshow-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.slideshow-dots button.active {
  background: var(--accent);
  width: 22px;
  border-radius: 5px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 36, 64, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}

.hero h1 {
  font-size: var(--text-3xl);
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero h1 strong {
  display: block;
  font-size: 1.15em;
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Staggered hero entrance */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-location,
.hero h1,
.hero-subtitle,
.hero-times,
.hero-cta {
  animation: heroRise 0.5s ease-out both;
}

.hero h1 { animation-delay: 0.08s; }
.hero-subtitle { animation-delay: 0.16s; }
.hero-times { animation-delay: 0.24s; }
.hero-cta { animation-delay: 0.32s; }

/* --- Hero Times (inline block above CTA) --- */
.hero-times {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 1rem 0.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-time-item {
  text-align: center;
  padding: 0.25rem 1.25rem;
}

.hero-time-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.15rem;
}

.hero-time-value {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

.hero-time-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.hero-location {
  margin-bottom: 0.75rem;
}

.hero-location a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition);
}

.hero-location a:hover {
  color: var(--accent-light);
}

.hero-location-icon {
  font-size: 0.9rem;
}


/* --- Sections --- */
.section {
  padding: var(--section-pad) 0;
}

/* Alternating section backgrounds */
.section-alt {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-text);
  background: rgba(201, 168, 76, 0.12);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: var(--text-2xl);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: var(--text-md);
  color: var(--gray-600);
  line-height: 1.7;
}

.section-header h2 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.section-header h2 a:hover {
  color: var(--accent-text);
}

.section-more {
  margin-top: 2rem;
  text-align: center;
}

/* --- Visitor Section --- */
.visitor-section {
}

.visitor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.visitor-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.visitor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.visitor-card-img {
  height: 200px;
  overflow: hidden;
}

.visitor-card h3 {
  padding: 1.25rem 1.5rem 0.5rem;
  font-size: 1.2rem;
}

.visitor-card p {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* --- Line Icons --- */
.expect-card-icon,
.ministry-tile-icon,
.expect-footer-icon,
.contact-method-icon {
  color: var(--accent);
}

.info-icon {
  color: var(--primary);
}

.expect-card-icon svg,
.ministry-tile-icon svg,
.expect-footer-icon svg,
.contact-method-icon svg,
.info-icon svg {
  display: inline-block;
  vertical-align: middle;
}

/* --- Image Placeholders --- */
.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 0.85rem;
  font-style: italic;
}

.img-placeholder-lg {
  min-height: 400px;
  border-radius: var(--radius-xl);
}

.img-placeholder-portrait {
  min-height: 280px;
  aspect-ratio: 3/4;
}

.img-placeholder-video {
  min-height: 350px;
  max-width: 700px;
  margin: 0 auto 2rem;
  border-radius: var(--radius-xl);
}

/* --- Get Started / Map Section --- */
.get-started-section {
}

.get-started-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 400px;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.contact-info-card {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.info-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.info-item a {
  color: var(--primary);
  font-weight: 500;
}

.info-item a:hover {
  color: var(--accent-text);
}

.service-times-compact {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.service-times-compact h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.service-times-compact ul {
  list-style: none;
}

.service-times-compact li {
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.btn-calendar {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}

.btn-calendar:hover {
  background: var(--accent);
  color: var(--gray-900);
}

.calendar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.calendar-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  z-index: 10;
  min-width: 160px;
  overflow: hidden;
}

.calendar-dropdown.open {
  display: flex;
  flex-direction: column;
}

.calendar-dropdown button {
  background: none;
  border: none;
  padding: 0.6rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--gray-700);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.calendar-dropdown button:hover {
  background: var(--off-white);
  color: var(--primary);
}

/* --- Nearby Cities --- */
.nearby-cities {
  margin-top: 2.5rem;
}

.nearby-cities summary {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  padding: 0.75rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nearby-cities summary::before {
  content: '▸';
  transition: transform var(--transition);
  display: inline-block;
}

.nearby-cities[open] summary::before {
  transform: rotate(90deg);
}

.nearby-cities summary::-webkit-details-marker {
  display: none;
}

.nearby-cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
  padding: 1rem 0;
}

.city-distance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: var(--white);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: background var(--transition), box-shadow var(--transition);
  font-size: 0.85rem;
  color: var(--gray-700);
}

.city-distance strong {
  color: var(--gray-800);
}

.city-distance span {
  color: var(--gray-500);
  font-size: 0.8rem;
  white-space: nowrap;
}

.city-distance:hover {
  background: var(--primary);
  box-shadow: var(--shadow);
}

.city-distance:hover strong,
.city-distance:hover span {
  color: var(--white);
}

/* --- About Section --- */
.about-section {
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* --- About Landing Page --- */
.about-landing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.about-landing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  border-top: 4px solid var(--accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-landing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg, 0 10px 25px rgba(0,0,0,0.1));
}

.about-landing-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.about-landing-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.about-landing-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
}

.about-landing-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--accent-text);
  font-weight: 600;
  font-size: 0.95rem;
}

.about-landing-card:hover .about-landing-link {
  text-decoration: underline;
}

/* (beliefs-home-layout removed — merged into about-home section) */

/* --- About Page: Beliefs Grid --- */
.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.belief-card {
  position: relative;
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 2rem 2rem 1rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}


.belief-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg, 0 10px 25px rgba(0,0,0,0.1));
}

.belief-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.belief-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.8;
  flex: 1;
}

.belief-card p strong {
  color: var(--primary-dark, var(--primary));
}

.belief-cite {
  display: block;
  font-style: italic;
  font-size: 0.8rem;
  color: var(--accent-text);
  padding-top: 0.75rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  letter-spacing: 0.01em;
}

/* --- About Page: Worship Grid --- */

/* --- About Page: What to Expect --- */
.expect-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.expect-intro p {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.expect-intro-lead {
  font-weight: 600;
  color: var(--primary) !important;
  font-size: 1.15rem !important;
  margin-top: 1.5rem !important;
}

.expect-photo {
  position: relative;
  max-width: 760px;
  margin: 0 auto 3rem;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.expect-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expect-photo img.slide {
  object-position: center 68%;
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.expect-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.expect-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg, 0 10px 25px rgba(0,0,0,0.1));
}

.expect-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.expect-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.expect-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.8;
  flex: 1;
}

.expect-highlight {
  font-style: italic;
  color: var(--primary) !important;
  font-weight: 500;
  margin-top: 0.75rem;
  flex: 0 !important;
}

.expect-card-btn {
  display: inline-block;
  margin-top: 1rem;
  align-self: flex-start;
}

.expect-card .belief-cite {
  margin-top: 1rem;
}

.expect-footer {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 1rem;
}

.expect-footer-item {
  flex: 1;
  max-width: 280px;
  text-align: center;
}

.expect-footer-icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.expect-footer-item p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.expect-footer-item em {
  color: var(--accent-text);
  font-size: 0.85rem;
}

/* --- About Page: In-page Nav --- */
.about-nav {
  background: var(--primary);
  position: sticky;
  top: 72px;
  z-index: 90;
  border-bottom: 2px solid var(--accent);
}

.about-nav .container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.about-nav-link {
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.about-nav-link:hover,
.about-nav-link.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* --- Home Page: Place Section --- */
.place-section {
  background: var(--primary);
  color: var(--white);
}

.place-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.place-media {
  position: relative;
  min-height: 500px;
}

.place-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.place-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.place-title {
  font-size: var(--text-xl);
  color: var(--primary);
  margin-bottom: 2rem;
  line-height: 1.2;
  position: relative;
  padding-bottom: 1.25rem;
}

.place-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.place-sub {
  padding: 0.25rem 0;
}

.place-label {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.place-sub p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.place-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  text-decoration: none;
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--primary);
  border-radius: 50px;
  transition: all 0.2s ease;
}

.place-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.place-btn span {
  transition: transform 0.2s ease;
}

.place-btn:hover span {
  transform: translateX(4px);
}

.place-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 1.5rem 0;
}

/* Legacy worship grid kept for compatibility */
.worship-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.worship-item {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.worship-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.worship-item p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

.worship-times-box {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.worship-times-box h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.worship-times-box li,
.worship-times-box strong {
  color: var(--white);
}

.worship-times-box ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.worship-times-box li {
  padding: 0.5rem 0;
  font-size: 1.05rem;
}

.worship-times-box .btn {
  background: var(--accent);
  color: var(--primary-dark);
}

.worship-times-box .btn:hover {
  background: var(--accent-light);
}

@media (max-width: 768px) {
  .beliefs-grid {
    grid-template-columns: 1fr;
  }

  .worship-grid {
    grid-template-columns: 1fr;
  }

  .expect-grid {
    grid-template-columns: 1fr;
  }

  .expect-footer {
    flex-direction: column;
    align-items: center;
  }

  .place-layout {
    grid-template-columns: 1fr;
  }

  .place-media {
    min-height: 280px;
  }

  .place-content {
    padding: 2rem;
  }

  .about-nav .container {
    gap: 0.25rem;
  }

  .about-nav-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }

  .about-landing-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 480px) {
  .place-title {
    font-size: 1.5rem;
  }

  .place-content {
    padding: 1.5rem;
  }
}

/* Preacher Featured Layout */
.preacher-featured {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

.preacher-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.preacher-info h3 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.preacher-info > p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}


.staff-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.staff-card {
  text-align: center;
  transition: all var(--transition);
}

/* Elders 5 across, deacons 6 across — photos scale to the column so the row fits */
.staff-grid-elders,
.staff-grid-deacons {
  display: grid;
  justify-items: center;
  gap: 2.25rem 1.25rem;
}

.staff-grid-elders {
  grid-template-columns: repeat(5, 1fr);
}

.staff-grid-deacons {
  grid-template-columns: repeat(6, 1fr);
}

.staff-grid-elders .staff-photo,
.staff-grid-deacons .staff-photo {
  width: 100%;
  max-width: 200px;
  height: auto;
  aspect-ratio: 1 / 1;
}

/* Loading skeletons carry inline 200px sizes — keep them inside the column too */
.staff-grid-elders .skeleton-photo,
.staff-grid-deacons .skeleton-photo {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
}

@media (max-width: 968px) {
  .staff-grid-elders {
    grid-template-columns: repeat(3, 1fr);
  }
  .staff-grid-deacons {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 700px) {
  .staff-grid-elders {
    grid-template-columns: repeat(2, 1fr);
  }
  .staff-grid-deacons {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 460px) {
  .staff-grid-elders,
  .staff-grid-deacons {
    grid-template-columns: repeat(2, 1fr);
  }
}

.staff-card:hover .staff-photo {
  border-color: var(--accent);
  transform: scale(1.05);
}

.staff-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  border: 4px solid var(--gray-200);
  transition: all var(--transition);
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.staff-role {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.staff-bio {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-top: 8px;
  line-height: 1.5;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Compact Staff Grid (Homepage) --- */
.staff-grid-compact {
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.staff-card-sm {
  text-align: center;
}

.staff-card-sm:hover .staff-photo-sm {
  border-color: var(--accent);
}

.staff-photo-sm {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid var(--gray-200);
  transition: border-color var(--transition);
}

.staff-photo-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-card-sm h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 2px;
}

.staff-card-sm .staff-role {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .staff-grid-compact {
    gap: 1.25rem;
  }

  .staff-photo-sm {
    width: 100px;
    height: 100px;
  }
}

/* --- Sermons Section --- */
.sermons-section {
  background: var(--primary);
  color: var(--white);
}

.sermons-section .section-label {
  color: var(--accent);
}

.sermons-section h2 {
  color: var(--white);
}

.sermons-section .section-subtitle {
  color: rgba(255,255,255,0.8);
}

.sermon-placeholder .img-placeholder {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  border: 2px dashed rgba(255,255,255,0.2);
}

.sermon-embed {
  max-width: 700px;
  margin: 0 auto 1rem;
}

.sermon-embed iframe {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
}

/* --- Review Section --- */
.review-section {
  background: var(--primary-dark);
  color: var(--white);
}

.review-section .section-label {
  color: var(--accent);
}

.review-section h2 {
  color: var(--white);
}

.review-section .section-subtitle {
  color: rgba(255,255,255,0.85);
  max-width: 650px;
}

/* --- Contact Section --- */
.contact-section {
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-method-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  text-decoration: none;
  color: var(--gray-800);
}

.contact-method-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--gray-800);
}

.contact-method-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.contact-method-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.contact-method-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* --- Pre-footer CTA band --- */
.prefooter-cta {
  background:
    radial-gradient(70% 140% at 85% 10%, rgba(201, 168, 76, 0.16), transparent 60%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 3.5rem 0;
}

.prefooter-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.prefooter-cta h2 {
  color: var(--white);
  font-size: var(--text-xl);
  margin-bottom: 0.35rem;
}

.prefooter-cta p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .prefooter-cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer h3, .footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer h3 {
  font-size: 1.15rem;
}

.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer p, .footer li {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer ul {
  list-style: none;
}

.footer li {
  padding: 0.25rem 0;
}

.footer a {
  color: var(--gray-300);
}

.footer a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--gray-900);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--gray-500);
  text-decoration: underline;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* --- Sitemap Page --- */
.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.sitemap-section h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  color: var(--primary);
}

.sitemap-section ul {
  list-style: none;
  padding: 0;
}

.sitemap-section li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
  color: var(--gray-600);
}

.sitemap-section li:last-child {
  border-bottom: none;
}

.sitemap-section li a {
  font-weight: 600;
  color: var(--gray-900);
  transition: color var(--transition);
}

.sitemap-section li a:hover {
  color: var(--primary);
}

@media (max-width: 600px) {
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 968px) {
  .get-started-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .get-started-grid .map-container {
    order: 2;
  }

  .get-started-grid .contact-info-card {
    order: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .visitor-grid {
    grid-template-columns: 1fr;
  }

  .staff-photo {
    width: 150px;
    height: 150px;
  }

  .preacher-featured {
    grid-template-columns: 1fr;
  }

  .preacher-photo {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(15, 36, 64, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    border-bottom: 2px solid var(--accent);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-menu a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
    display: block;
  }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0;
    min-width: 0;
  }

  .nav-dropdown .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu li a {
    padding-left: 2rem;
    font-size: 0.95rem;
  }

  .ministries-grid {
    grid-template-columns: 1fr;
  }

  .event-card,
  .event-card.has-image {
    grid-template-columns: 1fr;
  }

  .event-date-badge {
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }

  .hero {
    min-height: auto;
    padding: 7rem 0 0;
  }

  .hero-content {
    padding: 0 1.5rem 2rem;
    min-height: 50vh;
  }

  .hero-times {
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 1.25rem;
  }

  .hero-time-item {
    padding: 0.35rem 0;
  }

  .hero-time-divider {
    width: 60%;
    height: 1px;
    margin: 0 auto;
  }

  .hero-time-value {
    font-size: 1.1rem;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .staff-photo {
    width: 120px;
    height: 120px;
  }
}

/* --- Nav Logo --- */
.nav-logo {
  height: 48px;
  width: auto;
}

/* --- Page Hero (subpages) --- */
.page-hero {
  position: relative;
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  text-align: center;
  color: var(--white);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 120% at 50% 0%, rgba(201, 168, 76, 0.16), transparent 65%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Ministries Tiles --- */
.ministries-section {
}

.ministries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ministry-tile {
  display: block;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  text-decoration: none;
  color: var(--gray-800);
}

.ministry-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  color: var(--gray-800);
}

.ministry-tile-img {
  height: 180px;
  overflow: hidden;
}

.ministry-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Branded panel shown until a real photo replaces it */
.ministry-tile-ph {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(201, 168, 76, 0.2), transparent 65%),
    linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  color: var(--accent);
  font-size: 3rem;
}

.ministry-tile-content {
  padding: 1.25rem 1.5rem 1.5rem;
}

.ministry-tile-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.ministry-tile-content p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.ministry-tile-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-text);
  transition: color var(--transition);
}

.ministry-tile:hover .ministry-tile-link {
  color: var(--primary);
}

.ministry-tile-accent .ministry-tile-content h3 {
  color: var(--accent);
}

/* Icon-based ministry tiles (ministries hub page) */
.ministry-tile-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.ministry-tile > h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.ministry-tile > p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* When tile has icon (no image), add padding */
.ministry-tile-icon + h3 {
  /* Ensures the tile is padded when using icon layout */
}

.ministry-tile:has(.ministry-tile-icon) {
  padding: 2rem 1.5rem;
  text-align: center;
}

/* Fallback for browsers without :has() support */
@supports not selector(:has(*)) {
  .ministry-tile {
    padding: 2rem 1.5rem;
    text-align: center;
  }
  .ministry-tile .ministry-tile-content {
    padding: 1.25rem 1.5rem 1.5rem;
    text-align: left;
  }
}

/* --- Prayer Form --- */
.prayer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.prayer-info h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.prayer-info > p {
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.prayer-promises blockquote {
  background: var(--off-white);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.prayer-promises blockquote p {
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.prayer-promises cite {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  font-style: normal;
}

.prayer-note,
.prayer-contact {
  margin-top: 1.5rem;
}

.prayer-note h3,
.prayer-contact h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.prayer-note p,
.prayer-contact p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.prayer-form-container {
  position: sticky;
  top: 100px;
}

.prayer-form {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.prayer-form h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.optional {
  font-weight: 400;
  color: var(--gray-500);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400 !important;
  font-size: 0.9rem;
  cursor: pointer;
}

.radio-label input[type="radio"] {
  accent-color: var(--primary);
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.form-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 0.75rem;
}

/* --- Events Page --- */

/* View Toggle (List / Calendar) */
.view-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.5rem;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  overflow: hidden;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.view-toggle-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
}

.view-toggle-btn.active {
  background: var(--primary);
  color: var(--white);
}

.view-toggle-btn:not(.active):hover {
  background: var(--gray-50);
}

/* Calendar View */
.events-calendar {
  max-width: 900px;
  margin: 0 auto;
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.cal-month-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  margin: 0;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.cal-day-name {
  padding: 0.6rem 0.25rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gray-500);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.cal-cell {
  min-height: 90px;
  padding: 0.35rem;
  border-bottom: 1px solid var(--gray-100);
  border-right: 1px solid var(--gray-100);
  position: relative;
  background: var(--white);
}

.cal-cell:nth-child(7n) {
  border-right: none;
}

.cal-cell.cal-empty {
  background: var(--gray-50);
  min-height: 90px;
}

.cal-day-num {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-500);
  padding: 0.15rem 0.35rem;
  border-radius: 50%;
  line-height: 1.3;
}

.cal-today .cal-day-num {
  background: var(--accent);
  color: var(--white);
}

.cal-events {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 2px;
}

.cal-event {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  transition: opacity var(--transition);
}

.cal-event:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .cal-cell {
    min-height: 60px;
    padding: 0.2rem;
  }

  .cal-day-num {
    font-size: 0.7rem;
  }

  .cal-event {
    font-size: 0.55rem;
    padding: 1px 2px;
  }

  .cal-day-name {
    font-size: 0.6rem;
    padding: 0.4rem 0.1rem;
  }
}

@media (max-width: 480px) {
  .cal-cell {
    min-height: 44px;
  }

  .cal-events {
    display: none;
  }

  .cal-has-events .cal-day-num {
    background: var(--accent-light);
    color: var(--primary);
  }

  .cal-has-events.cal-today .cal-day-num {
    background: var(--accent);
    color: var(--white);
  }
}

.events-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  background: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.event-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  align-items: stretch;
  cursor: pointer;
}

.event-card.has-image {
  grid-template-columns: 80px 1fr;
  grid-template-rows: auto;
}

.event-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.75rem;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  min-height: 100%;
}

.event-month {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.event-day {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  margin: 0.15rem 0;
}

.event-weekday {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.7;
}

.event-card-body {
  display: flex;
  flex-direction: column;
}

.event-img {
  width: 100%;
  max-height: 200px;
  overflow: hidden;
}

.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-details {
  padding: 1.25rem 1.5rem;
}

.event-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

.tag-fellowship { background: #dbeafe; color: #1e40af; }
.tag-worship { background: #fef3c7; color: #92400e; }
.tag-youth { background: #d1fae5; color: #065f46; }
.tag-outreach { background: #fce7f3; color: #9d174d; }
.tag-childrens { background: #fff7ed; color: #9a3412; }
.tag-mens { background: #f0f9ff; color: #0c4a6e; }
.tag-womens { background: #fdf2f8; color: #831843; }
.tag-bible-class { background: #ede9fe; color: #5b21b6; }

/* Category-colored date panels on event tiles and event cards */
[data-category="fellowship"] .event-tile-date,
[data-category="fellowship"] .event-date-badge { background: #1e40af; }
[data-category="worship"] .event-tile-date,
[data-category="worship"] .event-date-badge { background: #92400e; }
[data-category="youth"] .event-tile-date,
[data-category="youth"] .event-date-badge { background: #065f46; }
[data-category="outreach"] .event-tile-date,
[data-category="outreach"] .event-date-badge { background: #9d174d; }
[data-category="childrens"] .event-tile-date,
[data-category="childrens"] .event-date-badge { background: #9a3412; }
[data-category="mens"] .event-tile-date,
[data-category="mens"] .event-date-badge { background: #0c4a6e; }
[data-category="womens"] .event-tile-date,
[data-category="womens"] .event-date-badge { background: #831843; }
[data-category="bible-class"] .event-tile-date,
[data-category="bible-class"] .event-date-badge { background: #5b21b6; }

.event-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.event-meta {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.event-details p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.event-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.event-details .event-actions {
  margin-top: 0;
}

.btn-add-calendar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-add-calendar:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.calendar-add-wrapper {
  position: relative;
  display: inline-block;
}

.calendar-add-dropdown {
  display: none;
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 10;
  overflow: hidden;
}

.calendar-add-dropdown.open {
  display: flex;
  flex-direction: column;
}

.calendar-add-dropdown a,
.calendar-add-dropdown button {
  display: block;
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  text-align: left;
  background: none;
  border: none;
  color: var(--gray-700);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition);
}

.calendar-add-dropdown a:hover,
.calendar-add-dropdown button:hover {
  background: var(--gray-50);
  color: var(--primary);
}

.events-cta {
  margin-top: 1rem;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.events-cta a {
  font-weight: 600;
}

/* --- Bulletin page --- */
.bulletin-container {
  max-width: 900px;
  margin: 0 auto;
}

.bulletin-date {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.bulletin-embed {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.bulletin-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-500);
  font-size: 1.1rem;
}


/* --- Ministry Detail Pages --- */
.ministry-detail-layout {
  max-width: 800px;
  margin: 0 auto;
}

.ministry-detail-content h2 {
  font-size: var(--text-xl);
  margin-bottom: 1rem;
}

.ministry-detail-content > p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.ministry-detail-img {
  position: relative;
  margin-bottom: 2.5rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.ministry-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}

.ministry-detail-content h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.ministry-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.ministry-features li {
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
}

.ministry-features li strong {
  display: block;
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.ministry-features li p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.ministry-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* Ministry events feed */
.ministry-events-section {
  padding: 3rem 0;
  background: #1a365d0a;
  border-top: 1px solid rgba(26, 54, 93, 0.08);
  border-bottom: 1px solid rgba(26, 54, 93, 0.08);
}

.ministry-events-feed {
  position: relative;
  margin-top: 1.5rem;
  overflow: hidden;
}

.ministry-events-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.4s ease;
}

.ministry-events-track .event-tile {
  flex: 0 0 auto;
  /* width set by JS based on container */
}

.ministry-events-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.ministry-events-nav button {
  background: var(--white, #ffffff);
  border: 1.5px solid var(--gray-200, #e5e7eb);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--primary, #1a365d);
  transition: all 0.2s;
}

.ministry-events-nav button:hover:not(:disabled) {
  background: var(--primary, #1a365d);
  color: var(--white, #ffffff);
  border-color: var(--primary, #1a365d);
}

.ministry-events-nav button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.ministry-events-nav .ministry-events-dots {
  display: flex;
  gap: 0.4rem;
}

.ministry-events-nav .ministry-events-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-200, #e5e7eb);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}

.ministry-events-nav .ministry-events-dot.active {
  background: var(--accent, #c8a246);
  width: 20px;
  border-radius: 4px;
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Nav active state --- */
.nav-menu a.active {
  color: var(--accent-light);
  font-weight: 700;
}

/* --- Fade-up animation for events --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 968px) {
  .ministries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prayer-layout {
    grid-template-columns: 1fr;
  }

  .prayer-form-container {
    position: static;
  }

  .event-card,
  .event-card.has-image {
    grid-template-columns: 70px 1fr;
  }
}

@media (max-width: 480px) {
  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .preacher-featured {
    padding: 1.25rem;
    gap: 1.5rem;
  }

  .staff-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .staff-photo {
    width: 100px;
    height: 100px;
  }

  .staff-card h4 {
    font-size: 0.88rem;
  }

  .staff-role {
    font-size: 0.75rem;
  }
}

/* --- About Image --- */
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  min-height: 300px;
}

/* --- Sermon CTA Buttons --- */
.sermon-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Mobile Sticky CTA Bar --- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 0.5rem;
  gap: 0.5rem;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
}

.mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  background: var(--gray-100);
  transition: all var(--transition);
  min-height: 48px;
}

.mobile-cta-btn:hover {
  color: var(--gray-700);
  background: var(--gray-200);
}

.mobile-cta-primary {
  background: var(--accent);
  color: var(--gray-900);
}

.mobile-cta-primary:hover {
  background: var(--accent-light);
  color: var(--gray-900);
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
  }

  /* Add bottom padding to body so content isn't hidden behind sticky bar */
  body {
    padding-bottom: 70px;
  }

  /* Improve mobile touch targets */
  .contact-method-card {
    padding: 1.5rem 1rem;
  }

  .btn {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
  }

  .btn-lg {
    padding: 1rem 2rem;
  }

  .info-item a {
    font-size: 1rem;
  }

  /* Better mobile card spacing */
  .visitor-card h3 {
    padding: 1rem 1.25rem 0.35rem;
  }

  .visitor-card p {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.9rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  /* Mobile map placeholder */
  .map-container {
    min-height: 250px;
  }

  .map-container iframe {
    min-height: 250px;
  }
}

/* ========================================
   Events Section (inline)
   ======================================== */
.events-section {
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.event-tile {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  padding: 0;
  text-align: left;
  font-family: inherit;
  color: var(--gray-800);
  width: 100%;
}

.event-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.event-tile-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.85rem;
  background: var(--primary);
  color: var(--white);
  min-width: 70px;
  flex-shrink: 0;
}

.event-tile-date .event-month {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.event-tile-date .event-day {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
  margin: 0.1rem 0;
}

.event-tile-date .event-weekday {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.7;
}

.event-tile-body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

.event-tile-body h3 {
  font-size: 1.05rem;
  line-height: 1.3;
}

.event-tile-body .event-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ========================================
   Contact Layout with Dynamic Form
   ======================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-side .contact-method-card {
  display: block;
  text-decoration: none;
  color: var(--gray-800);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.5rem;
  transition: all var(--transition);
}

.contact-info-side .contact-method-card:hover {
  box-shadow: var(--shadow);
}

.contact-info-side .contact-method-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-info-side .contact-method-card h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-info-side .contact-method-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.contact-info-side .contact-method-card a {
  color: var(--primary);
}

.contact-info-side .contact-method-card a:hover {
  color: var(--accent-text);
}

/* Form Type Toggle */
.form-type-toggle {
  display: flex;
  background: var(--gray-200);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 1.5rem;
}

.form-toggle-btn {
  flex: 1;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition);
}

.form-toggle-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.form-toggle-btn:hover:not(.active) {
  color: var(--gray-700);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Event Detail Page --- */
.event-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.event-detail-image img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.event-detail-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-600);
}

.event-detail-description p + p {
  margin-top: 1rem;
}

.event-detail-main .event-info-card {
  margin-top: 2rem;
  width: 100%;
}

.event-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.event-info-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.event-info-list {
  list-style: none;
  padding: 0;
}

.event-info-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
}

.event-info-list li:last-child {
  border-bottom: none;
}

.event-info-list strong {
  color: var(--primary);
}

.recurring-badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.35rem 0.75rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.event-signup-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}

.event-signup-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.event-signup-card .form-group {
  margin-bottom: 1rem;
}

.form-success {
  color: #15803d;
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .event-detail-layout {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Loading Skeletons
   ======================================== */
@keyframes skeleton-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius);
}

.skeleton-text {
  height: 1em;
  margin-bottom: 0.5rem;
  border-radius: 4px;
}

.skeleton-text.short { width: 60%; }

/* Staff card skeleton */
.staff-card-skeleton {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.staff-card-skeleton .skeleton-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
}

.staff-card-skeleton .skeleton-photo.large {
  width: 200px;
  height: 200px;
  border-radius: 50%;
}

/* Event tile skeleton */
.event-tile-skeleton {
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 80px;
}

.event-tile-skeleton .skeleton-date {
  width: 70px;
  flex-shrink: 0;
}

.event-tile-skeleton .skeleton-body {
  flex: 1;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Event card skeleton (events page) */
.event-card-skeleton {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.event-card-skeleton .skeleton-badge {
  width: 70px;
  height: 85px;
}

.event-card-skeleton .skeleton-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Preacher featured skeleton */
.preacher-skeleton {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

.preacher-skeleton .skeleton-photo {
  width: 400px;
  height: 500px;
}

.preacher-skeleton .skeleton-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
}

@media (max-width: 768px) {
  .preacher-skeleton {
    grid-template-columns: 1fr;
  }
  .preacher-skeleton .skeleton-photo {
    width: 100%;
    height: 300px;
  }
  .staff-card-skeleton .skeleton-photo.large {
    width: 150px;
    height: 150px;
  }
}

