.doctor-photo-bg{background-image:url('../img/oficina-real-fondo-doctor.png')!important;background-size:cover!important;background-position:center 56%!important}
/* Keep the nose in view when the portrait clip fills a landscape section.
   Disable the legacy scroll zoom/translation so the focal point stays fixed. */
#heroVideo,#visionVideo,#cataractBgVideo{object-fit:cover;object-position:50% 68%;transform:none!important;will-change:auto}
@media(max-aspect-ratio:3/4){#heroVideo,#visionVideo,#cataractBgVideo{object-position:50% 50%}}
.hero-content .hero-small{font-size:clamp(20px,2vw,28px)!important;font-weight:600!important;line-height:1.35!important;margin-bottom:34px!important;letter-spacing:.01em!important;color:#f2c96d!important;text-shadow:0 2px 10px rgba(0,12,28,.75)!important}
.single-doctor-photo{min-height:560px!important}
.single-doctor-photo .entity-video-bottom{position:absolute;inset:0;width:100%;height:100%;transform:none;right:auto;bottom:auto}
.single-doctor-photo .entity-video-bottom img{width:100%;height:100%;object-fit:cover;object-position:center 30%}
.doctor-profile-link{display:block;position:relative;color:inherit;text-decoration:none;cursor:pointer}
.doctor-profile-link .specialist-video-image{object-position:50% 40%}
.doctor-profile-link:focus-visible{outline:3px solid #bf994c;outline-offset:5px}
#biografia-doctor{scroll-margin-top:130px;padding:75px 6vw;max-width:1250px;box-sizing:border-box}
.blog-library,.complaints-info{max-width:1240px;margin:auto;padding:80px 6vw;box-sizing:content-box;color:#153550}
.blog-artwork{max-width:1240px;margin:0 auto;padding:56px 6vw 0;display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:22px;align-items:center}
.blog-artwork .blog-artwork-intro{display:block;grid-column:1/-1;width:100%;max-width:none;margin:0 0 18px;padding:clamp(32px,4.6vw,60px) clamp(22px,4vw,60px);box-sizing:border-box;border:0;border-radius:0;background:transparent;text-align:center;color:#153550}
.blog-artwork .blog-artwork-intro h2{max-width:1000px;font:500 clamp(34px,4.4vw,64px)/1.12 'Playfair Display',Georgia,serif;margin:0 auto 24px;color:#153550;text-wrap:balance}
.blog-artwork .blog-artwork-intro h2 em{color:inherit;font-weight:500}
.blog-artwork .blog-artwork-intro p{max-width:820px;margin:0 auto;font:400 clamp(16px,1.5vw,20px)/1.7 'DM Sans',Arial,sans-serif;color:#153550}
.blog-artwork figure{margin:0;height:300px;overflow:hidden;border-radius:18px;background:#e8eef3}
.blog-artwork figure:nth-of-type(2){height:370px}
.blog-artwork img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .55s cubic-bezier(.2,.7,.2,1)}
.blog-artwork figure:hover img{transform:scale(1.035)}
.clinic-gallery{padding:clamp(64px,8vw,112px) 6vw;background:#eef4f8;color:#153550}
.clinic-gallery-heading,.clinic-gallery-grid{width:min(1240px,100%);margin:0 auto}
.clinic-gallery-heading{margin-bottom:38px}
.clinic-gallery-heading .eyebrow{font:600 12px/1.5 'DM Sans',Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#547188}
.clinic-gallery-heading h2{font:500 clamp(40px,5vw,68px)/1.08 'Playfair Display',Georgia,serif;margin:12px 0 16px}
.clinic-gallery-heading h2 em{font-weight:500}
.clinic-gallery-heading p{font:400 17px/1.7 'DM Sans',Arial,sans-serif;max-width:620px;margin:0;color:#3d5a70}
.clinic-gallery-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr);grid-template-rows:repeat(2,minmax(220px,1fr));gap:18px}
.clinic-gallery-grid figure{position:relative;min-height:220px;margin:0;overflow:hidden;border-radius:16px;background:#dce7ed}
.clinic-gallery-grid .clinic-gallery-room{grid-row:span 2}
.clinic-gallery-grid img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.clinic-gallery-grid figure:hover img{transform:scale(1.035)}
.clinic-gallery-grid figure::after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(2,24,42,.76))}
.clinic-gallery-grid figcaption{position:absolute;z-index:1;left:22px;right:20px;bottom:20px;color:#fff;font:500 16px/1.45 'DM Sans',Arial,sans-serif}
.blog-library h2,.complaints-info h2{font:500 clamp(36px,4vw,60px)/1.12 'Playfair Display',Georgia,serif;margin:0 0 40px}
.blog-library .doctor-blog-grid{gap:55px 35px}
.blog-library h3{font:500 28px/1.25 'Playfair Display',Georgia,serif;margin:22px 0 15px}
.blog-library p{font:400 16px/1.8 'DM Sans',Arial,sans-serif}
.blog-library a{color:#153550;text-decoration:none}
.blog-library article>a:last-child{text-decoration:underline;text-underline-offset:5px}
.imported-article{max-width:780px;margin:auto;padding:75px 7vw;color:#153550;font:400 18px/1.85 'DM Sans',Arial,sans-serif}
.imported-article h2,.imported-article h3{font:500 34px/1.25 'Playfair Display',Georgia,serif;margin:42px 0 22px}
.imported-article p,.imported-article ul,.imported-article ol{margin:0 0 24px}
.imported-article li{margin:8px 0}.imported-article a{color:#174e76;text-underline-offset:5px}
.article-source{font-size:14px;border-top:1px solid #cbdce7;padding-top:25px;margin-top:45px!important}
.article-cta{display:inline-block;margin-top:15px}
.claims-footer{padding:20px 6vw 28px;text-align:center;font:500 14px/1.6 'DM Sans',Arial,sans-serif}.claims-footer a{color:#fff!important;text-decoration:underline;text-underline-offset:5px}
.complaints-info{max-width:820px;font:400 18px/1.8 'DM Sans',Arial,sans-serif}.complaints-info p{margin-bottom:28px}.complaints-info a{color:#174e76;text-underline-offset:4px}
.hero-sequence-label,.hero-sequence-button{position:absolute;z-index:25;bottom:26px;background:rgba(0,27,48,.88);color:#fff;border:1px solid #ffffff70;border-radius:999px;padding:12px 20px;font:500 13px/1.5 'DM Sans',Arial,sans-serif}
.hero-sequence-label{left:6vw}.hero-sequence-button{right:6vw;cursor:pointer}.hero-sequence-button:hover{background:#174e76}.hero-sequence-button:focus-visible{outline:3px solid #fff;outline-offset:4px}
.doctor-biography.section{width:100%;max-width:none;margin:0;padding:clamp(48px,7vw,96px) 6vw!important;background:#eaf2f8;color:#153550;scroll-margin-top:120px;box-sizing:border-box}
.doctor-biography-window{width:min(1240px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(260px,.78fr) minmax(0,1.22fr);align-items:stretch;background:#fff;border:1px solid #d8e4ed;border-radius:18px;overflow:hidden;box-shadow:0 18px 44px rgba(12,43,68,.12)}
.doctor-biography-portrait{margin:0;min-height:100%;background:#d9e4ea;overflow:hidden}
.doctor-biography-portrait img{display:block;width:100%;height:100%;min-height:590px;object-fit:cover;object-position:center 30%}
.doctor-biography-copy{padding:clamp(32px,5vw,68px);align-self:center}
.doctor-biography-copy h2{font:500 clamp(38px,4.2vw,62px)/1.1 'Playfair Display',Georgia,serif;margin:0 0 14px;color:#153550}
.doctor-biography-copy p{font:400 16px/1.8 'DM Sans',Arial,sans-serif;max-width:68ch;margin:0 0 18px;color:#29465d}
.doctor-biography-copy .doctor-biography-credentials{margin-bottom:25px;color:#153550}
.doctor-biography-copy p:last-child{margin-bottom:0}
.clinic-directions{display:inline-flex;padding:12px 18px;border-radius:999px;background:#153550;color:#fff!important;text-decoration:none;font-weight:600}
.clinic-directions:hover{background:#205579}
body.doctor-profile-page,body.doctor-profile-page>main{background:#eaf2f8!important}
body.doctor-profile-page{width:100%;min-width:0}
body.doctor-profile-page>main{display:block!important;width:100%!important;max-width:none!important;min-height:100vh;margin:0!important;overflow:visible}
body.doctor-profile-page>main>section{width:100%!important;max-width:none!important;box-sizing:border-box}
@media(max-width:700px){.hero-content .hero-small{font-size:18px!important;margin-bottom:24px!important}.single-doctor-photo{min-height:440px!important}.blog-library,.complaints-info{padding:55px 7vw}.blog-artwork{padding:35px 7vw 0;grid-template-columns:1fr;gap:14px}.blog-artwork figure,.blog-artwork figure:nth-of-type(2){height:230px}.clinic-gallery{padding:58px 7vw}.clinic-gallery-heading{margin-bottom:25px}.clinic-gallery-heading p{font-size:15px}.clinic-gallery-grid{grid-template-columns:1fr;grid-template-rows:none;gap:14px}.clinic-gallery-grid figure,.clinic-gallery-grid .clinic-gallery-room{height:clamp(240px,72vw,390px);min-height:0;grid-row:auto}.clinic-gallery-grid figcaption{left:16px;bottom:15px;font-size:14px}.imported-article{font-size:16px;padding:50px 7vw}.imported-article h2,.imported-article h3{font-size:28px}.hero-sequence-label,.hero-sequence-button{bottom:18px;font-size:11px;padding:10px 13px}#biografia-doctor{padding:45px 7vw;scroll-margin-top:110px}}
@media(max-width:760px){.doctor-biography.section{padding:44px 6vw!important}.doctor-biography-window{grid-template-columns:1fr}.doctor-biography-portrait img{height:clamp(270px,76vw,390px);min-height:0;object-position:center 27%}.doctor-biography-copy{padding:30px 25px 34px}.doctor-biography-copy h2{font-size:clamp(36px,10vw,48px)}.doctor-biography-copy p{font-size:15px;line-height:1.75}}
@media(prefers-reduced-motion:reduce){.clinic-directions{transition:none}}
