/* FILE: discipleship.css (replace entire file with this) */

/* =========================
   PAGE TOKENS (match site)
========================= */
:root{
  /* If your global styles.css already defines these, this file will still work. */
  --terracotta: #b07a57;
  --warm-white: #f6f1ea;
  --ink: #1c1b1a;
  --sage: #7f9b86;          /* requested line color */
  --sage-deep: #5f7f6a;
  --overlay: rgba(0,0,0,0.25);
}

/* =========================
   HERO
========================= */
.hero--fullbleed{
  position: relative;
  min-height: 70vh;
  padding: 0;
  overflow: hidden;
}

.hero--fullbleed .hero-title{
  color: var(--warm-white);
  margin: 0;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: 0.08em;
}


.hero--discipleship .hero-bg{
  background-image: url("/assets/images/ripples_goldenlight.JPG");
}

.hero--fullbleed .hero-overlay{
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.hero-content{
  position: relative;
  z-index: 2;
}

  /* CRITICAL: override global .hero-content max-width:760 */
  width: 100%;
  max-width: none;

  padding: 0 16px;
}


/* =========================
   BANDS (lightweight)
========================= */
.band-cream{ background: var(--warm-white); }
.band-white{ background: #fff; }
.band-sage{
  background: rgba(127,155,134,0.12);
}

.container.narrow{
  max-width: 820px;
}

.center{ text-align: center; }

.lead{
  font-size: 1.1rem;          /* keep current size */
  line-height: 1.7;
  font-family: var(--font-sans);
  color: var(--gray);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* =========================
   VINE / CENTER LINE
========================= */
.vine{
  position: relative;
  padding: 40px 0 20px;
}

.vine-line{
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(127,155,134,0.15),
    rgba(127,155,134,0.55),
    rgba(127,155,134,0.35),
    rgba(127,155,134,0.15)
  );
}

.vine-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  row-gap: 34px;
}

/* Each item occupies full width; card offsets left/right from center */
.vine-item{
  position: relative;
  min-height: 70px;
}

/* center node (hollow circle) */
.vine-node{
  position: absolute;
  left: 50%;
  top: 28px;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: transparent;
  border: 2px solid rgba(127,155,134,0.85);
  box-shadow: 0 0 0 6px rgba(127,155,134,0.08);
}

/* branch line from node to card */
.vine-branch{
  position: absolute;
  top: 28px;
  height: 2px;
  background: rgba(127,155,134,0.65);
}

.vine-item.left .vine-branch{
  right: 50%;
  width: min(260px, 42vw);
  margin-right: 10px;
}

.vine-item.right .vine-branch{
  left: 50%;
  width: min(260px, 42vw);
  margin-left: 10px;
}

/* card placement */
.vine-card{
  width: min(420px, 44vw);
  background: rgba(246,241,234,0.55);
  border: 1px solid rgba(127,155,134,0.18);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  backdrop-filter: blur(2px);
}

.vine-item.left .vine-card{
  margin-left: 0;
  margin-right: calc(50% + 280px);
}

.vine-item.right .vine-card{
  margin-left: calc(50% + 280px);
  margin-right: 0;
}

/* card content */
.vine-card h3{
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.vine-card p{
  margin: 0;
  color: rgba(28,27,26,0.76);
  line-height: 1.6;
  font-size: 0.98rem;
}

/* icon placeholder */
.vine-icon{
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  margin: 0 0 10px;
  opacity: 0.9;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .vine-line{ left: 20px; transform: none; }
  .vine-node{ left: 20px; transform: translate(0,-50%); }

  .vine-item.left .vine-branch,
  .vine-item.right .vine-branch{
    left: 20px;
    right: auto;
    margin: 0;
    width: 46px;
  }

  .vine-card{
    width: 100%;
    margin: 0 0 0 74px !important;
  }
}

@media (max-width: 520px){
  .hero-content{ padding-top: 110px; }
  .vine-card{ padding: 16px; border-radius: 16px; }
}

/* =========================
   HEADER INTEGRATION SAFETY
   Keeps header transparent over hero.
========================= */
.site-header{
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  border-bottom: 0 !important;
}

.site-header.is-solid{
  background: rgba(246,241,234,0.92) !important;
  backdrop-filter: blur(8px) !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}
