/* Studioart Media / V4: photographic art direction refinements.
   Source-native subject protection. No fabricated people, edits, or crop hallucinations.
*/
.page-wedding .w-details-inner{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:clamp(35px,6vw,90px)}
.page-wedding .w-details-img{position:relative;aspect-ratio:auto!important;max-width:none;min-height:0;background:#e5e1dc;box-shadow:23px 23px 0 #e2dbd2;isolation:isolate}
.page-wedding .w-details-img>img{display:block;position:relative!important;width:100%;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important;filter:saturate(.92)}
.page-wedding .w-details-caption{position:absolute;z-index:2;left:16px;bottom:15px;background:#111114b5;color:#fff;backdrop-filter:blur(10px);padding:8px 12px;text-transform:uppercase;letter-spacing:.14em;font:600 9px var(--ci-font)}
.page-wedding .w-gallery-inner{grid-template-columns:minmax(0,1.08fr) minmax(0,.93fr) minmax(0,.68fr);gap:clamp(14px,2.1vw,32px);align-items:center}
.page-wedding .w-gallery-inner .img-frame:nth-child(n){display:block;width:100%;aspect-ratio:auto!important;min-height:0;transform:none;overflow:hidden;background:#e7e2da}
.page-wedding .w-gallery-inner .img-frame:nth-child(2){transform:translateY(30px)}
.page-wedding .w-gallery-inner .img-frame:nth-child(3){transform:translateY(2px)}
.page-wedding .w-gallery-inner .img-frame:nth-child(n)>img{display:block;position:relative;width:100%;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important}
.page-wedding .w-gallery-label{margin-top:68px}
.page-wedding .w-storyrail{align-items:start}
.page-wedding .w-story-card{flex:0 0 clamp(265px,28vw,430px);min-width:0;padding-top:0!important}
.page-wedding .w-story-card:nth-child(3){flex-basis:clamp(215px,22vw,340px)}
.page-wedding .w-story-card .img-frame{width:100%;height:clamp(220px,24vw,340px);min-height:0;aspect-ratio:auto!important;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#32312e}
.page-wedding .w-story-card .img-frame>img{width:100%;height:100%!important;max-height:100%;position:relative;object-fit:contain!important;object-position:center!important;filter:saturate(.86)}
.page-wedding .w-story-card .img-frame:hover>img{transform:none}
.page-wedding .w-story-card h3{margin-top:9px}
.page-wedding .w-film-shot{background:#1a1917;isolation:isolate;overflow:hidden}
.page-wedding .w-film-shot::before{content:"";position:absolute;inset:-40px;z-index:-1;background-image:var(--w-film-poster);background-position:center;background-size:cover;filter:blur(28px) brightness(.42) saturate(.86);transform:scale(1.06)}
.page-wedding .w-film-shot>img{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:contain!important;background:transparent}
.page-wedding .w-film-shot>video{position:absolute;z-index:1;inset:0;width:100%;height:100%;object-fit:contain!important;background:transparent!important}
.page-wedding .w-film-shot[data-active="true"]>video.is-playing{opacity:1}
.page-fotos .p-guide-grid{grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);gap:clamp(35px,6vw,95px);align-items:center}
.page-fotos .p-guide .img-frame{aspect-ratio:auto!important;min-height:0!important;max-width:none!important;align-self:center;background:#ebe6df;transform:rotate(-1.7deg);box-shadow:17px 17px 0 #b5a894;padding:7px;overflow:visible}
.page-fotos .p-guide .img-frame>img{position:relative;width:100%;height:auto!important;display:block;object-fit:contain!important;object-position:center!important;max-height:none!important}
.page-fotos .p-guide .img-frame:hover>img{transform:none!important}
.page-fotos .p-guide .img-frame::after{content:"EIN ECHTER MOMENT · STUDIOART MEDIA";position:absolute;bottom:14px;left:18px;background:#1616169f;color:#fff;padding:7px 9px;font:600 8px var(--ci-font);letter-spacing:.1em}
@media(max-width:960px){
 .page-wedding .w-details-inner{grid-template-columns:1fr}
 .page-wedding .w-details-img{max-width:850px;width:100%;box-shadow:12px 12px 0 #e2dbd2}
 .page-wedding .w-gallery-inner{grid-template-columns:1.2fr 1fr .8fr;gap:12px}
 .page-fotos .p-guide-grid{grid-template-columns:1fr}
 .page-fotos .p-guide .img-frame{max-width:680px!important;transform:rotate(-1deg)}
}
@media(max-width:760px){
 .page-wedding .w-details-inner{gap:38px}
 .page-wedding .w-gallery-inner{grid-template-columns:minmax(0,1fr) minmax(0,.82fr);align-items:center;gap:12px}
 .page-wedding .w-gallery-inner .img-frame:nth-child(1){grid-column:1;grid-row:2;transform:none}
 .page-wedding .w-gallery-inner .img-frame:nth-child(2){grid-column:1 / -1;grid-row:1;transform:none}
 .page-wedding .w-gallery-inner .img-frame:nth-child(3){grid-column:2;grid-row:2;transform:none}
 .page-wedding .w-gallery-label{margin-top:30px}
 .page-wedding .w-story-card{flex-basis:77vw}
 .page-wedding .w-story-card:nth-child(3){flex-basis:65vw}
 .page-wedding .w-story-card .img-frame{height:255px}
 .page-fotos .p-guide .img-frame{transform:rotate(-.6deg);box-shadow:10px 10px 0 #b5a894;padding:5px;max-width:100%!important}
 .page-fotos .p-guide .img-frame::after{font-size:7px;bottom:10px;left:10px}
}
@media(prefers-reduced-motion:reduce){
 .page-wedding .w-story-card .img-frame>img{transform:none!important}
}
