/* Shared styles for the Beliefs page (loads after shared.css and sections.css). */

.page-hero{padding:88px 0 96px;}
.page-hero .wrap{position:relative; z-index:1;}
.page-hero h1{font-size:clamp(40px,5.6vw,68px); margin-top:0;}
.page-hero h1 em.script{font-style:normal; color:var(--gold); font-size:1.12em;}
.page-hero .hero-sub{max-width:60ch;}

.scripture{margin:40px 0 0; padding:0 0 0 24px; border-left:2px solid var(--gold); max-width:680px;}
.scripture p{font-family:var(--disp); font-style:italic; font-weight:500; font-size:clamp(19px,2.1vw,23px); line-height:1.5; color:#fff;}
.scripture cite{display:block; margin-top:12px; font-style:normal; font-family:var(--label); text-transform:uppercase; letter-spacing:0.16em; font-size:12px; color:var(--gold);}

/* Label-left, text-right rows */
.rows{border-top:1px solid var(--line-dark);}
.row{display:grid; grid-template-columns:minmax(170px,0.3fr) 1fr; gap:10px 56px; padding:30px 0; border-bottom:1px solid var(--line-dark); align-items:baseline;}
@media (max-width:700px){ .row{grid-template-columns:1fr; padding:24px 0;} }
.row h3{font-size:22px; color:var(--navy-900); font-weight:600;}
.row .ref{font-family:var(--label); text-transform:uppercase; letter-spacing:0.12em; font-size:13px; font-weight:500; color:var(--navy); display:inline-flex; align-items:center; gap:10px;}
.row .ref::before{content:""; width:16px; height:1px; background:var(--gold-dim); display:inline-block;}
.row p{color:var(--ink-soft); font-size:17px; line-height:1.7; max-width:64ch;}
.row p + p{margin-top:14px;}
.row .statement{font-family:var(--disp); font-size:clamp(19px,2vw,22px); color:var(--navy-900); line-height:1.45; font-weight:500; max-width:56ch;}
.row ul{margin:14px 0 0; padding:0; list-style:none;}
.row li{display:flex; gap:12px; color:var(--ink-soft); font-size:16.5px; line-height:1.65; margin-bottom:10px;}
.row li::before{content:""; flex-shrink:0; width:6px; height:6px; border-radius:50%; background:var(--gold-dim); margin-top:11px;}

.prose{max-width:68ch;}
.prose p{font-size:17px; line-height:1.75; color:rgba(255,255,255,0.8); margin-bottom:20px;}
.prose p:last-child{margin-bottom:0;}
.cta-row{display:flex; gap:16px; flex-wrap:wrap; margin-top:40px;}
.lede{font-size:clamp(18px,2vw,21px); color:var(--ink-soft); line-height:1.7; max-width:64ch;}
.navy-bg .lede{color:rgba(255,255,255,0.78);}
.btn-ghost-dark{background:transparent; color:var(--navy-900); border-color:var(--line-dark);}
.btn-ghost-dark:hover{background:rgba(22,35,47,0.05); border-color:var(--navy);}
.page-hero + .navy-bg{border-top:1px solid var(--line);}

/* ---------- CFE Atlanta ---------- */
.hero-photo.is-atlanta{background-position:center, center, 70% 52%;}
.hero h1.hero-title{font-size:clamp(36px,4.6vw,62px); line-height:1.1; margin-bottom:20px;}
.hero h1.hero-title .script{font-size:1.1em;}
.hero .hero-sub{font-size:clamp(18px,1.8vw,21px); color:rgba(255,255,255,0.82); max-width:34ch;}
.hero .hero-sub + .hero-cta{margin-top:34px;}

.who-copy p + p{margin-top:0;}

/* Activities panel: three across, then two wider */
.hub-pillars{grid-template-columns:repeat(6,1fr);}
.hub-pillars .s2{grid-column:span 2;}
.hub-pillars .s3{grid-column:span 3;}
@media (max-width:860px){ .hub-pillars{grid-template-columns:1fr 1fr;} .hub-pillars .s2,.hub-pillars .s3{grid-column:span 1;} .hub-pillars .pillar:last-child{grid-column:1 / -1;} }
@media (max-width:640px){ .hub-pillars{grid-template-columns:1fr;} }
.hub-icon{display:block; color:var(--gold); margin-bottom:26px;}
.hub-icon svg{width:30px; height:30px; display:block;}

/* Future expansion map */
.hub-map{min-height:420px; padding:0;}
.hub-map svg{width:100%; height:100%; display:block;}
.hub-map .spoke{stroke:rgba(255,222,89,0.38); stroke-width:1; stroke-dasharray:3 6;}
.hub-map .future{fill:var(--navy-900); stroke:rgba(255,255,255,0.45); stroke-width:1.2; stroke-dasharray:2 3;}
.hub-map .future-dot{fill:rgba(255,255,255,0.45);}
.hub-map .atl{fill:var(--gold);}
.hub-map .pulse{fill:none; stroke:var(--gold); stroke-width:1; opacity:0.5; transform-origin:280px 210px; animation:hubPulse 3.2s ease-out infinite;}
@keyframes hubPulse{0%{transform:scale(0.6); opacity:0.7;} 100%{transform:scale(2.4); opacity:0;}}
@media (prefers-reduced-motion:reduce){ .hub-map .pulse{animation:none; opacity:0.35;} }
.hub-map text{font-family:var(--label); text-transform:uppercase; letter-spacing:0.16em; font-size:11px;}
.hub-map .atl-label{fill:var(--gold); font-size:12px;}
.hub-map .legend{fill:rgba(255,255,255,0.6);}
.hub-lead{font-family:var(--disp); font-size:clamp(20px,2.2vw,26px); line-height:1.5; color:#fff; margin:0;}
.community-copy .hub-lead{font-size:clamp(20px,2.2vw,26px);}
@media (max-width:900px){ .hub-map{min-height:0; aspect-ratio:4/3;} }

/* Page hero with a photo on the right, fading into the navy band (same look as the Courses hero) */
.page-hero.hero-photo-bg{min-height:440px; display:flex; align-items:center; padding:72px 0;}
.page-hero.hero-photo-bg > .wrap{position:relative; z-index:2; width:100%;}
.page-hero.hero-photo-bg .hero-copy{max-width:560px;}
.page-hero.hero-photo-bg .hero-photo{
  display:block; position:absolute; top:0; right:0; bottom:0; width:64%; z-index:1;
  background-image:
    linear-gradient(90deg, var(--navy-900) 0%, rgba(24,44,62,0.78) 22%, rgba(24,44,62,0.18) 62%, rgba(24,44,62,0) 100%),
    linear-gradient(180deg, rgba(24,44,62,0) 70%, rgba(24,44,62,0.55) 100%),
    var(--photo);
  background-size:cover; background-position:center, center, 50% 40%; background-repeat:no-repeat;
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image:linear-gradient(90deg, transparent 0%, #000 38%);
}
@media (max-width:860px){
  .page-hero.hero-photo-bg{min-height:0; padding:72px 0 80px;}
  .page-hero.hero-photo-bg .hero-photo{
    width:100%; -webkit-mask-image:none; mask-image:none;
    background-image:
      linear-gradient(180deg, rgba(24,44,62,0.94) 0%, rgba(24,44,62,0.82) 55%, rgba(24,44,62,0.6) 100%),
      var(--photo);
    background-position:center, 50% 40%;
  }
}

/* Photo focal point can be set per page with --pos */
.page-hero.hero-photo-bg .hero-photo{background-position:center, center, var(--pos, 50% 40%);}
@media (max-width:860px){
  .page-hero.hero-photo-bg .hero-photo{background-position:center, var(--pos, 50% 40%);}
}

/* About page: in-page jump links and anchor offsets */
#mission, #beliefs, #pastors{scroll-margin-top:72px;}

/* Mission: centered stack (verse, mission, three points) */
.mission-stack{max-width:1040px; text-align:center;}
.mission-stack > .eyebrow{justify-content:center;}
.mission-verse{margin:26px auto 0; max-width:620px;}
.mission-verse p{font-family:var(--disp); font-style:italic; font-weight:500; font-size:clamp(18px,2vw,22px); line-height:1.5; color:var(--ink-soft);}
.mission-verse cite{display:block; margin-top:10px; font-style:normal; font-family:var(--label); text-transform:uppercase; letter-spacing:0.16em; font-size:12px; color:var(--navy);}
.mission-stack h2{font-size:clamp(28px,3.5vw,44px); line-height:1.3; margin:30px auto 0; max-width:900px;}
.mission-stack h2 .hl{text-decoration:underline; text-decoration-color:var(--gold); text-decoration-thickness:5px; text-underline-offset:7px; text-decoration-skip-ink:none;}
.mission-points{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:56px; text-align:left;}
.mission-points .pt{background:var(--navy); border-radius:6px; padding:32px 28px;}
.mission-points .pt .sword{margin-bottom:16px;}
.mission-points .pt p{color:rgba(255,255,255,0.86); font-size:16px; line-height:1.65;}
@media (max-width:900px){ .mission-points{grid-template-columns:1fr; margin-top:40px;} }

/* About: pastors on navy, photo left, bios right */
.pastor-split{display:grid; grid-template-columns:0.95fr 1.05fr; gap:72px; align-items:start; margin-top:8px;}
.pastor-split .pastor-photo{margin-right:18px;}
.pastor-bios .pastor-block{margin-bottom:0;}
.pastor-bios .pastor-block + .pastor-block{margin-top:40px; padding-top:40px; border-top:1px solid rgba(255,255,255,0.14);}
.navy-bg .pastor-block h3{color:#fff;}
.navy-bg .pastor-block .role{color:var(--gold);}
.navy-bg .pastor-block p{color:rgba(255,255,255,0.8);}
.bio-more summary{list-style:none; cursor:pointer; display:inline-block; font-family:var(--label); text-transform:uppercase; letter-spacing:0.14em; font-size:12.5px; font-weight:500; color:var(--gold); border-bottom:1px solid transparent; padding-bottom:2px;}
.bio-more summary::-webkit-details-marker{display:none;}
.bio-more summary:hover, .bio-more summary:focus-visible{border-bottom-color:var(--gold); outline:none;}
.bio-more[open] > summary{display:none;}
.bio-more[open] > p:first-of-type{margin-top:0;}
.bio-less{background:none; border:0; border-bottom:1px solid transparent; padding:0 0 2px; cursor:pointer; font-family:var(--label); text-transform:uppercase; letter-spacing:0.14em; font-size:12.5px; font-weight:500; color:var(--gold);}
.bio-less:hover, .bio-less:focus-visible{border-bottom-color:var(--gold); outline:none;}
@media (max-width:900px){ .pastor-split{grid-template-columns:1fr; gap:44px;} }
