/*
 * Additional / Override Styles
 * Connection Church Theme
 */

/* ============================================
   LIVE STREAM PAGE
   ============================================ */
.live-hero {
  background: var(--color-black);
  color: var(--color-white);
  padding: 100px 20px 40px;
  margin-top: 60px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 62, 62, 0.15);
  border: 1px solid #e53e3e;
  border-radius: 25px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 16px;
}
.live-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}
.live-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.live-stream-section {
  background: #111;
  padding: 0 20px 40px;
}
.live-stream-layout {
  display: flex;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 500px;
}
.live-video {
  flex: 1;
  min-width: 0;
}
.live-video .video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px 0 0 8px;
}
.live-video .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.live-chat {
  width: 360px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #1a1a1a;
  border-radius: 0 8px 8px 0;
  overflow: hidden;
}
.live-chat-header {
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: #222;
  display: flex;
  align-items: center;
  gap: 8px;
}
.live-chat-frame {
  flex: 1;
  width: 100%;
  min-height: 400px;
  border: none;
}
.live-chat-offline {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  padding: 20px;
  text-align: center;
}

.live-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background: #1a1a1a;
  border-radius: 8px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 40px;
}
.live-placeholder i {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0.3;
}
.live-placeholder p {
  margin-bottom: 24px;
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .live-stream-layout {
    flex-direction: column;
  }
  .live-chat {
    width: 100%;
    border-radius: 0 0 8px 8px;
  }
  .live-video .video-container {
    border-radius: 8px 8px 0 0;
  }
  .live-chat-frame {
    min-height: 350px;
  }
}
@media (max-width: 768px) {
  .live-hero h1 {
    font-size: 1.8rem;
  }
  .live-hero {
    padding: 80px 20px 30px;
  }
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero italic emphasis */
.hero-slide-content em {
  font-style: italic;
}

/* Events list on homepage */
.events-list {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.section-sage .event-item {
  border-bottom-color: rgba(0, 0, 0, 0.15);
}

/* Staff grid adjustments */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

/* Board list */
.board-list {
  list-style: none;
  padding: 0;
}

.board-list li {
  padding: 8px 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.board-list strong {
  font-weight: 600;
}

/* Ministry page cards */
.ministry-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .ministry-card {
    grid-template-columns: 1fr 1fr;
  }

  .ministry-card.reverse {
    direction: rtl;
  }

  .ministry-card.reverse > * {
    direction: ltr;
  }
}

.ministry-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 4px;
}

/* ============================================
   GIVE PAGE
   ============================================ */

/* Hero */
.give-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  margin-top: 60px;
}
.give-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.give-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.75));
}
.give-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.give-hero-content h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
  color: #fff;
}
.give-hero-content > p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}
.give-eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}

/* Give buttons */
.btn-give {
  display: inline-block;
  padding: 16px 52px;
  background: #fff;
  color: #000;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  border-radius: 50px;
  margin-top: 28px;
  transition: all 0.3s ease;
}
.btn-give:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.btn-give-lg {
  padding: 18px 60px;
  font-size: 0.95rem;
}
.btn-give-dark {
  display: inline-block;
  padding: 14px 44px;
  background: #000;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-radius: 50px;
  margin-top: 32px;
  transition: all 0.3s ease;
}
.btn-give-dark:hover {
  background: #222;
  transform: translateY(-2px);
}

/* Heart of Giving */
.give-heart {
  background: var(--bg-light, #f5f5f0);
  padding: 90px 20px;
  text-align: center;
  color: #222;
}
.give-heart-inner {
  max-width: 680px;
  margin: 0 auto;
}
.give-heart h2 {
  margin-bottom: 20px;
  color: #000;
}
.give-heart-inner > p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #555;
}
.give-heart blockquote {
  border-left: 3px solid #000;
  padding-left: 24px;
  margin: 36px 0 0;
  text-align: left;
}
.give-heart blockquote p {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}
.give-heart blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
  opacity: 0.5;
}

