/* ============================================================
   FAQ ACCORDION (v7.13)
   Supports both native <details>/<summary> (single-cp_activity)
   and JS-driven .open class (legacy FAQ page).
   ============================================================ */
.faq-sec { padding: 64px 48px; background: var(--wh); }
.faq-inner { max-width: 800px; margin: 0 auto; }

/* ── Section heading ── */
.faq-eyebrow {
  font-family: var(--fb); font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--sb); margin-bottom: 8px;
}
.faq-heading-wrap { display: inline-block; margin-bottom: 32px; }
.faq-heading {
  font-family: var(--ft); font-size: clamp(2rem,4vw,3.2rem);
  text-transform: uppercase; color: var(--pb); line-height: .95;
}
.faq-ksh {
  font-family: var(--fs); font-size: 1.2rem; color: var(--py);
  transform: rotate(-6deg); transform-origin: left bottom;
  margin-top: -.15em; margin-left: .06em; display: inline-block;
}

/* ── Accordion list ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--cr); border-radius: 10px; overflow: hidden; transition: box-shadow .2s; }
.faq-item:hover { box-shadow: var(--sh-sm); }

/* Summary / trigger row */
.faq-q {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; padding: 16px 20px;
  font-family: var(--ft); font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .3px; color: var(--pb);
  background: none; border: none; cursor: pointer; text-align: left;
  list-style: none;           /* hides native <details> marker */
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q-text { flex: 1; }

/* Plus / minus icon */
.faq-q-icon,
.faq-icon {
  font-family: var(--fb); font-size: 1.2rem; color: var(--py);
  transition: transform .3s; flex-shrink: 0; margin-left: 12px;
}
details[open] > .faq-q .faq-q-icon,
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── Answer body ──
   Two render structures share the prose styling below:
   • Native <details> (single-cp_activity): answer sits directly in .faq-a
   • Legacy JS accordion (page-faq / exploring-faith / homegroups): answer in .faq-a-inner
   .faq-a is the collapse gate — never pad it directly, or the padding shows
   through the max-height:0 collapsed state on the JS-driven accordion. */
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease);
}
/* Native <details> doesn't need max-height gating */
details[open] > .faq-a { max-height: none; overflow: visible; }
details:not([open]) > .faq-a { display: none; }

/* Prose — applied to whichever element directly wraps the answer text */
.faq-a-inner,
details[open] > .faq-a {
  padding: 6px 24px 22px; font-family: var(--fb); font-size: .95rem;
  color: var(--ch); line-height: 1.8;
}
/* base.css resets every margin (* { margin:0 }), so wpautop's paragraphs
   collapse into one block — restore the rhythm that makes answers readable. */
.faq-a-inner > p,
details[open] > .faq-a > p { margin: 0 0 1rem; }
.faq-a-inner > p:last-child,
details[open] > .faq-a > p:last-child { margin-bottom: 0; }
.faq-a-inner ul, .faq-a-inner ol,
details[open] > .faq-a ul, details[open] > .faq-a ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.faq-a-inner li,
details[open] > .faq-a li { margin-bottom: .4rem; }
.faq-a-inner strong,
details[open] > .faq-a strong { color: var(--pb); }
.faq-a-inner a,
details[open] > .faq-a a {
  color: var(--pb); font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--py);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.faq-a-inner a:hover,
details[open] > .faq-a a:hover { color: var(--db); text-decoration-color: var(--py); }

/* ── Emoji in question ── */
.faq-q-emoji { margin-right: 6px; font-size: 1.15em; }

/* ── Next-steps button inside accordion ── */
.faq-next-steps-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--fb); font-size: .75rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  background: var(--pb); color: var(--wh);
  padding: 10px 20px; border-radius: 100px;
  border: none; cursor: pointer;
  margin-top: 16px; transition: all .2s;
}
.faq-next-steps-btn:hover { background: var(--db); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .faq-sec { padding: 52px 28px; }
}
@media (max-width: 900px) {
  .faq-sec { padding: 40px 20px; }
  .faq-inner { max-width: 100%; }
}
@media (max-width: 768px) {
  .faq-sec { padding: 36px 16px; }
  .faq-q { font-size: .95rem; }
  .faq-heading-wrap { margin-bottom: 24px; }
  .faq-a-inner,
  details[open] > .faq-a { padding: 6px 18px 18px; font-size: .92rem; }
}
@media (max-width: 480px) {
  .faq-sec { padding: 28px 14px; }
  .faq-q { font-size: .88rem; padding: 14px 14px; }
  .faq-a-inner,
  details[open] > .faq-a { padding: 6px 16px 16px; font-size: .9rem; }
  .faq-heading { font-size: clamp(1.6rem,6vw,2.4rem); }
}

