.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 48vh;
}

/* LEFT PANEL */
.left-panel {
  background: var(--lightBlue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.left-panel-inner {
  text-align: center;
}

.left-logo {
  max-width: 180px;
  width: 100%;
  height: auto;
}

.left-caption {
  margin-top: 1rem;
}

.caption-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.caption-subtitle {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.left-social img {
  width: 32px;
  height: 32px;
}

/* HERO */
.ministries-hero {
  position: relative;
  min-height: 48vh;
  max-height: 520px;
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--wood);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  background-color: var(--wood);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-slide.is-active {
  opacity: 1;
}

.carousel-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  z-index: 2;
}

.hero-overlay {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(90%, 760px);
}

.hero-overlay h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.hero-overlay p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-link {
  margin-top: 0.9rem;
  font-size: 0.95rem;
}

.hero-link a {
  color: #ffffff;
  text-decoration: underline;
  opacity: 0.88;
}

.hero-link a:hover {
  opacity: 1;
}

.hero-hint {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* CONTROLS */
.carousel-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.carousel-dots {
  display: flex;
  gap: 0.45rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: #fff;
}

/* CONTENT */
.ministries-content {
  background: #f7f7f7;
  padding: 3rem 1.25rem 4rem;
}

.ministries-wrap {
  max-width: 1150px;
  margin: 0 auto;
}

.section-intro,
.ministries-closing {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 2.25rem;
}

.section-intro h2,
.ministries-closing h2 {
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.section-intro p,
.ministries-closing p {
  line-height: 1.8;
  color: #333;
}

.ministry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 3rem;
}

.ministry-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border-top: 5px solid var(--lightBlue);
}

.ministry-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.ministry-card p {
  margin: 0;
  line-height: 1.7;
  color: #333;
}

/* MOBILE */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .left-panel {
    padding: 1.5rem 1rem;
  }

  .ministries-hero {
    min-height: 40vh;
    max-height: 430px;
  }

  .hero-overlay {
    width: min(92%, 700px);
  }

  .ministry-grid {
    grid-template-columns: 1fr;
  }
}