/* Ki — Cellular Hydration. Scoped under .ki-scope .ki-cellular-hydration.
   Centered head → two comparison cards (with an editable illustration in the
   middle + a status line) split by a diamond → a "Daily return" block with a
   metric row, a serif emphasis line, and a footnote. */

.ki-scope .ki-cellular-hydration { background: var(--ki-cream); }

/* ───── centered head ───── */
.ki-scope .ki-cellular-hydration .ch-head {
  max-width: 760px; margin: 0 auto 64px; text-align: center;
}
.ki-scope .ki-cellular-hydration .ch-eyebrow {
  font-family: var(--ki-sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--ki-blue-deep); margin: 0 0 24px;
}
/* a short centered hairline under the eyebrow */
.ki-scope .ki-cellular-hydration .ch-head .ch-eyebrow::after {
  content: ""; display: block; width: 40px; height: 1px;
  background: var(--ki-rule); margin: 16px auto 0;
}
.ki-scope .ki-cellular-hydration .ch-title {
  font-family: var(--ki-serif); font-weight: 400;
  font-size: clamp(34px, 4.6vw, 58px); line-height: 1.1;
  letter-spacing: -0.01em; color: var(--ki-ink);
  margin: 0 auto; max-width: 16ch;
}
.ki-scope .ki-cellular-hydration .ch-title em {
  font-family: var(--ki-serif-italic); font-style: italic;
}
.ki-scope .ki-cellular-hydration .ch-intro {
  font-family: var(--ki-sans); font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7; color: var(--ki-ink-mute);
  margin: 24px auto 0; max-width: 56ch;
}
.ki-scope .ki-cellular-hydration .ch-intro em {
  font-family: var(--ki-serif-italic); font-style: italic;
  color: var(--ki-ink); font-size: 1.05em;
}

