/* =========================================================================
   Babies & Toddlers page: the homepage visual system (navy, sky and gold
   bands, photographs beside text, lifted cards). Also enqueued on age-group,
   buried-penis and Reasons pages. Shared rules use the body:is() list;
   page-only layouts live in children.css, adults.css, buried-penis.css and
   reasons.css. All wording lives in the page's blocks.
   ========================================================================= */

/* Full-bleed photographs must never cause sideways scrolling. */
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) main { overflow-x: clip; }

/* Section headings: short gold-to-blue accent bar under the eyebrow. */
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .section-head .eyebrow,
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #overview .wrap > div:has(> .spec) > .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .section-head .eyebrow::before,
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #overview .wrap > div:has(> .spec) > .eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}
/* “At a glance” reads at H2 scale beside the overview photograph. */
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #overview .wrap > div:has(> .spec) > .eyebrow {
  font-family: var(--display);
  font-size: clamp(25px, 2.8vw, 38px);
  font-weight: 400;
  letter-spacing: -.012em;
  text-transform: none;
  line-height: 1.16;
  color: var(--navy);
  margin-bottom: 18px;
}
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #overview .wrap > div:has(> .spec) > .eyebrow::before {
  width: 32px;
  height: 4px;
  align-self: center;
}

/* ------------------------------------------------------------ page head -- */
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .page-head {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 0% 0%, rgba(47, 127, 216, .30), transparent 60%),
    radial-gradient(700px 420px at 100% 100%, rgba(242, 183, 5, .12), transparent 65%),
    var(--navy);
  color: rgba(255, 255, 255, .82);
}
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .page-head::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 360px;
  height: 230px;
  background: var(--cil-logo-mark, url("../images/home/logo-mark.webp")) center / contain no-repeat;
  opacity: .08;
  pointer-events: none;
}
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .page-head .wrap { position: relative; }
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .page-head h1 { color: var(--gold); }
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .page-head .eyebrow { color: var(--gold); }
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .page-head .lede { color: rgba(255, 255, 255, .8); }
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .page-head .breadcrumb { color: rgba(255, 255, 255, .62); }
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .page-head .breadcrumb a { color: rgba(255, 255, 255, .78); }
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .page-head .breadcrumb a:hover { color: #fff; }
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .page-head .breadcrumb li + li::before { color: rgba(255, 255, 255, .3); }
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .page-head .reviewed-by {
  border-top-color: rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .62);
}
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .page-head .reviewed-by a { color: rgba(255, 255, 255, .88); }
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .page-head a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* --------------------------------------------- introduction + at a glance -- */
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #overview .split .body-text > p:first-child { color: var(--ink-2); }
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #overview .wrap > div:has(> .spec) {
  margin-top: clamp(40px, 5vw, 72px);
}
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #overview .spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  border-top: 0;
}
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #overview .spec li {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  padding: 20px 22px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px -24px rgba(13, 39, 71, .5);
}
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #overview .spec li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 28px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #overview .spec dt { font-size: 14px; color: var(--muted); }
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #overview .spec dd {
  font-size: 17px;
  line-height: 1.4;
  color: var(--navy);
  text-align: left;
}
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #overview .spec li:last-child:nth-child(4n + 3) { grid-column: span 2; }
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #overview .spec li:last-child { background: var(--gold-soft); }
@media (max-width: 1100px) {
  body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #overview .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #overview .spec li:last-child:nth-child(4n + 3) { grid-column: auto; }
  body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #overview .spec li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #overview .spec { grid-template-columns: minmax(0, 1fr); }
}

/* iPad Mini portrait is 768px, just under the 900px point where splits stack.
   Keep the photograph beside the text, at the same size relationship as iPad Pro. */
@media (max-width: 900px) and (min-width: 768px) {
  body:is(.page-babies, .page-children, .page-adults) .split:has(> .figure, > .wp-block-cil-figure) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(30px, 4.5vw, 76px);
    align-items: center;
  }
  body:is(.page-babies, .page-children, .page-adults) .split.reverse:has(> .figure, > .wp-block-cil-figure) > *:first-child {
    order: 0;
  }
  body:is(.page-babies, .page-children, .page-adults) .split--bleed .figure {
    aspect-ratio: 4 / 3.1;
  }
  body:is(.page-babies, .page-children, .page-adults) .split:has(> .cil-split-copy) .figure figcaption {
    position: absolute;
    left: clamp(14px, 2vw, 24px);
    bottom: clamp(14px, 2vw, 24px);
    max-width: min(78%, 300px);
    margin: 0;
    padding: 12px 16px 12px 46px;
    box-shadow: 0 16px 34px -20px rgba(13, 39, 71, .55);
  }
}