/* Impact section — dark */
.give-impact {
  background: #111;
  padding: 80px 20px;
  color: #fff;
}
.give-impact-header {
  text-align: center;
  margin-bottom: 50px;
}
.give-impact-header h2 {
  color: #fff !important;
}
.give-impact-header p {
  color: rgba(255,255,255,0.65);
  margin-top: 10px;
  font-size: 1rem;
}
.give-impact-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.give-impact-card {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.03);
}
.give-impact-card:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
}
.give-impact-num {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255,255,255,0.2);
  margin-bottom: 12px;
  line-height: 1;
}
.give-impact-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: #fff;
}
.give-impact-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

/* Testimonial */
.give-testimony {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 450px;
}
.give-testimony-img {
  background-size: cover;
  background-position: center;
  min-height: 350px;
}
.give-testimony-text {
  background: #000;
  color: #fff;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.give-testimony-text h2 {
  color: #fff;
  margin-bottom: 20px;
}
.give-testimony-quote {
  font-style: italic;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.9;
}
.give-testimony-author {
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* Scripture banner */
.give-scripture-banner {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.give-scripture-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.give-scripture-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
}
.give-scripture-banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.give-scripture-banner-content p {
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.9);
}
.give-scripture-banner-content cite {
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
}

/* Ways to Give — light */
.give-methods {
  background: var(--bg-light, #f5f5f0);
  color: #222;
  padding: 80px 20px;
  text-align: center;
}
.give-methods h2 {
  color: #000;
}
.give-methods-sub {
  color: #888;
  margin-top: 8px;
  margin-bottom: 50px;
}
.give-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.give-method-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 36px 20px 30px;
  text-align: center;
  text-decoration: none;
  color: #222;
  transition: all 0.3s ease;
}
.give-method-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.12);
}
.give-method-card i {
  font-size: 2rem;
  margin-bottom: 18px;
  color: #000;
  opacity: 0.6;
}
.give-method-card h4 {
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: #000;
}
.give-method-card p {
  font-size: 0.8rem;
  line-height: 1.7;
  color: #777;
}
.give-method-highlight {
  border-color: #000;
  background: #000;
  color: #fff;
}
.give-method-highlight h4 {
  color: #fff;
}
.give-method-highlight i {
  color: #fff;
  opacity: 1;
}
.give-method-highlight p {
  color: rgba(255,255,255,0.7);
}
.give-method-highlight:hover {
  background: #111;
  border-color: #111;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.give-method-action {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.give-method-highlight:hover .give-method-action {
  opacity: 1;
}

/* Final CTA */
.give-final {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.give-final-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.give-final-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}
.give-final-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}
.give-final-content h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.give-final-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.8;
}

/* Give page responsive */
@media (max-width: 768px) {
  .give-hero-content h1 { font-size: 2.2rem; }
  .give-heart { padding: 60px 20px; }
  .give-impact-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .give-impact-card { padding: 24px 12px; }
  .give-testimony { grid-template-columns: 1fr; }
  .give-testimony-text { padding: 40px 24px; }
  .give-methods-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .give-method-card { padding: 28px 14px 24px; }
}

/* Contact info block */
.contact-info {
  margin-top: 30px;
}

.contact-info p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.contact-info i {
  width: 20px;
  text-align: center;
  margin-right: 8px;
  opacity: 0.7;
}

/* Sermon single page */
.sermon-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0 30px;
  font-size: 0.875rem;
  opacity: 0.7;
}

.sermon-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Next steps numbering */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid currentColor;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Directions list */
.directions-list h4 {
  margin-top: 24px;
  margin-bottom: 8px;
}

.directions-list p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   PAGE CONTENT (WordPress Editor Output)
   ============================================ */
.page-content {
  line-height: 1.8;
}

.page-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.page-content h4 {
  margin-top: 24px;
  margin-bottom: 8px;
}

.page-content p {
  margin-bottom: 16px;
}

.page-content ul,
.page-content ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-content ul {
  list-style: disc;
}

.page-content ol {
  list-style: decimal;
}

.page-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.page-content blockquote,
.page-content .wp-block-quote {
  font-style: italic;
  border-left: 3px solid currentColor;
  padding-left: 20px;
  margin: 30px 0;
  opacity: 0.9;
}

.page-content hr,
.page-content .wp-block-separator {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  margin: 40px 0;
}

