html body .wine{color:#81334e!important;font-size:1.08em!important;font-weight:700}
html[lang] body.genital-theme .area-tab-scroll{overflow-x:auto!important;min-width:0}
html[lang] body.genital-theme .area-tab-scroll .area-trigger{display:inline-flex;align-items:center;text-align:center;justify-content:center;text-decoration:none;line-height:1.2}
html[lang] body.genital-theme .hero-stage-premium.v1-home-hero .v1-doctor-hero.active img.doctor-portrait-fill,
html[lang] body.genital-theme .approach-photo img{border:0!important;outline:0!important;box-shadow:none!important;border-radius:50%!important;aspect-ratio:1!important;object-fit:contain!important;background:transparent!important}
html[lang] body.genital-theme .approach-photo{aspect-ratio:1;align-self:center;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important}
html[lang] body.genital-theme .approach-photo img{width:100%!important;height:auto!important;max-height:100%!important}
html[lang] body.genital-theme .v1-cards .specialty-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
html[lang] body.genital-theme .v1-cards .specialty-grid>.specialty{min-width:0!important;overflow-wrap:anywhere}
html[lang] body.genital-theme .v1-cards .specialty-grid>.specialty:first-child{grid-column:1/-1!important}
html[lang] body.genital-theme .hero-heading{overflow-wrap:break-word;hyphens:auto}
@media(max-width:760px){
 html[lang] body.genital-theme .v1-cards .specialty-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 html[lang] body.genital-theme .v1-cards .specialty-grid>.specialty:not(:first-child){padding:8px!important;display:flex!important;flex-direction:column!important}
 html[lang] body.genital-theme .v1-cards .specialty-grid>.specialty:not(:first-child) .media{min-width:0!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1}
 html[lang] body.genital-theme .v1-cards .specialty-grid>.specialty:not(:first-child) img{width:100%!important;height:auto!important;max-width:100%!important;min-width:0!important}
 html[lang] body.genital-theme .v1-cards .specialty-grid>.specialty:not(:first-child) .copy{padding:6px!important}
 html[lang] body.genital-theme .v1-cards .specialty-grid>.specialty:not(:first-child) h3{font-size:clamp(16px,4.2vw,24px)!important}
 html[lang] body.genital-theme .hero-stage-premium.v1-home-hero .hero-frame.active .hero-heading{font-size:clamp(22px,6vw,34px)!important}
}

/* V2. Each frame allocates separate tracks to the image, copy and controls. */
#ae-carousel.hero-stage{height:auto!important;min-height:0!important;max-height:none!important;display:block!important;padding:16px!important;box-sizing:border-box}
#ae-carousel .hero-frame.active{display:grid!important;position:relative!important;inset:auto!important;grid-template-columns: minmax(0,1fr) minmax(0,1fr)!important;grid-template-areas:"text picture"!important;grid-template-rows:auto!important;align-items:center!important;gap:clamp(12px,3vw,44px)!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important}
#ae-carousel .v1-doctor-hero.active{grid-template-areas:"picture text"!important}
#ae-carousel .hero-frame.active img{grid-area:picture!important;position:static!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;min-width:0!important;max-width:min(100%,55vh)!important;max-height:none!important;aspect-ratio:1!important;margin:auto!important;transform:none!important;object-fit:contain!important;padding:0!important;border:0!important}
#ae-carousel .hero-frame.active .hero-canvas,#ae-carousel .hero-frame.active .doctor-hero-copy{position:static!important;grid-area:text!important;transform:none!important;box-sizing:border-box!important;min-width:0!important;width:100%!important;max-width:none!important;max-height:none!important;height:auto!important;margin:0!important;overflow-wrap:break-word}
#ae-carousel .hero-bottom-controls{position:relative!important;inset:auto!important;transform:none!important;margin:12px auto 0!important}
#ae-procedures>.specialty .copy p{display:block!important;overflow:visible!important;height:auto!important;max-height:none!important;font-size:1rem!important;line-height:1.55!important}
#ae-procedures>.specialty:first-child{display:grid!important;grid-template-columns:minmax(160px,30%) minmax(0,1fr)!important;align-items:center!important;grid-column:1/-1!important}
#ae-procedures>.specialty:first-child .media{width:100%!important;height:auto!important;min-width:0!important}
@media(max-width:760px){
 #ae-procedures.specialty-grid{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
 #ae-procedures>.specialty,#ae-procedures>.specialty:first-child{display:flex!important;flex-direction:column!important;align-items:stretch!important;height:auto!important;padding:16px!important;gap:12px!important}
 #ae-procedures>.specialty .media{display:block!important;align-self:center!important;min-width:0!important;min-height:0!important;width:100%!important;max-width:320px!important;height:auto!important;aspect-ratio:1!important}
 #ae-procedures>.specialty .media img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1!important;object-fit:contain!important;margin:auto!important}
 #ae-procedures>.specialty .copy{width:100%!important;max-width:none!important;box-sizing:border-box!important;padding:0!important}
}
@media(max-width:760px) and (orientation:portrait){
 #ae-carousel .hero-frame.active{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"picture" "text"!important;gap:12px!important}
 #ae-carousel .hero-frame.active img{max-width:min(100%,52vh)!important}
}
html[lang] body .v1-detail h1,html[lang] body .compact-explanation{overflow-wrap:anywhere;word-break:break-word;hyphens:auto;min-width:0}
html[lang] body .v1-detail *{min-width:0}
@media(orientation:landscape) and (max-width:950px) and (max-height:520px){
 #ae-procedures.specialty-grid{grid-template-columns:minmax(0,1fr)!important}
 #ae-procedures>.specialty{display:grid!important;grid-template-columns:minmax(0,32%) minmax(0,1fr)!important;align-items:center!important}
 #ae-carousel .hero-frame.active img{max-width:min(100%,70vh)!important}
}

/* Reserve the same rows for every slide, including the doctor introduction. */
#ae-carousel.hero-stage{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;row-gap:8px!important}
#ae-carousel .hero-frame{grid-row:1!important;grid-column:1!important}
#ae-carousel .hero-bottom-controls{grid-row:2!important;grid-column:1!important;display:flex!important;align-items:center!important;justify-content:center!important;position:static!important;opacity:1!important;visibility:visible!important;z-index:3!important;margin:0 auto!important}
#ae-carousel .hero-bottom-controls button.hero-prev,#ae-carousel .hero-bottom-controls button.hero-next{display:inline-flex!important;align-items:center;justify-content:center;visibility:visible!important;opacity:1!important;min-width:40px;min-height:40px}
@media(max-width:760px) and (orientation:portrait){#ae-carousel .hero-frame.active img{max-width:min(100%,40vh)!important}}
@media(max-width:359px) and (orientation:portrait){#ae-carousel .hero-frame.active img{max-width:min(100%,35vh)!important}}
@media(orientation:landscape) and (max-width:950px) and (max-height:520px){
 #ae-carousel.hero-stage{padding:5px 12px!important;row-gap:2px!important}
 #ae-carousel .hero-frame.active img{max-width:min(100%,max(110px,calc(100vh - 235px)))!important}
}

@media(max-width:760px) and (orientation:portrait){
 #ae-carousel .hero-frame.active{grid-template-rows:auto minmax(145px,auto)!important}
}

/* V8: desktop homepage carousel typography only; mobile and short landscape unchanged. */
@media (min-width: 1024px) and (min-height: 521px) {
  html[lang] body.genital-theme #ae-carousel .hero-frame.active .hero-eyebrow {
    font-size:clamp(14px,1.15vw,18px)!important;
    line-height:1.35!important;
    margin-bottom:clamp(10px,1.2vw,20px)!important;
  }
  html[lang] body.genital-theme #ae-carousel .hero-frame.active .hero-heading {
    font-size:clamp(44px,min(4.65vw,8.8vh),72px)!important;
    line-height:1.08!important;
    margin-bottom:clamp(12px,1.35vw,22px)!important;
  }
  html[lang] body.genital-theme #ae-carousel .hero-frame.active[data-hero-index="0"] .hero-heading {
    font-size:clamp(54px,min(6.1vw,10.5vh),94px)!important;
  }
  html[lang] body.genital-theme #ae-carousel .hero-frame.active .hero-description {
    font-size:clamp(19px,min(1.8vw,3.4vh),28px)!important;
    line-height:1.5!important;
    max-width:100%!important;
    margin-bottom:0!important;
  }
}
