/* =========================================
   MINISTRY GENERIC PAGE STYLES
   File: /assets/ministry-page.css
========================================= */

.ministry-page {
  background: radial-gradient(circle at top, #1b2135 0, #050814 55%, #020308 100%);
  color: #f7f7f7;
  padding-bottom: 80px;
}



/* ---------- HERO ---------- */
.ministry-hero {
  position: relative;
  min-height: 300px;
  padding: 140px 20px 80px;  /* <-- increased from 120px */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(9, 14, 40, 0.95), rgba(7, 31, 63, 0.96)),
    url("/assets/ministry-photos/default-hero.jpg") center/cover no-repeat;
}

/* HERO LOGO (matches the homepage style but slightly smaller) */
.ministry-hero-logo {
  width: clamp(70px, 9vw, 110px);
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.6));
}

.ministry-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255,255,255,0.06), transparent 55%);
  pointer-events: none;
}

.ministry-hero-content {
  position: relative;
  max-width: 960px;
  z-index: 1;
}

/* hero logo / leader image next to title if you use it */
.ministry-hero-logo {
  width: clamp(120px, 15vw, 180px);
  height: auto;
  margin-bottom: 26px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.55));
}



.ministry-hero-leader-photo {
  width: 110px;
  height: 110px;
  
  object-fit: cover;
  border: 3px solid rgba(255,215,0,0.8);
  box-shadow: 0 10px 26px rgba(0,0,0,0.55);
}

.ministry-title {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 4px 14px rgba(0,0,0,0.8);
}

.ministry-title::after {
  content:"";
  display:block;
  width:120px;
  height:4px;
  margin:14px auto 0;
  border-radius:999px;
  background:linear-gradient(90deg,#b58e00,#ffd700,#b58e00);
  box-shadow:0 0 16px rgba(255,215,0,0.75);
}

.ministry-subtitle {
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto;
  color:#e3e7ff;
}

/* ---------- MAIN LAYOUT ---------- */

.ministry-main {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 20px;
}

/* 2-column layout on desktop */
.ministry-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .ministry-layout {
    grid-template-columns: 1fr;
  }
}

/* ---------- DESCRIPTION CARD ---------- */

.ministry-card {
  background: radial-gradient(circle at top left, #141b33 0, #050814 65%);
  border-radius: 18px;
  padding: 24px 22px 26px;
  box-shadow:
    0 14px 35px rgba(0,0,0,0.75),
    0 0 0 1px rgba(255,255,255,0.03);
  border:1px solid rgba(181,142,0,0.3);
}

.ministry-card h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color:#ffefb0;
}

.ministry-card p {
  line-height: 1.7;
  margin-bottom: 12px;
}

.ministry-card ul {
  padding-left: 18px;
  margin: 6px 0 0;
}

.ministry-card li {
  margin-bottom: 6px;
}

/* ---------- LEADER CARD ---------- */

.ministry-leader-card {
  background: radial-gradient(circle at top right, #151f3b 0, #050814 70%);
  border-radius: 18px;
  padding: 20px 18px 22px;
  box-shadow:
    0 12px 30px rgba(0,0,0,0.75),
    0 0 0 1px rgba(255,255,255,0.04);
  border: 1px solid rgba(181,142,0,0.45);
  text-align: center;
}

.ministry-leader-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,215,0,0.85);
  box-shadow: 0 12px 26px rgba(0,0,0,0.75);
  margin-bottom: 12px;
}

.leader-name {
  font-weight: 700;
  font-size: 18px;
  color:#fff7d0;
  margin-bottom: 2px;
}

.leader-role {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color:#d3d7ff;
  margin-bottom: 10px;
}

.leader-contact {
  font-size: 14px;
  color:#cfd4ff;
}

/* ---------- TEAM GALLERY ---------- */

.ministry-team {
  margin-top: 40px;
}

.ministry-team-header {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  margin-bottom: 15px;
}

.ministry-team-header h2 {
  font-size: 20px;
  color:#ffefb0;
}

.ministry-team-header p {
  font-size: 14px;
  color:#ccd2ff;
}

.ministry-team-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap:18px;
}

.team-member {
  text-align:center;
}

/* ============================
   WORSHIP TEAM — IMAGE FIX
============================ */



/* Mobile adjustments */
@media (max-width: 768px) {
  .team-member-img {
    
  }

  .team-member-name {
    font-size: 14px;
    font-weight: 600;
  }

  .team-member-role {
    font-size: 12px;
    color: #c7cbff;
  }
}

/* spacing helper */
.ministry-page-last-space {
  height: 40px;
}



/* small helper for spacing under last section */
.ministry-page-last-space {
  height:40px;
}


/* ============================
   SUB-MINISTRY — SINGLE VIEWER
============================ */

.sub-ministry {
  margin-top: 60px;
  text-align: center;
}