.page-content a {
  text-decoration: underline;
}

.page-content .lead-text {
  font-size: 1.25rem;
}

.page-content img {
  border-radius: 4px;
  margin: 20px 0;
}

/* WordPress block button styling to match theme */
.page-content .wp-block-button__link {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid currentColor;
  border-radius: 25px;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Dark section page content overrides */
.section-dark .page-content hr,
.section-dark .page-content .wp-block-separator {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.section-dark .page-content a {
  color: var(--color-white);
}

/* WordPress image alignment in content */
.page-content .wp-block-image {
  margin: 24px 0;
}

.page-content .wp-block-image img {
  max-width: 100%;
  height: auto;
}

.page-content figure {
  margin: 24px 0;
}

.page-content figcaption {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 8px;
  text-align: center;
}

/* ============================================
   MINISTRY DETAIL PAGE (Redesigned)
   ============================================ */

/* Hero — full bleed with info bar */
.md-hero {
  position: relative;
  height: 55vh;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  margin-top: 60px;
}
.md-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 50px;
}
.md-hero h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}
.md-hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.md-hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.md-hero-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 600;
}
.md-hero-meta span i {
  font-size: 0.8rem;
}

/* About — text + image side by side on light bg */
.md-about {
  background: var(--bg-light, #f5f5f0);
  padding: 70px 20px;
  color: #222;
}
.md-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.md-about-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #444;
}
.md-about-text .page-content h2,
.md-about-text .page-content h3 {
  color: #000;
}
.md-about-text .page-content a {
  color: #000;
}
.md-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 20px;
  background: #000;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
}
.md-social-link:hover {
  background: #222;
  transform: translateY(-2px);
}
.md-about-image img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Leader — compact card style */
.md-leader {
  background: #000;
  padding: 50px 20px;
  color: #fff;
}
.md-leader-card {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
  padding: 24px 30px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
}
.md-leader-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-size: cover;
  background-position: center top;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.15);
}
.md-leader-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.md-leader-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  text-transform: none;
  letter-spacing: 0;
}
.md-leader-title {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* CTA */
.md-cta {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.md-cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.md-cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}
.md-cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.md-cta-content h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 16px;
}
.md-cta-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.7;
}
.md-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Responsive */
@media (max-width: 768px) {
  .md-hero h1 {
    font-size: 2rem;
  }
  .md-about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .md-leader-card {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   SHARED PAGE COMPONENTS
   (Used by Who We Are, Leadership, Next Steps,
    What to Expect, Location, What We Believe)
   ============================================ */

/* Page Hero — full-width with gradient overlay */
.page-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  margin-top: 60px;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.75));
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.page-hero-content h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
  color: #fff;
}
.page-hero-content > p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}
.page-eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}

/* Light section — centered text */
.page-light-section {
  background: var(--bg-light, #f5f5f0);
  padding: 70px 20px;
  text-align: center;
  color: #222;
}
.page-light-inner {
  max-width: 680px;
  margin: 0 auto;
}
.page-light-section h2 {
  color: #000;
  margin-bottom: 20px;
}
.page-light-inner > p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #555;
}

/* Lead Pastors editorial layout */
.pastors-editorial {
  background: #000;
  padding: 80px 20px;
}
.pastors-editorial-header {
  text-align: center;
  margin-bottom: 48px;
}
.pastors-editorial-header .page-eyebrow {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pastors-editorial-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.pastors-editorial-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
.pastors-editorial-bio {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.75);
}
.pastors-editorial-signature {
  margin-top: 28px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}
.pastors-editorial-photo {
  position: relative;
}
.pastors-editorial-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .pastors-editorial-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pastors-editorial-photo {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }
  .pastors-editorial-header h2 {
    font-size: 1.8rem;
  }
}

