/* JM V3 — Premium orthodontic editorial system
   Direction: warm ivory, high-contrast typography, real photography, clear CTA.
   This file intentionally overrides the older dark experiment. */

@font-face{
  font-family:"JM Prata";
  src:url("../fonts/Prata-Regular.ttf") format("truetype");
  font-display:swap;
  font-weight:400;
}
@font-face{
  font-family:"JM Manrope";
  src:url("../fonts/Manrope-Variable.ttf") format("truetype");
  font-display:swap;
  font-weight:200 800;
}

:root{
  --jm3-bg:#f6f2ec;
  --jm3-paper:#fffdfa;
  --jm3-paper-2:#eee7dd;
  --jm3-ink:#171614;
  --jm3-body:#625d56;
  --jm3-muted:#8a8278;
  --jm3-accent:#a98560;
  --jm3-accent-soft:#d8c5af;
  --jm3-line:rgba(23,22,20,.11);
  --jm3-shadow:0 24px 70px rgba(35,30,24,.09);
  --jm3-shadow-soft:0 12px 34px rgba(35,30,24,.06);
}

html{scroll-behavior:smooth}
body{
  background:var(--jm3-bg)!important;
  color:var(--jm3-ink)!important;
  font-family:"JM Manrope",Manrope,sans-serif!important;
}
body p,
body li,
body .wp-block-navigation-item__label{
  font-family:"JM Manrope",Manrope,sans-serif!important;
}
body h1,body h2,body h3,body h4,
body .wp-block-heading,
body .hostinger-ai-title,
body .hostinger-ai-service-title{
  color:var(--jm3-ink)!important;
  font-family:"JM Prata",Prata,Georgia,serif!important;
  font-weight:400!important;
  letter-spacing:-.035em!important;
}
body p{color:var(--jm3-body)!important}

/* HEADER — light, quiet and brand-led */
.site-header{
  position:sticky!important;
  top:0;
  z-index:1000;
  border-bottom:1px solid var(--jm3-line)!important;
  background:rgba(255,253,250,.92)!important;
  box-shadow:0 6px 24px rgba(31,26,20,.035)!important;
  -webkit-backdrop-filter:blur(18px) saturate(145%);
  backdrop-filter:blur(18px) saturate(145%);
}
.site-header .hostinger-ai-menu,
.site-header .hostinger-ai-menu-wrapper{
  background:transparent!important;
}
.site-header .hostinger-ai-menu-wrapper{
  max-width:1240px!important;
  padding-top:12px!important;
  padding-bottom:12px!important;
}
.site-header .wp-block-site-logo img{
  width:52px!important;
  height:52px!important;
  border:1px solid var(--jm3-line)!important;
  border-radius:50%!important;
  background:#fff!important;
  object-fit:cover;
}
.hostinger-ai-site-title a,
.hostinger-ai-site-navigation .wp-block-navigation-item__content{
  color:var(--jm3-ink)!important;
}
.hostinger-ai-site-title a::before{
  color:var(--jm3-ink)!important;
  font-family:"JM Prata",Prata,serif!important;
}
.hostinger-ai-site-title a::after{
  color:var(--jm3-muted)!important;
}
.hostinger-ai-site-navigation .wp-block-navigation-item__content{
  font-size:12.5px!important;
  font-weight:620!important;
  letter-spacing:.01em;
}
.hostinger-ai-site-navigation .wp-block-navigation-item__content::after{
  background:var(--jm3-accent)!important;
}
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close{
  color:var(--jm3-ink)!important;
}
.wp-block-navigation__responsive-container.is-menu-open{
  background:var(--jm3-paper)!important;
  color:var(--jm3-ink)!important;
}