/* Heading, lede and text sitting together in a split column. */
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .cil-split-copy > .section-head,
body.page-babies #best-age > .wrap > .section-head { margin-bottom: 0; }
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .cil-split-copy > .cil-section-lede,
body.page-babies #best-age > .wrap > .cil-section-lede { margin-top: 1.15em; }
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .cil-split-copy > .cil-section-lede { margin-bottom: 0; }
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .cil-split-copy > .cil-section-lede + .wp-block-group { margin-top: 1.15em; }

/* ---------------------------------------------------------- best age -- */
body.page-babies #best-age > .wrap > .wp-block-group:not(.cil-section-lede) {
  max-width: none;
  margin-top: clamp(24px, 3vw, 36px);
  padding: clamp(24px, 2.8vw, 40px);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
  background:
    radial-gradient(600px 260px at 100% 0%, rgba(47, 127, 216, .08), transparent 60%),
    linear-gradient(180deg, var(--sky), var(--sky-2));
}
@media (min-width: 901px) {
  body.page-babies #best-age > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(40px, 5vw, 88px);
    align-items: start;
  }
  body.page-babies #best-age > .wrap > .section-head { grid-column: 1; grid-row: 1; }
  body.page-babies #best-age > .wrap > .cil-section-lede { grid-column: 1; grid-row: 2; }
  body.page-babies #best-age > .wrap > .wp-block-group:not(.cil-section-lede) {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }
}

/* ------------------------------------------------------- ring methods -- */
body.page-babies #ring-methods .split + .grid { margin-top: clamp(40px, 5vw, 72px); }
body.page-babies #ring-methods > .wrap > .grid + .wp-block-group {
  max-width: none;
  margin-top: clamp(24px, 3vw, 36px);
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--blue);
  background: #fff;
  box-shadow: var(--shadow-card);
}
body.page-babies #ring-methods > .wrap > .grid + .wp-block-group > * {
  max-width: 78ch;
  margin-left: 0 !important;
  margin-right: auto !important;
}
/* Device card (with photos) on the left at full height; the stitches card and
   the ring note stack on the right and end level with it. */
@media (min-width: 761px) {
  body.page-babies #ring-methods > .wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto 1fr;
    gap: clamp(20px, 2.6vw, 40px);
  }
  body.page-babies #ring-methods > .wrap > .split {
    grid-column: 1 / -1;
    margin-bottom: clamp(20px, 2.4vw, 32px);
  }
  body.page-babies #ring-methods > .wrap > .grid { display: contents; }
  body.page-babies #ring-methods > .wrap > .grid > .cil-info-card:first-child { grid-column: 1; grid-row: 2 / span 2; }
  body.page-babies #ring-methods > .wrap > .grid > .cil-info-card:nth-child(2) { grid-column: 2; grid-row: 2; }
  body.page-babies #ring-methods > .wrap > .grid + .wp-block-group {
    grid-column: 2;
    grid-row: 3;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* --------------------------------------------- cards: gold accent rule -- */
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .wp-block-cil-section:not(.bg-navy) .cil-info-card {
  border: 1px solid rgba(13, 39, 71, .08);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  height: 100%;
  transition: border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .wp-block-cil-section:not(.bg-navy) .cil-info-card:hover {
  border-color: var(--blue);
  border-top-color: var(--blue);
  box-shadow: 0 22px 44px -28px rgba(13, 39, 71, .42);
}
@media (prefers-reduced-motion: no-preference) {
  body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .wp-block-cil-section:not(.bg-navy) .cil-info-card:hover {
    transform: translateY(-2px);
  }
}
/* Healing Q&A: two-up rows keep paired cards even on tablet. */
@media (min-width: 681px) {
  body.page-babies #healing-and-aftercare .grid.g-2.cil-info-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .bg-navy .card.cil-info-card { border-top: 4px solid var(--gold); }
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .bg-navy .cil-info-card .body-text a { color: var(--gold); }
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .bg-navy .cil-info-card .body-text a:hover { color: #ffd23f; }

/* ----------------------------------------------- appointment timeline -- */
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #appointment-walkthrough {
  background:
    radial-gradient(800px 360px at 100% 0%, rgba(242, 183, 5, .10), transparent 60%),
    #fff;
}
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #appointment-walkthrough .steps {
  position: relative;
  gap: 14px;
  padding-left: 56px;
  background: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #appointment-walkthrough .steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--gold) 0 10px, transparent 10px 18px);
}
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #appointment-walkthrough .steps li {
  position: relative;
  padding: clamp(20px, 2vw, 26px) clamp(22px, 2.2vw, 30px);
  border: 1px solid rgba(13, 39, 71, .08);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #appointment-walkthrough .steps li::before {
  content: "";
  position: absolute;
  left: -45px;
  top: clamp(22px, 2.2vw, 28px);
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0 4px, var(--navy) 5px);
  box-shadow: 0 0 0 5px #fff, 0 0 0 6px rgba(242, 183, 5, .5);
}
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #appointment-walkthrough .steps h3 { font-size: 18px; color: var(--navy); }
@media (min-width: 901px) {
  body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #appointment-walkthrough > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    column-gap: clamp(40px, 5vw, 88px);
    /* Top-align so “On the day” sits level with Registration and consent. */
    align-items: start;
  }
  body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #appointment-walkthrough > .wrap > .section-head {
    position: static;
    margin-bottom: 0;
    /* Match the first step card’s top padding so the headings share a baseline. */
    padding-top: clamp(20px, 2vw, 26px);
  }
}
@media (max-width: 560px) {
  body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #appointment-walkthrough .steps { padding-left: 38px; }
  body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #appointment-walkthrough .steps::before { left: 12px; }
  body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) #appointment-walkthrough .steps li::before { left: -37px; width: 18px; height: 18px; background: radial-gradient(circle, var(--gold) 0 3px, var(--navy) 4px); }
}