.sub-ministry h3 {
  font-size: 22px;
  color: #d4af37;
  margin-bottom: 6px;
}

.sub-ministry p {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 18px;
}

/* Viewer window */
.sub-ministry-viewer {
  max-width: 520px;     /* small / medium size */
  margin: 0 auto;

  border: 1.5px solid rgba(212,175,55,0.6);
  border-radius: 14px;
  padding: 12px;
  background: rgba(0,0,0,0.25);
}

/* Viewer image */
.sub-ministry-viewer img {
  width: 100%;
  height: 260px;
  object-fit: cover;

  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.6);
}




/* ============================
   TEXT SIZES
============================ */

.team-member-name {
  font-size: 14px;
  font-weight: 600;
}

.team-member-role {
  font-size: 12px;
  color: #c7cbff;
}

/* spacing under last section */
.ministry-page-last-space {
  height: 40px;
}

/* =========================================
   GOLD SECTION DIVIDER
========================================= */

.section-divider {
  width: 180px;
  height: 4px;
  margin: 50px auto;
  
  background: linear-gradient(90deg, #b58e00, #ffd700, #b58e00);
  box-shadow: 0 0 18px rgba(255,215,0,0.65);
}
/* =========================================
   PRAISE & WORSHIP GALLERY
========================================= */

.ministry-gallery {
    margin-top: 60px;
    text-align: center;
}

.gallery-title {
    font-size: 24px;
    color: #ffefb0;
    margin-bottom: 22px;
}

.ministry-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    padding: 0 10px;
}

.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(255,215,0,0.5);
    box-shadow: 0 10px 22px rgba(0,0,0,0.7);
    transition: transform .35s ease, box-shadow .35s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 14px 34px rgba(0,0,0,0.8);
}
/* =========================================
   LIGHTBOX (Image Popup)
========================================= */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.lightbox-img {
    max-width: 90%;
    max-height: 88vh;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(255,215,0,0.4);
    animation: lightboxFade .3s ease-out;
}

@keyframes lightboxFade {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 42px;
    color: white;
    cursor: pointer;
    text-shadow: 0 0 12px black;
    transition: .3s;
}

.lightbox-close:hover {
    color: gold;
    transform: scale(1.1);
}

.profile-photo {
    width: 350px;        /* ideal max size */
    max-width: 100%;     /* prevents overflow on mobile */
    height: auto;        /* keeps proper proportions */
    display: block;
    margin: 0 auto;      /* centers the image */
}
/* ============================
   STAFF PROFILE IMAGE SIZING
============================ */

.profile-photo-wrapper {
    width: 380px;       /* PERFECT SIZE */
    margin: 0 auto;     /* centers image */
    text-align: center;
}

.profile-photo-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;      /* optional subtle curve */
    object-fit: cover;
}
/* ===========================
   MINISTER PROFILE PHOTO
=========================== */

/* PROFILE PHOTO FRAME â€” FIXED */
.profile-photo-frame {
  width: 360px;              /* wider than before */
  height: 460px;             /* keeps vertical portrait feel */
  margin: 0 auto 30px;
  border-radius: 20px;
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* IMAGE ITSELF */
.profile-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* ðŸ”‘ THIS is the key */
  object-position: center top; /* keeps face full */
}

@media (max-width: 768px) {
  .profile-photo img {
    width: 90%;
    height: auto;
  }
}

.profile-role {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #c9a24d;            /* FDWC gold */
  margin-bottom: 20px;
}
.profile-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
/* ===============================
   MINISTER PROFILE PAGE – FINAL
   (FDWC Mission Blue Background)
================================ */

body.profile-page {
  background: #e9f1f9;
}

body.profile-page .minister-profile {
  background: #e9f1f9;
  padding: 80px 0;
}

body.profile-page .minister-profile .container {
  background: transparent;   /* ← removes the white box */
  padding: 60px 70px;
  max-width: 1100px;
}
/* ================================
   MINISTER PROFILE – FINAL BACKGROUND FIX
================================ */

/* Page background (matches Our Mission blue) */
body {
  background-color: #0a2a43; /* FDWC Navy */
}

/* Section background */
.minister-profile--light {
  background: linear-gradient(
    180deg,
    #0a2a43 0%,
    #102f4a 100%
  );
  padding: 100px 0;
}

/* CONTENT CARD (not full white anymore) */
.minister-profile--light .container {
  background: #ffffff;
  max-width: 1100px;
  padding: 70px 80px;
  border-radius: 20px;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.18);
}

/* Typography contrast */
.minister-profile--light .section-header {
  color: #0a2a43;
}

.profile-role {
  color: #c9a227; /* FDWC gold */
}
/* ============================
   STAFF PROFILE PAGE – FINAL
============================ */

/* Page background */
.minister-profile--light {
  background: #102f4a; /* SAME FAMILY AS OUR MISSION */
  padding: 90px 0;
}

