/* =========================================
   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;
  border-radius: 50%;
  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;
}

.team-member-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255,215,0,0.65);
  box-shadow: 0 10px 22px rgba(0,0,0,0.75);
  margin-bottom: 6px;
}

.team-member-name {
  font-size: 14px;
  font-weight: 600;
}

.team-member-role {
  font-size: 12px;
  color:#c7cbff;
}

/* small helper for spacing under last section */
.ministry-page-last-space {
  height:40px;
}
/* =========================================
   GOLD SECTION DIVIDER
========================================= */

.section-divider {
  width: 180px;
  height: 4px;
  margin: 50px auto;
  border-radius: 999px;
  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;
  border-radius: 999px;
  background: linear-gradient(90deg, #b58e00, #ffd700, #b58e00);
  margin-bottom: 30px;
}

.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;
}




