/* =========================================================
   Sujok Homeo Clinic — Kids Health
   Loaded after style-v3.css and homeopathy.css. The hero layout, topics menu and two-column
   layout come from homeopathy.css unchanged; this file sets the hero's photo framing
   (scoped to .kh-hero) and styles the article (scoped to .kh-article).
   ========================================================= */

/* ---------- Hero ----------
   Text styled exactly as the Homeopathy hero (homeopathy.css). The faces sit in the photo's upper
   half, so crop from the top less; horizontal crops keep the right side (the girl and practitioner). */
.kh-hero .hp-hero-img { object-position: 100% 30%; }
/* Soft light fade behind the text, so the blurred leaf at the photo's lower left never dims it */
.kh-hero::after {
  content: ""; grid-area: 1 / 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, .7) 0, rgba(255, 255, 255, .45) 30%, rgba(255, 255, 255, 0) 52%);
}
.kh-hero .hp-hero-content { position: relative; z-index: 1; }

.kh-article {
  --kh-tint: #eef5ec;          /* soft green panel (same as the other topic pages) */
  --kh-radius: 14px;
}
.kh-article .eyebrow { margin-bottom: 10px; }

/* ---------- Introduction ---------- */
.kh-intro {
  display: grid; grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); gap: clamp(20px, 3vw, 36px);
  align-items: center; padding-bottom: 30px; border-bottom: 1px solid var(--line);
}
.kh-title { margin-bottom: 18px; font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1.02; letter-spacing: -.01em; color: var(--ink-900); }
.kh-lead {
  margin-bottom: 14px; padding-left: 16px; border-left: 3px solid var(--text-green);
  font-family: var(--font-serif); font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.35; color: var(--green-800);
}
.kh-body { line-height: 1.75; color: var(--ink-500); }
.kh-photo { margin: 0; overflow: hidden; border-radius: var(--kh-radius); aspect-ratio: 4 / 3; }
.kh-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }

/* ---------- Booking prompt ---------- */
.kh-cta {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  column-gap: clamp(16px, 2.4vw, 24px); margin-top: 30px;
  padding: 22px clamp(18px, 2.4vw, 28px); background: var(--kh-tint); border-radius: var(--kh-radius);
}
.kh-cta-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #ffffff; color: var(--green-800);
}
.kh-cta-icon .icon { width: 26px; height: 26px; stroke-width: 1.6; }
.kh-cta-title { margin-bottom: 4px; font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.25; color: var(--ink-900); }
.kh-cta-text p { color: var(--ink-700); }
.kh-cta-text a { font-weight: 600; color: var(--green-800); white-space: nowrap; }
.kh-cta .btn { white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  /* Narrower article column: the button drops under the text */
  .kh-cta { grid-template-columns: auto minmax(0, 1fr); row-gap: 16px; }
  .kh-cta .btn { grid-column: 2; justify-self: start; }
}

@media (max-width: 820px) {
  /* Hero: photo on top, text below (homeopathy.css); frame the girl and practitioner */
  .kh-hero .hp-hero-img { object-position: 80% 30%; }
  .kh-hero::after { content: none; }
}

@media (max-width: 900px) {
  .kh-intro { grid-template-columns: minmax(0, 1fr); }
  .kh-photo { max-width: 560px; aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  .kh-hero .hp-hero-img { object-position: 72% 30%; }
  .kh-cta { grid-template-columns: minmax(0, 1fr); }
  .kh-cta .btn { grid-column: auto; justify-self: stretch; justify-content: center; }
}