/* Remove white card background */
.minister-profile--light .container {
  background: transparent;
  max-width: 1200px;
  padding: 0 60px;
}

/* Name */
.minister-profile--light .section-header {
  color: #ffffff;
}

/* Role */
.profile-role {
  color: #f1c232; /* FDWC gold */
  font-size: 1.4rem;
  margin-bottom: 40px;
}

/* Bio text — WIDE + LEFT ALIGNED */
.profile-bio {
  max-width: 100%;
  margin: 40px auto 0;
  text-align: left;
  color: #e6edf5;
  font-size: 1.1rem;
  line-height: 1.85;
}

/* Photo sizing */
.profile-photo {
  max-width: 380px;
  margin: 0 auto 40px;
}

.profile-photo img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
/* ===============================
   STAFF PROFILE (MINISTRY STYLE)
================================ */

.staff-profile-page {
  background: #eaf2f9; /* same family as Our Mission */
  padding: 100px 0;
}

.staff-profile-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;

  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 70px;
  align-items: start;
}

/* TEXT SIDE */
.staff-profile-content {
  text-align: left;
}

.staff-name {
  font-size: 2.8rem;
  font-weight: 700;
  color: #0a2a43; /* FDWC navy */
  margin-bottom: 8px;
}

.staff-role {
  font-size: 1.4rem;
  font-weight: 600;
  color: #c9a227; /* FDWC gold */
  margin-bottom: 20px;
}

.gold-divider-left {
  width: 90px;
  height: 4px;
 
}

.staff-bio {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #1e2a33;
}

/* IMAGE SIDE */
.staff-profile-photo img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* MOBILE */
@media (max-width: 900px) {
  .staff-profile-layout {
    grid-template-columns: 1fr;
  }

  .staff-profile-photo {
    order: -1;
    text-align: center;
  }
}
/* ===========================
   MINISTER PROFILE – MATCH MINISTRY LAYOUT
=========================== */

.minister-profile {
  background: #eef4f9; /* SAME blue tone as Our Mission */
  padding: 90px 0;
}

.minister-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 70px;
  align-items: start;
}

/* LEFT SIDE TEXT */
.minister-text {
  text-align: left;
}

.minister-name {
  font-size: 2.6rem;
  font-weight: 700;
  color: #0a2a43; /* FDWC navy */
  margin-bottom: 8px;
}

.minister-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #c9a227; /* FDWC gold */
  margin-bottom: 30px;
}

.minister-bio {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #1f2937;
  max-width: 100%;
}

/* RIGHT SIDE IMAGE */
.minister-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 14px; /* soft rectangle */
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

/* MOBILE STACK */
@media (max-width: 900px) {
  .minister-layout {
    grid-template-columns: 1fr;
  }

  .minister-image {
    order: -1;
    text-align: center;
  }

  .minister-image img {
    max-width: 320px;
  }
}
/* ===============================
   MINISTER PROFILE – MATCH MINISTRIES
================================ */

.minister-page {
  background: #eaf2f9; /* SAME family as Our Mission */
  padding: 90px 0;
}

.minister-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;

  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: start;
}

/* LEFT TEXT */
.minister-content {
  text-align: left;
}

.minister-name {
  font-size: 2.6rem;
  font-weight: 700;
  color: #0a2a43; /* FDWC navy */
  margin-bottom: 8px;
}

.minister-role {
  font-size: 1.3rem;
  font-weight: 600;
  color: #c9a227; /* FDWC gold */
  margin-bottom: 30px;
}

/* BIO */
.minister-bio {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #1f2937;
  max-width: 100%;
}

.minister-bio p {
  margin-bottom: 18px;
}

/* RIGHT IMAGE */
.minister-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

/* MOBILE */
@media (max-width: 900px) {
  .minister-layout {
    grid-template-columns: 1fr;
  }

  .minister-image {
    order: -1;
    text-align: center;
  }
}
/* ===============================
   STAFF PROFILE — IMAGE ALIGNMENT
   Centers image vertically like Ministries pages
================================ */

.profile-layout {
  align-items: center; /* centers image column vertically */
}

.profile-image {
  align-items: center;
  padding-top: 20px;
}
/* ===============================
   MINISTER PROFILE PHOTO — GOLD BORDER
================================ */

.profile-photo img,
.minister-photo-frame img {
  border: 2px solid #c9a227;   /* FDWC gold */
  padding: 6px;               /* space between image and border */
  background: #ffffff;        /* keeps photo clean */
  border-radius: 14px;        /* soft rounded corners */
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

/* =========================================
   MINISTERIAL STAFF — PHOTO GOLD BORDER
========================================= */

.minister-photo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;   /* pushes image down slightly */
}