/* HOME HERO — premium, light and conversion-first */
.home .hostinger-ai-about-us-2{
  min-height:auto!important;
  overflow:hidden;
  background:
    radial-gradient(circle at 8% 15%,rgba(169,133,96,.10),transparent 28%),
    linear-gradient(180deg,#fffdfa 0%,#f5f0e8 100%)!important;
  color:var(--jm3-ink)!important;
}
.home .hostinger-ai-about-us-2::before{
  content:"ORTODONCIA · ARMENIA, QUINDÍO"!important;
  left:max(24px,calc((100vw - 1240px)/2))!important;
  bottom:24px!important;
  color:var(--jm3-muted)!important;
  font-family:"JM Manrope",Manrope,sans-serif!important;
  font-size:9px!important;
  font-weight:700!important;
  letter-spacing:.22em!important;
}
.home .hostinger-ai-about-us-2::after{
  content:"JM"!important;
  right:-1vw!important;
  bottom:-4vw!important;
  color:rgba(23,22,20,.035)!important;
  font-size:clamp(120px,22vw,340px)!important;
}
.home .hostinger-ai-about-us-2 > .alignwide{
  width:min(1240px,calc(100% - 48px))!important;
  min-height:720px!important;
  grid-template-columns:minmax(0,1.04fr) minmax(360px,.82fr)!important;
  gap:clamp(50px,7vw,105px)!important;
  align-items:center!important;
  padding-top:clamp(64px,7vw,100px)!important;
  padding-bottom:clamp(90px,9vw,132px)!important;
}
.home .hostinger-ai-about-us-2 > .alignwide > .wp-block-group:first-child{order:2}
.home .hostinger-ai-about-us-2 > .alignwide > .wp-block-group:last-child{
  order:1;
  padding-right:0!important;
  padding-left:0!important;
}
.home .hostinger-ai-about-us-2 .wp-block-gallery,
.home .hostinger-ai-about-us-2 .wp-block-gallery > figure,
.home .hostinger-ai-about-us-2 .wp-block-image{
  height:auto!important;
}
.home .hostinger-ai-about-us-2 .wp-block-image img{
  width:100%!important;
  height:auto!important;
  min-height:560px!important;
  max-height:650px!important;
  aspect-ratio:4/5!important;
  border-radius:28px!important;
  object-fit:cover!important;
  filter:saturate(.92) contrast(1.015)!important;
  box-shadow:var(--jm3-shadow)!important;
}
.home .hostinger-ai-about-us-2 .hostinger-ai-title{
  max-width:720px!important;
  color:var(--jm3-ink)!important;
  font-size:clamp(48px,5.4vw,78px)!important;
  line-height:1.01!important;
  letter-spacing:-.05em!important;
}
.home .hostinger-ai-about-us-2 .hostinger-ai-title::before{
  margin-bottom:22px!important;
  color:var(--jm3-accent)!important;
  font-family:"JM Manrope",Manrope,sans-serif!important;
  font-size:10px!important;
  font-weight:750!important;
  letter-spacing:.22em!important;
}
.home .hostinger-ai-about-us-2 .hostinger-ai-description{
  max-width:600px!important;
  margin-top:28px!important;
  color:var(--jm3-body)!important;
  font-size:clamp(17px,1.5vw,20px)!important;
  line-height:1.72!important;
}
.home .hostinger-ai-about-us-2 .wp-block-paragraph:last-child{
  color:var(--jm3-muted)!important;
}
.home .hostinger-ai-about-us-2 .wp-block-buttons{
  gap:12px!important;
  margin-top:4px!important;
}
.home .hostinger-ai-about-us-2 .wp-block-buttons::after{display:none!important}
.home .hostinger-ai-about-us-2 .wp-block-button__link{
  min-width:0!important;
  padding:15px 24px!important;
  border:1px solid var(--jm3-ink)!important;
  border-radius:999px!important;
  background:var(--jm3-ink)!important;
  color:#fffdfa!important;
  box-shadow:none!important;
  text-transform:none!important;
  letter-spacing:.01em!important;
  font-size:13px!important;
}
.home .hostinger-ai-about-us-2 .wp-block-button.is-style-outline .wp-block-button__link{
  background:transparent!important;
  color:var(--jm3-ink)!important;
}
.home .hostinger-ai-about-us-2 .wp-block-button__link:hover{
  border-color:var(--jm3-accent)!important;
  background:var(--jm3-accent)!important;
  color:#fff!important;
}

/* HOME SERVICES — editorial split with softer photography */
.home .hostinger-ai-about-us-3{
  background:var(--jm3-bg)!important;
  padding-top:clamp(105px,10vw,165px)!important;
  padding-bottom:clamp(105px,10vw,165px)!important;
}
.home .hostinger-ai-about-us-3::before{
  color:var(--jm3-accent)!important;
}
.home .hostinger-ai-about-us-3 > .alignwide{
  width:min(1180px,calc(100% - 48px))!important;
  gap:clamp(54px,7vw,105px)!important;
}
.home .hostinger-ai-about-us-3 .hostinger-ai-service-image img{
  min-height:620px!important;
  border-radius:26px!important;
  filter:saturate(.92)!important;
  box-shadow:var(--jm3-shadow-soft)!important;
}
.home .hostinger-ai-about-us-3 .hostinger-ai-service-title{
  max-width:540px!important;
  font-size:clamp(42px,4.5vw,64px)!important;
  line-height:1.04!important;
}
.home .hostinger-ai-about-us-3 .wp-block-column:last-child::before{
  color:var(--jm3-accent)!important;
}
.home .hostinger-ai-about-us-3 .hostinger-ai-service-description{
  color:var(--jm3-body)!important;
  font-size:16px!important;
  line-height:1.82!important;
}

/* HOME CONTENT — no unreadable black blocks */
.home .entry-content > .wp-block-group.alignwide.has-background{
  width:min(1180px,calc(100% - 48px))!important;
  max-width:1180px!important;
  margin-top:clamp(28px,4vw,48px)!important;
  margin-bottom:clamp(28px,4vw,48px)!important;
  padding:clamp(58px,7vw,92px) clamp(28px,6vw,78px)!important;
  border:1px solid var(--jm3-line)!important;
  border-radius:26px!important;
  background:var(--jm3-paper)!important;
  color:var(--jm3-ink)!important;
  box-shadow:var(--jm3-shadow-soft)!important;
}
.home .entry-content > .wp-block-group.alignwide.has-color-1-background-color{
  background:var(--jm3-paper-2)!important;
}
.home .entry-content > .wp-block-group.alignwide.has-page-background-background-color:last-of-type{
  background:var(--jm3-paper)!important;
  color:var(--jm3-ink)!important;
}
.home .entry-content > .wp-block-group.alignwide.has-background h2,
.home .entry-content > .wp-block-group.alignwide.has-background h3,
.home .entry-content > .wp-block-group.alignwide.has-background p,
.home .entry-content > .wp-block-group.alignwide.has-background a:not(.wp-block-button__link){
  color:var(--jm3-ink)!important;
}
.home .entry-content > .wp-block-group.alignwide.has-background p{
  color:var(--jm3-body)!important;
}
.home .entry-content > .wp-block-group.alignwide.has-background h2{
  max-width:800px;
  font-size:clamp(38px,4.2vw,58px)!important;
  line-height:1.07!important;
}
.home .entry-content .wp-block-columns{
  gap:clamp(18px,2.5vw,32px)!important;
}
.home .entry-content .wp-block-columns .wp-block-column:has(> h3){
  padding:30px!important;
  border:1px solid var(--jm3-line)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.58)!important;
}
.home .entry-content .wp-block-columns .wp-block-column:has(> h3) h3{
  color:var(--jm3-ink)!important;
  font-size:clamp(23px,2.1vw,30px)!important;
}
.home .entry-content .wp-block-columns .wp-block-column:has(> h3) p{
  color:var(--jm3-body)!important;
}
.home .entry-content .wp-block-image img{
  border-radius:20px!important;
  filter:saturate(.93) contrast(1.01)!important;
}
.home .entry-content > .wp-block-group.alignwide.has-page-background-background-color .wp-block-image img{
  border-radius:18px!important;
}