/* ============================================================
   EXPLORING FAITH PAGE — page-exploring-faith.php
   ============================================================ */

/* ── Intro band ── */
.ef-intro {
  background: var(--wh);
  border-bottom: 1px solid rgba(52,88,124,.1);
  padding: 24px 48px;
}
.ef-intro__inner {
  max-width: 800px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.ef-intro__lead {
  font-family: var(--fb); font-size: .95rem;
  color: var(--sb); line-height: 1.7;
  font-style: italic; margin: 0; flex: 1;
}
.ef-intro__count {
  font-family: var(--fb); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--pb); white-space: nowrap;
  background: var(--cr); border-radius: 100px;
  padding: 6px 14px; margin: 0;
}

/* ── Course / Alpha band ── */
.ef-course-band { background: var(--pb); padding: 40px 48px; }
/* "Going Deeper" variant sits inside the content column, so round it like a card. */
.ef-course-band--deeper { border-radius: 14px; margin: 8px 0 40px; }
.ef-course-band__inner {
  max-width: 800px; margin: 0 auto;
  display: flex; gap: 32px; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
}
.ef-course-band__text { flex: 1; min-width: 0; }
.ef-course-band__eyebrow {
  font-family: var(--fb); font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--py); margin: 0 0 6px;
}
.ef-course-band__name {
  font-family: var(--ft); font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-transform: uppercase; color: var(--wh);
  line-height: 1; margin: 0 0 10px;
}
.ef-course-band__desc {
  font-family: var(--fb); font-size: .9rem;
  color: rgba(255,255,255,.8); line-height: 1.7; margin: 0;
}
.ef-course-band__schedule {
  font-family: var(--fb); font-size: .85rem; font-weight: 700;
  color: var(--py); margin: 12px 0 0;
}
.ef-course-band__cta { flex-shrink: 0; }

/* ── FAQ group headers (when child categories present) ── */
.ef-group { margin-bottom: 40px; }
.ef-group:last-child { margin-bottom: 0; }
.ef-group__heading {
  font-family: var(--ft); font-size: clamp(1rem, 2vw, 1.3rem);
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--pb); margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--py);
  display: inline-block;
}
.ef-group__desc {
  font-family: var(--fb); font-size: .88rem;
  color: var(--sb); line-height: 1.6;
  margin: 0 0 16px;
}

