/* ============================================================
   Collection content — editorial band (intro + image cards + FAQ).
   Tokens only.
   ============================================================ */

.lh-coll-content { padding-top: var(--section-pad-top); padding-bottom: var(--section-pad-bottom); border-top: 1px solid var(--border-subtle); }

.lh-coll-content__intro { max-width: var(--content-wide, 880px); margin: 0 auto; text-align: center; }
.lh-coll-content__heading {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: var(--font-h2);
  color: var(--text-heading);
}
.lh-coll-content__heading--center { text-align: center; }
.lh-coll-content__rte { color: var(--text-body); line-height: var(--leading-body); font-size: var(--font-body-md); }
.lh-coll-content__rte p { margin: 0 0 var(--space-4); }

/* ---- Editorial RTE lists — polished, centered checklist ----
   A raw <ul>/<ol> authored inside this centered intro used to render with
   default disc markers stranded on the far-left of the centered column, badly
   disconnected from the text (collection-page-1.webp). Reset the markers and
   lay the items out as clean, left-aligned rows with a warm amber accent so the
   "why choose" checklist reads with clear hierarchy, rhythm and scannability. */
.lh-coll-content__rte :is(ul, ol) {
  list-style: none;
  width: 100%;
  max-width: 620px;
  margin: var(--space-6) auto;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  text-align: left;
}
.lh-coll-content__rte :is(ul, ol) li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin: 0;
  padding: var(--space-3) var(--space-5);
  background: var(--surface-sunken);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  color: var(--text-body);
  font-size: var(--font-body-md);
  line-height: var(--leading-body);
  transition: var(--transition-fast);
}
@media (hover: hover) {
  .lh-coll-content__rte :is(ul, ol) li:hover {
    background: var(--surface-page);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
  }
}
/* The list content already leads with its own emoji/marker, so we don't inject a
   bullet on unordered items — the amber left accent + card carry the structure.
   Ordered lists keep a clean amber counter. */
.lh-coll-content__rte ol { counter-reset: lh-rte-ol; }
.lh-coll-content__rte ol li { counter-increment: lh-rte-ol; }
.lh-coll-content__rte ol li::before {
  content: counter(lh-rte-ol);
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--lh-white);
  font-family: var(--font-body);
  font-size: var(--font-body-sm);
  font-weight: var(--weight-semibold);
  line-height: 1;
}

/* Headings authored inside the editorial RTE (e.g. "Why Choose …"). */
.lh-coll-content__rte :is(h2, h3, h4) {
  margin: var(--space-8) 0 var(--space-4);
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: var(--leading-tight, 1.2);
}
.lh-coll-content__rte h2 { font-size: var(--font-h3); }
.lh-coll-content__rte h3 { font-size: var(--font-h4); }
.lh-coll-content__rte h4 { font-size: var(--font-body-lg, 1.125rem); }

/* ---- Feature cards band (full-width, distinct background) ---- */
.lh-coll-content__band { padding-block: var(--space-12); margin-top: var(--space-10); }
.lh-coll-content__band--page { background: var(--surface-page); }
.lh-coll-content__band--sunken { background: var(--surface-sunken); }
.lh-coll-content__band--tint { background: var(--color-primary-tint); }
.lh-coll-content__band--dark { background: var(--surface-inverse); }
.lh-coll-content__band--dark .lh-coll-content__heading { color: var(--text-on-dark); }

.lh-coll-content__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.lh-coll-content__card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
.lh-coll-content__card-media { position: absolute; inset: 0; z-index: -1; }
.lh-coll-content__card-img,
.lh-coll-content__card-media .lh-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.lh-coll-content__card:hover .lh-coll-content__card-img { transform: scale(1.05); }
.lh-coll-content__card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(var(--lh-stone-900-rgb), 0.88) 0%,
    rgba(var(--lh-stone-900-rgb), 0.40) 45%,
    rgba(var(--lh-stone-900-rgb), 0) 78%);
}
.lh-coll-content__card-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-2);
  padding: var(--space-6);
  color: var(--text-on-dark);
}
.lh-coll-content__card-title { margin: 0; font-family: var(--font-display); font-size: var(--font-h4); color: var(--lh-white); }
.lh-coll-content__card-text { margin: 0; font-size: var(--font-body-sm); color: rgba(var(--lh-white-rgb), 0.88); line-height: var(--leading-body); }
.lh-coll-content__card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
  margin-top: var(--space-2);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--lh-white);
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: var(--font-body-sm);
  font-weight: var(--weight-semibold);
  transition: var(--transition-fast);
}
.lh-coll-content__card-cta:hover { background: var(--color-primary); color: var(--lh-white); gap: var(--space-3); }

/* ---- FAQ ---- */
/* The accordion items now reuse the shared .lh-faq__* styling (faq.css) so the
   collection FAQ is identical to the Contact page. This wrapper only centers and
   spaces the block. */
.lh-coll-content__faq { max-width: var(--content-narrow, 720px); margin: var(--space-16) auto 0; }

@media (min-width: 768px) {
  .lh-coll-content__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
}