/* Reviews — bright social proof */
.home .entry-content > .wp-block-group.alignwide:has(.ti-widget){
  background:#fff!important;
  border:1px solid var(--jm3-line)!important;
  border-radius:26px!important;
  box-shadow:var(--jm3-shadow-soft)!important;
}
.home .entry-content > .wp-block-group.alignwide:has(.ti-widget) h2,
.home .entry-content > .wp-block-group.alignwide:has(.ti-widget) p{
  color:var(--jm3-ink)!important;
}

/* INNER PAGES — light editorial hero, strong contrast */
body:not(.home) .entry-content > .wp-block-group.alignwide.has-background:first-child{
  position:relative!important;
  overflow:hidden!important;
  margin-top:clamp(22px,4vw,42px)!important;
  padding:clamp(68px,8vw,110px) clamp(28px,7vw,88px)!important;
  border:1px solid var(--jm3-line)!important;
  border-radius:26px!important;
  background:
    radial-gradient(circle at 90% 0%,rgba(169,133,96,.11),transparent 32%),
    var(--jm3-paper)!important;
  color:var(--jm3-ink)!important;
  box-shadow:var(--jm3-shadow-soft)!important;
}
body:not(.home) .entry-content > .wp-block-group.alignwide.has-background:first-child::after{
  content:"JM"!important;
  right:-18px!important;
  bottom:-42px!important;
  color:rgba(23,22,20,.035)!important;
}
body:not(.home) .entry-content > .wp-block-group.alignwide.has-background:first-child h1,
body:not(.home) .entry-content > .wp-block-group.alignwide.has-background:first-child h2,
body:not(.home) .entry-content > .wp-block-group.alignwide.has-background:first-child h3{
  color:var(--jm3-ink)!important;
}
body:not(.home) .entry-content > .wp-block-group.alignwide.has-background:first-child > p{
  color:var(--jm3-body)!important;
}
body:not(.home) .entry-content > .wp-block-group.alignwide.has-background:first-child > p:first-child strong{
  color:var(--jm3-accent)!important;
}
body:not(.home) .entry-content > .wp-block-group.alignwide.has-background:first-child .wp-block-button__link{
  border-color:var(--jm3-ink)!important;
  border-radius:999px!important;
  background:var(--jm3-ink)!important;
  color:#fff!important;
}

