/* Picorae v18.145: one genuine authorised portrait photo, not a small
 * picture superimposed on a separate blurry image. Source photo is still
 * the original #guestCover / #coverEditorImage, with saved X/Y untouched.
 * The runtime applies inline-important cover to defeat ALL old CSS. */
#eventView #guestEvent #guestCoverWrap.p145-single-photo{
 background:#fffdf8!important;
 isolation:isolate!important;
 overflow:hidden!important;
 border:0!important;
 border-radius:0!important;
 box-shadow:none!important;
}
/* Previously this blurred background looked like two photographs;
 * hide it for portraits, not for the approved landscape wedding. */
#eventView #guestEvent .event-hero > #guestCoverWrap.p145-single-photo:not(.hidden)::before{
 display:none!important;content:none!important;
 background:none!important;
}
#eventView #guestEvent #guestCoverWrap.p145-single-photo > #guestCover{
 z-index:2!important;
 border:0!important;border-radius:0!important;
 background:transparent!important;
 filter:none!important;
 /* Only the bottom dissolves into the editorial cream title. */
 -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 54%,rgba(0,0,0,.96) 68%,rgba(0,0,0,.55) 86%,transparent 100%)!important;
 mask-image:linear-gradient(180deg,#000 0%,#000 54%,rgba(0,0,0,.96) 68%,rgba(0,0,0,.55) 86%,transparent 100%)!important;
}
#eventView #guestEvent .event-hero:has(> #guestCoverWrap.p145-single-photo) > .guest-event-intro{
 position:relative!important;z-index:3!important;
 background:linear-gradient(180deg,rgba(255,253,248,0) 0%,rgba(255,253,248,.56) 24%,#fffdf8 66%)!important;
}
#coverEditorModal #coverEditorStage.p145-single-photo{
 overflow:hidden!important;
 aspect-ratio:1.02/1!important;
 border-radius:0!important;clip-path:none!important;
 background:#fffdf8!important;
}
#coverEditorModal #coverEditorStage.p145-single-photo > #coverEditorImage{
 border:0!important;background:transparent!important;
 filter:none!important;
 -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 54%,rgba(0,0,0,.96) 68%,rgba(0,0,0,.55) 86%,transparent 100%)!important;
 mask-image:linear-gradient(180deg,#000 0%,#000 54%,rgba(0,0,0,.96) 68%,rgba(0,0,0,.55) 86%,transparent 100%)!important;
}
/* Do not stack a second editorial fade over the new one-image mask. */
#coverEditorModal #coverEditorStage.p145-single-photo::after{
 display:none!important;content:none!important;
}
@media(max-width:360px){
 #eventView #guestEvent #guestCoverWrap.p145-single-photo{
  height:clamp(270px,96vw,335px)!important;
  min-height:270px!important;max-height:335px!important;
  margin-bottom:-103px!important;
 }
}