/* =========================
   OBEDIENCE PAGE
========================= */

/* Hero background image */
.hero--obedience .hero-bg {
  background-image: url("/assets/images/rocks-waterfallsunset.jpg");
  background-position: 50% 25%;
}

/* FLANK SECTION */
.obedience-flank {
  padding: 5rem 1rem 6rem;
}

.flank-wrap {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px) 1fr;
  gap: 2.2rem;
  align-items: start;
}

.flank-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.flank-center {
  text-align: center;
  padding: 0 0.5rem;
}

.center-textblock {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.center-btn { display: inline-block; }

/* Center column headings — gold (section-level, not inside a card) */
.next-title {
  margin: 0 0 0.8rem;
  font-size: 2rem;
}

.center-subhead {
  margin: 1.4rem 0 0.6rem;
  font-size: 1.35rem;
}

/* Center column body */
.next-copy {
  margin: 0 auto 0.9rem;
  font-size: 1.08rem;
  line-height: 1.65;
}

.next-micro {
  margin: 0.9rem 0 0;
  opacity: 0.75;
}

/* Scripture card */
.next-verse {
  margin: 1.8rem auto 2.2rem;
  max-width: 520px;
  padding: 1.2rem 1.3rem;
  border-radius: 16px;
  background: rgba(184, 146, 106, 0.10);
  border: 1px solid rgba(61, 57, 53, 0.10);
}

.verse-text {
  margin: 0;
  font-style: italic;
  font-size: 1.05rem;
}

.verse-ref {
  margin: 0.5rem 0 0;
  opacity: 0.75;
}

/* BOXES */
.flank-box {
  position: relative;
  width: 100%;
  min-height: 112px;
  border-radius: var(--radius-md);
  background: var(--warm-white);
  border: 1px solid rgba(61, 57, 53, 0.10);
  padding: 1rem 1.05rem 1rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.35;
  box-shadow: var(--shadow-soft);
}

/* Box headings — tighten spacing since they're small cards */
.flank-box h3 {
  margin-bottom: 0.25rem;
}

.flank-box span {
  color: var(--gray);
}

/* Accent bar */
.flank-box::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 0.95rem;
  width: 10px;
  height: calc(100% - 1.9rem);
  border-radius: 10px;
  opacity: 0.95;
}

.left-col .flank-box:nth-child(1)::before { background: #2f6f8f; }
.left-col .flank-box:nth-child(2)::before { background: #2f7d62; }
.left-col .flank-box:nth-child(3)::before { background: var(--gold); }

.right-col .flank-box:nth-child(1)::before { background: #3f4a3c; }
.right-col .flank-box:nth-child(2)::before { background: #5b7aa6; }
.right-col .flank-box:nth-child(3)::before { background: var(--gold-soft); }

/* RESPONSIVE */
@media (max-width: 980px) {
  .flank-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .flank-center { order: -1; }
  .center-textblock { max-width: 520px; }

  .flank-box {
    text-align: center;
    padding: 1.1rem 1.1rem 1.2rem;
  }

  .flank-box::before {
    left: 50%;
    top: 0.85rem;
    width: 56px;
    height: 8px;
    transform: translateX(-50%);
  }
}