/* ------------------------------------------------- checklist tiles -- */
/* Same centred two-column grid as before (client request); homepage tile finish. */
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .wp-block-cil-section .cil-checklist > li {
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px -24px rgba(13, 39, 71, .5);
}
body:is(.page-babies, .page-children, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .bg-card .cil-checklist > li {
  background: var(--sky-2);
  box-shadow: inset 0 0 0 1px rgba(13, 39, 71, .07);
}
body.page-babies #preparation .cil-checklist > li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 0;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: none;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
body.page-babies #preparation .body-text > h2 { margin-top: clamp(8px, 1.5vw, 16px); }
/* Feeding question sits under the bring-list: clearer section rhythm. */
body.page-babies #preparation .body-text > .cil-checklist + h2,
body.page-babies #preparation .body-text > ul.cil-checklist + h2 {
  margin-top: clamp(36px, 4.5vw, 56px);
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid rgba(13, 39, 71, .10);
}

/* ------------------------------------------------ contact + follow-up -- */
body.page-babies #when-to-contact .is-style-cil-card {
  max-width: none;
  margin-top: clamp(36px, 4.5vw, 64px);
  padding: clamp(26px, 3vw, 44px);
  border: 0;
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(47, 127, 216, .10), transparent 60%),
    linear-gradient(180deg, var(--sky), var(--sky-2));
}
body.page-babies #when-to-contact .is-style-cil-card > * { margin-left: 0; margin-right: 0; }
@media (min-width: 901px) {
  body.page-babies #when-to-contact .is-style-cil-card {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(36px, 4.5vw, 72px);
    align-items: start;
  }
  body.page-babies #when-to-contact .is-style-cil-card > h2 {
    grid-column: 1;
    grid-row: 1 / span 10;
    margin: 0;
  }
  body.page-babies #when-to-contact .is-style-cil-card > :not(h2) { grid-column: 2; }
  body.page-babies #when-to-contact .is-style-cil-card > h2 + p { margin-top: 0; }
}

/* ------------------------------------------------------------- FAQ -- */
body:is(.page-babies, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .faq { border-top: 0; }
body:is(.page-babies, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .faq details {
  margin-bottom: 10px;
  padding-inline: 20px;
  border: 1px solid rgba(13, 39, 71, .08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 26px -24px rgba(13, 39, 71, .5);
}
body:is(.page-babies, .page-adults, .page-buried-penis, .page-phimosis, .page-balanitis, .page-bxo, .page-paraphimosis, .page-religious, .page-re-circumcision, .page-frenuloplasty) .faq details[open] { border-color: rgba(29, 95, 160, .35); }

/* Callback CTA band styling lives in visual.css (.cta-band:has(.cil-cta-callback-card)). */