.minister-photo img {
  width: 100%;
  max-width: 420px;   /* clean, balanced size */
  height: auto;

  border-radius: 14px;   /* soft rectangle */
  border: 2px solid #c9a227; /* FDWC gold */

  padding: 6px;          /* space between image and border */
  background: #ffffff;  /* crisp contrast */

  box-shadow:
    0 10px 30px rgba(0,0,0,0.15),
    0 0 0 1px rgba(201,162,39,0.35);
}
/* ===========================
   MINISTER PHOTO – GOLD FRAME
=========================== */

.minister-image {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 8px;                     /* space between image and border */
  border: 2px solid #c9a227;        /* FDWC gold */
  border-radius: 14px;              /* matches your design */
  max-width: 360px;                 /* keeps size controlled */
  margin: 60px auto 0;              /* centers + lowers image */
  background: transparent;
}

.minister-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;              /* slightly inside the gold frame */
}
/* GOLD BORDER — DOES NOT CHANGE IMAGE SIZE */
.minister-image {
  display: inline-block;
  padding: 6px;                 /* space for border */
  border: 2px solid #c9a227;    /* FDWC gold */
  border-radius: 14px;
}

.minister-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ============================
   YOUTH GALLERY
============================ */

.youth-gallery-section {
  margin-top: 90px;
  text-align: center;
}

.youth-gallery-title {
  font-size: 34px;
  color: #ffffff;
  margin-bottom: 14px;
}

/* Gallery container */
.youth-gallery {
  position: relative;
  max-width: 900px;
  height: 480px;
  margin: 40px auto 0;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 25px 45px rgba(0,0,0,0.45);
}

/* Slides */
.youth-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.youth-slide.active {
  opacity: 1;
  z-index: 2;
}

.youth-slide img,
.youth-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11,31,58,0.9);
  color: #ffffff;
  border: 2px solid #d4af37;
  padding: 10px 18px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.gallery-btn:hover {
  background: #d4af37;
  color: #0b1f3a;
}

.gallery-btn.prev { left: 16px; }
.gallery-btn.next { right: 16px; }

/* FORCE YOUTH GALLERY VISIBILITY */
.youth-gallery {
  display: block;
  height: 480px !important;
  position: relative !important;
  overflow: hidden;
  background: #000;
}
/* ============================
   YOUTH HERO-LIKE GALLERY
============================ */

.youth-hero-like {
  position: relative;
  width: 100%;
 
  margin-top: 80px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Video background */
.youth-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

/* Overlay (same feel as hero) */
.youth-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.65)
  );
  z-index: 1;
}

/* Caption */
.youth-bg-caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1px;
  z-index: 2;
  text-shadow: 0 4px 15px rgba(0,0,0,0.85);
}

/* Controls */
.youth-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11,31,58,0.85);
  color: #ffffff;
  border: 2px solid #d4af37;
  padding: 10px 18px;
  cursor: pointer;
  z-index: 3;
}

.youth-nav.prev { left: 20px; }
.youth-nav.next { right: 20px; }

.youth-nav:hover {
  background: #d4af37;
  color: #0b1f3a;
}
/* ============================
   YOUTH HERO VIEWER (FINAL)
============================ */

.youth-hero-like {
  position: relative;
  width: 100%;
  
  margin: 80px auto;
  background-size: cover;
  background-position: center;
  overflow: hidden;

  /* GOLD BORDER */
  border: 3px solid #d4af37;
  box-shadow: 0 0 0 6px rgba(212,175,55,0.15);
}

/* Background video */
.youth-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

/* Overlay */
.youth-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.65)
  );
  z-index: 1;
}

/* Caption */
.youth-bg-caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 26px;
  font-weight: 600;
  z-index: 2;
  text-shadow: 0 4px 15px rgba(0,0,0,0.9);
}

/* Controls */
.youth-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11,31,58,0.9);
  color: #ffffff;
  border: 2px solid #d4af37;
  padding: 10px 18px;
  cursor: pointer;
  z-index: 3;
}

.youth-nav.prev { left: 20px; }
.youth-nav.next { right: 20px; }

.youth-nav:hover {
  background: #d4af37;
  color: #0b1f3a;
}
/* ============================
   YOUTH HERO VIEWER (FORCED)
============================ */

.youth-hero-like{
  position: relative !important;
  display: block !important;
  width: min(1100px, 100%) !important;
  height: 520px !important;
  margin: 60px auto !important;
  overflow: hidden !important;

  /* GOLD BORDER (always visible) */
  border: 4px solid #d4af37 !important;
  box-sizing: border-box !important;
  border-radius: 14px !important;

  /* Helps separate from dark background */
  box-shadow: 0 18px 45px rgba(0,0,0,0.55) !important;
  background-color: #000 !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Keep overlay inside the border */
.youth-bg-overlay{
  position:absolute;
  inset:0;
  z-index: 1;
  background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.65));
}

.youth-bg-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:none;
  z-index: 0;
}