/* Split section — image + text side by side */
.page-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 450px;
}
.page-split-image {
  background-size: cover;
  background-position: center 20%;
  min-height: 420px;
}
.page-split-text {
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.page-split-text h2 {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.page-split-text > p {
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 12px;
}
/* Dark text panel */
.page-split-text-dark {
  background: #000;
  color: #fff;
}
.page-split-text-dark h2 {
  color: #fff;
}
.page-split-text-dark > p {
  color: rgba(255,255,255,0.85);
}
/* Light text panel */
.page-split-text-light {
  background: var(--bg-light, #f5f5f0);
  color: #222;
}
.page-split-text-light h2 {
  color: #000;
}
.page-split-text-light > p {
  color: #555;
}

/* Scripture Banner — reusable */
.page-scripture-banner {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-scripture-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-scripture-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
}
.page-scripture-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.page-scripture-content p {
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.9);
}
.page-scripture-content cite {
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
}

/* Page CTA — full-width with image overlay */
.page-cta {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.page-cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}
.page-cta-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}
.page-cta-content h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.page-cta-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.8;
}

/* Values list (Who We Are) */
.values-list {
  text-align: left;
  margin-top: 30px;
}
.value-item {
  margin-bottom: 24px;
}
.value-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  color: #000;
}
.value-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555;
}

/* Staff photo grid (Leadership page) */
.staff-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.staff-card {
  text-align: center;
}
.staff-card-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid rgba(255,255,255,0.12);
  background: #2a2a2a;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.staff-card:hover .staff-card-photo {
  border-color: rgba(255,255,255,0.3);
  transform: scale(1.05);
}
.staff-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.staff-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.staff-card-role {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
  padding: 0 4px;
}

/* Director list (Leadership page) */
.director-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.director-item {
  display: flex;
  flex-direction: column;
  padding: 22px 26px;
  background: #fff;
  border-left: 3px solid #c9a96e;
  border-radius: 4px;
  text-align: left;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.director-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.director-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
  text-transform: none;
  letter-spacing: 0;
}
.director-item p {
  font-size: 0.8rem;
  color: #777;
  line-height: 1.4;
}

/* Board grid (Leadership page) */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}
.board-member {
  padding: 28px 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  text-align: center;
  transition: all 0.3s ease;
}
.board-member:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.board-member h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  text-transform: none;
  letter-spacing: 0;
}
.board-member p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}

/* Steps section (Next Steps) */
.steps-section {
  background: #111;
  padding: 80px 20px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.step-card {
  text-align: center;
  padding: 36px 20px 30px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  transition: all 0.3s ease;
}
.step-card:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
}
.step-card-num {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255,255,255,0.2);
  margin-bottom: 12px;
  line-height: 1;
}
.step-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: #fff;
}
.step-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}
.step-card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.step-card:hover .step-card-link {
  opacity: 1;
}

/* Expect section (What to Expect) */
.expect-section {
  background: #111;
  padding: 80px 20px;
}
.expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.expect-card {
  text-align: center;
  padding: 40px 20px 32px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  transition: all 0.3s ease;
}
.expect-card:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
}
.expect-card i {
  font-size: 2rem;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.3);
}
.expect-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  color: #fff;
}
.expect-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

/* Location page */
.location-map-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 450px;
}
.location-map {
  min-height: 400px;
}
.location-map iframe {
  display: block;
}
.location-info {
  background: #000;
  color: #fff;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.location-info h2 {
  color: #fff;
  margin-bottom: 30px;
}
.location-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.location-info-item i {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  width: 20px;
  text-align: center;
}
.location-info-item h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.location-info-item p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

/* Service time cards */
.times-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}
.time-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 36px 24px;
  text-align: center;
  transition: all 0.3s ease;
}
.time-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.time-card-time {
  font-size: 2rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 8px;
  line-height: 1;
}
.time-card h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 12px;
}
.time-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #666;
}

/* DIGEST culture grid (What We Believe) */
.digest-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.digest-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  text-align: left;
  transition: all 0.3s ease;
}
.digest-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.digest-letter {
  font-size: 2rem;
  font-weight: 800;
  color: #000;
  line-height: 1;
  min-width: 40px;
  text-align: center;
}
.digest-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  color: #000;
}
.digest-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #666;
}

