/* =====================================================
   pages.css — Inner page sections (sub-pages)
   ===================================================== */

/* ======================================================
   INNER PAGE HERO
   ====================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 60%, #2d4a8a 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(192,154,80,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.04) 0%, transparent 40%);
  pointer-events: none;
}
.page-hero::after {
  content: ' ';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18rem;
  color: rgba(255,255,255,.03);
  line-height: 1;
  pointer-events: none;
  font-family: serif;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.page-hero-eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--white);
  line-height: 1.15;
  max-width: 680px;
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  max-width: 560px;
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.breadcrumb a { color: var(--gold); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.35); }

/* ======================================================
   GENERIC CONTENT SECTIONS
   ====================================================== */
.content-section {
  padding: 5rem 0;
  background: var(--white);
}
.content-section--alt { background: var(--off-white); }
.content-section--dark { background: var(--navy-dark); }
.content-section--dark .section-label { color: var(--gold); }
.content-section--dark .section-title { color: var(--white); }
.content-section--dark p { color: rgba(255,255,255,.7); }

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 1rem;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

.content-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.content-img-placeholder {
  height: 360px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.content-text h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.content-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.content-text .btn { margin-top: .75rem; }

/* ======================================================
   HIGHLIGHT CARDS
   ====================================================== */
.highlight-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.highlight-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
}
.highlight-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: .5rem;
}
.highlight-card p { font-size: .875rem; color: var(--text-light); line-height: 1.65; }

/* ======================================================
   SERMON FULL LIST (sermons page)
   ====================================================== */
.sermon-full-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
}
.sermon-full-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--light-gray);
}
.sermon-full-item:first-child { border-top: 1px solid var(--light-gray); }
.sermon-full-item h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: .2rem;
  line-height: 1.35;
}
.sermon-full-item p { font-size: .85rem; color: var(--text-light); }
.sermon-full-date {
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  text-align: center;
  padding: .6rem .4rem;
}
.sermon-full-date .month {
  display: block;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.sermon-full-date .day {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-serif);
  line-height: 1.1;
}

/* ======================================================
   YOUTUBE EMBED
   ====================================================== */
.yt-thumb-wrap {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: var(--navy-dark);
  aspect-ratio: 16/9;
  width: 100%;
  display: block;
}
.yt-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.yt-thumb-wrap:hover img { transform: scale(1.03); }
.yt-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.25);
  transition: background .2s;
}
.yt-thumb-wrap:hover .yt-play-btn { background: rgba(0,0,0,.48); }
.yt-play-btn svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.7));
}
.yt-iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
}
.yt-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: rgba(255,255,255,.45);
  font-style: italic;
  font-size: .95rem;
}
.yt-loading--light { color: var(--text-light); }

/* ======================================================
   GIVING PAGE
   ====================================================== */
.giving-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.giving-feature {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.giving-feature-icon {
  width: 64px;
  height: 64px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.giving-feature-icon svg { width: 32px; height: 32px; color: var(--gold); }
.giving-feature h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: .5rem;
}
.giving-feature p { font-size: .875rem; color: var(--text-light); line-height: 1.65; }

/* ======================================================
   MINISTRY PAGE ICON
   ====================================================== */
.ministry-page-icon {
  width: 72px;
  height: 72px;
  background: var(--gold);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.ministry-page-icon svg { width: 38px; height: 38px; color: var(--navy-dark); }