.youth-bg-caption{
  position:absolute;
  left:50%;
  bottom:34px;
  transform:translateX(-50%);
  z-index:2;
  color:#fff;
  font-size:26px;
  font-weight:600;
  text-shadow:0 4px 15px rgba(0,0,0,0.9);
}

.youth-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:3;

  background: rgba(11,31,58,0.9);
  color:#fff;
  border:2px solid #d4af37;
  padding:10px 18px;
  cursor:pointer;
  border-radius: 8px;
}

.youth-nav.prev{ left:16px; }
.youth-nav.next{ right:16px; }

.youth-nav:hover{
  background:#d4af37;
  color:#0b1f3a;
}
/* YOUTH HERO VIEWER — gold border + true “viewer” look */
.youth-hero-like{
  position: relative;
  width: min(1100px, 100%);
  
  margin: 60px auto;
  overflow: hidden;

  border: 4px solid #d4af37;      /* GOLD BORDER */
  border-radius: 14px;
  box-sizing: border-box;

  background-color: #000;          /* shows even if image path is wrong */
  background-size: cover;
  background-position: center;

  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
}

.youth-bg-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:none;
}

.youth-bg-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.65));
}

.youth-bg-caption{
  position:absolute;
  left:50%;
  bottom:34px;
  transform:translateX(-50%);
  color:#fff;
  font-size:26px;
  font-weight:600;
  text-shadow:0 4px 15px rgba(0,0,0,0.9);
}

.youth-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background: rgba(11,31,58,0.9);
  color:#fff;
  border:2px solid #d4af37;
  padding:10px 18px;
  cursor:pointer;
  border-radius: 8px;
}

.youth-nav.prev{ left:16px; }
.youth-nav.next{ right:16px; }
/* Youth Highlights section text */
#youth-highlights .section-header,
#youth-highlights p {
  color: #ffffff;
  text-align: center;
}

#youth-highlights p {
  max-width: 700px;
  margin: 0 auto 30px;
}
.controls{
  display:flex;
  justify-content:center;
  gap:18px;
  margin:14px 0 6px;
}

.btn{
  background:rgba(11,31,58,0.9);
  color:#fff;
  border:2px solid #d4af37;
  padding:10px 22px;
  cursor:pointer;
  border-radius:8px;
  font-size:15px;
}
/* FORCE YOUTH IFRAME HEIGHT */
#youth-highlights iframe {
  height: 700px !important;
  aspect-ratio: auto !important;
}
/* VIEWER */
.viewer{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;

  border:4px solid #d4af37;
  border-radius:14px;
  box-sizing:border-box;
  background:#000;
}

/* SOUND BUTTON */
.sound-btn{
  position:absolute;
  top:16px;
  right:16px;
  z-index:10;

  background:rgba(11,31,58,0.85);
  color:#fff;
  border:2px solid #d4af37;
  padding:6px 12px;
  cursor:pointer;
  border-radius:6px;
  font-size:14px;
}
/* VBS section text alignment */
#vbs-highlights .section-header{
  color:#ffffff;
  text-align:center;
}

#vbs-highlights p{
  color:#ffffff;
  text-align:center;
  max-width:720px;
  margin: 0 auto 30px;
}
/* VBS section background – match hero */
#vbs-highlights {
  background: #0b1f3a;
}