/* All standard content sections stay readable and airy */
body:not(.home) .entry-content > .wp-block-group.alignwide.has-background{
  width:min(1180px,calc(100% - 48px))!important;
  max-width:1180px!important;
  padding:clamp(54px,7vw,88px) clamp(28px,6vw,76px)!important;
  border:1px solid var(--jm3-line)!important;
  border-radius:26px!important;
  background:var(--jm3-paper)!important;
  color:var(--jm3-ink)!important;
  box-shadow:none!important;
}
body:not(.home) .entry-content > .wp-block-group.alignwide.has-color-1-background-color{
  background:var(--jm3-paper-2)!important;
}
body:not(.home) .entry-content > .wp-block-group.alignwide.has-background h2,
body:not(.home) .entry-content > .wp-block-group.alignwide.has-background h3,
body:not(.home) .entry-content > .wp-block-group.alignwide.has-background p,
body:not(.home) .entry-content > .wp-block-group.alignwide.has-background a:not(.wp-block-button__link){
  color:var(--jm3-ink)!important;
}
body:not(.home) .entry-content > .wp-block-group.alignwide.has-background p{
  color:var(--jm3-body)!important;
}
body:not(.home) .entry-content .wp-block-image img{
  border-radius:20px!important;
}
body:not(.home) .entry-content .wp-block-columns .wp-block-column:has(> h3){
  border-radius:18px!important;
}
body:not(.home) .entry-content .wp-block-button__link,
body:not(.home) .entry-content .wp-element-button{
  border-radius:999px!important;
  text-transform:none!important;
  letter-spacing:.01em!important;
  font-size:13px!important;
}

