/* v26 — vertical lists within categories; preserve the approved editorial identity. */
/* Preserve the uploaded portrait film in full, including on mobile. */
.hero .hero-motion{display:flex!important}
.hero .hero-motion video{width:180px;height:auto;aspect-ratio:9/16;object-fit:contain;background:#f5f0e9}
@media(max-width:600px){.hero .hero-motion video{width:144px;height:auto}}
.catalog-group .procedure-list{display:block;columns:auto}
.catalog-group .procedure-list li{margin:0;padding:0;min-width:0}
.catalog-group .procedure-link{font-size:1.25rem;line-height:1.5;overflow-wrap:normal;word-break:normal;hyphens:none}
.catalog-group .procedure-link-hint{font-size:.875rem}
.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 40px;align-items:start}
.catalog-empty{border:1px solid #bca48c;padding:22px;font-size:1rem}
.catalog-empty p{margin:0 0 12px}.catalog-empty-actions{display:flex;flex-wrap:wrap;gap:10px 24px;align-items:center}
.catalog-empty button{background:#49372b;color:#fffaf3;border:1px solid #49372b;padding:10px 16px;min-height:44px;font-size:1rem}
.catalog-empty .secondary{background:transparent;color:#49372b}
.premium-header .brand small{display:block!important;color:#f3ddc8!important;font:500 .875rem/1.6 'DM Sans',Arial,sans-serif!important;letter-spacing:0!important;text-align:left!important;max-width:none!important;white-space:normal}
.language-list a{font-size:.875rem!important}.language-list a img{flex-shrink:0}
.hero-copy>.hero-support{font-size:.875rem!important;line-height:1.5!important;margin:12px 0 0!important;color:#f3ddc8}
.hero-copy>.hero-intro{max-width:49ch}
.guide-hero h1{overflow-wrap:normal;word-break:normal;font-size:clamp(2rem,4vw,4.4rem)}
.related-link span:first-child,.breadcrumbs span[aria-current]{overflow-wrap:normal;word-break:normal}
.editorial-note,.guide-disclaimer,.doctor-portrait figcaption,.guide-footer,.breadcrumbs{font-size:.875rem}
.eyebrow,.partners-eyebrow,.partner-role,.section-number,.hero-id span{font-size:.875rem!important;letter-spacing:.12em}
.contact-privacy a{color:inherit}.office-hours .response-hours{font-size:.875rem;line-height:1.65}
.guide-section .preparation-general{font-size:.9375rem;color:#625247}
.credentials-check{font-size:.875rem;line-height:1.7;margin:20px 0}.credentials-check a{display:inline-block;min-height:44px;padding-block:10px}
.guide-hero .cta-support{font-size:.875rem;margin:12px 0 0;color:#625247}
.guide-faq details p{font-size:1rem;line-height:1.8}
@media(max-width:1150px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.premium-header{grid-template-columns:minmax(210px,.7fr) minmax(0,1.3fr)!important}.premium-header .main-navigation{flex-wrap:wrap}.premium-tools{gap:14px}}
@media(max-width:900px){.premium-header{grid-template-columns:minmax(0,1fr) auto!important}.premium-header .brand small{max-width:240px!important}.hero-copy{padding-top:24px!important}.hero-copy>.hero-intro{line-height:1.6!important;margin-bottom:20px!important}.guide-hero h1{font-size:clamp(2rem,4.1vw,3.5rem)}}
@media(max-width:650px){.catalog-grid{grid-template-columns:1fr;gap:20px}.catalog-group .procedure-link{font-size:1.25rem}.guide-hero h1{font-size:2rem;line-height:1.2}.guide-hero{gap:24px}.doctor-portrait span{font-size:.875rem}.guide-section{grid-template-columns:1fr;gap:5px}.guide-section .section-number{padding-top:0}.premium-header .brand small{font-size:.875rem!important;max-width:195px!important}.hero h1{font-size:2.5rem!important;line-height:1.15!important}.hero-copy>.hero-support{margin-bottom:0!important}.hero-copy{padding-bottom:24px!important}.hero-photo img{height:330px!important}.catalog-empty-actions{align-items:stretch;flex-direction:column}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
.hero-copy>.hero-support{color:#625247!important}
/* Full language names remain visible in the privacy header as well. */
.premium-header .language-panel .language-list a{white-space:normal}
/* Prevent intrinsic grid widths from forcing horizontal scrolling with enlarged text. */
.decision-grid>*,.step>*,.q-grid>*{min-width:0}
.step{grid-template-columns:40px minmax(0,1fr)}
@media(max-width:650px){
 .decision h2,.questions h2{font-size:clamp(1.5rem,8vw,2.5rem)}
 .step h3,.q-grid p{font-size:1.25rem}
 .guide-hero h1{font-size:clamp(1.5rem,8vw,2rem)}
 .privacy-page h1{font-size:1.875rem!important;overflow-wrap:normal;word-break:normal}
}
@media(max-width:650px){.biography .biography-story h2,.practice .practice-copy h2{font-size:clamp(1.25rem,8vw,2.25rem)!important}}
@media(max-width:650px){#biography-title,#films-title{font-size:clamp(1.25rem,8vw,2.8rem)}}
/* Measured foreground/background pairs: small editorial labels meet 4.5:1. */
.hero .eyebrow,.practice .eyebrow,#registros .eyebrow,#experiencias .eyebrow{color:#7b523a!important}
.guide-section p+p{margin-top:16px}
.premium-header .language-panel>summary{color:#fff2df!important}
.premium-header .main-navigation>a:not(.button){color:#fff2df!important}

/* Stacked portrait follows its image and caption, without reserved desktop ratio. */
@media(max-width:900px){.hero-photo{aspect-ratio:auto!important}}
.barbara-copy>.barbara-actions{margin:0 0 24px}
/* PageSpeed identified these two small labels on the beige experiences panel. */
.experience-secondary .proof-label{color:#715039}

/* v42: doctor, proposal and contact first; clinical media is opt-in. */
.hero>.hero-copy{order:0}.hero>.hero-photo{order:1}
.consultation-availability{font-size:.875rem;line-height:1.65}
.consultation-availability strong,.consultation-availability span{display:block}
.hero-copy>.consultation-availability{margin:20px 0 0!important;font-size:.875rem!important;line-height:1.65!important;color:#625247}
.appointment-options{padding:18px 0;margin:0 0 22px;border-block:1px solid #bfa98e}
.appointment-options h3{font:600 1rem/1.5 'DM Sans',Arial,sans-serif;margin:0 0 8px}
.appointment-options .consultation-availability{margin:0}
.care-agreement{grid-column:1/-1;border-top:1px solid #aa8b71;padding-top:24px}
.care-agreement h3{font-size:1.35rem;line-height:1.4;margin:0 0 10px}
.care-agreement p{max-width:82ch;margin:0;font-size:1rem;line-height:1.75}
.biography-story>.bio-more{margin-bottom:24px}
.bio-more>summary{min-height:48px;padding-block:12px;cursor:pointer}
.bio-more[open]>summary{margin-bottom:14px}
.bio-more>p{margin-block:0 20px}
.films-featured{max-width:1080px;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px}
.care-close-film .film-screen{aspect-ratio:328/582}
@media(max-width:900px){
 .hero>.hero-photo{order:0!important;display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:20px;padding:22px 6% 0;overflow:visible;background:#f0eae3}
 .hero>.hero-photo img{width:104px;height:124px!important;object-fit:cover!important;object-position:center 15%!important}
 .hero>.hero-photo .hero-id{padding:0!important;background:transparent;text-align:left;font-size:1.25rem;line-height:1.4}
 .hero>.hero-photo .hero-id span{font-size:.875rem!important;letter-spacing:.04em;margin-top:7px}
 .hero>.hero-copy{order:1!important;padding-top:22px!important}
 .hero .hero-actions{gap:10px}
 .hero .hero-actions>.ghost{min-height:44px;padding-block:8px;border-color:transparent;justify-content:flex-start;text-decoration:underline;width:auto}
 .hero .hero-actions>.ghost:hover{background:transparent}
 .films-featured{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
}
@media(max-width:600px){
 .hero>.hero-copy h1{font-size:2.2rem!important;line-height:1.15!important;margin:12px 0 16px!important}
 .hero>.hero-copy>.hero-intro{margin-bottom:18px!important}
 .hero-copy>.consultation-availability{margin-top:16px!important}
 .films-featured{grid-template-columns:1fr;max-width:320px}
}

/* v46: compact home opening, preserving readable identity and natural reflow. */
@media(max-width:900px){
 body[data-page-kind="home"] .premium-header{padding:12px 5.5%!important;gap:10px 14px!important}
 body[data-page-kind="home"] .premium-header .brand{min-width:0}
 body[data-page-kind="home"] .premium-header .brand-mark{width:168px!important;max-width:100%}
 body[data-page-kind="home"] .premium-header .brand small{max-width:210px!important;font-size:.75rem!important;line-height:1.45!important;margin-top:4px}
 body[data-page-kind="home"] .hero>.hero-photo{grid-template-columns:88px minmax(0,1fr);gap:16px;padding:16px 5.5% 0}
 body[data-page-kind="home"] .hero>.hero-photo img{width:88px;height:104px!important}
 body[data-page-kind="home"] .hero>.hero-photo .hero-id{font-size:1.125rem;line-height:1.35;min-width:0}
 body[data-page-kind="home"] .hero>.hero-photo .hero-id span{font-size:.8125rem!important;line-height:1.45;letter-spacing:.025em;margin-top:5px}
 body[data-page-kind="home"] .hero>.hero-copy{padding:16px 5.5% 24px!important}
 /* Specialty and location remain immediately above, beside the portrait. */
 body[data-page-kind="home"] .hero-copy>.eyebrow{display:none}
 body[data-page-kind="home"] .hero>.hero-copy h1{margin:0 0 14px!important}
 body[data-page-kind="home"] .hero>.hero-copy>.hero-intro{line-height:1.55!important;margin-bottom:16px!important}
 body[data-page-kind="home"] .hero .hero-actions{gap:8px}
 body[data-page-kind="home"] .hero .hero-actions>.button{max-width:100%;white-space:normal;overflow-wrap:normal;text-align:center}
 body[data-page-kind="home"] .hero .hero-actions>.ghost{padding:8px 0;text-align:left}
 body[data-page-kind="home"] .hero-copy>.hero-support{margin-top:8px!important}
 body[data-page-kind="home"] .hero-copy>.consultation-availability{margin-top:12px!important}
 /* Enlarged text must not let a heading's min-content width expand the grid. */
 body[data-page-kind="home"] #experiencias .experience-heading{grid-template-columns:minmax(0,1fr)}
 body[data-page-kind="home"] #experiencias .experience-heading>*{min-width:0}
 body[data-page-kind="home"] #experiencias .experience-heading h2{overflow-wrap:anywhere}
}
@media(max-width:600px){
 body[data-page-kind="home"] .hero>.hero-copy h1{font-size:2.15rem!important;line-height:1.15!important}
}
@media(max-width:360px){
 body[data-page-kind="home"] .premium-header .brand-mark{width:145px!important}
 body[data-page-kind="home"] .premium-header .brand small{max-width:170px!important}
 body[data-page-kind="home"] .hero>.hero-photo{grid-template-columns:76px minmax(0,1fr);gap:12px}
 body[data-page-kind="home"] .hero>.hero-photo img{width:76px;height:92px!important}
}

/* Preserve reflow when readers enlarge the procedure text. */
.guide-section,
.related-link span:first-child,
.guide-footer > div {
  overflow-wrap: anywhere;
}

.guide-footer > div {
  min-width: 0;
}
