/* V3.12.4 — transparent, theme-owned male figures can rise above service cards.
   Ordinary/custom photographs retain their original standard photo frames. */
body.pk-v35.pk324-figures-on .pk324-figure-stage,
body.pk-v35.pk324-figures-on .pk324-figure-cutout {
  isolation:isolate;
}
/* Homepage paired service cards and standalone service blocks. */
body.pk-v35.pk324-figures-on .service-story-grid.pk324-service-figure .story-media {z-index:1;}
body.pk-v35.pk324-figures-on .service-story-grid.pk324-service-figure .story-img-wrap {
  position:relative;overflow:visible;isolation:isolate;
  background:radial-gradient(ellipse at 50% 42%,var(--pk35-surface,#fff) 0%,var(--soft,#fff0f2) 80%);
  border:1px solid var(--pk35-line,#efe3e6);
  min-height:clamp(255px,29vw,380px);
  box-shadow:none;
  margin-top:26px;
}
body.pk-v35.pk324-figures-on .service-story-grid.pk324-service-figure .story-img-wrap img {
  position:absolute;inset:auto auto -8px 50%;display:block;
  transform:translateX(-50%);width:auto;height:auto;
  max-height:calc(100% + 37px);max-width:90%;padding:0;
  object-fit:contain;object-position:center bottom;
  filter:drop-shadow(0 16px 18px rgba(48,18,32,.15));
}
body.pk-v35.pk324-figures-on .pk-v35-service-grid .service-story-grid.pk324-service-figure {
  padding-top:16px;
}
body.pk-v35.pk324-figures-on .pk-v35-service-grid .service-story-grid.pk324-service-figure .story-img-wrap {
  height:clamp(255px,24vw,333px);min-height:255px;
  overflow:visible;
}
body.pk-v35.pk324-figures-on .pk-v35-service-grid .service-story-grid.pk324-service-figure .story-img-wrap img {
  width:auto;height:auto;max-height:calc(100% + 26px);max-width:90%;transform:translateX(-50%);
}
body.pk-v35.pk324-figures-on .service-story-grid.pk324-service-figure .story-mini-card {z-index:3;}
/* About story: standing host overlaps the pink panel, but not the CTA/copy. */
body.pk-v35.pk324-figures-on .about-collage.pk324-figure-stage {
  margin-top:24px;min-width:0;
}
body.pk-v35.pk324-figures-on .about-collage.pk324-figure-stage .collage-main {
  display:grid;place-items:end center;position:relative;
  height:clamp(280px,33vw,440px);border:1px solid var(--pk35-line,#efe3e6);
  border-radius:25px;overflow:visible;
  background:radial-gradient(ellipse at 45% 45%,var(--pk35-surface,#fff),var(--soft,#fff0f2));
  box-shadow:var(--pk35-shadow);
}
body.pk-v35.pk324-figures-on .about-collage.pk324-figure-stage .collage-main img {
  display:block;width:auto;height:auto;max-width:92%;max-height:calc(100% + 26px);
  object-fit:contain;object-position:bottom center;transform:translateY(6px);
  filter:drop-shadow(0 14px 19px rgba(42,15,30,.13));
}
body.pk-v35.pk324-figures-on .about-collage.pk324-figure-stage .collage-note {z-index:3;}
/* Editorial guide boxes. 3.12.3 applied the cutout crop to all photos;
   restore the original photo frame for owner-uploaded/nontransparent images. */
body.pk-v35 .pk322-guide-feature.has-media:not(.pk324-figure-cutout),
body.pk-v35.pk324-figures-off .pk322-guide-feature.has-media.pk324-figure-cutout {
  overflow:hidden;
}
body.pk-v35 .pk322-guide-feature.has-media:not(.pk324-figure-cutout) .pk322-guide-photo,
body.pk-v35.pk324-figures-off .pk322-guide-feature.has-media.pk324-figure-cutout .pk322-guide-photo {
  overflow:hidden;min-height:290px;background:var(--soft,#fff2f5);
}
body.pk-v35 .pk322-guide-feature.has-media:not(.pk324-figure-cutout) .pk322-guide-photo img,
body.pk-v35.pk324-figures-off .pk322-guide-feature.has-media.pk324-figure-cutout .pk322-guide-photo img {
  position:absolute;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;
  object-fit:cover;object-position:center;filter:none;transform:none;
}
body.pk-v35.pk324-figures-off .pk322-guide-feature.has-media.pk324-figure-cutout .pk322-guide-photo img {
  object-fit:contain;
}
body.pk-v35.pk324-figures-on .pk322-guide-feature.pk324-figure-cutout {margin-top:24px;}
body.pk-v35.pk324-figures-on .pk322-guide-feature.pk324-figure-cutout .pk322-guide-photo {
  background:radial-gradient(ellipse at center,var(--pk35-surface,#fff),var(--soft,#fff0f2));
  border-radius:0 0 23px 0;
}
body.pk-v35.pk324-figures-on .pk322-guide-feature.pk324-figure-cutout .pk322-guide-photo img {
  width:auto;height:auto;max-width:95%;max-height:calc(100% + 27px);
  left:50%;right:auto;bottom:-8px;top:auto;transform:translateX(-50%);
  object-fit:contain;
}
/* Per-branch and old compatible service templates; only built-in cutouts pop out. */
body.pk-v35.pk324-figures-on .pk317-section .pk317-photo.pk324-figure-cutout {
  margin-top:22px;overflow:visible;display:grid;place-items:end center;
  height:clamp(260px,29vw,410px);min-height:0;background:radial-gradient(ellipse at center,var(--pk35-surface,#fff),var(--soft,#fff0f2));
  border:1px solid var(--pk35-line,#efe3e6);border-radius:24px;
}
body.pk-v35.pk324-figures-on .pk317-section .pk317-photo.pk324-figure-cutout img {
  display:block;width:auto;height:calc(100% + 20px);max-width:94%;max-height:none;
  min-height:0;object-fit:contain;object-position:center bottom;
  transform:translateY(6px);filter:drop-shadow(0 12px 19px rgba(35,16,30,.12));
}
body.pk-v35.pk324-figures-off .pk317-section .pk317-photo.pk324-figure-cutout img {object-fit:contain;}
/* Hero-like image sections on inner pages: standard uploaded featured photos are untouched. */
body.pk-v35.pk324-figures-on .pk39-page-photo.pk324-figure-cutout {
  display:grid;place-items:end center;overflow:visible;height:clamp(215px,27vw,345px);
  border:1px solid var(--pk35-line,#efe3e6);border-radius:20px;
  background:radial-gradient(ellipse at center,var(--pk35-surface,#fff),var(--soft,#fff0f2));
}
body.pk-v35.pk324-figures-on .pk39-page-photo.pk324-figure-cutout img {
  width:auto;max-width:95%;height:auto;max-height:calc(100% + 17px);
  object-fit:contain;object-position:center bottom;
  transform:translateY(5px);filter:drop-shadow(0 13px 19px rgba(42,18,30,.14));
}
body.pk-v35.pk324-figures-off .pk39-page-photo.pk324-figure-cutout img {object-fit:contain;}
/* Payment/order help box: editor media should always be a regular cropped photo. */
body.pk-v35 .pk322-order-guide:not(.pk324-figure-cutout) {overflow:hidden;}
body.pk-v35 .pk322-order-guide:not(.pk324-figure-cutout) > img {
  width:100%;height:100%;max-width:none;max-height:none;min-height:240px;
  object-fit:cover;transform:none;filter:none;
}
body.pk-v35.pk324-figures-on .pk322-order-guide.pk324-figure-cutout {margin-top:40px;}
body.pk-v35.pk324-figures-on .pk322-order-guide.pk324-figure-cutout > img {
  max-height:370px;max-width:92%;align-self:end;transform:translateY(9px);
}
body.pk-v35.pk324-figures-off .pk322-order-guide.pk324-figure-cutout {overflow:hidden;}
body.pk-v35.pk324-figures-off .pk322-order-guide.pk324-figure-cutout > img {
  transform:none;max-height:320px;filter:none;
}
@media(max-width:800px){
  body.pk-v35.pk324-figures-on .pk322-guide-feature.pk324-figure-cutout .pk322-guide-photo {min-height:250px;}
  body.pk-v35.pk324-figures-on .pk322-guide-feature.pk324-figure-cutout .pk322-guide-photo img {
    left:50%;right:auto;max-height:calc(100% + 20px);max-width:min(88vw,410px);
  }
  body.pk-v35.pk324-figures-on .pk322-order-guide.pk324-figure-cutout > img {max-height:270px;transform:none;}
  body.pk-v35.pk324-figures-on .pk317-section .pk317-photo.pk324-figure-cutout {height:255px;}
  body.pk-v35.pk324-figures-on .pk317-section .pk317-photo.pk324-figure-cutout img {height:280px;}
}
@media(max-width:540px){
  body.pk-v35.pk324-figures-on .pk-v35-service-grid .service-story-grid.pk324-service-figure .story-img-wrap {height:260px;min-height:260px;}
  body.pk-v35.pk324-figures-on .service-story-grid.pk324-service-figure .story-img-wrap img {max-width:86%;max-height:calc(100% + 18px);}
  body.pk-v35.pk324-figures-on .about-collage.pk324-figure-stage .collage-main {height:290px;}
  body.pk-v35.pk324-figures-on .pk322-guide-feature.pk324-figure-cutout {margin-top:18px;}
  body.pk-v35.pk324-figures-on .pk39-page-photo.pk324-figure-cutout {height:240px;}
  body.pk-v35.pk324-figures-on .pk322-order-guide.pk324-figure-cutout > img {max-height:230px;}
}
@media(prefers-reduced-motion:reduce){
 body.pk-v35 .pk324-figure-cutout img,body.pk-v35 .pk324-figure-stage img {transition:none!important;}
}
/* Disabling the effect keeps transparent figures fitted inside their normal cards. */
body.pk-v35.pk324-figures-off .service-story-grid.pk324-service-figure .story-img-wrap img {
  width:auto;max-width:90%;object-fit:contain;transform:none;
}
body.pk-v35.pk324-figures-off .about-collage.pk324-figure-stage .collage-main img {
  display:block;width:100%;height:340px;object-fit:contain;
}
