
/* Mr. & Mrs. Drago · post-wedding celebration and public album */
.postwedding-hero {margin-top:22px;}
.postwedding-hero .hero-copy {text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}
.postwedding-hero .hero-meta {justify-content:center}
.postwedding-hero .hero-kicker {margin:2px 0 14px!important;text-transform:uppercase;letter-spacing:.28em;font-family:system-ui,sans-serif;font-weight:700;font-size:.8rem!important;color:#966c56}
.postwedding-hero h1 {max-width:100%;margin:0;color:#302017;line-height:.97;font-size:clamp(3rem,6.3vw,6.5rem);letter-spacing:-.055em}
.postwedding-hero h1 em {font-size:.65em;color:#a5725e;font-weight:400}
.postwedding-hero .ornamental-heart {color:#b87c66;font-size:1.7rem;line-height:1.1;margin:17px auto 8px}
.postwedding-hero .hero-celebration {font-style:italic;font-size:clamp(1.25rem,3vw,1.9rem)!important;margin:0!important;color:#6f4c39}
.postwedding-hero .hero-summary {max-width:560px;font-size:clamp(1rem,2vw,1.14rem)!important;line-height:1.72;margin:14px auto 4px!important}
.postwedding-hero .hero-actions {justify-content:center;display:flex;flex-wrap:wrap;gap:12px;margin:26px auto 10px}
.postwedding-hero .hero-date-line {font:700 .7rem/1.4 system-ui,sans-serif!important;letter-spacing:.11em;text-transform:uppercase;margin:21px 0 0!important;color:#987560!important}
.postwedding-hero .photo-caption small {font-size:.73rem;}
.wedding-gallery-preview,.gallery-content {margin:24px 0;border:1px solid rgba(104,66,50,.13);border-radius:28px;background:rgba(255,255,255,.62);padding:clamp(18px,4vw,36px);box-shadow:0 16px 55px rgba(72,42,26,.08)}
.gallery-preview-heading,.gallery-content-toolbar {display:flex;justify-content:space-between;align-items:end;gap:18px;flex-wrap:wrap;margin-bottom:22px}
.gallery-preview-heading h2,.gallery-content-toolbar h2{font-size:clamp(1.8rem,4vw,2.9rem);margin:4px 0 10px;line-height:1.06}
.gallery-preview-heading p:not(.eyebrow){margin:0;color:#80695e;line-height:1.6}
.wedding-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,245px),1fr));gap:16px;align-items:stretch}
.wedding-media-card{min-width:0;background:#fffefa;border:1px solid rgba(89,52,32,.12);border-radius:20px;overflow:hidden;box-shadow:0 13px 32px rgba(72,42,26,.08)}
.wedding-media-frame{background:#2d201b;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;overflow:hidden}
.wedding-media-frame a{display:block;width:100%;height:100%}
.wedding-media-frame video,.wedding-media-frame img{width:100%;height:100%;display:block;object-fit:contain}
.wedding-media-frame img{object-fit:cover}
.wedding-media-frame video{background:#2b2422;}
.wedding-media-caption{min-height:55px;padding:12px 16px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px}
.wedding-media-caption strong{color:#4f3426;font-size:.92rem}
.wedding-media-caption small{font:600 .72rem system-ui,sans-serif;color:#9b7a65}
.media-shortclip{display:block;width:100%;font:600 .72rem system-ui,sans-serif;color:#906e58}
.gallery-empty-state{grid-column:1/-1;border:1px dashed rgba(94,55,34,.25);border-radius:20px;padding:38px 22px;text-align:center;color:#785d4f;background:rgba(255,250,246,.7);line-height:1.6}
.gallery-preview-footer{text-align:center;margin:24px 0 0;color:#82665b;font-size:.95rem}
.gallery-preview-footer a{color:#754a39;text-underline-offset:4px}
.public-upload-disclosure{font:500 .84rem/1.55 system-ui,sans-serif;color:#6d574d;border-left:3px solid #af826c;background:rgba(255,249,243,.85);border-radius:8px;padding:11px 14px;margin:18px 0 0}
.wedding-album-page .gallery-page-hero{text-align:center;position:relative;border:1px solid rgba(111,72,49,.13);border-radius:34px;padding:clamp(42px,6vw,84px) 20px;background:linear-gradient(155deg,rgba(255,251,247,.90),rgba(242,221,205,.70)),url('/images/couple-selfie.jpg') center/cover;box-shadow:0 20px 70px rgba(72,42,26,.12)}
.gallery-page-hero h1{font-size:clamp(2.8rem,7vw,6.3rem);line-height:1.08;letter-spacing:-.05em;margin:14px 0;color:#3b271c}
.gallery-page-hero h1 em{color:#9d6b54;font-weight:normal}
.gallery-page-hero>p:not(.eyebrow){max-width:620px;margin:0 auto;font-size:clamp(1rem,2vw,1.3rem);line-height:1.6;color:#665249}
.gallery-ornament{font-size:1.5rem;color:#b47764}
.album-detail{margin:26px auto 0;font:700 .74rem/1.55 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.13em;color:#754936}
.album-detail span{padding:0 8px}
.gallery-filter-row{display:flex;flex-wrap:wrap;gap:9px;margin:10px 0 28px}
.gallery-filter-row button{border:1px solid rgba(106,69,50,.22);border-radius:99px;padding:10px 20px;background:rgba(255,255,255,.75);color:#714a39;cursor:pointer;font:700 .88rem system-ui,sans-serif}
.gallery-filter-row button[aria-pressed="true"]{background:#9c6b54;border-color:#9c6b54;color:white}
.gallery-filter-row button:focus-visible{outline:3px solid #aa806b;outline-offset:2px}
.gallery-last-updated{font-size:.84rem;color:#7f6558;margin:28px 0 0}
.gallery-page-footer{padding:34px 10px 65px;text-align:center;color:#7d5c4b}
.gallery-page-footer p{font-size:1.5rem;font-style:italic}
.gallery-page-footer a{text-underline-offset:5px}
body:not(.wedding-album-page) #address,body:not(.wedding-album-page) #song-requests{display:none!important}
.postwedding-hero .refined-countdown,.postwedding-hero .countdown{display:none!important}
body:not(.wedding-album-page) .wedding-priority {margin-top:22px;}
.music-player.music-blocked button::after{display:none!important}
@media (max-width:760px) {
 .postwedding-hero .hero-copy{padding:35px 18px 28px!important}
 .postwedding-hero h1{font-size:clamp(3.1rem,12.5vw,5.4rem);line-height:1}
 .postwedding-hero .hero-actions{width:100%;margin-top:20px}
 .postwedding-hero .hero-actions a{width:100%;max-width:370px}
 .postwedding-hero .hero-kicker{letter-spacing:.19em}
 .postwedding-hero .hero-date-line{font-size:.65rem!important}
 .gallery-preview-heading>.button,.gallery-content-toolbar>.button{width:100%;text-align:center}
 .wedding-gallery-preview,.gallery-content{border-radius:22px;padding:20px 14px}
 .wedding-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .wedding-media-frame{aspect-ratio:3/4}
 .wedding-media-caption{padding:9px}
 .wedding-media-caption strong{font-size:.78rem}
 .wedding-media-caption small{font-size:.61rem}
 .gallery-page-hero{border-radius:22px!important}
 .gallery-filter-row button{padding:10px 12px;font-size:.76rem}
}
@media(max-width:370px){.wedding-gallery-grid{grid-template-columns:1fr}.wedding-media-frame{aspect-ratio:4/3}}

/* Responsive public wedding album preview fixes: no full-resolution image grids. */
.gallery-more-wrap{grid-column:1/-1;text-align:center;padding:18px 0}
.gallery-load-more{cursor:pointer}
.wedding-video-frame{position:relative}
.wedding-video-label{position:absolute;top:12px;left:12px;max-width:calc(100% - 24px);border-radius:12px;background:rgba(20,15,16,.85);padding:6px 10px;color:#fff;font-size:.8rem;pointer-events:none}

/* Consistent admin sign-in and sign-out in the wedding and gallery navigation. */
.wedding-auth-links{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.wedding-auth-links [hidden]{display:none!important}
.wedding-auth-links form{margin:0;padding:0;line-height:1}
.topbar-links .wedding-auth-links a,.wedding-auth-links .wedding-nav-logout{
  display:inline-flex;align-items:center;justify-content:center;min-height:39px;
  padding:7px 13px;border:1px solid rgba(130,74,46,.35);border-radius:999px;
  background:#fff9f3;color:#70402b;font:700 .83rem/1.2 system-ui,sans-serif;
  text-decoration:none;cursor:pointer;white-space:nowrap;
}
.topbar-links .wedding-auth-links .wedding-nav-logout{background:#81513a;color:white;border-color:#81513a}
@media(max-width:760px){
 .topbar-links .wedding-auth-links{flex:1 0 100%;justify-content:center}
}
@media(max-width:430px){
 .topbar-links .wedding-auth-links{grid-column:1/-1;width:100%;justify-content:center}
 .topbar-links .wedding-auth-links a{width:auto;min-width:110px}
}

.wedding-video-label[hidden]{display:none!important}
.wedding-video-open-link{position:absolute;bottom:8px;right:8px;z-index:1;border-radius:9px;background:rgba(15,12,12,.88);color:#fff!important;font:700 .7rem/1.2 system-ui,sans-serif;padding:7px 9px;text-decoration:none}

/* Fix: the generic .wedding-media-frame a rule otherwise makes the video fallback link cover the entire player and intercept taps. */
.wedding-media-frame a.wedding-video-open-link {
  position:absolute;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  height:auto;
  min-width:0;
  max-width:calc(100% - 16px);
  top:auto;
  left:auto;
  bottom:8px;
  right:8px;
  z-index:2;
  pointer-events:auto;
}
.wedding-video-frame video { position:relative; z-index:0; }
.wedding-video-frame .wedding-video-label { z-index:1; }
