/* Shared invitation layout, using each occasion's configured palette. */
.guest .event-photo-layout{padding-bottom:28px}
.guest .event-photo-hero.invitation-hero{display:flex;position:relative;isolation:isolate;min-height:440px;padding:70px max(6%,calc((100% - 1120px)/2)) 100px;align-items:flex-end;overflow:hidden;text-align:left;background:var(--paper)}
.guest .event-photo-hero .hero-photo{position:absolute;inset:0;max-width:none;width:100%;height:100%;margin:0;border-radius:0;z-index:-2}
.guest .event-photo-hero .hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center}
.guest .event-photo-hero.with-photo:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(8,24,17,.88),rgba(8,24,17,.62) 48%,rgba(8,24,17,.15)),linear-gradient(0deg,rgba(8,24,17,.5),transparent 70%)}
.guest .event-photo-hero .hero-copy{width:100%;max-width:740px;padding:0;text-align:left;container-type:normal;min-width:0}
.guest .event-photo-hero.with-photo .hero-copy{color:#fff9eb}
.guest .event-photo-hero .hero-copy h1{font-size:clamp(34px,4.5vw,68px);line-height:1.06;max-width:720px;margin:18px 0;overflow-wrap:anywhere;word-break:normal;text-wrap:balance;color:inherit}
.guest .event-photo-hero .hero-copy .eyebrow{font-size:12px;letter-spacing:2px;line-height:1.6;color:var(--accent);margin:0}
.guest .event-photo-hero.with-photo .hero-copy .eyebrow{color:#e6ca89}
.guest .event-photo-hero .hero-title{font-size:clamp(20px,2.3vw,28px);line-height:1.4;margin:0;max-width:650px;color:inherit}
.guest .event-floating-details{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:24px;margin:-52px auto 0;width:calc(100% - 12%);max-width:1120px;padding:24px 28px;border-radius:12px;background:#f4eedf;color:#14271f;box-shadow:0 16px 36px #0002;box-sizing:border-box}
.guest .event-floating-date{flex:1;min-width:0;overflow-wrap:anywhere}
.guest .event-floating-date .eyebrow{font-size:11px;line-height:1.5;letter-spacing:1.5px;color:#685427;margin:0 0 5px}
.guest .event-floating-summary{font-size:17px;font-weight:600;line-height:1.4;margin:0}
.guest .event-floating-date small{display:block;font-size:11px;color:#526049;margin-top:5px}
.guest .event-floating-details .event-countdown{padding:0;margin:0;background:transparent;color:#14271f;max-width:none;flex:0 1 auto;text-align:left}
.guest .event-floating-details .event-countdown>h2,.guest .event-floating-details .event-countdown>.eyebrow{display:none}
.guest .event-floating-details .event-countdown p{font-size:13px;line-height:1.5;margin:0;color:#526049}
.guest .event-floating-details .event-countdown-units{display:flex;gap:18px;margin:0;justify-content:flex-start}
.guest .event-floating-details .event-countdown-units>div{padding:0;border:0;background:transparent;min-width:40px;border-radius:0;box-shadow:none}
.guest .event-floating-details .event-countdown-units strong{display:block;font-size:28px;font-weight:400;line-height:1.2;color:#14271f}
.guest .event-floating-details .event-countdown-units span{display:block;font-size:11px;color:#526049;margin-top:6px}
.guest .event-floating-details .event-floating-action{flex-shrink:0;background:var(--accent);color:var(--button-ink);margin:0;white-space:normal;text-align:center;max-width:220px}
.guest .event-photo-layout+ .guest-section.intro{padding-top:36px;padding-bottom:40px}
@media(min-width:1600px){.guest .event-photo-hero.invitation-hero{min-height:500px}}
@media(max-width:900px){.guest .event-photo-hero.invitation-hero{min-height:420px}.guest .event-floating-details{flex-wrap:wrap;gap:20px;padding:22px}.guest .event-floating-date{flex-basis:45%}.guest .event-floating-details .event-countdown{flex:1}.guest .event-floating-action{margin-left:auto}}
@media(max-width:600px){.guest .event-photo-hero.invitation-hero{min-height:370px;padding:48px 6% 90px}.guest .event-photo-hero .hero-copy h1{font-size:clamp(32px,8vw,45px);max-width:100%}.guest .event-photo-hero.with-photo:after{background:linear-gradient(90deg,rgba(8,24,17,.87),rgba(8,24,17,.35)),linear-gradient(0deg,rgba(8,24,17,.65),transparent)}.guest .event-floating-details{width:88%;padding:20px;margin-top:-46px;gap:20px}.guest .event-floating-date{flex-basis:100%}.guest .event-floating-details .event-countdown{flex-basis:100%}.guest .event-floating-details .event-countdown-units{gap:20px;flex-wrap:wrap}.guest .event-floating-details .event-countdown-units strong{font-size:26px}.guest .event-floating-details .event-floating-action{width:100%;max-width:none}.guest .event-photo-layout{padding-bottom:12px}.guest .event-photo-layout+.guest-section.intro{padding-top:30px}}

.guest .guest-main>.guest-section{padding-top:34px;padding-bottom:34px}.guest .guest-section h2{font-size:clamp(27px,3vw,40px);margin-bottom:18px}.guest .guest-section .details-grid{margin-top:18px}.guest .details-grid article{padding:16px}.guest .guest-form-wrap{gap:28px}.guest .premium-module{padding-top:28px;padding-bottom:28px}.guest .memory-grid,.guest .details-grid{gap:18px}.guest .program-section .timeline{margin-top:20px}.guest .guest-main .panel{padding:20px}.guest .hero-copy .hero-title{overflow-wrap:anywhere}
@media print{.guest{background:var(--paper)!important;color:var(--ink)!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.guest .guest-header,.guest .preview-bar,.guest .feature-print-actions,.guest form,.guest button,.guest .event-floating-action{display:none!important}.guest .event-photo-hero.invitation-hero{min-height:55mm;padding:8mm 6mm 12mm}.guest .event-photo-hero .hero-copy h1{font-size:28pt}.guest .event-floating-details{margin-top:-6mm;width:95%;padding:4mm;box-shadow:none}.guest .guest-main>.guest-section{padding:5mm 0}.guest .guest-section h2{font-size:20pt}.guest article,.guest .details-grid article{break-inside:avoid}.guest h2,.guest h3{break-after:avoid}.guest .event-countdown{display:none}}
