/* ============================================================
   PHOTISMOS MINISTRIES — styles.css
   Brand palette (from logo):
     Primary:    #E8560A  (brand orange / flame)
     Accent:     #F5A623  (brand amber / torch)
     Light:      #f7f8fd  (clean off-white) | #ffffff (text on dark)
     Dark:       #1C2461  (deep navy)
     Mid:        #3d4f8a  (medium navy)
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #2c2e4a;
  background: #fff;
  line-height: 1.75;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: #1C2461;
}

h2 { font-size: clamp(1.85rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1rem; }

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

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

ul { list-style: none; }

/* ---- CONTAINER ---- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- SECTION ---- */
.section { padding: 80px 0; }
.bg-warm { background: #f7f8fd; }

/* ---- SECTION LABEL ---- */
.section-label {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #F5A623;
  margin-bottom: 10px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 3px;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: #E8560A;
  color: #fff;
  border-color: #E8560A;
}
.btn-primary:hover {
  background: #c44500;
  border-color: #c44500;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

.btn-full { width: 100%; text-align: center; }

/* ---- HEADER / NAV ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1C2461;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  /* The logo has a transparent background — works on the dark nav */
}

.footer-logo-img {
  height: 64px;
  width: auto;
  display: block;
  margin-bottom: 12px;
  /* Footer is dark — transparent logo looks great */
}

/* Legacy text logo (footer still uses these) */
.logo-icon {
  font-size: 1.4rem;
  color: #F5A623;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(224, 230, 255, 0.65);
  transition: color 0.2s;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: #F5A623;
  border-bottom-color: #F5A623;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1C2461;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    rgba(28, 36, 97, 0.78) 0%,
    rgba(20, 20, 60, 0.72) 50%,
    rgba(180, 60, 5, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 760px;
  padding: 0 24px;
}

.hero-tagline {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #F5A623;
  margin-bottom: 16px;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-mission {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F5A623;
  margin-bottom: 32px;
  opacity: 0.9;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

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

/* ---- SERVICE TIMES ---- */
.service-times {
  background: #E8560A;
  padding: 48px 0;
}

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

.service-card {
  text-align: center;
  padding: 32px 20px;
  color: #ffffff;
}

.service-card + .service-card {
  border-left: 1px solid rgba(245,166,35,0.35);
}

.service-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.service-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
}

/* ---- WELCOME ---- */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.welcome-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #1C2461;
  margin-bottom: 20px;
  margin-top: 8px;
}

.welcome-text p {
  color: #2d3a6b;
  margin-bottom: 16px;
}

.welcome-text .btn {
  margin-top: 12px;
}

/* ---- IMAGE PLACEHOLDER ---- */
.image-placeholder {
  background: #e8eeff;
  border: 2px dashed #F5A623;
  border-radius: 6px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #5a7acc;
  gap: 12px;
}

.image-placeholder span { font-size: 2.5rem; color: #F5A623; }
.image-placeholder p { font-size: 0.85rem; font-style: italic; }
.image-placeholder.tall { min-height: 420px; }

/* ---- LATEST SERMON (home) ---- */
.sermon-feature {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 32px;
}

.sermon-thumb {
  background: linear-gradient(135deg, #1C2461, #E8560A);
  border-radius: 6px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sermon-thumb.large { min-height: 280px; }

.play-btn {
  width: 60px;
  height: 60px;
  background: rgba(245,166,35,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #1C2461;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.play-btn:hover { transform: scale(1.1); background: #F5A623; }
.play-btn.small { width: 44px; height: 44px; font-size: 0.9rem; }

.sermon-series {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F5A623;
  display: block;
  margin-bottom: 8px;
}

.sermon-info h3 {
  font-size: 1.6rem;
  color: #1C2461;
  margin-bottom: 8px;
}

.sermon-meta {
  font-size: 0.85rem;
  color: #5a7acc;
  margin-bottom: 14px;
}

.sermon-info p {
  color: #2d3a6b;
  margin-bottom: 20px;
}

.sermon-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sermon-actions .btn-outline { color: #E8560A; border-color: #E8560A; }
.sermon-actions .btn-outline:hover { background: #E8560A; color: #fff; }

/* ---- EVENTS ---- */
.events-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.event-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px solid #c5d3ff;
  border-left: 5px solid #F5A623;
  border-radius: 4px;
  padding: 20px 24px;
}

.event-date {
  text-align: center;
  min-width: 52px;
}

.event-date .month {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #E8560A;
  text-transform: uppercase;
}

.event-date .day {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #1C2461;
  line-height: 1;
}

.event-details h4 {
  font-size: 1.05rem;
  color: #1C2461;
  margin-bottom: 4px;
}

.event-details p { font-size: 0.875rem; color: #3d4f8a; }

/* Featured event card */
.event-card-featured {
  background: linear-gradient(135deg, #1C2461 0%, #0f1a5a 100%);
  border-left: 5px solid #F5A623;
  border-top: none;
  border-right: none;
  border-bottom: none;
}
.event-card-featured .event-date .month { color: #F5A623; }
.event-card-featured .event-date .day   { color: #fff; }
.event-card-featured .event-details h4  { color: #fff; }
.event-card-featured .event-details p   { color: rgba(255,255,255,0.7); }

/* Gold date (special events) */
.event-date-gold .month { color: #F5A623 !important; }
.event-date-gold .day   { color: #F5A623 !important; }

/* Event tags */
.event-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.event-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 20px;
  background: #f7f8fd;
  color: #E8560A;
  border: 1px solid #c5d3ff;
}

.event-card-featured .event-tag {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.15);
}

.event-tag-gold {
  background: #F5A623 !important;
  color: #0f1a5a !important;
  border-color: #F5A623 !important;
}

/* ---- SCRIPTURE BANNER ---- */
.scripture-banner {
  background: linear-gradient(135deg, #1C2461 0%, #E8560A 100%);
  padding: 72px 0;
  text-align: center;
}

.scripture-banner blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  color: #ffffff;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

.scripture-banner cite {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #F5A623;
  margin-top: 16px;
}

/* ---- FOOTER ---- */
.site-footer {
  background: #0a0f2e;
  color: #8899cc;
  padding-top: 60px;
}

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

.footer-brand .logo-text { font-size: 1.05rem; }
.footer-brand p { font-size: 0.875rem; margin-top: 12px; color: #9e8a75; }

.footer-links h4,
.footer-contact h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #F5A623;
  margin-bottom: 16px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.875rem; color: #9e8a75; transition: color 0.2s; }
.footer-links a:hover { color: #F5A623; }

.footer-contact p { font-size: 0.875rem; color: #9e8a75; margin-bottom: 8px; }

/* ---- FOOTER SOCIAL ICONS ---- */
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #9e8a75;
  transition: background 0.2s, color 0.2s;
}

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

.social-link:hover {
  background: #F5A623;
  color: #0a0f2e;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p { font-size: 0.8rem; color: #6b5a48; }

/* ---- YOUTUBE EMBED ---- */
.yt-embed-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 6px;
  overflow: hidden;
  background: #0a0f2e;
}

.yt-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Thumbnail facade — loads iframe only on click */
.yt-facade {
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.yt-facade-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.yt-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: transform 0.15s, filter 0.15s;
}
.yt-facade:hover .yt-facade-play {
  transform: translate(-50%, -50%) scale(1.1);
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.6));
}

/* ---- YOUTUBE SUBSCRIBE CTA ---- */
.yt-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 2px solid #F5A623;
  border-radius: 6px;
  padding: 24px 28px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.yt-icon {
  font-size: 2rem;
  color: #cc0000;
  flex-shrink: 0;
}

.yt-cta div { flex: 1; min-width: 180px; }
.yt-cta h4 { font-size: 1.05rem; color: #1C2461; margin-bottom: 4px; }
.yt-cta p { font-size: 0.875rem; color: #2d3a6b; }
.yt-cta .btn { flex-shrink: 0; }

/* ---- SUBSTACK CTA ---- */
.substack-cta { background: #f9f6ef; }
.substack-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 2px solid #FF6719;
  border-radius: 6px;
  padding: 24px 28px;
  flex-wrap: wrap;
}
.substack-icon-wrap {
  color: #FF6719;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.substack-text { flex: 1; min-width: 180px; }
.substack-text h3 { font-size: 1.05rem; color: #1C2461; margin-bottom: 4px; }
.substack-text p { font-size: 0.875rem; color: #2d3a6b; margin: 0; }
.substack-inner .btn { flex-shrink: 0; }

/* ============================================================
   PAGE-SPECIFIC STYLES
   ============================================================ */

/* ---- PAGE HERO ---- */
.page-hero {
  position: relative;
  background-color: #1C2461;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    rgba(28, 36, 97, 0.80) 0%,
    rgba(20, 20, 60, 0.70) 60%,
    rgba(180, 60, 5, 0.40) 100%
  );
}

/* ---- SECTION IMAGES ---- */
.section-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.welcome-image {
  border-radius: 6px;
  overflow: hidden;
  max-height: 480px;
}

.welcome-image .section-img {
  height: 480px;
  object-position: center top;
}

.story-img-wrap {
  border-radius: 6px;
  overflow: hidden;
  max-height: 460px;
}

.story-img-wrap .section-img {
  height: 460px;
  object-position: center top;
}

/* ---- TEAM PHOTOS ---- */
.team-photo-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 3px solid #F5A623;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ---- BELIEFS SECTION WITH BG IMAGE ---- */
.beliefs-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.beliefs-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(240, 244, 255, 0.93);
  pointer-events: none;
  z-index: 0;
}

.beliefs-section .container {
  position: relative;
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.page-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 14px;
}

.page-hero-content p {
  font-size: 1.1rem;
  color: #c5d3ff;
  font-weight: 300;
}

/* ---- TWO COL ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.two-col h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 8px 0 20px;
  color: #1C2461;
}

.two-col p { color: #2d3a6b; margin-bottom: 14px; }

/* ---- BELIEFS ---- */
.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.belief-card {
  background: #fff;
  border: 1px solid #c5d3ff;
  border-top: 4px solid #F5A623;
  border-radius: 4px;
  padding: 28px 24px;
}

.belief-card h4 {
  font-size: 1rem;
  color: #E8560A;
  margin-bottom: 10px;
}

.belief-card p { font-size: 0.875rem; color: #2d3a6b; line-height: 1.65; }

/* ---- TEAM ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.team-card {
  background: #f7f8fd;
  border-radius: 6px;
  padding: 32px 24px;
  text-align: center;
}

.team-photo-placeholder {
  width: 90px;
  height: 90px;
  background: #e0cdb0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 18px;
}

/* Initials placeholder for team members without a photo */
.team-photo-placeholder-wrap {
  background: #1C2461 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo-initials {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #F5A623;
  letter-spacing: 0.04em;
}

.team-card h4 { font-size: 1.1rem; color: #1C2461; margin-bottom: 4px; }
.team-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #F5A623; margin-bottom: 12px; }
.team-card p { font-size: 0.875rem; color: #2d3a6b; }

/* ──────────────────────────────────────────────────────────
   SERMON ARCHIVE — new tile + track-list design
   ────────────────────────────────────────────────────────── */

/* Search bar */
.sa-search-wrap {
  position: relative;
  max-width: 420px;
  margin: 24px 0 20px;
}
.sa-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #8a96c0;
  pointer-events: none;
}
.sa-search {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1.5px solid #c5d3ff;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: #1C2461;
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}
.sa-search:focus { border-color: #E8560A; }

/* Filter pills */
.sa-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.sa-pill {
  padding: 6px 16px;
  border: 1.5px solid #c5d3ff;
  background: #fff;
  color: #3d4f8a;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.sa-pill:hover { border-color: #E8560A; color: #E8560A; }
.sa-pill.active {
  background: #E8560A;
  border-color: #E8560A;
  color: #fff;
}

/* ---- START HERE BANNER ---- */
.start-here-banner {
  margin-bottom: 28px;
  border: 2px solid #F5A623;
  border-radius: 8px;
  padding: 18px 22px;
  background: #fffdf7;
}
.start-here-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b87a00;
  margin-bottom: 12px;
}
.start-here-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.start-here-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1.5px solid #e8d9b5;
  border-radius: 6px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.start-here-card:hover {
  border-color: #F5A623;
  box-shadow: 0 2px 10px rgba(245,166,35,0.15);
}
.start-here-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: #F5A623;
  flex-shrink: 0;
  line-height: 1;
  font-family: 'Playfair Display', serif;
}
.start-here-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1C2461;
  margin: 0 0 2px;
}
.start-here-desc {
  font-size: 0.75rem;
  color: #5a6a8a;
  margin: 0;
}
.start-here-arrow {
  margin-left: auto;
  font-size: 1rem;
  color: #F5A623;
  flex-shrink: 0;
}
/* Badge on the tile title */
.start-here-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #F5A623;
  color: #fff;
  border-radius: 3px;
  padding: 2px 6px;
  vertical-align: middle;
  margin-left: 8px;
  position: relative;
  top: -2px;
}
@media (max-width: 540px) {
  .start-here-cards { grid-template-columns: 1fr; }
}

/* Series tile grid — 4 columns */
.sa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: start;
}

/* Individual tile */
.sa-tile {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(28,36,97,0.08);
  transition: box-shadow 0.2s;
}
.sa-tile:hover { box-shadow: 0 6px 24px rgba(28,36,97,0.14); }

/* Tile button (artwork + info row) */
.sa-tile-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
}


/* Tile info strip */
.sa-tile-info {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.sa-tile-tag {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E8560A;
}
.sa-tile-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1C2461;
  line-height: 1.3;
  margin: 0;
  padding-right: 20px; /* room for chevron */
}
.sa-tile-chevron {
  position: absolute;
  right: 14px;
  bottom: 16px;
  font-size: 1.1rem;
  color: #8a96c0;
  transition: transform 0.25s;
  line-height: 1;
}
.sa-tile--open .sa-tile-chevron { transform: rotate(180deg); }

/* Track list panel */
.sa-tracks {
  border-top: 1px solid #e8ecf8;
  padding: 0;
}

/* Individual track row */
.sa-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid #f0f3fb;
  transition: background 0.15s;
}
.sa-track:last-of-type { border-bottom: none; }
.sa-track:hover { background: #f7f9ff; }

.sa-track-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.sa-track-num {
  font-size: 0.65rem;
  font-weight: 700;
  color: #b0bad8;
  min-width: 22px;
  flex-shrink: 0;
}
.sa-track-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1C2461;
  margin: 0 0 2px;
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;
}
.sa-track-meta {
  font-size: 0.7rem;
  color: #8a96c0;
  margin: 0;
}

/* Track action buttons */
.sa-track-btns {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Round play button */
.sa-play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #E8560A;
  color: #fff;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
  flex-shrink: 0;
  padding-left: 2px; /* optical centre for ▶ */
}
.sa-play-btn:hover { background: #c94400; transform: scale(1.08); }

/* Download button */
.sa-dl-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #c5d3ff;
  background: #fff;
  color: #3d4f8a;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1;
}
.sa-dl-btn:hover { background: #3d4f8a; color: #fff; border-color: #3d4f8a; }

/* YouTube watch button (tracks that also have audio) */
.sa-yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 4px;
  background: #ff0000;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.sa-yt-btn:hover { background: #cc0000; }

/* Inline YouTube expand button (YT-only tracks) */
.sa-yt-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 4px;
  background: #ff0000;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.sa-yt-expand-btn:hover { background: #cc0000; }
.sa-yt-expand-btn.active { background: #333; }

/* Inline video panel */
.sa-yt-panel {
  display: none;
  padding: 0 14px 12px;
  background: #000;
}
.sa-yt-panel.open { display: block; }
.sa-yt-panel-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 4px;
  overflow: hidden;
}
.sa-yt-panel-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Inline audio player inside tile */
.sa-now-playing {
  padding: 10px 14px 12px;
  background: #f3f5fd;
  border-top: 1px solid #e8ecf8;
}
.sa-now-playing audio {
  width: 100%;
  height: 34px;
  accent-color: #E8560A;
}

/* No-results */
.sa-no-results {
  text-align: center;
  color: #8a96c0;
  font-size: 0.95rem;
  padding: 40px 0;
}

/* ---- TELEGRAM CTA ---- */
.telegram-cta {
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, #1C2461 0%, #1a2b3a 100%);
  border-radius: 8px;
  padding: 40px 48px;
  flex-wrap: wrap;
}

.telegram-cta-icon {
  color: #54a3e4;
  flex-shrink: 0;
  opacity: 0.9;
}

.telegram-cta-body { flex: 1; min-width: 220px; }
.telegram-cta-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 10px;
}
.telegram-cta-body p {
  color: #c8d8e8;
  font-size: 0.97rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.telegram-cta-body .btn-primary {
  background: #54a3e4;
  border-color: #54a3e4;
  color: #fff;
}
.telegram-cta-body .btn-primary:hover {
  background: #3b8fd4;
  border-color: #3b8fd4;
}

/* ---- GIVE PAGE ---- */
.text-center-block { max-width: 760px; margin: 0 auto; text-align: center; }
.text-center-block h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 8px 0 20px; }
.lead-text { font-size: 1.05rem; color: #2d3a6b; margin-bottom: 24px; }

.inline-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #E8560A;
  border-left: 4px solid #F5A623;
  padding: 12px 20px;
  text-align: left;
  margin-top: 16px;
  background: #f7f8fd;
  border-radius: 0 4px 4px 0;
}

.inline-quote cite { display: block; font-size: 0.8rem; font-style: normal; font-weight: 700; color: #5a7acc; margin-top: 6px; }

.give-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.give-card {
  background: #fff;
  border: 1px solid #c5d3ff;
  border-radius: 6px;
  padding: 32px 28px;
}

.give-card.featured {
  border-color: #F5A623;
  border-width: 2px;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 28px;
  align-items: start;
}

.give-card.featured .give-card-icon { grid-row: 1 / 2; }
.give-card.featured h3 { grid-column: 2; }
.give-card.featured p:first-of-type { grid-column: 2; }
.give-card.featured .btn { grid-column: 2; justify-self: start; margin: 12px 0 8px; }
.give-card.featured .give-note { grid-column: 2; }

.give-card-icon { font-size: 2.2rem; margin-bottom: 14px; }
.give-card h3 { font-size: 1.2rem; color: #1C2461; margin-bottom: 12px; }
.give-card p { font-size: 0.9rem; color: #2d3a6b; margin-bottom: 10px; }
.give-note { font-size: 0.78rem; color: #9e8a75; font-style: italic; }

.give-detail-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f7f8fd;
  border: 1px solid #e0cdb0;
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 8px;
}

.give-detail-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a7acc;
}

.give-detail-value {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #E8560A;
  letter-spacing: 0.04em;
}

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

.impact-card { text-align: center; padding: 24px 16px; }
.impact-icon { font-size: 2rem; margin-bottom: 12px; }
.impact-card h4 { font-size: 1rem; color: #E8560A; margin-bottom: 8px; }
.impact-card p { font-size: 0.875rem; color: #2d3a6b; }

/* ---- CONTACT PAGE ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form-wrap h2,
.contact-info-wrap h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  margin: 8px 0 24px;
  color: #1C2461;
}

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

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

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

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3d4f8a;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid #8899cc;
  border-radius: 3px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: #1C2461;
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #E8560A;
}

.form-group textarea { resize: vertical; }

.form-success {
  background: #e8f5e9;
  border: 1px solid #81c784;
  color: #2e7d32;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-top: 4px;
}

.info-block { margin-bottom: 24px; }
.info-block h4 { font-size: 1rem; color: #E8560A; margin-bottom: 6px; }
.info-block p { font-size: 0.9rem; color: #2d3a6b; }

/* ---- PRAYER REQUEST SECTION ---- */
.prayer-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.prayer-header h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  margin: 8px 0 16px;
  color: #1C2461;
}

.prayer-header p {
  font-size: 0.95rem;
  color: #2d3a6b;
  line-height: 1.7;
}

.prayer-check { margin-top: 4px; }

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: #2d3a6b;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #E8560A;
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .prayer-wrap { grid-template-columns: 1fr; gap: 28px; }
}

.map-embed {
  margin-top: 24px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* ============================================================
   BIBLE BEAMS — LANGUAGE SELECTOR BAR
   ============================================================ */

.bb-lang-bar {
  background: #f7f8fd;
  border-bottom: 1px solid #c5d3ff;
  padding: 16px 0;
}

.bb-lang-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.bb-lang-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3d4f8a;
  flex-shrink: 0;
}

.bb-lang-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bb-lang-group-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F5A623;
  flex-shrink: 0;
  border-right: 1px solid #8899cc;
  padding-right: 8px;
}

.bb-lang-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.bb-lang-btn {
  padding: 5px 14px;
  border: 1.5px solid #8899cc;
  background: #fff;
  color: #3d4f8a;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}

.bb-lang-btn:hover {
  border-color: #F5A623;
  color: #1C2461;
  background: #fff9ee;
}

.bb-lang-btn.active {
  background: #E8560A;
  border-color: #E8560A;
  color: #fff;
}

.bb-lang-note {
  font-size: 0.72rem;
  color: #9e8a75;
  font-style: italic;
  width: 100%;
  margin-top: 4px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .bb-lang-inner { gap: 12px; }
  .bb-lang-group { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ============================================================
   BIBLE BEAMS — DEVOTIONAL PAGE
   ============================================================ */

/* Intro Strip */
.bb-intro-strip {
  background: linear-gradient(135deg, #1C2461 0%, #E8560A 100%);
  padding: 20px 0;
}

.bb-intro-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #ffffff;
}

.bb-flame {
  font-size: 2rem;
  flex-shrink: 0;
  color: #F5A623;
}

.bb-intro-inner p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.92;
}

.bb-intro-inner strong { color: #F5A623; }

/* ============================================================
   BIBLE BEAMS — FEATURED DEVOTIONAL CARD (REDESIGNED)
   ============================================================ */

.bb-featured-card {
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 40px;
  box-shadow: 0 2px 8px rgba(28,36,97,0.06), 0 16px 48px rgba(28,36,97,0.08);
}

/* Header: date + issue tag + title */
.bb-card-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  background: #1C2461;
}

.bb-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #E8560A;
  color: #fff;
  padding: 28px 24px;
  min-width: 88px;
  text-align: center;
  flex-shrink: 0;
  border-right: 1px solid rgba(245,166,35,0.3);
}

.bb-month {
  font-size: 0.65rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
}

.bb-day {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  margin: 4px 0 2px;
}

.bb-year {
  font-size: 0.65rem;
  font-family: 'Lato', sans-serif;
  opacity: 0.55;
  letter-spacing: 0.1em;
}

.bb-card-title-wrap {
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.bb-series-tag {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F5A623;
  margin-bottom: 10px;
}

.bb-series-tag.small { font-size: 0.65rem; }

.bb-card-title-wrap h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 10px;
  text-align: left;
}

.bb-ref {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #F5A623;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bb-ref::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: #F5A623;
  opacity: 0.6;
}


/* Scripture Block — parchment with left accent */
.bb-scripture-block {
  background: #f7f8fd;
  padding: 40px 48px;
  border-left: 5px solid #F5A623;
  position: relative;
}

.bb-scripture-block::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 52px;
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  line-height: 1;
  color: #F5A623;
  opacity: 0.18;
  pointer-events: none;
}

.bb-scripture-block blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: #1C2461;
  line-height: 1.8;
  border: none;
  padding: 0;
  background: none;
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.bb-scripture-block blockquote cite {
  display: block;
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E8560A;
  margin-top: 18px;
}

/* Devotional Body */
.bb-body {
  padding: 48px 48px 40px;
  background: #fff;
}

/* Section label above Reflection */
.bb-body > h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #E8560A;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #c5d3ff;
}

.bb-body > h4:first-child { margin-top: 0; }

.bb-body p {
  font-family: 'Lato', sans-serif;
  font-size: 1.02rem;
  color: #2e1f10;
  line-height: 1.9;
  margin-bottom: 20px;
  max-width: 72ch;
}

/* Bold text inside body paragraphs */
.bb-body p strong {
  color: #1C2461;
  font-weight: 700;
}

/* Further Study list */
.bb-study-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 4px 0 0;
  border: 1px solid #c5d3ff;
  border-radius: 4px;
  overflow: hidden;
}

.bb-study-list li {
  font-family: 'Lato', sans-serif;
  font-size: 0.94rem;
  color: #1a2454;
  padding: 16px 20px;
  line-height: 1.65;
  border-bottom: 1px solid #c5d3ff;
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.bb-study-list li:last-child {
  border-bottom: none;
}

.bb-study-ref {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.92rem;
  color: #E8560A;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 130px;
}

/* Prayer Box — elegant dark panel */
.bb-prayer-box {
  background: linear-gradient(135deg, #1C2461 0%, #162060 100%);
  border-radius: 4px;
  padding: 36px 40px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.bb-prayer-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #F5A623, rgba(245,166,35,0.35));
}

.bb-prayer-box h4 {
  color: #F5A623;
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  font-weight: 400;
}

.bb-prayer-box p {
  color: #b8ceff;
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-size: 0.97rem;
  line-height: 1.9;
  margin: 0;
  max-width: 68ch;
}

/* Share Bar */
.bb-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(28,36,97,0.1);
}

.bb-share-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3d4f8a;
  margin-right: 4px;
}

.bb-share-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bb-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.15s;
}

.bb-share-btn:hover { opacity: 0.85; transform: translateY(-1px); }

.bb-share-wa  { background: #25D366; color: #fff; }
.bb-share-fb  { background: #1877F2; color: #fff; }
.bb-share-tg  { background: #229ED9; color: #fff; }
.bb-share-copy { background: #f0f4ff; color: #1C2461; border: 1px solid rgba(28,36,97,0.15); }

/* Archive Sub */
.bb-archive-sub {
  font-size: 0.95rem;
  color: #3d4f8a;
  margin: 8px 0 28px;
}

/* Archive Grid */
.bb-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.bb-archive-card {
  background: #fff;
  border: 1px solid #c5d3ff;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}
.bb-archive-card.bb-arc-open {
  border-color: #1C2461;
  grid-column: 1 / -1; /* span full width when open */
}

/* Toggle button wraps the entire card header */
.bb-arc-toggle {
  display: flex;
  align-items: stretch;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.bb-arc-toggle:hover .bb-arc-body { background: #f5f7ff; }

.bb-arc-chevron {
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 1.2rem;
  color: #7a8fc4;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.bb-arc-toggle[aria-expanded="true"] .bb-arc-chevron {
  transform: rotate(180deg);
  color: #1C2461;
}

/* Expanded content panel */
.bb-arc-expanded {
  border-top: 1px solid #e0e8ff;
  padding: 24px 24px 20px;
  background: #fafbff;
}
.bb-arc-verse {
  border-left: 3px solid #F5A623;
  padding-left: 16px;
  margin: 0 0 18px;
  font-style: italic;
  color: #2d3a6b;
  font-size: 0.95rem;
  line-height: 1.7;
}
.bb-arc-verse cite {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  font-style: normal;
  color: #F5A623;
}
.bb-arc-reflection p {
  font-size: 0.9rem;
  color: #2d3a6b;
  line-height: 1.75;
  margin-bottom: 12px;
}
.bb-arc-study-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1C2461;
  margin: 20px 0 8px;
}

.bb-arc-expanded .bb-study-list {
  margin: 0 0 4px;
  padding-left: 0;
  list-style: none;
}
.bb-arc-expanded .bb-study-list li {
  font-size: 0.875rem;
  color: #2d3a6b;
  line-height: 1.65;
  padding: 6px 0;
  border-bottom: 1px solid #e8eeff;
}
.bb-arc-expanded .bb-study-list li:last-child { border-bottom: none; }

.bb-arc-prayer {
  background: #fff8ee;
  border-left: 3px solid #F5A623;
  border-radius: 0 4px 4px 0;
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 0.875rem;
  color: #2d3a6b;
  line-height: 1.7;
}
.bb-arc-prayer strong { display: block; margin-bottom: 6px; color: #1C2461; }

/* ── Bible Beams RSS injected content ───────────────────── */
.bb-rss-body {
  font-family: 'Lato', sans-serif;
  font-size: 1.02rem;
  color: #2e1f10;
  line-height: 1.9;
}
.bb-rss-body p {
  margin-bottom: 20px;
  max-width: 72ch;
}
.bb-rss-body h1, .bb-rss-body h2, .bb-rss-body h3 {
  font-family: 'Playfair Display', serif;
  color: #1C2461;
  margin: 32px 0 16px;
}
.bb-rss-body blockquote {
  border-left: 3px solid #F5A623;
  padding-left: 16px;
  margin: 0 0 24px;
  font-style: italic;
  color: #2d3a6b;
  line-height: 1.75;
}
.bb-rss-body ul, .bb-rss-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.bb-rss-body li {
  margin-bottom: 8px;
  line-height: 1.75;
  font-size: 0.96rem;
}
.bb-rss-body strong { color: #1C2461; font-weight: 700; }
.bb-rss-body img { max-width: 100%; height: auto; border-radius: 4px; }
.bb-rss-body hr { border: none; border-top: 1px solid #e0e8ff; margin: 28px 0; }
.bb-rss-actions {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e0e8ff;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* "Browse older" row */
.bb-archive-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 20px;
  background: #f0f4ff;
  border-radius: 6px;
}
.bb-archive-more p { font-size: 0.875rem; color: #2d3a6b; margin: 0; }

/* Substack read-more link inside expanded archive card */
.bb-arc-substack {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e0e8ff;
}
.bb-arc-substack a {
  font-size: 0.85rem;
  font-weight: 700;
  color: #E8560A;
  text-decoration: none;
}
.bb-arc-substack a:hover { text-decoration: underline; }

.bb-arc-date {
  background: #E8560A;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  writing-mode: initial;
  flex-shrink: 0;
}

.bb-arc-body {
  padding: 20px;
  flex: 1;
  transition: background 0.15s;
}

.bb-arc-body h4 {
  font-size: 1rem;
  color: #1C2461;
  margin: 6px 0 4px;
}

.bb-arc-ref {
  font-size: 0.78rem;
  font-weight: 700;
  color: #F5A623;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.bb-arc-preview {
  font-size: 0.875rem;
  color: #2d3a6b;
  line-height: 1.65;
}

/* Subscribe CTA */
.bb-subscribe-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #1C2461;
  border-radius: 8px;
  padding: 28px 32px;
  flex-wrap: wrap;
}

.bb-sub-icon {
  font-size: 2.2rem;
  color: #F5A623;
  flex-shrink: 0;
}

.bb-sub-text { flex: 1; min-width: 200px; }

.bb-sub-text h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.bb-sub-text p {
  font-size: 0.875rem;
  color: #c4a882;
  line-height: 1.5;
}

/* About Section */
.bb-about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.bb-about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 8px 0 20px;
  color: #1C2461;
}

.bb-about-text p {
  font-size: 0.95rem;
  color: #2d3a6b;
  line-height: 1.8;
  margin-bottom: 16px;
}

.bb-about-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bb-stat-card {
  background: #f7f8fd;
  border: 1px solid #c5d3ff;
  border-left: 4px solid #F5A623;
  border-radius: 4px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bb-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #E8560A;
  line-height: 1;
}

.bb-stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a7acc;
}

/* ---- BIBLE BEAMS HOME TEASER ---- */
.bb-home-teaser { background: #f7f8fd; }

.bb-home-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.bb-home-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #1C2461;
  margin: 8px 0 16px;
}

.bb-home-text p {
  font-size: 0.95rem;
  color: #2d3a6b;
  line-height: 1.8;
  margin-bottom: 14px;
}

.bb-today-preview {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.95rem !important;
  color: #E8560A !important;
  border-left: 3px solid #F5A623;
  padding-left: 14px;
}

.bb-home-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.bb-mini-card {
  background: #fff;
  border: 1px solid #c5d3ff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(28,36,97,0.08);
}

.bb-mini-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.bb-mini-date {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a7acc;
}

.bb-mini-tag {
  background: #E8560A;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

.bb-mini-card h4 {
  font-size: 1.15rem;
  color: #1C2461;
  margin-bottom: 4px;
}

.bb-mini-ref {
  font-size: 0.8rem;
  font-weight: 700;
  color: #F5A623;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.bb-mini-body {
  font-size: 0.875rem;
  color: #2d3a6b;
  line-height: 1.7;
  margin-bottom: 16px;
}

.bb-mini-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #E8560A;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.bb-mini-link:hover { color: #F5A623; }

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

@media (max-width: 960px) {
  .beliefs-grid,
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .sermon-feature { grid-template-columns: 1fr; }
  .sermon-thumb { min-height: 200px; }
  .welcome-grid,
  .two-col,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .bb-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .bb-about-wrap,
  .bb-home-inner { grid-template-columns: 1fr; gap: 40px; }
  .bb-body { padding: 36px 36px 32px; }
  .bb-scripture-block { padding: 32px 40px; }
  .bb-card-title-wrap { padding: 24px 28px; }
}

@media (max-width: 700px) {
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #1C2461;
    padding: 16px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 99;
  }
  .nav-links.open li a { padding: 12px 0; display: block; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-toggle { display: block; }

  .service-grid { grid-template-columns: 1fr; }
  .service-card + .service-card { border-left: none; border-top: 1px solid rgba(245,166,35,0.35); }
  .beliefs-grid,
  .impact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .give-grid { grid-template-columns: 1fr; }
  .give-card.featured { grid-template-columns: 1fr; }
  .give-card.featured > * { grid-column: 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sermon-row { flex-direction: column; align-items: flex-start; }
  .sermon-row-thumb { width: 100%; height: 120px; }
  .sermon-row-actions { flex-wrap: wrap; }
  .sa-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .series-header h3 { font-size: 1.2rem; }
  .telegram-cta { padding: 28px 24px; gap: 20px; }
  .telegram-cta-body h3 { font-size: 1.3rem; }
  .hero { min-height: 80vh; }
  /* Bible Beams mobile */
  .bb-archive-grid { grid-template-columns: 1fr; }
  .sa-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .sa-tile-title { font-size: 0.88rem; }
  .series-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .bb-card-header { grid-template-columns: 1fr; }
  .bb-date-badge { flex-direction: row; gap: 12px; padding: 16px 20px; border-right: none; border-bottom: 1px solid rgba(245,166,35,0.25); min-width: 0; }
  .bb-card-title-wrap { padding: 20px 20px 24px; }
  .bb-about-wrap,
  .bb-home-inner { grid-template-columns: 1fr; gap: 32px; }
  .bb-body { padding: 28px 24px 24px; }
  .bb-body p { max-width: 100%; }
  .bb-scripture-block { padding: 28px 24px; }
  .bb-scripture-block::before { display: none; }
  .bb-prayer-box { padding: 24px 24px; }
  .bb-subscribe-cta { padding: 20px; }
  .bb-study-list li { flex-direction: column; gap: 4px; }
  .bb-study-ref { min-width: 0; white-space: normal; }
}

/* ── Very small screens: 1-col grid ── */
@media (max-width: 500px) {
  .sa-grid { grid-template-columns: 1fr; }
  .sa-track-title { font-size: 0.78rem; }
}

/* ============================================================
   COMPREHENSIVE MOBILE — fills gaps in existing breakpoints
   ============================================================ */

/* ── Tablet (≤960px) ── */
@media (max-width: 960px) {
  .section { padding: 60px 0; }
  .container { padding: 0 24px; }
  .yt-cta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sermon-info h3 { font-size: 1.35rem; }
}

/* ── Mobile (≤700px) ── */
@media (max-width: 700px) {
  /* Section spacing */
  .section { padding: 44px 0; }
  .container { padding: 0 18px; }
  .section.bg-warm { padding: 44px 0; }

  /* Hero */
  .hero { min-height: 78vh; }
  .hero-content { padding: 0 18px; }
  .hero-sub { font-size: 1rem; margin-bottom: 28px; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .hero-buttons .btn { width: 100%; max-width: 300px; text-align: center; }

  /* Page hero (inner pages) */
  .page-hero { min-height: 220px; padding: 40px 0; }
  .page-hero-content h1 { font-size: 2rem; }
  .page-hero-content p { font-size: 0.95rem; }

  /* Touch targets — minimum 44px tall */
  .btn { min-height: 44px; padding: 12px 22px; font-size: 0.85rem; }
  .sa-play-btn { width: 38px; height: 38px; }
  .sa-dl-btn { width: 38px; height: 38px; font-size: 1rem; }
  .sa-yt-btn, .sa-yt-expand-btn { padding: 8px 12px; font-size: 0.72rem; min-height: 38px; }

  /* Sermon track rows — stack title above buttons on very narrow */
  .sa-track { flex-wrap: wrap; gap: 8px; padding: 12px 12px; }
  .sa-track-info { flex: 1 1 100%; }
  .sa-track-btns { flex: 0 0 auto; margin-left: 32px; }

  /* Sermon filter pills — scrollable row */
  .sa-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sa-filters::-webkit-scrollbar { display: none; }
  .sa-pill { white-space: nowrap; flex-shrink: 0; padding: 8px 16px; min-height: 38px; }

  /* Start here banner */
  .start-here-cards { grid-template-columns: 1fr; }
  .start-here-card { padding: 14px; }

  /* Featured sermon */
  .sermon-info h3 { font-size: 1.2rem; }
  .sermon-actions { flex-direction: column; gap: 10px; }
  .sermon-actions .btn { width: 100%; text-align: center; }

  /* YT facade thumbnail */
  .yt-facade-play svg { width: 52px; height: 36px; }

  /* Inline YT expand panel */
  .sa-yt-panel { padding: 0 0 12px; }

  /* YT subscribe CTA */
  .yt-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 20px;
  }
  .yt-cta .btn { width: 100%; text-align: center; }

  /* Scripture banner */
  .scripture-banner { padding: 40px 0; }
  .scripture-banner blockquote { font-size: 1.1rem; }

  /* Bible Beams RSS actions */
  .bb-rss-actions { flex-direction: column; }
  .bb-rss-actions .btn { width: 100%; text-align: center; }

  /* Bible Beams body text */
  .bb-rss-body p { max-width: 100%; font-size: 0.96rem; }

  /* Bible Beams subscribe CTA */
  .bb-subscribe-cta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .bb-subscribe-cta .btn { width: 100%; text-align: center; }

  /* Telegram CTA */
  .telegram-cta .btn { width: 100%; text-align: center; }

  /* Contact info blocks */
  .info-block { padding: 16px 0; }

  /* Give page amounts */
  .give-amounts { flex-wrap: wrap; }
  .give-amount-btn { flex: 1 1 calc(50% - 8px); text-align: center; }

  /* Footer */
  .footer-socials { gap: 14px; }
  .social-link svg { width: 20px; height: 20px; }
}

/* ── Very small (≤400px) ── */
@media (max-width: 400px) {
  .section { padding: 36px 0; }
  .container { padding: 0 14px; }
  .hero-content h1 { font-size: 2.2rem; }
  .page-hero-content h1 { font-size: 1.75rem; }
  .bb-day { font-size: 2rem; }
  .sa-track-btns { margin-left: 22px; }
  .give-amount-btn { flex: 1 1 100%; }
  .btn { font-size: 0.82rem; }
}

/* ============================================================
   GATEWAY CARDS
   ============================================================ */

.gateway-section {
  background: #fff;
  padding: 0;
  position: relative;
  z-index: 1;
}

.gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: -2px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.10);
}

.gateway-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  background: #fff;
  border-right: 1px solid #e8ecf8;
  text-decoration: none;
  color: inherit;
  transition: background 0.22s, transform 0.22s;
  position: relative;
}
.gateway-card:last-child { border-right: none; }
.gateway-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: #E8560A;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.gateway-card:hover { background: #f8f9ff; }
.gateway-card:hover::after { transform: scaleX(1); }

.gateway-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.gateway-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #1C2461;
  margin-bottom: 8px;
}

.gateway-card p {
  font-size: 0.875rem;
  color: #5a6a9a;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}

.gateway-link {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E8560A;
}

@media (max-width: 700px) {
  .gateway-grid { grid-template-columns: 1fr; }
  .gateway-card { border-right: none; border-bottom: 1px solid #e8ecf8; padding: 28px 20px; }
  .gateway-card:last-child { border-bottom: none; }
}

/* ============================================================
   JOIN US SECTION
   ============================================================ */

.join-section {
  background: linear-gradient(135deg, #1C2461 0%, #0f1740 100%);
  padding: 72px 0;
}

.join-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Left: text + CTAs */
.join-eyebrow {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #F5A623;
  margin-bottom: 12px;
}

.join-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.2;
}

.join-text p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.join-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-outline-light {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 4px;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* Right: info cards */
.join-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.join-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 18px 16px;
  transition: background 0.2s;
}
.join-item:hover { background: rgba(255,255,255,0.1); }

.join-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.join-item h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F5A623;
  margin-bottom: 5px;
}

.join-item p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.join-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

/* 5th card spans full width on its row */
.join-details .join-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .join-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 500px) {
  .join-details { grid-template-columns: 1fr; }
  .join-text h2 { font-size: 1.9rem; }
  .join-ctas { flex-direction: column; }
  .join-ctas .btn,
  .join-ctas .btn-outline-light { text-align: center; }
}

/* ============================================================
   PHOTO CAROUSEL
   ============================================================ */

.carousel-section { padding-bottom: 0; }
.carousel-header { margin-bottom: 32px; }

.carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 8px 40px rgba(0,0,0,0.22);
  aspect-ratio: 16 / 7;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.75s ease;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Caption overlay */
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 24px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,0.52));
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Arrow buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.carousel-btn:hover {
  background: rgba(232,86,10,0.8);
  transform: translateY(-50%) scale(1.08);
}
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }

/* Dot indicators */
.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.carousel-dot.active {
  background: #F5A623;
  transform: scale(1.4);
}

@media (max-width: 700px) {
  .carousel-wrap   { border-radius: 0; aspect-ratio: 4 / 3; }
  .carousel-caption { font-size: 0.78rem; padding: 32px 12px 14px; }
  .carousel-btn    { width: 36px; height: 36px; font-size: 1.5rem; }
  .carousel-prev   { left: 8px; }
  .carousel-next   { right: 8px; }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */

/* Single element — fades up into place */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Container — children stagger in one after another */
.reveal-children > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-children.visible > *:nth-child(2) { transition-delay: 0.17s; }
.reveal-children.visible > *:nth-child(3) { transition-delay: 0.29s; }
.reveal-children.visible > *:nth-child(4) { transition-delay: 0.41s; }
.reveal-children.visible > *:nth-child(5) { transition-delay: 0.53s; }
.reveal-children.visible > *:nth-child(6) { transition-delay: 0.65s; }
.reveal-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced-motion system preference */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-children > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