/* ── Story testimonial strip ── */
.ef-stories { background: var(--cr); padding: 56px 48px; }
.ef-stories__inner { max-width: 960px; margin: 0 auto; }
.ef-stories__eyebrow {
  font-family: var(--fb); font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--sb); text-align: center; margin: 0 0 6px;
}
.ef-stories__heading {
  font-family: var(--ft); font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase; color: var(--pb);
  text-align: center; margin: 0 0 32px;
}
.ef-story-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ef-story-card {
  background: var(--wh); border-radius: 12px;
  padding: 24px 22px 22px;
  box-shadow: 0 4px 16px rgba(14,34,54,.06);
  display: flex; flex-direction: column;
}
/* Clickable story card → the person's full story */
a.ef-story-card {
  text-decoration: none; color: inherit;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
a.ef-story-card:hover,
a.ef-story-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(14,34,54,.12);
}
.ef-story-card__more {
  margin-top: 14px;
  font-family: var(--fb); font-size: .8rem; font-weight: 700;
  color: var(--pb);
}
a.ef-story-card:hover .ef-story-card__more,
a.ef-story-card:focus-visible .ef-story-card__more { color: var(--db); }
.ef-story-card__photo {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; margin-bottom: 14px;
}
.ef-story-card__photo-placeholder {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--pb); color: var(--wh);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ft); font-size: 1.2rem; font-weight: 700;
  margin-bottom: 14px; flex-shrink: 0;
}
.ef-story-card__quote-mark {
  font-family: Georgia, serif; font-size: 2.8rem;
  line-height: 1; color: var(--py);
  margin-bottom: 2px; display: block;
}
.ef-story-card__quote {
  font-family: var(--fb); font-size: .92rem;
  line-height: 1.75; color: var(--ch);
  font-style: italic; flex: 1;
  margin: 0 0 16px;
}
.ef-story-card__attr { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.ef-story-card__name {
  font-family: var(--fb); font-size: .85rem;
  font-weight: 700; color: var(--pb);
}
.ef-story-card__role {
  font-family: var(--fb); font-size: .78rem; color: var(--sb);
}

/* ── Footer explore-further CTA ── */
.ef-explore-cta {
  background: var(--wh);
  text-align: center;
  padding: 48px 48px 64px;
}
.ef-explore-cta__heading {
  font-family: var(--ft); font-size: clamp(1.4rem, 2.5vw, 2rem);
  text-transform: uppercase; color: var(--pb);
  margin: 0 0 2px;
}
.ef-explore-cta__ksh {
  display: block;
  font-family: var(--fs); font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--py); transform: rotate(-6deg);
  margin: 0 0 18px;
}
.ef-explore-cta__body {
  font-family: var(--fb); font-size: .9rem;
  color: var(--sb); line-height: 1.7;
  max-width: 520px; margin: 0 auto 24px;
}
.ef-explore-cta__actions {
  display: flex; gap: 12px;
  justify-content: center; flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .ef-intro { padding: 20px 28px; }
  .ef-course-band { padding: 32px 28px; }
  .ef-stories { padding: 40px 28px; }
  .ef-explore-cta { padding: 40px 28px 56px; }
  .ef-story-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ef-intro { padding: 16px 20px; }
  .ef-intro__count { display: none; }
  .ef-course-band { padding: 28px 20px; }
  .ef-course-band__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .ef-course-band__cta .btn { width: 100%; justify-content: center; }
  .ef-stories { padding: 32px 16px; }
  .ef-story-cards { grid-template-columns: 1fr; }
  .ef-explore-cta { padding: 32px 20px 48px; }
  .ef-explore-cta__actions { flex-direction: column; }
  .ef-explore-cta__actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   SINGLE FAQ — single-cp_faq.php (v7.55.10)
   ============================================================
   Long-form answer page when a visitor clicks a question card.
   Uses the standard banded-block aesthetic + a sticky sidebar.
   ============================================================ */

.faq-body {
  background: var(--cr);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5rem);
}
.faq-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.faq-main {
  min-width: 0;
  position: relative;
  /* v7.55.49 — standardised gap between banded blocks. Was relying
     on implicit margins from each block; now a single 24px gap
     stacks them consistently regardless of which optional blocks
     are present. */
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 32px);
}
.faq-side {
  display: flex; flex-direction: column;
  gap: 1.2rem;
  position: sticky; top: 100px;
}

/* v7.55.49 — .faq-icon-mark removed from the template.
   The emoji is now rendered as a circular gold badge to the LEFT
   of the question in the hero (see .ph-title-icon in hero.css). */

/* The banded-block component is shared — just style the answer
   prose so it sits comfortably inside the standard band. */
.faq-answer,
.faq-next,
.faq-embed { font-family: var(--fb); font-size: 1.02rem; line-height: 1.75; color: var(--ch); }
.faq-answer p,
.faq-next p,
.faq-embed p { margin: 0 0 1.1rem; }
.faq-answer p:last-child,
.faq-next p:last-child,
.faq-embed p:last-child { margin-bottom: 0; }
.faq-answer h2,
.faq-answer h3,
.faq-next h2,
.faq-next h3 {
  font-family: var(--ft);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--pb);
  margin: 1.6rem 0 .8rem;
  line-height: 1.1;
}
.faq-answer h2, .faq-next h2 { font-size: 1.4rem; }
.faq-answer h3, .faq-next h3 { font-size: 1.15rem; }
.faq-answer ul,
.faq-next ul { margin: 0 0 1.1rem; padding-left: 1.4rem; }
.faq-answer ul li,
.faq-next ul li { margin-bottom: .4rem; }
.faq-answer a,
.faq-next a { color: var(--pb); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(228, 191, 69, .55); text-underline-offset: 3px; }
.faq-answer a:hover,
.faq-next a:hover { color: var(--db); text-decoration-color: var(--py); }
.faq-answer blockquote,
.faq-next blockquote {
  border-left: 4px solid var(--py);
  padding: .2rem 0 .2rem 1.2rem;
  margin: 1.4rem 0;
  font-style: italic;
  color: var(--sb);
}
.faq-embed iframe,
.faq-embed video { width: 100%; max-width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 6px; }