/* FLOATING CONTACT */
.jm-whatsapp-float{
  right:18px!important;
  bottom:18px!important;
  border:0!important;
  background:var(--jm3-ink)!important;
  color:#fff!important;
  box-shadow:0 16px 42px rgba(23,22,20,.22)!important;
}
.jm-whatsapp-float:hover{background:var(--jm3-accent)!important}

/* FOOTER — the only deliberate dark surface */
.jm-premium-footer{
  margin-top:clamp(90px,9vw,140px)!important;
  background:#161513!important;
  color:#fffdfa!important;
}
.jm-premium-footer h2,
.jm-premium-footer a{color:#fffdfa!important}
.jm-premium-footer p{color:rgba(255,253,250,.64)!important}

/* MOBILE — text first, image second, no giant black slab */
@media (max-width:781px){
  .site-header .hostinger-ai-menu-wrapper{
    padding:9px 14px!important;
  }
  .site-header .wp-block-site-logo img{
    width:44px!important;
    height:44px!important;
  }
  .hostinger-ai-site-title a::before{font-size:15px!important}
  .hostinger-ai-site-title a::after{
    margin-top:3px!important;
    font-size:7px!important;
    letter-spacing:.12em!important;
  }

  .home .hostinger-ai-about-us-2::before,
  .home .hostinger-ai-about-us-2::after{display:none!important}
  .home .hostinger-ai-about-us-2 > .alignwide{
    width:100%!important;
    min-height:auto!important;
    grid-template-columns:1fr!important;
    gap:34px!important;
    padding:44px 20px 64px!important;
  }
  .home .hostinger-ai-about-us-2 > .alignwide > .wp-block-group:first-child{order:2!important}
  .home .hostinger-ai-about-us-2 > .alignwide > .wp-block-group:last-child{
    order:1!important;
    padding:0!important;
  }
  .home .hostinger-ai-about-us-2 .hostinger-ai-title{
    font-size:clamp(42px,11.8vw,56px)!important;
  }
  .home .hostinger-ai-about-us-2 .hostinger-ai-title::before{
    margin-bottom:16px!important;
    font-size:9px!important;
  }
  .home .hostinger-ai-about-us-2 .hostinger-ai-description{
    margin-top:20px!important;
    font-size:16.5px!important;
  }
  .home .hostinger-ai-about-us-2 .wp-block-buttons{
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .home .hostinger-ai-about-us-2 .wp-block-button,
  .home .hostinger-ai-about-us-2 .wp-block-button__link{
    width:100%!important;
  }
  .home .hostinger-ai-about-us-2 .wp-block-button__link{
    justify-content:center!important;
    text-align:center!important;
  }
  .home .hostinger-ai-about-us-2 .wp-block-image img{
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:4/4.5!important;
    border-radius:22px!important;
  }

  .home .hostinger-ai-about-us-3{
    padding:82px 20px!important;
  }
  .home .hostinger-ai-about-us-3 > .alignwide{
    width:100%!important;
    gap:34px!important;
  }
  .home .hostinger-ai-about-us-3 .hostinger-ai-service-image img{
    min-height:0!important;
    aspect-ratio:4/5!important;
    border-radius:22px!important;
  }
  .home .hostinger-ai-about-us-3 .hostinger-ai-service-title{
    font-size:clamp(38px,10.8vw,50px)!important;
  }

  .home .entry-content > .wp-block-group.alignwide.has-background,
  body:not(.home) .entry-content > .wp-block-group.alignwide.has-background{
    width:calc(100% - 28px)!important;
    margin:18px 14px 34px!important;
    padding:44px 20px!important;
    border-radius:20px!important;
  }
  .home .entry-content > .wp-block-group.alignwide.has-background h2{
    font-size:clamp(34px,9.6vw,46px)!important;
  }
  .home .entry-content .wp-block-columns .wp-block-column:has(> h3){
    padding:24px 20px!important;
    border-radius:16px!important;
  }

  body:not(.home) .entry-content > .wp-block-group.alignwide.has-background:first-child{
    margin-top:14px!important;
    padding:54px 22px 58px!important;
  }
  body:not(.home) .entry-content > .wp-block-group.alignwide.has-background:first-child::after{
    display:none!important;
  }

  .jm-whatsapp-float{
    right:14px!important;
    bottom:14px!important;
    padding:12px!important;
  }
  .jm-whatsapp-float span{display:none!important}
}

@media (max-width:420px){
  .hostinger-ai-site-title a::after{display:none!important}
  .home .hostinger-ai-about-us-2 > .alignwide{padding-top:36px!important}
  .home .hostinger-ai-about-us-2 .hostinger-ai-title{
    font-size:clamp(39px,11.5vw,50px)!important;
  }
}

/* PAGE POLISH — make every key page feel designed, not templated */

/* Sobre el Dr. José Marín: editorial portrait split */
body.page-id-19 .entry-content > .wp-block-group:first-child{
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.72fr)!important;
  column-gap:clamp(48px,7vw,96px)!important;
  align-items:center!important;
}
body.page-id-19 .entry-content > .wp-block-group:first-child h1,
body.page-id-19 .entry-content > .wp-block-group:first-child > p{
  grid-column:1;
}
body.page-id-19 .entry-content > .wp-block-group:first-child figure{
  grid-column:2!important;
  grid-row:1 / span 3!important;
  margin:0!important;
}
body.page-id-19 .entry-content > .wp-block-group:first-child figure img{
  width:100%!important;
  min-height:560px!important;
  aspect-ratio:4/5!important;
  object-fit:cover!important;
  border-radius:24px!important;
  box-shadow:var(--jm3-shadow)!important;
}
body.page-id-19 .entry-content > .wp-block-group:first-child h1{
  font-size:clamp(50px,5.4vw,76px)!important;
  line-height:1.01!important;
}
body.page-id-19 .entry-content > .wp-block-group:nth-child(3) .wp-block-columns{
  margin-top:44px!important;
}
body.page-id-19 .entry-content > .wp-block-group:nth-child(3) .wp-block-image img{
  aspect-ratio:4/3!important;
  object-fit:cover!important;
  border-radius:18px!important;
}

/* Contact: clean information hierarchy */
body.page-id-64 .entry-content > .wp-block-group:nth-child(2){
  background:linear-gradient(135deg,#fffdfa 0%,#f0e7dc 100%)!important;
}
body.page-id-64 .entry-content > .wp-block-group:nth-child(2) > p:first-of-type{
  max-width:650px!important;
  padding:24px 0!important;
  border-top:1px solid var(--jm3-line);
  border-bottom:1px solid var(--jm3-line);
  font-size:17px!important;
  line-height:1.9!important;
}
body.page-id-64 .entry-content > .wp-block-group:nth-child(3){
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:18px 56px!important;
}
body.page-id-64 .entry-content > .wp-block-group:nth-child(3) h2,
body.page-id-64 .entry-content > .wp-block-group:nth-child(3) p{
  margin-top:0!important;
}
body.page-id-64 .entry-content > .wp-block-group:nth-child(3) h2:nth-of-type(1),
body.page-id-64 .entry-content > .wp-block-group:nth-child(3) p:nth-of-type(1),
body.page-id-64 .entry-content > .wp-block-group:nth-child(3) p:nth-of-type(2){
  grid-column:1;
}
body.page-id-64 .entry-content > .wp-block-group:nth-child(3) h2:nth-of-type(2),
body.page-id-64 .entry-content > .wp-block-group:nth-child(3) p:nth-of-type(3),
body.page-id-64 .entry-content > .wp-block-group:nth-child(3) p:nth-of-type(4){
  grid-column:2;
}

/* Services: premium three-card rhythm without changing SEO copy */
body.page-id-18 .entry-content > .wp-block-group:nth-child(2){
  gap:0 18px!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
}
body.page-id-18 .entry-content > .wp-block-group:nth-child(2) > h2{
  margin:0!important;
  padding:30px 26px 10px!important;
  border:1px solid var(--jm3-line)!important;
  border-bottom:0!important;
  border-radius:20px 20px 0 0!important;
  background:var(--jm3-paper)!important;
}
body.page-id-18 .entry-content > .wp-block-group:nth-child(2) > p{
  margin:0!important;
  padding:8px 26px!important;
  border-right:1px solid var(--jm3-line)!important;
  border-left:1px solid var(--jm3-line)!important;
  background:var(--jm3-paper)!important;
}
body.page-id-18 .entry-content > .wp-block-group:nth-child(2) > p:nth-child(3),
body.page-id-18 .entry-content > .wp-block-group:nth-child(2) > p:nth-child(6),
body.page-id-18 .entry-content > .wp-block-group:nth-child(2) > p:nth-child(9){
  padding-bottom:30px!important;
  border-bottom:1px solid var(--jm3-line)!important;
  border-radius:0 0 20px 20px!important;
}
body.page-id-18 .entry-content > .wp-block-group:nth-child(2) > p a{
  font-size:13px!important;
  font-weight:700!important;
  text-decoration:none!important;
}
body.page-id-18 .entry-content > .wp-block-group:nth-child(2) > p a::after{
  content:"  →";
  color:var(--jm3-accent);
}
body.page-id-18 .entry-content > .wp-block-group:nth-child(3){
  border-radius:24px!important;
  background:var(--jm3-paper-2)!important;
}

/* Treatment pages: process cards and FAQ read like a premium clinic guide */
body.page-id-57 .entry-content > .wp-block-group:first-child,
body.page-id-85 .entry-content > .wp-block-group:first-child,
body.page-id-65 .entry-content > .wp-block-group:first-child,
body.page-id-86 .entry-content > .wp-block-group:first-child{
  background:
    radial-gradient(circle at 92% 8%,rgba(169,133,96,.13),transparent 28%),
    #fffdfa!important;
}
body.page-id-57 .entry-content > .wp-block-group:first-child h1,
body.page-id-85 .entry-content > .wp-block-group:first-child h1,
body.page-id-65 .entry-content > .wp-block-group:first-child h1,
body.page-id-86 .entry-content > .wp-block-group:first-child h1{
  max-width:900px!important;
}
body.page-id-57 .entry-content .wp-block-columns .wp-block-column:has(> h3),
body.page-id-85 .entry-content .wp-block-columns .wp-block-column:has(> h3),
body.page-id-65 .entry-content .wp-block-columns .wp-block-column:has(> h3),
body.page-id-86 .entry-content .wp-block-columns .wp-block-column:has(> h3){
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(35,30,24,.035)!important;
}
body.page-id-57 #preguntas ~ h3{
  padding-top:22px!important;
  border-top:1px solid var(--jm3-line)!important;
}

/* Universal section spacing */
body:not(.home) .entry-content > .wp-block-group + .wp-block-group{
  margin-top:28px!important;
}
body:not(.home) .entry-content > .wp-block-group:last-child{
  margin-bottom:70px!important;
}

/* Mobile page-specific cleanup */
@media (max-width:781px){
  body.page-id-19 .entry-content > .wp-block-group:first-child{
    display:flex!important;
    flex-direction:column!important;
    gap:28px!important;
  }
  body.page-id-19 .entry-content > .wp-block-group:first-child figure{
    order:2!important;
  }
  body.page-id-19 .entry-content > .wp-block-group:first-child figure img{
    min-height:0!important;
    aspect-ratio:4/5!important;
  }
  body.page-id-64 .entry-content > .wp-block-group:nth-child(3){
    display:block!important;
  }
  body.page-id-18 .entry-content > .wp-block-group:nth-child(2){
    display:block!important;
  }
  body.page-id-18 .entry-content > .wp-block-group:nth-child(2) > h2{
    margin-top:16px!important;
  }
}