/* Dark accordion variant */
.accordion-dark .accordion-item {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.accordion-dark .accordion-item.active {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
}
.accordion-dark .accordion-header {
  color: #fff;
  padding: 18px 24px;
  border-radius: 8px;
}
.accordion-dark .accordion-header:hover {
  background: rgba(255,255,255,0.04);
}
.accordion-dark .accordion-body {
  color: rgba(255,255,255,0.8);
  padding-left: 24px;
  padding-right: 24px;
}
.accordion-dark .accordion-item.active .accordion-body {
  padding-bottom: 20px;
}
.accordion-dark .accordion-body ul {
  color: rgba(255,255,255,0.5);
}

/* ============================================
   SHARED RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .page-hero-content h1 {
    font-size: 2.2rem;
  }
  .page-light-section {
    padding: 60px 20px;
  }
  .page-split {
    grid-template-columns: 1fr;
  }
  .page-split-text {
    padding: 40px 24px;
  }
  .staff-photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .staff-card-photo {
    width: 120px;
    height: 120px;
  }
  .director-list {
    grid-template-columns: 1fr;
  }
  .board-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .expect-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .location-map-split {
    grid-template-columns: 1fr;
  }
  .location-info {
    padding: 40px 24px;
  }
  .times-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .staff-photo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .board-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .expect-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   EVENT GALLERY & LIGHTBOX
   ============================================ */

/* Events page tab navigation */
.events-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 0;
}
.events-tab {
  padding: 14px 36px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.events-tab:first-child {
  border-radius: 4px 0 0 4px;
}
.events-tab:last-child {
  border-radius: 0 4px 4px 0;
}
.events-tab.active,
.events-tab:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.events-tab-content {
  display: none;
}
.events-tab-content.active {
  display: block;
}

/* Past event cards */
.past-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.past-event-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.past-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.past-event-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  aspect-ratio: 16/9;
}
.past-event-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.past-event-photos-single img {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}
.past-event-photos .photo-more {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}
.past-event-card-body {
  padding: 16px 20px;
}
.past-event-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.past-event-card-body p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.past-event-no-photo {
  aspect-ratio: 16/9;
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 2rem;
}

/* Event location block with map */
.event-location-block {
  margin-top: 30px;
  padding: 24px;
  background: #f9f9f7;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
}
.event-location-block h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}
.event-location-block h4 i {
  color: #b8860b;
  margin-right: 6px;
}
.event-location-block p {
  color: #666;
  margin-bottom: 16px;
}
.event-map {
  margin-bottom: 12px;
}
.event-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #b8860b;
  text-decoration: none;
}
.event-directions-link:hover {
  text-decoration: underline;
}

/* Single event gallery grid */
.event-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
}
.gallery-item:hover::after {
  background: rgba(0,0,0,0.15);
}

/* Event recap */
.event-recap {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.event-recap h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 2;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  z-index: 2;
  padding: 20px;
}
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .past-events-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .event-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .lightbox-prev,
  .lightbox-next {
    font-size: 2rem;
    padding: 10px;
  }
}
@media (max-width: 480px) {
  .past-events-grid {
    grid-template-columns: 1fr;
  }
  .event-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.contact-split-form {
  background: var(--bg-light, #f5f5f0);
  color: #222;
  padding: 60px 50px;
}
.contact-split-form h2 {
  color: #000;
  margin-bottom: 10px;
}
.contact-split-form > p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 30px;
}
.contact-form-wrap {
  color: #222;
}
/* CF7 form styling */
.contact-form-wrap .wpcf7-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}
.contact-form-wrap .wpcf7-form input[type="text"],
.contact-form-wrap .wpcf7-form input[type="email"],
.contact-form-wrap .wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 6px;
  font-size: 0.9rem;
  margin-top: 6px;
  background: #fff;
  color: #222;
  transition: border-color 0.3s ease;
}
.contact-form-wrap .wpcf7-form input:focus,
.contact-form-wrap .wpcf7-form textarea:focus {
  outline: none;
  border-color: #000;
}
.contact-form-wrap .wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form-wrap .wpcf7-form input[type="submit"] {
  display: inline-block;
  padding: 14px 44px;
  background: #000;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.contact-form-wrap .wpcf7-form input[type="submit"]:hover {
  background: #222;
  transform: translateY(-2px);
}

