
/* Language controls and longer Spanish text: the existing dental design remains. */
.gdc-language-row{border-bottom:1px solid #e3edf0;background:#f6fafb;}
.gdc-language-switch{display:flex;gap:.35rem;justify-content:flex-end;align-items:center;padding:.3rem 0;font-size:1rem;line-height:1.35}
.gdc-language-switch a{display:inline-flex;align-items:center;justify-content:center;min-height:2.5rem;padding:.4rem .9rem;border-radius:100px;border:1px solid transparent;text-decoration:none;font-weight:650}
.gdc-language-switch a[aria-current=true]{background:#153d48;color:#fff}
.gdc-language-switch a:hover:not([aria-current=true]){border-color:#c8dce3;background:#fff}
.gdc-language-label{margin-right:.35rem;color:#49636c}
.gdc-language-switch a:focus-visible{outline:3px solid #b71364;outline-offset:2px}
html[lang^="es"] body.clean-template .main-nav{gap:1rem}
html[lang^="es"] body.clean-template .main-nav>a:not(.btn){white-space:normal}
html[lang^="es"] body.clean-template :is(.btn,.text-link){overflow-wrap:normal;word-break:normal;hyphens:auto}
html[lang^="es"] .gdca-chip{white-space:normal;overflow-wrap:anywhere}
html[lang^="es"] #gdca-title{font-size:1.15rem;line-height:1.3}
html[lang^="es"] .gdca-header .gdca-brand{min-width:0}
html[lang^="es"] :is(.care-service-copy,.care-note-copy){min-width:0}
html[lang^="es"] .care-service-copy strong{overflow-wrap:anywhere}
html[lang^="es"] :is([class$="experience"],[class$="experience-badge"]){max-width:100%}
@media(min-width:1265px) and (max-width:1450px){
html[lang^="es"] body.clean-template .main-nav{gap:.8rem;font-size:1rem}
html[lang^="es"] body.clean-template .main-nav .nav-appointment{padding-inline:.85rem;font-size:1rem}
html[lang^="es"] body.clean-template .header-inner{gap:1rem}
}
@media(max-width:600px){
.gdc-language-switch{justify-content:center;font-size:.94rem;padding:.25rem 0}
.gdc-language-switch a{min-height:2.4rem;padding:.35rem .8rem}
html[lang^="es"] body.clean-template .cl-hero-copy h1{overflow-wrap:normal;hyphens:auto}
html[lang^="es"] .mobile-action-bar a{font-size:.875rem;min-width:0;white-space:normal;padding-inline:.25rem}
}
@media print{.gdc-language-row{display:none}}

/* Reflow when text is enlarged: never truncate contact or language labels. */
.gdc-language-switch{flex-wrap:wrap}
.gdc-language-label{flex-shrink:0}
html[lang^="es"] .gdc-vcard span{white-space:normal!important;overflow-wrap:anywhere;min-width:0}
html[lang^="es"] .gdc-vcard{max-width:100%;min-width:0}
@media(max-width:600px){
 html[lang^="es"] #main .cl-section-heading>div{min-width:0;max-width:100%}
 html[lang^="es"] #main .text-link{max-width:100%;flex-wrap:wrap;white-space:normal}
 html[lang^="es"] #main .text-link>span{min-width:0}
}
@media(max-width:370px){
 html[lang^="es"] #main :is(h2,h3){overflow-wrap:anywhere;hyphens:auto}
 html[lang^="es"] .gdc-language-label{display:none}
 html[lang^="es"] .gdc-language-switch{gap:.15rem}
}

html[lang^="es"] .svx-section-heading{flex-wrap:wrap}
html[lang^="es"] .svx-section-heading>div{min-width:0;max-width:100%}
@media(max-width:600px){html[lang^="es"] #main .svx-section-heading h2{max-width:100%;overflow-wrap:anywhere!important}}

html{scroll-padding-top:var(--gdc-header-offset,11rem)!important}