/* 🔥 FORCE RECTANGLE ON MOBILE */
@media (max-width: 768px) {
  /* ✅ WORSHIP TEAM — FINAL IMAGE FIX */
.team-member-img {
  width: 100%;
  height: auto !important;
  max-height: 
  
  /* ============================
   WORSHIP TEAM — VIEWER HEIGHT
============================ */

.ministry-team {
  margin-top: 30px;
}

.ministry-team-grid {
  max-width: 1200px;
  margin: 0 auto;
}

/* The actual viewer frame */
.ministry-team-grid figure {
         /* 🔥 INCREASE HEIGHT HERE */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Image inside viewer */
.ministry-team-grid img,
.team-member-img {
         /* match container */
  width: 100%;
  object-fit: cover;
}
0px;
  object-fit: cover;

  border-radius: 12px !important; /* soft rectangle */
  aspect-ratio: unset !important;

  border: 2px solid rgba(212,175,55,0.65);
  box-shadow: 0 12px 28px rgba(0,0,0,0.65);
}

}
 /* 🚨 FORCE REMOVE CIRCLE — ALL DEVICES */
.team-member img,


.ministry-team img {
  border-radius: 14px !important;
}

  background: linear-gradient(90deg, #b58e00, #ffd700, #b58e00);
  margin-bottom: 30px;
/* ============================
   MOBILE — UNIFY ALL MINISTRY VIEWERS
============================ */

@media (max-width: 768px) {

  .ministry-team-grid,
  .ministry-sub-grid {
    max-width: 92%;
    margin: 0 auto;
  }

 
}
/* =========================================
   FORCE OVERRIDE — ALL MINISTRY VIEWERS
   (DESKTOP + MOBILE)
========================================= */


@media (max-width: 768px) {
  .ministry-team img,
  .ministry-sub-grid img,
  .team-member img,
  .team-member-img {
    max-height: 360px !important;
  }
}
@media (max-width: 768px) {
  .ministry-team-grid figure {
        /* taller on phone */
  }

  .ministry-team-grid img,
  .team-member-img {
    
  }
}
/* ============================
   WORSHIP TEAM — CENTER TITLE & CAPTION
============================ */

.ministry-team-header,
.ministry-team-header h2,
.ministry-team-header p,
.ministry-team > h2,
.ministry-team > p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* If caption is outside header */
.ministry-team-caption,
.ministry-team .caption,
.ministry-team figcaption {
  text-align: center;
  margin: 14px auto 0;
}
.ministry-team p {
  text-align: center;
}
/* ============================
   FORCE WORSHIP TEAM CENTERING
============================ */

/* Break the two-column layout */
.worship-team-header,
.ministry-team-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 6px;
}

/* Center the title */
.worship-team-header h2,
.ministry-team-header h2 {
  width: 100%;
  text-align: center !important;
  margin: 0 auto 4px;
}

/* Center the subtitle/caption */
.worship-team-header p,
.ministry-team-header p {
  width: 100%;
  text-align: center !important;
  margin: 0 auto;
}
/* ============================
   SUB-MINISTRY — UNIFIED VIEWER
============================ */

.sub-ministry {
  max-width: 1100px;
  margin: 70px auto;
  text-align: center;
}

/* Header */
.sub-ministry-header h3 {
  color: #d4af37;
  font-size: 22px;
  margin-bottom: 6px;
}

.sub-ministry-header p {
  color: #cfd6ff;
  font-size: 15px;
  margin-bottom: 18px;
}

/* Viewer container */
.sub-ministry-viewer {
  position: relative;
  border: 2px solid rgba(212,175,55,0.65);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.65);
}

/* Image inside viewer */
.sub-ministry-img {
  width: 100%;
  height: auto;
 
  object-fit: cover;
  display: block;
}

/* Mobile consistency */
@media (max-width: 768px) {
  .sub-ministry {
    margin: 50px auto;
  }

  .sub-ministry-img {
   
  }
}
/* ============================
   WORSHIP TEAM — VIEWER SIZE FIX
============================ */

.ministry-team-grid {
  display: flex;
  justify-content: center;
}

.team-member {
  width: 100%;
  max-width: 900px; /* ⬅ controls WIDTH */
}


@media (max-width: 768px) {
  .team-member {
    max-width: 92%;
  }

  .team-member-img {
    height: 360px; /* taller but controlled */
  }
}
/* ============================
   MINISTRY TEAM — UNIFIED VIEWER
============================ */

/* Viewer container — SAME for ALL ministries */
.ministry-team-grid {
  display: flex;
  justify-content: center;
  margin: 24px 0 10px;
}

.team-member {
  width: 100%;
  max-width: 720px;        /* controls WIDTH */
           /* controls HEIGHT */
  padding: 10px;

  border: 2px solid rgba(212,175,55,0.75);
  border-radius: 14px;
  background: radial-gradient(circle at top, #0f1a2f, #050914);

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image fills viewer — not oversized */

}
@media (max-width: 768px) {
  .team-member {
    height: 320px;
    max-width: 92%;
  }
}
/* ============================
   MINISTRY TEAM — FINAL VIEWER
   (OVERRIDES GRID LAYOUT)
============================ */

.ministry-team-grid {
  display: flex;
  justify-content: center;
  margin: 24px 0 10px;
}



/* Image inside viewer */
.team-member-img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  border-radius: 10px;
  border: none;          /* ⬅ IMPORTANT: removes double border */
  box-shadow: none;
}

/* Mobile */
@media (max-width: 768px) {
  .team-member {
    max-width: 92%;
    height: 320px;
  }
}
/* =========================================
   WORSHIP + SUB-MINISTRY VIEWER (FINAL)
========================================= */

/* Center the viewer */
.ministry-team-grid {
  display: flex;
  justify-content: center;
  margin: 24px auto;
}

/* VIEWER FRAME */
.ministry-team-grid figure,
.team-member {
  width: 100%;
  max-width: 640px;           /* ✅ DESKTOP WIDTH FIX */
  aspect-ratio: 16 / 10;      /* ✅ CONTROLS HEIGHT PROPORTION */

  padding: 10px;
  border: 2px solid rgba(212,175,55,0.75);
  border-radius: 14px;
  background: radial-gradient(circle at top, #0f1a2f, #050914);

  display: flex;
  align-items: center;
  justify-content: center;
}

/* IMAGE — NEVER STRETCH */
.team-member-img,
.ministry-team-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  border: none !important;
  box-shadow: none !important;
  border-radius: 10px;
}