.contact-split-info {
  background: #000;
  color: #fff;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-split-info h2 {
  color: #fff;
  margin-bottom: 30px;
}
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-info-item i {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  width: 20px;
  text-align: center;
}
.contact-info-item h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.contact-info-item p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}
.contact-social {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-social h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.contact-social-links {
  display: flex;
  gap: 16px;
}
.contact-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.contact-social-links a:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
  .contact-split {
    grid-template-columns: 1fr;
  }
  .contact-split-form,
  .contact-split-info {
    padding: 40px 24px;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 12px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  z-index: 10000;
  border-radius: 0 0 6px 6px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* ============================================
   SEARCH RESULTS
   ============================================ */
.search-results {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.search-result-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.search-result-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: none;
  letter-spacing: 0;
}
.search-result-item h3 a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.search-result-item h3 a:hover {
  opacity: 0.7;
}
.search-result-type {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}
.search-result-excerpt {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}

/* ============================================
   SERMON LIST VIEW
   ============================================ */

/* Light-theme filter overrides */
.sermon-filter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.section-light .filter-bar select {
  background-color: #f5f5f5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  border-color: #ddd;
  color: #333;
}
.section-light .filter-bar select option {
  background: #fff;
  color: #333;
}
.sermon-search-input-light {
  background: #f5f5f5 !important;
  border-color: #ddd !important;
  color: #333 !important;
}
.sermon-search-input-light::placeholder {
  color: #999 !important;
}
.section-light .sermon-search-wrap i {
  color: #999;
}

/* Sermon filter top row (search + toggle) */
.sermon-filter-top {
  display: contents;
}
.sermon-filter-toggle {
  display: none;
}
.sermon-filter-dropdowns {
  display: contents;
}

/* Mobile: collapsible filters */
@media (max-width: 768px) {
  .sermon-filter-form {
    flex-direction: column;
    gap: 10px;
  }
  .sermon-filter-top {
    display: flex;
    gap: 10px;
    width: 100%;
  }
  .sermon-filter-form .sermon-search-wrap {
    max-width: none;
    flex: 1;
  }
  .sermon-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
  }
  .sermon-filter-toggle.active,
  .sermon-filter-toggle.has-active {
    background: var(--bg-dark);
    color: #fff;
    border-color: var(--bg-dark);
  }
  .filter-count {
    color: #b8860b;
    font-size: 1.2em;
  }
  .sermon-filter-dropdowns {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .sermon-filter-dropdowns.open {
    display: flex;
  }
  .sermon-filter-dropdowns select {
    width: 100%;
  }
}

/* View toggle */
.sermon-view-toggle {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  margin-bottom: 24px;
}
.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid #ddd;
  color: #999;
  text-decoration: none;
  transition: all 0.2s ease;
}
.view-toggle-btn:hover {
  color: #333;
  border-color: #bbb;
}
.view-toggle-btn.active {
  background: var(--bg-dark);
  color: #fff;
  border-color: var(--bg-dark);
}

/* List view container */
.sermon-list-view {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Individual list item */
.sermon-list-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  text-decoration: none;
}
.sermon-list-item:first-child {
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* Thumbnail */
.sermon-list-thumb {
  flex-shrink: 0;
  width: 160px;
  display: block;
}
.sermon-list-thumb img {
  width: 160px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid rgba(0,0,0,0.06);
}

/* Body */
.sermon-list-body {
  flex: 1;
  min-width: 0;
}
.sermon-list-top {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.sermon-list-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
}
.sermon-list-series {
  font-size: 0.8rem;
  color: #999;
}
.sermon-list-series a {
  color: #b8860b;
  text-decoration: none;
}
.sermon-list-series a:hover {
  text-decoration: underline;
}
.sermon-list-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: none;
  letter-spacing: 0;
}
.sermon-list-title a {
  color: #111;
  text-decoration: none;
}
.sermon-list-title a:hover {
  opacity: 0.7;
}
.sermon-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: #666;
}
.sermon-list-meta a {
  color: #b8860b;
  text-decoration: none;
}
.sermon-list-meta a:hover {
  text-decoration: underline;
}

/* View Sermon button */
.sermon-list-action {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid #b8860b;
  border-radius: 25px;
  color: #b8860b;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.sermon-list-action:hover {
  background: #b8860b;
  color: #fff;
}

