/* ============================================================
   sections/at-church.css  —  "At Church This Sunday"
   A deliberately distinct warm-DARK band among the cream
   sections. Three parts as inset panels, each with an image
   header; Scripture Reading & Teaching holds three white cards.
   All colors scoped to #at-church; dial the band with --acs-bg.
   ============================================================ */

#at-church {
  --acs-bg:       #261a14;   /* section band (deep espresso) — the one dial */
  --acs-panel:    rgba(255, 255, 255, 0.035);
  --acs-line:     rgba(255, 196, 12, 0.16);
  --acs-gold:     #ffc40c;   /* standout accent */
  --acs-on-dark:  #efe6d8;   /* text on the dark band */
  --acs-card:     #ffffff;   /* content card bg */
  --acs-card-ink: #3a2f25;   /* text on white cards */
  --acs-ref:      #4f421a;   /* scripture reference color */

  background: var(--acs-bg);
  color: var(--acs-on-dark);
}

/* Selection: gold on the dark band, espresso inside white cards */
#at-church ::selection { background: var(--acs-gold); color: #261a14; }
#at-church .acs-card ::selection { background: #261a14; color: #fff; }

/* ---- Section intro ---------------------------------------- */
.acs__intro { text-align: center; margin-bottom: clamp(2rem, 5vw, 3rem); }
.acs__eyebrow {
  font-size: var(--fs-small); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange-red-soft); margin-bottom: 0.7rem;
}
.acs__heading {
  font-family: var(--font-display); font-weight: 400; line-height: 1.1;
  font-size: var(--fs-h2); color: var(--acs-gold);
  font-variation-settings: "opsz" 96, "SOFT" 50;
}

/* ---- Each of the three parts = an inset panel ------------- */
.acs-part {
  background: var(--acs-panel);
  border: 1px solid var(--acs-line);
  border-radius: 14px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.acs-part:last-child { margin-bottom: 0; }

/* Image header for each part (graphic banner). The alt text is
   the part's accessible heading. */
.acs-part__title { margin: 0 0 clamp(1.25rem, 3vw, 2rem); text-align: center; }
.acs-part__title img { max-width: 100%; height: auto; margin-inline: auto; border-radius: 6px; }
.acs-part__title::after{
    /*border:1px solid;*/
    content:''
}
/* Dev placeholder for a not-yet-supplied header image */
.acs-imgph {
  display: grid; place-items: center;
  aspect-ratio: 7 / 1; max-width: 560px; margin-inline: auto;
  border: 1px dashed var(--acs-gold); border-radius: 6px;
  color: var(--acs-on-dark);
  font-family: var(--font-body); font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase;
}

/* Dev placeholder for parts not yet built */
.acs-soon {
  text-align: center; color: var(--acs-on-dark);
  font-family: var(--font-body); font-style: italic; opacity: 0.75;
  padding: 1.5rem;
}

/* ---- Scripture Reading & Teaching: three cards ------------ */
.acs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.acs-card {
  display: flex; flex-direction: column;
  background: var(--acs-card); color: var(--acs-card-ink);
  border-left: 4px solid var(--acs-gold); border-radius: 10px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 14px 34px -20px rgba(0, 0, 0, 0.7);
}
.acs-card__label {
  font-family: var(--font-body); font-size: 0.68rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--maroon); margin-bottom: 0.5rem;
}

/* Sunday readings */
.acs-readings__date {
  display: block; font-family: var(--font-body); font-weight: 700;
  font-size: 0.92rem; color: var(--maroon); margin-bottom: 0.9rem;
}
.acs-readings__list { list-style: none; }
.acs-readings__list li {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--brown-deep);
  padding: 0.55rem 0; border-bottom: 1px solid var(--line);
  font-variation-settings: "opsz" 36;
}
.acs-readings__list li:last-child { border-bottom: none; }
.acs-readings__list li::before {
  content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--acs-gold);
}

/* Gospel in one verse */
.acs-verse__title {
  font-family: var(--font-display); font-size: 1.1rem; line-height: 1.25;
  color: var(--brown-deep); margin-bottom: 0.9rem;
  font-variation-settings: "opsz" 36;
}
.acs-verse__text {
  flex: 1; font-style: italic; font-size: 1.1rem; line-height: 1.7;
  color: var(--acs-card-ink); margin-bottom: 0.9rem;
}
.acs-verse__ref { font-weight: 700; color: var(--acs-ref); }
.acs-verse__nav { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: 1.25rem; }
.acs-verse__nav button {
  font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.5rem 0.9rem;
  background: none; color: var(--maroon); border: 1px solid var(--maroon);
  border-radius: 4px; cursor: pointer; transition: all 0.2s var(--ease);
}
.acs-verse__nav button:hover:not(:disabled) { background: var(--maroon); color: #fff; }
.acs-verse__nav button:disabled { border-color: var(--line); color: #c8bca8; cursor: not-allowed; }

/* Salvation assurance passages */
.acs-assurance__list { list-style: none; }
.acs-assurance__list li {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-size: 1.02rem; color: var(--brown-deep);
  padding: 0.4rem 0;
  font-variation-settings: "opsz" 36;
}
.acs-assurance__list li::before {
  content: ""; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange-red);
}

/* ---- Q&A Catechism --------------------------------------- */
/* The list sits in a white card so the highlighted item (espresso,
   the same hue as the band) reads clearly against white siblings. */
.acs-catechism__list { list-style: none; }
.acs-catechism__list li {
  background: var(--acs-card);
  color: var(--acs-card-ink);
  border: 1px solid #e8ddcb;          /* warm hairline */
  padding: 0.8rem 1rem;
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.45;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.acs-catechism__list li:last-child { margin-bottom: 0; }

.acs-catechism__list li.is-current {
  background: var(--acs-bg);          /* #261A14 */
  color: #ffffff;
  border-left: 4px solid #d39200;     /* deep gold accent */
  font-weight: 700;
}
.acs-catechism__date {
  display: block;
  margin-top: 0.25rem;
  color: #fdd94d;                     /* light gold */
  font-weight: 400;
  font-size: 0.9em;
}

/* Readable prose on the dark band (Mark comments + Q&A explanation) */
.acs-prose {
  /*max-width: 62ch;*/
  margin-inline: auto;
  color: var(--acs-on-dark);
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.8;
}
.acs-prose p + p { margin-top: 1rem; }

.acs-catechism__note { margin-top: 1.5rem; }

/* Gold CTA button that pops on the dark band (e.g. → Sermons) */
.acs-mark__cta { margin-top: 1.75rem; text-align: center; }
#at-church .btn-band { background: var(--acs-gold); color: #261a14; }
#at-church .btn-band:hover {
  background: #ffd23f;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.5);
}