/* 📱 MOBILE FIX */
@media (max-width: 768px) {
  .ministry-team-grid figure,
  .team-member {
    max-width: 92%;
    aspect-ratio: 4 / 5;     /* ✅ SHORTER, NOT TALL */
  }
}
/* 🔧 Tighten space below Youth Gallery */
#youth-highlights {
  margin-bottom: 30px;   /* reduce gap */
  padding-bottom: 20px;  /* reduce inner spacing */
}

/* 🔧 Tighten space above main content */
#youth-highlights + section {
  margin-top: 20px;
}
/* Optional override if panel spacing is aggressive */
#youth-highlights.panel {
  padding-bottom: 10px !important;
}
/* =====================================
   YOUTH PAGE — SPACING FIX
===================================== */

/* Tighten space BELOW gallery (desktop) */
#youth-highlights {
  margin-bottom: 24px !important;
  padding-bottom: 16px !important;
}

/* Tighten space ABOVE main content (desktop) */
#youth-highlights + section,
#youth-highlights + .panel {
  margin-top: 20px !important;
  padding-top: 10px !important;
}

/* ---------- MOBILE FIX ---------- */
@media (max-width: 768px) {

  /* Pull main content UP closer to gallery */
  #youth-highlights {
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
  }

  #youth-highlights + section,
  #youth-highlights + .panel {
    margin-top: 8px !important;
    padding-top: 0 !important;
  }
}
/* =====================================
   YOUTH PAGE — HARD GAP REMOVAL
===================================== */

/* --- GALLERY SECTION --- */
#youth-highlights {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* --- VIEWER ITSELF --- */
#youth-highlights iframe,
#youth-highlights .viewer {
  margin-bottom: 8px !important; /* ONLY small breathing room */
}

/* --- NEXT SECTION (MAIN CONTENT) --- */
#youth-highlights + section,
#youth-highlights + .panel,
#youth-highlights + .container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* --- MAIN CONTENT WRAPPER --- */
#youth-highlights ~ section {
  margin-top: 8px !important;
  padding-top: 0 !important;
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {

  #youth-highlights {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  #youth-highlights iframe,
  #youth-highlights .viewer {
    margin-bottom: 6px !important;
  }

  #youth-highlights + section,
  #youth-highlights + .panel {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  #youth-highlights ~ section {
    margin-top: 6px !important;
  }
}
/* =====================================
   GOLD DIVIDER — TIGHT SPACING
===================================== */

.gold-divider-tight {
  width: 160px;
  height: 2px;
  margin: 10px auto 12px; /* tight gap */
  background: linear-gradient(
    90deg,
    rgba(212,175,55,0),
    #d4af37,
    rgba(212,175,55,0)
  );
  border-radius: 2px;
}

/* Mobile */
@media (max-width: 768px) {
  .gold-divider-tight {
    width: 120px;
    margin: 8px auto 10px;
  }
}
/* ===============================
   FORCE GOLD DIVIDER (VISIBLE)
=============================== */

.gold-divider-tight {
  display: block;
  width: 180px;
  height: 4px;
  margin: 8px auto 12px;

  background-color: #d4af37; /* SOLID GOLD */
  border-radius: 4px;

  box-shadow: 0 0 10px rgba(212,175,55,0.8);
  opacity: 1 !important;
}
.gold-divider-tight {
  background: red !important;
  height: 6px !important;
}
/* ============================
   BULLETIN — MOBILE FIX
============================ */

.bulletin-section {
  padding-top: 30px;
}

/* Viewer container */
.bulletin-viewer {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 14px;
}

/* Each bulletin page image */
.bulletin-viewer img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto 24px;

  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* ============================
   MOBILE TIGHTENING
============================ */

@media (max-width: 768px) {

  .bulletin-section {
    padding-top: 20px;
  }

  .bulletin-viewer {
    padding: 0 10px;
  }

  .bulletin-viewer img {
    margin-bottom: 18px;
  }

  /* Reduce space before/after actions */
  .bulletin-actions {
    margin-top: 12px;
  }
}
/* ============================
   BULLETIN ACTIONS — VISIBILITY FIX
============================ */

.bulletin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 20px;
}