/* Sermon list mobile */
@media (max-width: 768px) {
  .sermon-list-item {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 0;
  }
  .sermon-list-thumb {
    width: 120px;
  }
  .sermon-list-thumb img {
    width: 120px;
    height: 75px;
  }
  .sermon-list-action {
    width: 100%;
    justify-content: center;
  }
  .sermon-list-meta {
    gap: 8px;
  }
  .sermon-list-title {
    font-size: 1rem;
  }
}

/* Light pagination */
.section-light .pagination a,
.section-light .pagination span {
  border-color: #ddd;
  color: #333;
}
.section-light .pagination .current {
  background: var(--bg-dark);
  color: #fff;
  border-color: var(--bg-dark);
}

/* ============================================
   SINGLE SERMON DETAIL (light header)
   ============================================ */
.sermon-detail-header {
  padding: 120px 20px 40px;
  margin-top: 60px;
}
.sermon-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.2s;
}
.sermon-back-link:hover {
  color: #111;
}
.sermon-detail-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.sermon-detail-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #666;
}
.sermon-detail-meta a {
  color: #b8860b;
  text-decoration: none;
}
.sermon-detail-meta a:hover {
  text-decoration: underline;
}
.sermon-detail-meta span::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  background: #ccc;
  border-radius: 50%;
  margin-left: 16px;
  vertical-align: middle;
}
.sermon-detail-meta span:last-child::after {
  display: none;
}

/* Speaker bar */
.sermon-speaker-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
}
.sermon-speaker-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sermon-speaker-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}
.sermon-speaker-info span {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}
.sermon-action-btns {
  display: flex;
  gap: 8px;
}
.sermon-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sermon-action-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

/* Scripture section */
.sermon-scripture-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.sermon-scripture-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.sermon-scripture-tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.04);
}

/* Share section (light bg) */
.sermon-share-section {
  text-align: left;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.sermon-share-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: 0;
}
.sermon-share-links {
  display: flex;
  gap: 20px;
}
.sermon-share-link {
  font-size: 0.85rem;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}
.sermon-share-link:hover {
  color: #b8860b;
}

/* Prev / Next navigation */
.sermon-prev-next {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 30px;
}
.sermon-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #333;
  transition: color 0.2s;
  max-width: 45%;
}
.sermon-nav-link:hover {
  color: #b8860b;
}
.sermon-nav-link i {
  font-size: 1.2rem;
  color: #999;
  flex-shrink: 0;
}
.sermon-nav-link:hover i {
  color: #b8860b;
}
.sermon-nav-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
  margin-bottom: 2px;
}
.sermon-nav-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #b8860b;
}
.sermon-nav-next {
  text-align: right;
  margin-left: auto;
}

/* ============================================
   SERMON LIST VIEW RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .sermon-list-item {
    flex-wrap: wrap;
    gap: 12px;
  }
  .sermon-list-thumb {
    width: 120px;
  }
  .sermon-list-thumb img {
    width: 120px;
    height: 75px;
  }
  .sermon-list-action {
    width: 100%;
    justify-content: center;
  }
  .sermon-list-meta {
    gap: 8px;
  }
  .sermon-detail-header h1 {
    font-size: 1.6rem;
  }
  .sermon-detail-meta {
    gap: 8px 16px;
  }
  .sermon-speaker-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .sermon-prev-next {
    flex-direction: column;
    gap: 16px;
  }
  .sermon-nav-link {
    max-width: 100%;
  }
  .sermon-nav-next {
    text-align: left;
    margin-left: 0;
    flex-direction: row-reverse;
  }
}

/* ============================================
   EVENT TILE CARD (More Events grid)
   ============================================ */
.event-tile {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.event-tile-img {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-tile-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

.event-tile-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
}

.event-tile-date {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--color-gold, #d4a843);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  line-height: 1.4;
}

.event-tile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 20px 16px 16px;
}

.event-tile-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  line-height: 1.3;
  color: #fff;
}

.event-tile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.event-tile-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.event-tile-meta i {
  font-size: 0.72rem;
  color: var(--color-gold, #d4a843);
}