/* Sidebar cards */
.faq-side-card {
  background: var(--wh);
  border-radius: 10px;
  padding: 1.4rem 1.4rem 1.6rem;
  box-shadow: 0 4px 14px rgba(14, 34, 54, .08);
}
.faq-side-card--cta { border-left: 4px solid var(--py); }
.faq-side-eyebrow {
  font-family: var(--fs);
  font-size: 1rem;
  color: var(--py);
  transform: rotate(-6deg);
  display: inline-block;
  margin: 0 0 .2rem;
}
.faq-side-h {
  font-family: var(--ft);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--pb);
  margin: 0 0 .6rem;
  line-height: 1.1;
}
.faq-side-copy {
  font-family: var(--fb);
  font-size: .88rem;
  color: var(--ch);
  line-height: 1.55;
  margin: 0 0 1rem;
}

.faq-act-list { list-style: none; margin: 0; padding: 0; }
.faq-act-list li { border-top: 1px solid rgba(52, 88, 124, .1); }
.faq-act-list li:first-child { border-top: 0; }
.faq-act-list a {
  display: flex; flex-direction: column;
  gap: .15rem;
  padding: .7rem 0;
  text-decoration: none;
  font-family: var(--fb);
  transition: padding-left .15s var(--ease);
}
.faq-act-list a:hover { padding-left: 4px; }
.faq-act-list a strong { color: var(--pb); font-size: .92rem; font-weight: 700; }
.faq-act-list a span  { color: var(--sb); font-size: .78rem; }

/* "Other questions" related strip below the answer */
.faq-related {
  background: var(--wh);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
}
.faq-related__inner { max-width: 1180px; margin: 0 auto; }
.faq-related .sec-title-wrap { margin-bottom: 2rem; }

.faq-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.faq-rel-card {
  background: var(--cr);
  border: 0;
  border-top: 4px solid var(--py);
  border-radius: 8px;
  padding: 1.5rem 1.4rem 1.6rem;
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-rel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -12px rgba(14, 34, 54, .25);
}
.faq-rel-card__num {
  font-family: var(--fb);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sb);
  margin-bottom: .8rem;
  display: inline-flex; align-items: center; gap: .5rem;
}
.faq-rel-card__icon { font-size: 1.1rem; }
.faq-rel-card__q {
  font-family: var(--ft);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--pb);
  line-height: 1.1;
  margin: 0 0 .6rem;
}
.faq-rel-card__copy {
  font-family: var(--fb);
  font-size: .88rem;
  color: var(--ch);
  line-height: 1.55;
  margin: 0 0 1rem;
  flex: 1;
}
.faq-rel-card__cta {
  font-family: var(--fb);
  font-size: .82rem;
  font-weight: 700;
  color: var(--pb);
  margin-top: auto;
}

.faq-related__footer { text-align: center; margin-top: 2rem; }

/* Responsive */
@media (max-width: 980px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .faq-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .faq-related__grid { grid-template-columns: 1fr; }
  .faq-icon-mark { font-size: 2.4rem; margin-top: -.8rem; }
}

/* FAQ modal extras — moved from assets/css/pages/homepage.css (deleted
   along with Homepage Layout A) since page-faq.php and
   page-exploring-faith.php both render an FAQ-answer modal using these
   classes. */
.modal-faq-icon { margin-right: 8px; font-size: 1.3rem; }
.modal-faq-answer { margin-bottom: 24px; font-family: var(--fb); font-size: .95rem; line-height: 1.8; color: var(--ch); }
.modal-faq-answer p { margin-bottom: 12px; }
.modal-faq-answer a { color: var(--pb); text-decoration: underline; }
.modal-faq-answer a:hover { color: var(--db); }
.modal-faq-next-steps { background: var(--cr); border-radius: 10px; padding: 20px 24px; margin-top: 8px; }
.modal-faq-next-steps h3 { font-family: var(--ft); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .5px; color: var(--pb); margin-bottom: 14px; }
.modal-faq-next-steps p { font-family: var(--fb); font-size: .9rem; line-height: 1.8; color: var(--ch); margin-bottom: 14px; }
.modal-faq-next-steps p:last-child { margin-bottom: 0; }
.modal-faq-next-steps ul, .modal-faq-next-steps ol { font-family: var(--fb); font-size: .9rem; line-height: 1.8; color: var(--ch); margin: 0 0 14px 1.2em; padding: 0; }
.modal-faq-next-steps li { margin-bottom: 8px; }
.modal-faq-next-steps li:last-child { margin-bottom: 0; }
.modal-faq-next-steps a { color: var(--pb); font-weight: 600; text-decoration: underline; }
.modal-faq-next-steps a:hover { color: var(--db); }