/* ───── comparison cards ───── */
.ki-scope .ki-cellular-hydration .ch-cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 28px;
  max-width: 1040px; margin: 0 auto;
}
.ki-scope .ki-cellular-hydration .ch-card {
  background: #FBFAF7;
  border: 1px solid var(--ki-rule);
  border-radius: 20px;
  padding: 38px 40px 40px;
  text-align: center;
  display: flex; flex-direction: column;
}
.ki-scope .ki-cellular-hydration .ch-card.tint { background: #EEF4F4; }

.ki-scope .ki-cellular-hydration .ch-kicker {
  font-family: var(--ki-sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ki-ink-soft); margin-bottom: 8px;
}
.ki-scope .ki-cellular-hydration .ch-sub {
  font-family: var(--ki-serif-italic); font-style: italic;
  font-size: 16px; color: var(--ki-ink-mute);
}

/* the editable illustration sits in the middle, vertically centered */
.ki-scope .ki-cellular-hydration .ch-media {
  flex: 1 0 auto;
  display: flex; align-items: center; justify-content: center;
  min-height: 220px; margin: 26px 0 28px;
}
.ki-scope .ki-cellular-hydration .ch-media img {
  max-width: 100%; max-height: 240px; width: auto; height: auto; display: block;
}

/* status line: cross/check icon + label */
.ki-scope .ki-cellular-hydration .ch-status {
  display: inline-flex; align-items: center; gap: 9px;
  justify-content: center; margin: 0 auto 16px;
  font-family: var(--ki-sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.ki-scope .ki-cellular-hydration .ch-status.neg { color: #7A5A3A; }
.ki-scope .ki-cellular-hydration .ch-status.pos { color: var(--ki-blue-deep); }
.ki-scope .ki-cellular-hydration .ch-status-ic { width: 15px; height: 15px; display: block; }
.ki-scope .ki-cellular-hydration .ch-status-ic svg { display: block; }

.ki-scope .ki-cellular-hydration .ch-text {
  font-family: var(--ki-sans); font-size: 15px; line-height: 1.7;
  color: var(--ki-ink-mute); margin: 0 auto; max-width: 34ch;
}
.ki-scope .ki-cellular-hydration .ch-text em {
  font-family: var(--ki-serif-italic); font-style: italic; color: var(--ki-ink);
}

/* diamond between the two cards */
.ki-scope .ki-cellular-hydration .ch-diamond {
  align-self: center;
  width: 16px; height: 16px; color: var(--ki-blue-deep); opacity: 0.7;
}

/* ───── daily return — full-width white band ─────
   The daily-return block is lifted out of the centered .wrap into its own
   full-width band so it reads as a SECOND section: cream above (head + cards),
   white from here down to the bottom edge of the widget. Inside the band an
   inner .wrap re-constrains the content. Layout is a two-column editorial split:
   a large rounded hero image on one side and the left-aligned copy (eyebrow →
   serif headline → intro → stacked metric rows → serif closing → footnote).   */

/* drop the section's bottom padding so the white band reaches the bottom edge,
   and give the cream top area its own breathing room below the cards */
.ki-scope .ki-cellular-hydration.has-daily-band { padding-bottom: 0; }
.ki-scope .ki-cellular-hydration.has-daily-band .ch-top { padding-bottom: clamp(72px, 8vw, 120px); }

.ki-scope .ki-cellular-hydration .ch-daily-band {
  background: #FFFFFF;
  padding: clamp(80px, 9vw, 130px) 0;
}
.ki-scope .ki-cellular-hydration .ch-daily {
  max-width: 1160px; margin: 0 auto;
}
.ki-scope .ki-cellular-hydration .ch-daily-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
  text-align: left;
}
.ki-scope .ki-cellular-hydration .ch-daily-split.img-right .ch-daily-media { order: 2; }

/* hero image / placeholder — a tall rounded panel */
.ki-scope .ki-cellular-hydration .ch-daily-media {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: 22px;
  overflow: hidden;
  background: #E9E7E2;
}
.ki-scope .ki-cellular-hydration .ch-daily-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.ki-scope .ki-cellular-hydration .ch-daily-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: var(--ki-ink-mute);
}
.ki-scope .ki-cellular-hydration .ch-daily-ph-rule {
  width: 40px; height: 1px; background: currentColor; opacity: 0.5;
}
.ki-scope .ki-cellular-hydration .ch-daily-ph-l {
  font-family: var(--ki-serif-italic); font-style: italic;
  font-size: 17px; opacity: 0.7;
}

/* content column — left aligned, more visible text */
.ki-scope .ki-cellular-hydration .ch-daily-content { min-width: 0; }
.ki-scope .ki-cellular-hydration .ch-daily .ch-eyebrow {
  margin: 0 0 22px; text-align: left;
}
.ki-scope .ki-cellular-hydration .ch-daily-title {
  font-family: var(--ki-serif); font-weight: 400;
  font-size: clamp(32px, 3.2vw, 46px); line-height: 1.12;
  color: var(--ki-ink); margin: 0 0 22px; max-width: 18ch;
}
.ki-scope .ki-cellular-hydration .ch-daily-title em {
  font-family: var(--ki-serif-italic); font-style: italic;
}
.ki-scope .ki-cellular-hydration .ch-daily-intro {
  font-family: var(--ki-sans); font-size: 17px; line-height: 1.7;
  color: var(--ki-ink-soft); margin: 0; max-width: 48ch;
}

/* metric rows — stacked, left aligned: arrow + bold label + italic value */
.ki-scope .ki-cellular-hydration .ch-metrics {
  display: flex; flex-direction: column;
  gap: 22px; margin: 40px 0 0; max-width: none;
}
.ki-scope .ki-cellular-hydration .ch-metric {
  display: flex; flex-direction: row; align-items: center;
  gap: 16px; padding: 0; text-align: left;
}
.ki-scope .ki-cellular-hydration .ch-metric + .ch-metric { border-left: 0; }
.ki-scope .ki-cellular-hydration .ch-metric-ic { width: 22px; height: 22px; flex: none; }
.ki-scope .ki-cellular-hydration .ch-metric-ic.m-up   { color: var(--ki-blue); }
.ki-scope .ki-cellular-hydration .ch-metric-ic.m-down { color: #7A5A3A; }
.ki-scope .ki-cellular-hydration .ch-metric-l {
  font-family: var(--ki-sans); font-size: 19px; font-weight: 700;
  letter-spacing: 0; text-transform: none; color: var(--ki-ink);
}
.ki-scope .ki-cellular-hydration .ch-metric-v {
  font-family: var(--ki-serif-italic); font-style: italic;
  font-size: 18px; color: var(--ki-ink-mute);
}

.ki-scope .ki-cellular-hydration .ch-daily .ch-closing {
  font-family: var(--ki-serif-italic); font-style: italic;
  font-size: clamp(20px, 2vw, 26px); line-height: 1.35;
  color: var(--ki-ink); margin: 40px 0 0; max-width: 40ch;
}
.ki-scope .ki-cellular-hydration .ch-daily .ch-foot {
  font-family: var(--ki-sans); font-size: 13px; line-height: 1.65;
  color: var(--ki-ink-mute); margin: 28px 0 0; max-width: 60ch;
}

/* ───── responsive ───── */
@media (max-width: 860px) {
  .ki-scope .ki-cellular-hydration .ch-cards {
    grid-template-columns: 1fr; gap: 20px; max-width: 480px;
  }
  .ki-scope .ki-cellular-hydration .ch-diamond { transform: rotate(0deg); margin: 2px auto; }
  .ki-scope .ki-cellular-hydration .ch-media { min-height: 180px; }

  /* daily return: stack the image above the copy */
  .ki-scope .ki-cellular-hydration .ch-daily-split {
    grid-template-columns: 1fr; gap: 36px; max-width: 560px;
  }
  .ki-scope .ki-cellular-hydration .ch-daily-split.img-right .ch-daily-media { order: 0; }
  .ki-scope .ki-cellular-hydration .ch-daily-media { aspect-ratio: 16 / 11; }
}
@media (max-width: 560px) {
  .ki-scope .ki-cellular-hydration .ch-card { padding: 30px 26px 32px; }
  .ki-scope .ki-cellular-hydration .ch-daily-media { aspect-ratio: 4 / 3; }
}