/* Download link */
.bulletin-actions a {
  background: linear-gradient(135deg, #b58e00, #ffd700);
  color: #0b1f3a !important;
  font-weight: 600;
  text-decoration: none;

  padding: 12px 18px;
  border-radius: 8px;
  border: none;

  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: all 0.25s ease;
}

/* Hover effect */
.bulletin-actions a:hover {
  background: linear-gradient(135deg, #ffd700, #ffec8b);
  transform: translateY(-2px);
}

/* Print button match */
.bulletin-actions button {
  background: rgba(11,31,58,0.9);
  color: #ffffff;
  border: 2px solid #d4af37;

  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;

  transition: all 0.25s ease;
}

.bulletin-actions button:hover {
  background: #d4af37;
  color: #0b1f3a;
}
/* ============================
   BULLETIN VIEWER — SIZE CONTROL
============================ */

.bulletin-viewer {
  max-width: 900px;      /* ⬅ controls desktop width */
  margin: 0 auto;
  padding: 0 16px;
}

.bulletin-viewer img {
  width: 100%;
  max-width: 900px;      /* ⬅ prevents oversizing */
  height: auto;
  display: block;
  margin: 0 auto 24px;
  border-radius: 8px;
}
/* ======================================
   BULLETIN — FORCE DESKTOP SIZE FIX
====================================== */

body .bulletin-viewer {
  max-width: 880px !important;
  margin: 0 auto !important;
}

body .bulletin-viewer img {
  display: block !important;
  width: 100% !important;
  max-width: 880px !important;
  height: auto !important;
  margin: 0 auto 28px !important;
}
/* ======================================
   BULLETIN — HARD DESKTOP WIDTH FIX
====================================== */

.bulletin-section .bulletin-viewer {
  max-width: 900px;
  margin: 0 auto;
}

.bulletin-section .bulletin-viewer img {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto 32px;
}
/* ======================================
   BULLETIN — FORCE DESKTOP SIZE FIX
   (Overrides styles.css)
====================================== */

body .bulletin-section .bulletin-viewer {
  max-width: 900px !important;
  margin: 0 auto !important;
}

body .bulletin-section .bulletin-viewer img {
  display: block !important;
  width: 100% !important;
  max-width: 900px !important;
  height: auto !important;
  margin: 0 auto 32px !important;
}
/* FDWC ministry bullet lists */
.fdwc-list {
  margin: 18px 0 0 22px;
  padding: 0;
  color: #ffffff;              /* white text */
  font-size: 1rem;
  line-height: 1.6;
}

.fdwc-list li {
  margin-bottom: 10px;
  list-style: disc;            /* restore bullets */
}

.fdwc-list li::marker {
  color: #d4af37;              /* FDWC gold bullet */
}
/* ============================
   FORCE LIST VISIBILITY
============================ */

.ministry-card ul,
.ministry-card li {
  color: #ffffff !important;
  opacity: 1 !important;
}

.ministry-card ul {
  list-style: disc !important;
  margin: 14px 0 20px 26px;
  padding-left: 18px;
}

.ministry-card li {
  line-height: 1.6;
  margin-bottom: 10px;
}
/* ============================
   FIX: FORCE LIST VISIBILITY
   ============================ */

.ministry-card ul,
.ministry-card li {
  color: #ffffff !important;
  opacity: 1 !important;
}

.ministry-card ul {
  list-style: disc;
  margin: 16px 0 24px 24px;
  padding-left: 20px;
}

.ministry-card li {
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Gold bullets to match FDWC */
.ministry-card li::marker {
  color: #d4af37;
}

/* Gold bullets */
.ministry-card ul li::marker {
  color: #d4af37;
}

/* ============================
   FIX DIM PARAGRAPH TEXT
============================ */

.ministry-card p {
  color: #ffffff;
  opacity: 1;
}
/* ============================
   VBS TEXT ALIGNMENT FIX
============================ */

.ministry-card h2,
.ministry-card p,
.ministry-card ul {
  text-align: left;
}
/* ============================
   REDUCE GAP BELOW VBS GALLERY
============================ */

.vbs-page #vbs-highlights {
  padding-bottom: 40px;
}

.vbs-page .ministry-main {
  margin-top: 0;
  padding-top: 40px;
}
/* ============================
   VBS SPACING & COLOR FIX
============================ */

/* Reduce gap under gallery */
.vbs-page #vbs-highlights {
  padding-bottom: 30px;
}

/* Pull ministry cards up closer */
.vbs-page .ministry-main {
  margin-top: -20px;
  padding-top: 40px;
}

/* Ensure background color stays consistent */
.vbs-page .ministry-main {
  background: transparent;
}
/* ============================
   FIX GALLERY → CARD SPACING
============================ */

/* Reduce gap below gallery */
#vbs-highlights {
  padding-bottom: 40px !important;
}

/* Reduce gap above ministry cards */
.vbs-page .ministry-main {
  padding-top: 40px !important;
}

/* MOBILE FIX */
@media (max-width: 768px) {

  /* Remove extra space around gallery */
  #vbs-highlights {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  /* Stack logos tighter */
  .fdwc-highlights-row {
    gap: 20px !important;
  }

  /* Ensure ministry card hugs gallery */
  .vbs-page .ministry-main {
    margin-top: 0 !important;
    padding-top: 30px !important;
  }
}
