/* Three coordinated editions. Scoped to new themes; existing designs retain their appearance. */
:is(.theme-weddingeditorial,.theme-birthdaypop,.theme-businessmodern){--page:var(--occasion-paper);--ink:var(--occasion-ink);--surface:#fff;--soft:#f4edf1;--line:var(--occasion-line);--muted:#685a60;--on-accent:#fff;--display:var(--edition-title-font);--curve:16px;--hero:var(--occasion-paper);--occasion-ink:#332b2e;--occasion-paper:#fffaf5;--occasion-accent:#985568;--occasion-line:#dcc8bd;--edition-muted:#685a60;background:var(--occasion-paper);color:var(--occasion-ink)}
.theme-weddingeditorial{--occasion-paper:#fbf6ee;--occasion-accent:#895064;--occasion-line:#d9c5ad;--edition-title-font:'Cormorant Garamond',Georgia,serif;--edition-text:#453438;--edition-bg:#fbf6ee;--edition-accent:#895064;--accent:#895064}
.theme-birthdaypop{--occasion-paper:#fff9ef;--occasion-accent:#7638a0;--occasion-line:#e8bad0;--edition-title-font:'DM Sans',Arial,sans-serif;--edition-text:#352442;--edition-bg:#fff9ef;--edition-accent:#7638a0;--occasion-ink:#352442;--accent:#7638a0}
.theme-businessmodern{--occasion-paper:#f2f5f8;--occasion-accent:#184f65;--occasion-line:#c6d5df;--edition-title-font:'DM Sans',Arial,sans-serif;--edition-text:#172c3c;--edition-bg:#f2f5f8;--edition-accent:#184f65;--occasion-ink:#172c3c;--accent:#184f65}
:is(.theme-weddingeditorial,.theme-birthdaypop,.theme-businessmodern):not(.workspace-ui) .gallery-intro{background:var(--occasion-paper)!important;border:1px solid var(--occasion-line)!important;box-shadow:0 18px 50px #30202608!important;padding:clamp(26px,4vw,64px)!important;isolation:isolate}
.theme-weddingeditorial:not(.workspace-ui) .gallery-intro{border-radius:160px 160px 24px 24px!important;background:radial-gradient(ellipse at top right,#f0dce0,transparent 60%),#fbf6ee!important}
.theme-weddingeditorial:not(.workspace-ui) .gallery-intro .cover-print{border-radius:120px 120px 8px 8px!important;border:8px solid #fffdf9!important;box-shadow:0 12px 28px #6f4b3820!important;transform:rotate(-2deg)!important}
.theme-weddingeditorial:not(.workspace-ui) .gallery-intro .album-hero h1{font-family:'Cormorant Garamond',Georgia,serif!important;font-size:clamp(38px,4.3vw,68px)!important;color:#684754!important;line-height:1.04!important}
.theme-birthdaypop:not(.workspace-ui) .gallery-intro{border-radius:32px!important;background:radial-gradient(circle at 94% 12%,#f9be57 0 25px,transparent 26px),radial-gradient(circle at 5% 90%,#dfc6ed 0 50px,transparent 51px),#fff9ef!important;border-bottom:7px solid #7638a0!important}
.theme-birthdaypop:not(.workspace-ui) .gallery-intro .album-hero h1{font-weight:800!important;letter-spacing:-.045em!important;color:#592675!important}
.theme-birthdaypop:not(.workspace-ui) .gallery-intro .cover-print{border:9px solid white!important;box-shadow:9px 10px 0 #f1cf64!important;transform:rotate(-3deg)!important}
.theme-businessmodern:not(.workspace-ui) .gallery-intro{border-radius:12px!important;border-top:5px solid #184f65!important;background:#fff!important}
.theme-businessmodern:not(.workspace-ui) .gallery-intro .album-hero h1{font-weight:650!important;letter-spacing:-.04em!important;color:#172c3c!important}
.theme-businessmodern:not(.workspace-ui) .gallery-intro .cover-print{transform:none!important;border:0!important;border-radius:6px!important;box-shadow:none!important}
:is(.theme-weddingeditorial,.theme-birthdaypop,.theme-businessmodern):not(.workspace-ui) .button:not(.outline){background:var(--occasion-accent)!important;border-color:var(--occasion-accent)!important;color:#fff!important}
:is(.theme-weddingeditorial,.theme-birthdaypop,.theme-businessmodern):not(.workspace-ui) .collection-tile{border-color:var(--occasion-line)!important;background:#ffffffb8!important}
.occasion-book-welcome{max-width:900px;margin:32px auto;padding:clamp(24px,5vw,56px);text-align:center;border:1px solid var(--occasion-line,#ddd);border-radius:24px;background:var(--occasion-paper,#fff)}
.occasion-book-welcome h2{font-size:clamp(30px,4vw,48px);line-height:1.15;margin:12px 0 20px;color:var(--occasion-ink,#333)}
.occasion-book-welcome p:not(.eyebrow){max-width:58ch;margin:0 auto 24px;line-height:1.7}
.theme-weddingeditorial .occasion-book-welcome{border-radius:100px 100px 16px 16px;background:linear-gradient(135deg,#fffdf7,#f5e7e8)}
.theme-weddingeditorial .occasion-book-welcome h2{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500}
.theme-birthdaypop .occasion-book-welcome{box-shadow:7px 7px 0 #f3cf65;border:2px solid #7638a0}
.theme-businessmodern .occasion-book-welcome{border-radius:8px;border-top:5px solid #184f65;background:#fff;text-align:left}
.theme-businessmodern .occasion-book-welcome p{margin-left:0}
.theme-businessmodern .book-page.book-style-simple{border-top:5px solid #184f65}
@media(max-width:640px){
 .theme-weddingeditorial:not(.workspace-ui) .gallery-intro{border-radius:64px 64px 16px 16px!important}
 :is(.theme-weddingeditorial,.theme-birthdaypop,.theme-businessmodern):not(.workspace-ui) .gallery-intro{padding:28px 20px!important}
 .occasion-book-welcome{padding:30px 20px;margin:24px 0}.occasion-book-welcome h2{overflow-wrap:anywhere}
 .theme-weddingeditorial .occasion-book-welcome{border-radius:48px 48px 16px 16px}
}

/* Override the older shared floral header for the three new, coordinated books. */
.guestbook-page:is(.theme-weddingeditorial,.theme-birthdaypop,.theme-businessmodern){background:var(--occasion-paper)!important;color:var(--occasion-ink)!important}
.guestbook-page:is(.theme-weddingeditorial,.theme-birthdaypop,.theme-businessmodern) .book-heading{max-width:1040px!important;padding:clamp(30px,5vw,68px)!important;background:var(--occasion-paper)!important;border:1px solid var(--occasion-line)!important}
.guestbook-page:is(.theme-weddingeditorial,.theme-birthdaypop,.theme-businessmodern) .book-heading h1{font-family:var(--edition-title-font)!important;font-size:clamp(32px,4vw,58px)!important;line-height:1.12!important;letter-spacing:-.03em!important;color:var(--occasion-ink)!important;overflow-wrap:anywhere}
.guestbook-page:is(.theme-weddingeditorial,.theme-birthdaypop,.theme-businessmodern) .book-event-title{color:var(--occasion-accent)!important}
.guestbook-page:is(.theme-weddingeditorial,.theme-birthdaypop,.theme-businessmodern) .book-entry-choices{margin-top:28px!important}
.guestbook-page:is(.theme-weddingeditorial,.theme-birthdaypop,.theme-businessmodern) .book-entry-choices button{border-color:var(--occasion-line)!important}
.guestbook-page:is(.theme-weddingeditorial,.theme-birthdaypop,.theme-businessmodern) .book-entry-choices strong{font-family:var(--edition-title-font)!important;color:var(--occasion-ink)!important}
.guestbook-page:is(.theme-birthdaypop,.theme-businessmodern) .book-heading::before{display:none!important;content:none!important}
.guestbook-page.theme-birthdaypop .book-heading{background:radial-gradient(circle at 94% 10%,#f9be57 0 20px,transparent 21px),#fff9ef!important}
.guestbook-page.theme-businessmodern .book-heading{background:#fff!important;border-top:5px solid #184f65!important}
.gallery-page:is(.theme-weddingeditorial,.theme-birthdaypop,.theme-businessmodern):not(.workspace-ui) .gallery-intro .album-cover{width:100%!important;min-width:0!important}
.gallery-page:is(.theme-weddingeditorial,.theme-birthdaypop,.theme-businessmodern):not(.workspace-ui) .gallery-intro .cover-print:first-child{width:100%!important;max-width:none!important}
.gallery-page.theme-businessmodern.layout-wide:not(.workspace-ui) .gallery-intro .album-cover{height:clamp(210px,25vw,340px)!important;aspect-ratio:auto!important;overflow:hidden;border-radius:6px}
.gallery-page.theme-businessmodern.layout-wide:not(.workspace-ui) .gallery-intro .cover-print{height:100%!important;position:relative!important;inset:auto!important}
.gallery-page.theme-businessmodern.layout-wide:not(.workspace-ui) .gallery-intro .cover-print img{height:100%!important;width:100%!important;object-fit:cover!important}
