/* V5: solely visual rectifications for original 18 user images, typography, and reachability. */
/* Preserve the source image's own pink circle: do not clip or redraw its ring. */
.genital-theme .v1-detail.page-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:center!important;min-height:0!important;}
.genital-theme .v1-detail.page-hero .page-hero-media{
 display:flex!important;align-items:center!important;justify-content:center!important;
 padding:clamp(14px,2.4vw,32px)!important;background:#fff!important;
 width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
 overflow:visible!important;box-sizing:border-box!important;
}
.genital-theme .v1-detail.page-hero .page-hero-media img,
.genital-theme .v1-detail.page-hero .page-hero-media img[src*="orijinal-"],
.genital-theme .v1-detail.page-hero .page-hero-media img[src*="barbie-"]{
 position:static!important;display:block!important;
 width:min(100%,480px)!important;height:auto!important;
 min-width:0!important;max-width:480px!important;max-height:none!important;
 aspect-ratio:1 / 1!important;object-fit:contain!important;object-position:center center!important;
 padding:0!important;margin:auto!important;border:0!important;border-radius:0!important;
 clip-path:none!important;mask:none!important;filter:none!important;opacity:1!important;
 transform:none!important;background:#fff!important;box-shadow:none!important;
}
/* The user-provided circle, its pink border and the white corners remain intact. */
.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop,
.genital-theme .v1-cards .v1-specialty .media img,
.genital-theme .v1-cards .v1-specialty .media img[src*="orijinal-"]{
 aspect-ratio:1 / 1!important;object-fit:contain!important;
 border:0!important;border-radius:0!important;mask:none!important;clip-path:none!important;
 filter:none!important;opacity:1!important;transform:none!important;
 background:transparent!important;box-shadow:none!important;
}
/* Original white image corners dissolve against a clean white media ground; no oval masks. */
.genital-theme .v1-cards .v1-specialty .media,
.genital-theme .v1-cards .v1-specialty .v2-card-main-image-link .media{
 background:#fff!important; width:100%!important;max-width:100%!important;
 aspect-ratio:auto!important;height:auto!important;min-height:0!important;
 padding:clamp(11px,1.8vw,20px)!important;margin:0!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 border:0!important;overflow:visible!important;
}
.genital-theme .v1-cards .v1-specialty .media img{
 width:min(100%,280px)!important;height:auto!important;
 max-width:280px!important;max-height:none!important;margin:0 auto!important;
}
/* Keep cards at their original sizes and do not shorten their existing explanations. */
.genital-theme .v1-cards .v1-specialty{min-width:0!important;}
.genital-theme .v1-cards .v2-barbie-mini-title{
 font-family:'Playfair Display',Georgia,serif!important;
 font-style:italic!important;font-weight:600!important;
 font-size:clamp(17px,1.5vw,21px)!important;color:#a64775!important;
 text-decoration:none!important;
}
/* Brand-like, unboxed type and cream stage; no notebook style. */
.genital-theme .v1-home-hero,
.genital-theme .hero-stage-premium.v1-home-hero{
 background:linear-gradient(115deg,#fffaf7,#f9f0ec 62%,#f8e8e3)!important;
}
.genital-theme .v1-home-hero .hero-heading,
.genital-theme .v1-home-hero .doctor-hero-title{
 font-family:'Playfair Display',Georgia,serif!important;
 color:#173d3d!important;font-size:clamp(40px,4.4vw,65px)!important;
 line-height:1.13!important;font-weight:500!important;letter-spacing:-.03em!important;
 text-shadow:none!important;white-space:normal!important;
}
.genital-theme .v1-home-hero .hero-eyebrow,
.genital-theme .v1-home-hero .doctor-hero-kicker{color:#a17b4e!important;}
.genital-theme .v1-home-hero .v2-barbie-hero-link{
 font-family:'Playfair Display',Georgia,serif!important;
 color:#b24f7d!important;font-style:italic!important;font-weight:600!important;
 font-size:clamp(26px,2.8vw,38px)!important;line-height:1.19!important;
 text-decoration:none!important;
}
.genital-theme .v1-home-hero .hero-description,
.genital-theme .v1-home-hero .doctor-hero-description{
 color:#3d4d49!important;font-family:'DM Sans',Arial,sans-serif!important;
 font-size:clamp(15px,1.45vw,19px)!important;line-height:1.6!important;
 max-width:53ch!important;
}
.genital-theme .v1-home-hero .hero-barbie-explainer{
 font-size:clamp(13px,1vw,15px)!important;line-height:1.45!important;
 max-width:58ch!important;color:#795460!important;
}
.genital-theme .v1-home-hero .hero-frame.active{gap:clamp(20px,3vw,42px)!important;}
.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop{
 width:100%!important;max-width:min(37vw,480px)!important;height:auto!important;max-height:none!important;
 background:transparent!important;margin:auto!important;
}
.genital-theme .v1-home-hero .v1-doctor-hero .doctor-portrait-fill{
 width:100%!important;max-width:min(37vw,480px)!important;height:auto!important;max-height:none!important;
 object-fit:contain!important;
}
.genital-theme .v1-home-hero .hero-bottom-controls{margin:2px auto 0!important;position:relative!important;}
.genital-theme .v1-home-hero .hero-canvas,
.genital-theme .v1-home-hero .doctor-hero-copy{
 background:transparent!important;box-shadow:none!important;border:0!important;
}
/* Surgeon approach: only this right-hand prose changes, keeping portrait and other cards intact. */
.genital-theme .doctor-approach-final .approach-copy h2,
.genital-theme .doctor-approach-final .approach-copy h2 em{
 font-family:'Playfair Display',Georgia,serif!important;
 font-size:clamp(32px,3.1vw,49px)!important;line-height:1.18!important;
 font-weight:500!important;letter-spacing:-.025em!important;
 color:#173d3d!important;
}
.genital-theme .doctor-approach-final .approach-copy h2 em{color:#a04c74!important;font-style:italic!important;}
.genital-theme .doctor-approach-final .approach-intro{font-size:clamp(15px,1.2vw,17px)!important;line-height:1.72!important;color:#48534f!important;}
/* Bring main-website action into the same visible list, last, on contact page. */
.genital-theme .contact-actions.v76-social-stack .button-main-website{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 gap:14px!important;min-height:58px!important;visibility:visible!important;
 opacity:1!important;background:#fff2df!important;color:#593f2e!important;
 border:2px solid #cbaa70!important;border-radius:14px!important;
 font-size:clamp(13px,1.3vw,16px)!important;font-weight:750!important;
 width:100%!important;max-width:none!important;box-sizing:border-box!important;
 margin:0!important;padding:12px 17px!important;
}
.genital-theme .contact-actions.v76-social-stack .button-main-website .v2-globe-icon{width:27px!important;height:27px!important;flex-shrink:0!important;}
/* Details use normal page flow and expand vertically if required, never cropped. */
@media(max-width:760px){
 .genital-theme .v1-detail.page-hero{display:flex!important;flex-direction:column-reverse!important;}
 .genital-theme .v1-detail.page-hero .page-hero-media{width:100%!important;min-height:0!important;max-height:none!important;height:auto!important;padding:18px 24px!important;}
 .genital-theme .v1-detail.page-hero .page-hero-media img,
 .genital-theme .v1-detail.page-hero .page-hero-media img[src*="orijinal-"]{
   width:min(100%,420px)!important;max-width:420px!important;height:auto!important;max-height:none!important;
   aspect-ratio:1 / 1!important;
 }
 .genital-theme .v1-home-hero .hero-frame.active{gap:12px!important;}
 .genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop,
 .genital-theme .v1-home-hero .v1-doctor-hero .doctor-portrait-fill{
   width:min(82vw,350px)!important;max-width:350px!important;height:auto!important;max-height:none!important;
   aspect-ratio:1/1!important;
 }
 .genital-theme .v1-home-hero .hero-heading,.genital-theme .v1-home-hero .doctor-hero-title{
   font-size:clamp(32px,8.5vw,42px)!important;line-height:1.14!important;
 }
 .genital-theme .v1-home-hero .hero-description,.genital-theme .v1-home-hero .doctor-hero-description{
   font-size:clamp(14px,3.5vw,16px)!important;line-height:1.48!important;
 }
 .genital-theme .v1-home-hero .v2-barbie-hero-link{font-size:clamp(24px,6vw,31px)!important;}
 .genital-theme .v1-home-hero .hero-barbie-explainer{font-size:clamp(12px,3vw,14px)!important;}
 .genital-theme .v1-home-hero .hero-bottom-controls{margin-top:6px!important;}
 .genital-theme .doctor-approach-final .approach-copy h2,
 .genital-theme .doctor-approach-final .approach-copy h2 em{font-size:clamp(30px,7.5vw,42px)!important;}
}
@media(max-width:370px){
 .genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop,
 .genital-theme .v1-home-hero .v1-doctor-hero .doctor-portrait-fill{
  width:min(75vw,270px)!important;max-width:270px!important;
 }
 .genital-theme .v1-home-hero .hero-heading,.genital-theme .v1-home-hero .doctor-hero-title{font-size:clamp(30px,8vw,34px)!important;}
 .genital-theme .v1-home-hero .hero-description,.genital-theme .v1-home-hero .doctor-hero-description{font-size:13.3px!important;line-height:1.43!important;}
 .genital-theme .v1-home-hero .hero-barbie-explainer{font-size:11.6px!important;}
}

/* V5 final layout confidence patch — all source photos retain square geometry. */
body.genital-theme section.page-hero.v1-detail.compact-surgery-page .page-hero-media.genital-fit-media img.genital-fit-photo{
 width:min(100%,480px)!important;max-width:480px!important;height:auto!important;max-height:none!important;
 aspect-ratio:1/1!important;object-fit:contain!important;box-sizing:border-box!important;
 border-radius:50%!important;border:2px solid #f1a9b8!important;
}
body.genital-theme section.page-hero.v1-detail.compact-surgery-page .page-hero-media.genital-fit-media{
 height:auto!important;min-height:0!important;max-height:none!important;
 overflow:visible!important;background:#fff!important;
}
/* The image's own pink ring is supplemented with one consistent thin frame, not an oval distortion. */
body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop,
body.genital-theme .v1-cards .v1-specialty .media img{
 box-sizing:border-box!important;border-radius:50%!important;border:2px solid #f1a9b8!important;
 object-fit:contain!important;
}
/* Mobile: use maximum circle size that allows text and controls to remain visible at typical phone heights. */
@media (max-width:760px) and (min-height:760px) {
 body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop,
 body.genital-theme .v1-home-hero .v1-doctor-hero .doctor-portrait-fill{
   width:min(79vw,calc(100svh - 548px),345px)!important;
   max-width:345px!important;max-height:none!important;
 }
}
/* Compact laptop screens: fit the entire slide, photo, captions and controls in the first screen. */
@media(min-width:761px) and (max-height:710px){
 body.genital-theme .v1-home-hero{padding:4px 14px 3px!important;}
 body.genital-theme .v1-home-hero .hero-frame.active{gap:16px!important;padding:0 0 6px!important;}
 body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop,
 body.genital-theme .v1-home-hero .v1-doctor-hero .doctor-portrait-fill{
   width:min(30vw,280px)!important;max-width:280px!important;max-height:280px!important;
 }
 body.genital-theme .v1-home-hero .hero-heading,
 body.genital-theme .v1-home-hero .doctor-hero-title{font-size:clamp(28px,3vw,39px)!important;margin:0 0 5px!important;}
 body.genital-theme .v1-home-hero .v2-barbie-hero-link{font-size:clamp(22px,2.4vw,27px)!important;margin-bottom:3px!important;}
 body.genital-theme .v1-home-hero .hero-description,
 body.genital-theme .v1-home-hero .doctor-hero-description{font-size:clamp(12px,1.2vw,14px)!important;line-height:1.4!important;margin:0 0 4px!important;}
 body.genital-theme .v1-home-hero .hero-barbie-explainer{font-size:12px!important;line-height:1.35!important;margin-bottom:3px!important;}
 body.genital-theme .v1-home-hero .hero-bottom-controls{min-height:40px!important;margin:2px auto 0!important;padding:2px 8px!important;}
 body.genital-theme .v1-home-hero .hero-cta{min-height:32px!important;padding:6px 11px!important;}
}
@media(max-width:760px){
 body.genital-theme section.page-hero.v1-detail.compact-surgery-page .page-hero-media.genital-fit-media img.genital-fit-photo{
   width:min(100%,420px)!important;max-width:420px!important;height:auto!important;max-height:none!important;
 }
}
/* Small-phone accessibility: the navigation stays on-screen without clipping; larger phones retain larger circles. */
@media(max-width:350px) and (max-height:760px){
 body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop,
 body.genital-theme .v1-home-hero .v1-doctor-hero .doctor-portrait-fill{width:min(48vw,160px)!important;max-width:160px!important;max-height:160px!important;}
 body.genital-theme .v1-home-hero .hero-frame.active{gap:4px!important;padding-bottom:4px!important;}
 body.genital-theme .v1-home-hero .hero-heading,
 body.genital-theme .v1-home-hero .doctor-hero-title{font-size:27px!important;margin-bottom:3px!important;line-height:1.08!important;}
 body.genital-theme .v1-home-hero .v2-barbie-hero-link{font-size:20px!important;margin-bottom:2px!important;}
 body.genital-theme .v1-home-hero .hero-description,
 body.genital-theme .v1-home-hero .doctor-hero-description{font-size:11.8px!important;line-height:1.33!important;margin-bottom:4px!important;}
 body.genital-theme .v1-home-hero .hero-barbie-explainer{font-size:10.7px!important;line-height:1.27!important;margin-bottom:3px!important;}
 body.genital-theme .v1-home-hero .hero-eyebrow,
 body.genital-theme .v1-home-hero .doctor-hero-kicker{font-size:9px!important;margin-bottom:3px!important;}
 body.genital-theme .v1-home-hero .hero-cta{min-height:30px!important;padding:5px 11px!important;font-size:11px!important;}
 body.genital-theme .v1-home-hero .hero-bottom-controls{min-height:39px!important;margin-top:1px!important;}
}
@media(min-width:351px) and (max-width:370px) and (max-height:825px){
 body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop,
 body.genital-theme .v1-home-hero .v1-doctor-hero .doctor-portrait-fill{width:min(65vw,235px)!important;max-width:235px!important;max-height:235px!important;}
}
@media(min-width:371px) and (max-width:400px) and (max-height:870px){
 html[lang="de"] body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop{
  width:min(75vw,280px)!important;max-width:280px!important;max-height:280px!important;
 }
}


/* V8: all non-doctor genital visuals round, crisp, and framed */
body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop,
body.genital-theme .cards-area .specialty .media img,
body.genital-theme .page-hero.compact-surgery-page .page-hero-media img.genital-fit-photo{
  aspect-ratio:1 / 1 !important;
  object-fit:cover !important;
  object-position:center center !important;
  border-radius:50% !important;
  clip-path:circle(50%) !important;
  border:2px solid #e7a6b9 !important;
  box-shadow:0 0 0 1.6px #2b2626 !important;
  background:#f6efe9 !important;
  filter:none !important;
  image-rendering:auto !important;
  transform:none !important;
}

/* home-flow circles */
body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop{
  width:min(88vw,370px) !important;
  height:min(88vw,370px) !important;
  max-width:370px !important;
  max-height:370px !important;
  min-width:280px !important;
  min-height:280px !important;
  display:block !important;
  margin:0 auto !important;
}
body.genital-theme .v1-home-hero .hero-shade{display:none !important;}
body.genital-theme .v1-home-hero .hero-canvas{padding-top:8px !important;}
body.genital-theme .v1-home-hero .hero-bottom-controls{margin-top:6px !important;}

/* main specialty cards */
body.genital-theme .cards-area .specialty .media{
  width:min(100%,310px) !important;
  height:min(100%,310px) !important;
  min-width:310px !important;
  min-height:310px !important;
  max-width:310px !important;
  max-height:310px !important;
  aspect-ratio:1 / 1 !important;
  margin:0 auto 10px !important;
  padding:0 !important;
  overflow:visible !important;
  background:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
body.genital-theme .cards-area .specialty .media img{
  width:100% !important;
  height:100% !important;
  min-width:310px !important;
  min-height:310px !important;
  max-width:310px !important;
  max-height:310px !important;
}

/* detail page single visuals */
body.genital-theme .page-hero.compact-surgery-page .page-hero-media{
  background:transparent !important;
}
body.genital-theme .page-hero.compact-surgery-page .page-hero-media img.genital-fit-photo{
  width:min(100%,430px) !important;
  height:min(100%,430px) !important;
  min-width:300px !important;
  min-height:300px !important;
  max-width:430px !important;
  max-height:430px !important;
  display:block !important;
}

@media (max-width:760px){
  body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop{
    width:min(86vw,340px) !important;
    height:min(86vw,340px) !important;
    min-width:250px !important;
    min-height:250px !important;
    max-width:340px !important;
    max-height:340px !important;
  }
  body.genital-theme .cards-area .specialty .media{
    width:min(82vw,286px) !important;
    height:min(82vw,286px) !important;
    min-width:286px !important;
    min-height:286px !important;
    max-width:286px !important;
    max-height:286px !important;
  }
  body.genital-theme .cards-area .specialty .media img{
    width:min(82vw,286px) !important;
    height:min(82vw,286px) !important;
    min-width:286px !important;
    min-height:286px !important;
    max-width:286px !important;
    max-height:286px !important;
  }
  body.genital-theme .page-hero.compact-surgery-page .page-hero-media img.genital-fit-photo{
    width:min(82vw,320px) !important;
    height:min(82vw,320px) !important;
    min-width:260px !important;
    min-height:260px !important;
    max-width:320px !important;
    max-height:320px !important;
  }
}
@media (max-width:390px){
  body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop{
    width:min(84vw,330px) !important;
    height:min(84vw,330px) !important;
  }
  body.genital-theme .cards-area .specialty .media,
  body.genital-theme .cards-area .specialty .media img{
    width:min(80vw,278px) !important;
    height:min(80vw,278px) !important;
    min-width:278px !important;
    min-height:278px !important;
    max-width:278px !important;
    max-height:278px !important;
  }
  body.genital-theme .page-hero.compact-surgery-page .page-hero-media img.genital-fit-photo{
    width:min(80vw,305px) !important;
    height:min(80vw,305px) !important;
    min-width:250px !important;
    min-height:250px !important;
  }
}
