/* MD Genital Estetik V6 — Approved surgical approach, airy hero typography,
   complete original photos, and Perinoplasty card correction ONLY.
   V5 site structure, card copy, all other media, navigation and footer remain unchanged. */

/* The photo source itself contains the intended circular pink border.  No
   ellipse, crop, gradient, overlay, opacity or mask is applied to that source. */
body.genital-theme .v1-cards .v1-specialty.v6-perine-original-circle .media {
  box-sizing:border-box!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:14px 12px 6px!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  background:#fff!important;
  overflow:visible!important;
}
body.genital-theme .v1-cards .v1-specialty.v6-perine-original-circle .media img {
  display:block!important;
  position:static!important;
  width:min(100%,250px)!important;
  min-width:0!important;
  max-width:250px!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:1 / 1!important;
  object-fit:contain!important;
  object-position:center!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  transform:none!important;
  filter:none!important;
  opacity:1!important;
  clip-path:none!important;
  -webkit-mask:none!important;
  mask:none!important;
  background:#fff!important;
}

/* A calm cream stage; the type has the scale and two-tone editorial treatment
   seen on the main site's carousel.  Copy floats directly on the background. */
body.genital-theme .v1-home-hero,
body.genital-theme .hero-stage-premium.v1-home-hero {
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  gap:0!important;
  position:relative!important;
  isolation:isolate!important;
  min-height:0!important;
  max-height:none!important;
  height:auto!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  background:linear-gradient(112deg,#fffaf6 0%,#f8eee8 64%,#f6e6e0 100%)!important;
  padding:clamp(10px,1.8vw,26px) clamp(12px,3.0vw,50px) 10px!important;
}
body.genital-theme .v1-home-hero::before,
body.genital-theme .v1-home-hero::after{content:none!important;display:none!important;}
body.genital-theme .v1-home-hero .hero-frame {
  grid-row:1!important;grid-column:1!important;
  display:none!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  overflow:visible!important;
  padding:0!important;margin:0!important;
  transform:none!important;inset:auto!important;
  float:none!important;position:relative!important;
  opacity:1!important;visibility:visible!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
body.genital-theme .v1-home-hero .hero-frame.active{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  column-gap:clamp(22px,3vw,55px)!important;
  row-gap:9px!important;align-items:center!important;justify-items:stretch!important;
}
body.genital-theme .v1-home-hero .hero-frame .hero-shade {display:none!important;}
body.genital-theme .v1-home-hero .v1-doctor-hero.active{grid-template-areas:'photo text'!important;}
body.genital-theme .v1-home-hero .v1-procedure-slide.active{grid-template-areas:'text photo'!important;}
body.genital-theme .v1-home-hero .v1-doctor-hero .doctor-portrait-fill,
body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop{
  grid-area:photo!important;
  position:static!important;
  inset:auto!important;
  display:block!important;
  box-sizing:border-box!important;
  width:min(100%,43vw,475px,calc(100svh - 260px))!important;
  min-width:0!important;
  max-width:475px!important;
  max-height:475px!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  margin:0 auto!important;padding:0!important;
  object-fit:contain!important;object-position:center!important;
  border:none!important;border-radius:0!important;
  filter:none!important;backdrop-filter:none!important;
  -webkit-mask:none!important;mask:none!important;clip-path:none!important;
  opacity:1!important;transform:none!important;
  background:transparent!important;box-shadow:none!important;
}
body.genital-theme .v1-home-hero .v1-doctor-hero .doctor-hero-copy,
body.genital-theme .v1-home-hero .v1-procedure-slide .hero-canvas {
  grid-area:text!important;
  position:static!important;inset:auto!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  width:100%!important;min-width:0!important;max-width:650px!important;
  height:auto!important;max-height:none!important;
  margin:0!important;padding:0!important;
  overflow:visible!important;transform:none!important;
  background:transparent!important;
  box-shadow:none!important;border:0!important;border-radius:0!important;
}
body.genital-theme .v1-home-hero .hero-eyebrow,
body.genital-theme .v1-home-hero .doctor-hero-kicker {
  color:#947242!important;
  font:700 clamp(10px,1vw,13px)/1.3 'DM Sans',Arial,sans-serif!important;
  letter-spacing:.19em!important;text-transform:uppercase!important;
  margin:0 0 clamp(6px,.8vw,11px)!important;
}
body.genital-theme .v1-home-hero .hero-heading,
body.genital-theme .v1-home-hero .doctor-hero-title {
  display:block!important;
  font-family:'Playfair Display',Georgia,'Times New Roman',serif!important;
  font-style:normal!important;font-weight:500!important;
  font-size:clamp(41px,4.55vw,66px)!important;
  line-height:1.08!important;letter-spacing:-.031em!important;
  color:#143d39!important;text-shadow:none!important;
  text-wrap:balance!important;white-space:normal!important;
  overflow-wrap:break-word!important;
  max-width:100%!important;
  margin:0 0 clamp(8px,.9vw,13px)!important;padding:0!important;
}
body.genital-theme .v1-home-hero .hero-heading em,
body.genital-theme .v1-home-hero .doctor-hero-title em {
  font-family:inherit!important;font-weight:500!important;
  font-style:italic!important;color:#b48d65!important;
}
body.genital-theme .v1-home-hero .hero-description,
body.genital-theme .v1-home-hero .doctor-hero-description {
  display:block!important;font-family:'DM Sans',system-ui,Arial,sans-serif!important;
  font-size:clamp(16px,1.3vw,18px)!important;
  font-weight:400!important;line-height:1.48!important;
  color:#344b45!important;
  margin:0 0 13px!important;padding:0!important;max-width:51ch!important;
  opacity:1!important;text-shadow:none!important;
}
body.genital-theme .v1-home-hero .v2-barbie-hero-link {
  display:block!important;
  font-family:'Playfair Display',Georgia,serif!important;
  font-size:clamp(26px,2.55vw,39px)!important;
  font-weight:600!important;font-style:italic!important;
  letter-spacing:-.02em!important;line-height:1.14!important;
  color:#ac4e78!important;text-decoration:none!important;
  margin:0 0 7px!important;padding:0!important;
  border:0!important;background:transparent!important;
}
body.genital-theme .v1-home-hero .v2-barbie-hero-link:hover,
body.genital-theme .v1-home-hero .v2-barbie-hero-link:focus-visible{
  text-decoration:underline!important;text-underline-offset:4px!important;
}
body.genital-theme .v1-home-hero .hero-barbie-explainer {
  font-family:'DM Sans',system-ui,Arial,sans-serif!important;
  font-weight:400!important;font-size:clamp(13px,1vw,15px)!important;
  line-height:1.42!important;color:#825c6d!important;
  margin:0 0 8px!important;max-width:56ch!important;
}
body.genital-theme .v1-home-hero .hero-cta {
  position:static!important;
  display:inline-flex!important;justify-content:center!important;align-items:center!important;
  padding:10px 18px!important;min-height:42px!important;
  max-width:100%!important;
  margin:4px 0 0!important;border-radius:9px!important;
  background:#553b46!important;border:1px solid #b18a64!important;
  color:#fff!important;text-decoration:none!important;
  font:700 14px/1.2 'DM Sans',system-ui,Arial,sans-serif!important;
  box-shadow:0 4px 12px rgba(57,30,36,.13)!important;
}
body.genital-theme .v1-home-hero .hero-bottom-controls {
  grid-row:2!important;grid-column:1!important;
  position:relative!important;inset:auto!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-width:0!important;width:max-content!important;max-width:calc(100% - 20px)!important;
  height:auto!important;min-height:48px!important;
  padding:4px 10px!important;margin:8px auto 0!important;
  transform:none!important;float:none!important;
  background:rgba(255,252,249,.96)!important;border:1px solid #ead6c8!important;
  box-shadow:0 3px 12px rgba(59,42,38,.09)!important;border-radius:99px!important;
  z-index:6!important;
}
body.genital-theme .v1-home-hero .hero-bottom-controls .hero-prev,
body.genital-theme .v1-home-hero .hero-bottom-controls .hero-next{
  position:static!important;display:grid!important;place-items:center!important;
  flex-shrink:0!important;
  height:38px!important;width:38px!important;min-height:38px!important;min-width:38px!important;
  background:#553b46!important;color:#fff!important;border:0!important;border-radius:50%!important;
  transform:none!important;margin:0!important;opacity:1!important;
  cursor:pointer!important;
}
body.genital-theme .v1-home-hero .hero-bottom-controls .hero-dots{display:flex!important;align-items:center!important;gap:5px!important;}
/* Do not reduce the size of the doctor's square portrait; its full MD mark stays visible. */

@media (max-width:760px){
 body.genital-theme .v1-home-hero{
   padding:10px 12px 9px!important;
 }
 body.genital-theme .v1-home-hero .hero-frame.active {
   grid-template-columns:minmax(0,1fr)!important;
   row-gap:9px!important;
   justify-items:stretch!important;
 }
 body.genital-theme .v1-home-hero .v1-doctor-hero.active{grid-template-areas:'photo' 'text'!important;}
 body.genital-theme .v1-home-hero .v1-procedure-slide.active{grid-template-areas:'photo' 'text'!important;}
 body.genital-theme .v1-home-hero .v1-doctor-hero .doctor-portrait-fill,
 body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop {
   width:min(86vw,calc(100svh - 490px),355px)!important;
   max-width:355px!important;max-height:355px!important;
   height:auto!important;margin:0 auto!important;
   aspect-ratio:1/1!important;
 }
 body.genital-theme .v1-home-hero .v1-doctor-hero .doctor-hero-copy,
 body.genital-theme .v1-home-hero .v1-procedure-slide .hero-canvas {
   padding:0 7px!important;
   max-width:100%!important;
 }
 body.genital-theme .v1-home-hero .hero-heading,
 body.genital-theme .v1-home-hero .doctor-hero-title {
   font-size:clamp(34px,9.5vw,44px)!important;
   line-height:1.12!important;
   margin-bottom:6px!important;
 }
 body.genital-theme .v1-home-hero .hero-eyebrow,
 body.genital-theme .v1-home-hero .doctor-hero-kicker {margin-bottom:5px!important;font-size:10px!important;}
 body.genital-theme .v1-home-hero .hero-description,
 body.genital-theme .v1-home-hero .doctor-hero-description{
   font-size:clamp(13px,3.4vw,15px)!important;
   line-height:1.43!important;
   margin-bottom:8px!important;
 }
 body.genital-theme .v1-home-hero .v2-barbie-hero-link{
   font-size:clamp(23px,6.3vw,29px)!important;
   margin-bottom:5px!important;
 }
 body.genital-theme .v1-home-hero .hero-barbie-explainer{
   font-size:12px!important;line-height:1.38!important;
   margin-bottom:6px!important;
 }
 body.genital-theme .v1-home-hero .hero-cta{
   min-height:36px!important;padding:7px 13px!important;margin-top:1px!important;font-size:12px!important;
 }
 body.genital-theme .v1-home-hero .hero-bottom-controls {
   min-height:43px!important;margin:5px auto 0!important;
   padding:3px 8px!important;
 }
}
@media (max-width:760px) and (max-height:820px){
 body.genital-theme .v1-home-hero .v1-doctor-hero .doctor-portrait-fill,
 body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop{
   width:min(80vw,calc(100svh - 480px),315px)!important;max-width:315px!important;max-height:315px!important;
 }
}
@media (max-width:370px){
 body.genital-theme .v1-home-hero .v1-doctor-hero .doctor-portrait-fill,
 body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop{
   width:min(76vw,calc(100svh - 475px),270px)!important;max-width:270px!important;max-height:270px!important;
 }
 body.genital-theme .v1-home-hero .hero-heading,
 body.genital-theme .v1-home-hero .doctor-hero-title{font-size:clamp(29px,8.5vw,35px)!important;}
 body.genital-theme .v1-home-hero .hero-description,
 body.genital-theme .v1-home-hero .doctor-hero-description{font-size:12.6px!important;line-height:1.38!important;}
 body.genital-theme .v1-home-hero .v2-barbie-hero-link{font-size:21px!important;}
 body.genital-theme .v1-home-hero .hero-barbie-explainer{font-size:11px!important;line-height:1.31!important;}
 body.genital-theme .v1-home-hero .hero-cta{min-height:32px!important;padding:6px 11px!important;}
 body.genital-theme .v1-home-hero .hero-bottom-controls{min-height:40px!important;}
}
@media (min-width:761px) and (max-height:700px){
 body.genital-theme .v1-home-hero{padding:4px 18px 6px!important;}
 body.genital-theme .v1-home-hero .hero-frame.active{gap:15px!important;}
 body.genital-theme .v1-home-hero .v1-doctor-hero .doctor-portrait-fill,
 body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop{
   width:min(41vw,calc(100svh - 250px),365px)!important;
   max-width:365px!important;max-height:365px!important;
 }
 body.genital-theme .v1-home-hero .hero-heading,
 body.genital-theme .v1-home-hero .doctor-hero-title{font-size:clamp(36px,3.8vw,50px)!important;margin-bottom:6px!important;}
 body.genital-theme .v1-home-hero .hero-description,
 body.genital-theme .v1-home-hero .doctor-hero-description{font-size:14px!important;line-height:1.4!important;margin-bottom:7px!important;}
 body.genital-theme .v1-home-hero .v2-barbie-hero-link{font-size:clamp(23px,2.3vw,29px)!important;margin-bottom:3px!important;}
 body.genital-theme .v1-home-hero .hero-barbie-explainer{font-size:12.5px!important;line-height:1.34!important;margin-bottom:5px!important;}
 body.genital-theme .v1-home-hero .hero-cta{min-height:34px!important;padding:6px 13px!important;}
 body.genital-theme .v1-home-hero .hero-bottom-controls{min-height:41px!important;margin-top:4px!important;}
}

/* Specificity guard: earlier versions have procedure-specific font-size rules.
   The final approved main-site editorial type must win the cascade. */
body.genital-theme .v1-home-hero .v1-procedure-slide.active .hero-heading,
body.genital-theme .v1-home-hero .v1-doctor-hero.active .doctor-hero-title {
  font-family:'Playfair Display',Georgia,serif!important;
  font-size:clamp(42px,4.6vw,68px)!important;
  line-height:1.11!important;
  font-weight:500!important;
  color:#173d38!important;
}
body.genital-theme .v1-home-hero .v1-procedure-slide.active .hero-backdrop {
  border:3px solid #eaa0b3!important;
  border-radius:50%!important;
  box-sizing:border-box!important;
  object-fit:contain!important;
  clip-path:none!important;-webkit-mask:none!important;mask:none!important;
}
/* Only this 250x250 original-card image: perfectly round, original scene,
   consistent pink perimeter. The card's text and dimensions remain intact. */
body.genital-theme .v1-cards .v1-specialty.v6-perine-original-circle .media img {
  border:2px solid #eaa0b3!important;
  border-radius:50%!important;
  box-sizing:border-box!important;
}
@media(max-width:760px){
 body.genital-theme .v1-home-hero .v1-procedure-slide.active .hero-heading,
 body.genital-theme .v1-home-hero .v1-doctor-hero.active .doctor-hero-title {
   font-size:clamp(35px,9.7vw,44px)!important;
   line-height:1.1!important;
 }
 body.genital-theme .v1-home-hero .v1-procedure-slide.active .hero-backdrop,
 body.genital-theme .v1-home-hero .v1-doctor-hero.active .doctor-portrait-fill {
   width:min(82vw,calc(100svh - 510px),350px)!important;
   max-width:350px!important;max-height:350px!important;
 }
}
@media(max-width:350px){
 body.genital-theme .v1-home-hero .v1-procedure-slide.active .hero-heading,
 body.genital-theme .v1-home-hero .v1-doctor-hero.active .doctor-hero-title {
   font-size:clamp(28px,9.1vw,33px)!important;line-height:1.07!important;
 }
 body.genital-theme .v1-home-hero .v1-procedure-slide.active .hero-backdrop,
 body.genital-theme .v1-home-hero .v1-doctor-hero.active .doctor-portrait-fill {
   width:min(62vw,calc(100svh - 520px),220px)!important;
   max-width:220px!important;max-height:220px!important;
 }
}
@media(min-width:761px) and (max-height:700px){
 body.genital-theme .v1-home-hero .v1-procedure-slide.active .hero-heading,
 body.genital-theme .v1-home-hero .v1-doctor-hero.active .doctor-hero-title {
   font-size:clamp(35px,3.9vw,43px)!important;line-height:1.06!important;
 }
 body.genital-theme .v1-home-hero .v1-procedure-slide.active .hero-backdrop,
 body.genital-theme .v1-home-hero .v1-doctor-hero.active .doctor-portrait-fill {
   width:min(40vw,calc(100svh - 290px),340px)!important;
   max-width:340px!important;max-height:340px!important;
 }
}
/* Final narrow-phone safety margin after measured 320px browser validation. */
@media(max-width:350px){
 body.genital-theme .v1-home-hero .v1-procedure-slide.active .hero-backdrop,
 body.genital-theme .v1-home-hero .v1-doctor-hero.active .doctor-portrait-fill{
   width:min(58vw,calc(100svh - 538px),210px)!important;
   max-width:210px!important;max-height:210px!important;
 }
}
/* German longer procedure names should not silently force smaller circles. */
@media(min-width:371px) and (max-width:760px){
 html[lang="de"] body.genital-theme .v1-home-hero .v1-procedure-slide.active .hero-backdrop {
   width:min(80vw,calc(100svh - 533px),345px)!important;
   max-width:345px!important;max-height:345px!important;
 }
}
/* German Barbie label is longer; retain the same type, allow a little more
   vertical room on older/narrower handsets so controls never disappear. */
@media(max-width:340px){
 html[lang="de"] body.genital-theme .v1-home-hero .v1-procedure-slide.active .hero-backdrop{
   width:min(56vw,calc(100svh - 550px),180px)!important;
   max-width:180px!important;max-height:180px!important;
 }
}
@media(min-width:341px) and (max-width:370px){
 html[lang="de"] body.genital-theme .v1-home-hero .v1-procedure-slide.active .hero-backdrop{
   width:min(61vw,calc(100svh - 535px),210px)!important;
   max-width:210px!important;max-height:210px!important;
 }
}


/* V7 fixes: larger home-flow circles, stricter perine card round crop, refined approach text. */
body.genital-theme .v1-home-hero .v1-doctor-hero .doctor-portrait-fill,
body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop{
  width:min(100%,48vw,560px,calc(100svh - 210px))!important;
  max-width:560px!important;
  max-height:560px!important;
}
body.genital-theme .v1-home-hero .hero-description,
body.genital-theme .v1-home-hero .doctor-hero-description{
  max-width:44ch!important;
}
body.genital-theme .v1-home-hero .hero-bottom-controls{
  margin-top:6px!important;
}
body.genital-theme .v1-cards .v1-specialty.v6-perine-original-circle .media{
  width:min(100%,286px)!important;
  height:min(100%,286px)!important;
  aspect-ratio:1/1!important;
  margin:0 auto 6px!important;
  padding:0!important;
  min-height:286px!important;
  max-width:286px!important;
  background:transparent!important;
  border-radius:50%!important;
}
body.genital-theme .v1-cards .v1-specialty.v6-perine-original-circle .media img{
  width:100%!important;
  height:100%!important;
  min-width:286px!important;
  max-width:286px!important;
  min-height:286px!important;
  max-height:286px!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  object-position:center center!important;
  border:2px solid #eaa0b3!important;
  border-radius:50%!important;
  display:block!important;
}
@media (max-width:760px){
  body.genital-theme .v1-home-hero{padding:8px 10px 8px!important;}
  body.genital-theme .v1-home-hero .v1-doctor-hero .doctor-portrait-fill,
  body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop{
    width:min(92vw,380px)!important;
    max-width:380px!important;
    max-height:380px!important;
  }
  body.genital-theme .v1-home-hero .hero-heading,
  body.genital-theme .v1-home-hero .doctor-hero-title{
    font-size:clamp(36px,9.8vw,46px)!important;
  }
  body.genital-theme .v1-home-hero .hero-description,
  body.genital-theme .v1-home-hero .doctor-hero-description{
    font-size:clamp(13px,3.6vw,15px)!important;
    line-height:1.4!important;
    max-width:36ch!important;
  }
  body.genital-theme .v1-home-hero .hero-cta{
    margin-top:0!important;
  }
  body.genital-theme .v1-home-hero .hero-bottom-controls{
    min-height:42px!important;
    padding:3px 7px!important;
  }
  body.genital-theme .v1-cards .v1-specialty.v6-perine-original-circle .media,
  body.genital-theme .v1-cards .v1-specialty.v6-perine-original-circle .media img{
    width:min(100%,270px)!important;
    height:min(100%,270px)!important;
    min-width:270px!important;
    max-width:270px!important;
    min-height:270px!important;
    max-height:270px!important;
  }
}
@media (max-width:390px){
  body.genital-theme .v1-home-hero .v1-doctor-hero .doctor-portrait-fill,
  body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop{
    width:min(89vw,350px)!important;
    max-width:350px!important;
    max-height:350px!important;
  }
}
@media (max-width:350px){
  body.genital-theme .v1-home-hero .v1-doctor-hero .doctor-portrait-fill,
  body.genital-theme .v1-home-hero .v1-procedure-slide .hero-backdrop{
    width:min(82vw,320px)!important;
    max-width:320px!important;
    max-height:320px!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;
  }
}
