/* Hallmark · component: inner-page mental-health-treatment-hub · pre-emit critique: P1 H1 E1 S1 R1 V1 */

/* ============================================================
   Eye Cue - mental-health-treatment conditions hub (Tier 1C).
   Loaded AFTER eyecue.css. Only adds NEW component types this
   page needs; shared sections reuse .ec-* from eyecue.css.
   All values reference var(--ec-*) tokens or accessible PX.
   New types:
     .mht-hero        inner-page image-right hero (not the video hero)
     .mht-cond-card   richer condition link-cards (links DOWN to children)
     .mht-steps       numbered "how to know it is time" list
     .mht-area        service-area / map block
     .mht-twocol      generic two-col body+aside text section
   ============================================================ */

/* ---- Inner-page hero: warm paper band, copy left, framed photo right ---- */
.mht-hero { background: var(--ec-paper); }
.mht-hero .row { align-items: center; }
.mht-hero-body { padding-right: 18px; }
.mht-hero-title {
  color: var(--ec-ink); line-height: 1.12; margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 46px) !important;
}
.mht-hero-lead { color: var(--ec-body); margin-bottom: 18px; font-size: 19px !important; line-height: 1.6; }
.mht-hero-crisis {
  background: #fff; border: 1px solid var(--ec-line); border-left: 4px solid var(--ec-clay);
  border-radius: 12px; padding: 16px 20px; margin: 0 0 22px;
  color: var(--ec-ink); font-size: 16px; line-height: 1.55;
}
.mht-hero-crisis strong { color: var(--ec-clay); }
.mht-hero-crisis a { color: var(--ec-clay); font-weight: 700; }
.mht-hero-meta { color: var(--ec-body); font-size: 16px; line-height: 1.6; margin: 0 0 22px; }
.mht-hero-cta { display: flex; align-items: center; gap: 14px 26px; flex-wrap: wrap; }
.mht-hero-cta .tf-btn-link { color: var(--ec-ink); }
.mht-hero-cta .tf-btn-link:hover { color: var(--ec-clay); }
.mht-hero-media { position: relative; border-radius: var(--ec-radius); overflow: hidden; box-shadow: var(--ec-shadow); }
.mht-hero-media img { width: 100%; height: 460px; object-fit: cover; display: block; }

/* ---- Generic intro / two-col body sections reuse .ec-split-body type ---- */
.mht-prose { background: #fff; }
.mht-prose-inner { max-width: 760px; }
.mht-prose-inner h2 { font-size: clamp(30px, 3.6vw, 44px) !important; line-height: 1.15; margin-bottom: 16px; color: var(--ec-ink); }
.mht-prose-inner p { color: var(--ec-body); font-size: 17px !important; line-height: 1.65; margin-bottom: 16px; }
.mht-prose-inner p:last-child { margin-bottom: 0; }
.mht-prose-inner a { color: var(--ec-clay); font-weight: 700; }
.mht-prose.alt { background: var(--ec-paper); }

/* ---- Conditions link-cards: each links DOWN to a child condition page ---- */
.mht-cond-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; margin-top: 8px; }
.mht-cond-card {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--ec-line); border-radius: 16px;
  padding: 28px 30px 26px; box-shadow: 0 2px 12px rgba(60,33,14,.05);
  transition: transform .35s var(--ec-ease), box-shadow .35s var(--ec-ease), border-color .35s var(--ec-ease);
}
.mht-cond-card:hover { transform: translateY(-4px); box-shadow: var(--ec-shadow); border-color: rgba(199,41,41,.4); }
.mht-cond-card:focus-within { outline: 2px solid var(--ec-clay); outline-offset: 3px; }
.mht-cond-card .mht-cond-title { margin: 0; font-size: 21px !important; line-height: 1.3; }
.mht-cond-card .mht-cond-title a { color: var(--ec-ink); text-decoration: none; }
.mht-cond-card .mht-cond-title a:hover { color: var(--ec-clay); }
.mht-cond-card .mht-cond-title a::after { content: ""; position: absolute; inset: 0; } /* whole-card click target */
.mht-cond-card { position: relative; }
.mht-cond-card p { color: var(--ec-body); font-size: 17px !important; line-height: 1.6; margin: 0; }
.mht-cond-more { display: inline-flex; align-items: center; gap: 8px; color: var(--ec-clay); font-weight: 700; font-size: 16px; margin-top: auto; }
.mht-cond-more i { transition: transform .35s var(--ec-ease); }
.mht-cond-card:hover .mht-cond-more i { transform: translateX(5px); }

/* ---- Numbered steps: "how to know it is time to reach out" ---- */
.mht-steps { list-style: none; counter-reset: mht-step; margin: 8px 0 0; padding: 0; max-width: 820px; }
.mht-steps li {
  position: relative; counter-increment: mht-step;
  background: #fff; border: 1px solid var(--ec-line); border-radius: 14px;
  padding: 24px 28px 24px 84px; margin-bottom: 16px; box-shadow: 0 2px 12px rgba(60,33,14,.05);
}
.mht-steps li::before {
  content: counter(mht-step); position: absolute; left: 24px; top: 22px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ec-paper); color: var(--ec-clay);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 19px; border: 1px solid var(--ec-line);
}
.mht-steps .mht-step-head { display: block; color: var(--ec-ink); font-weight: 800; font-size: 18px; line-height: 1.35; margin-bottom: 6px; }
.mht-steps p { color: var(--ec-body); font-size: 17px !important; line-height: 1.6; margin: 0; }

/* ---- Service-area / map block ---- */
.mht-area { background: var(--ec-paper); }
.mht-area-card {
  background: #fff; border: 1px solid var(--ec-line); border-top: 4px solid var(--ec-clay);
  border-radius: 16px; padding: 30px 32px; box-shadow: var(--ec-shadow); max-width: 920px; margin: 0 auto 22px;
}
.mht-area-card .mht-area-addr { color: var(--ec-ink); font-weight: 700; font-size: 18px; line-height: 1.5; margin: 0 0 14px; }
.mht-area-card .mht-area-addr i { color: var(--ec-clay); margin-right: 8px; }
.mht-area-card p { color: var(--ec-body); font-size: 17px !important; line-height: 1.65; margin: 0 0 14px; }
.mht-area-card p:last-child { margin-bottom: 0; }
.mht-area-card a { color: var(--ec-clay); font-weight: 700; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .mht-hero-body { padding-right: 0; margin-bottom: 26px; }
  .mht-hero-media img { height: 360px; }
  .mht-cond-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .mht-hero-media img { height: 300px; }
  .mht-steps li { padding: 70px 22px 22px 22px; }
  .mht-steps li::before { top: 18px; left: 22px; }
  .mht-area-card { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .mht-cond-card:hover { transform: none; }
  .mht-cond-card:hover .mht-cond-more i { transform: none; }
}

/* Crisis note band — slim, legible, right beneath the scrim hero (988 stays prominent) */
.mht-crisis-band { background: #fff; border-bottom: 1px solid var(--ec-line); padding: 16px 0; }
.mht-crisis-band p { margin: 0; text-align: center; color: var(--ec-body); font-size: 16px; line-height: 1.55; }
.mht-crisis-band strong { color: var(--ec-ink); }
.mht-crisis-band a { color: var(--ec-clay); font-weight: 700; }
