:root{--bg:#f8f4ed;--paper:#fffdf9;--ink:#272522;--muted:#877b70;--line:#d9cabb;--accent:#bd765d;--soft:#efe3d7;--hero:#f1e9df}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Manrope,sans-serif;font-weight:300}.vellora-wrap{max-width:1180px;margin:auto;background:var(--paper);box-shadow:0 25px 90px #00000012}.vellora-hero{min-height:720px;display:grid;grid-template-columns:43% 57%;padding:0;border-bottom:1px solid var(--line)}.hero-copy{padding:80px 58px;display:flex;flex-direction:column;justify-content:center;text-align:center;background:var(--paper)}.kicker,.eyebrow{font-size:12px;letter-spacing:.34em;text-transform:uppercase;color:var(--muted)}h1{font:500 clamp(65px,8vw,108px)/.7 'Marck Script';color:var(--muted);margin:58px 0 42px}.amp{display:block;font:400 35px/1 'Cormorant Garamond';color:var(--ink);margin:22px}.date{font:italic 31px 'Cormorant Garamond';margin:0}.rule{width:75px;height:2px;background:var(--line);margin:34px auto}.rule.left{margin-left:0}.quote{font:italic 24px/1.3 'Cormorant Garamond';color:var(--muted)}.hero-photo{min-height:720px;position:relative;overflow:hidden}.hero-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;filter:grayscale(0)}.quick{grid-column:1/-1;display:flex;justify-content:center;gap:60px;padding:25px;background:var(--paper);font-size:13px}.vsec{padding:80px 54px;border-bottom:1px solid var(--line)}.section-title{text-align:center;margin-bottom:48px}.section-title h2,.vsec h2{font:italic 48px 'Cormorant Garamond';margin:8px}.story{display:grid;grid-template-columns:42% 1fr;gap:60px;align-items:center}.story-photo{height:440px;overflow:hidden}.story-photo img{width:100%;height:100%;object-fit:cover}.story p{line-height:1.8}.program{background:var(--hero)}.timeline{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.event{text-align:center;padding:15px 8px;border-right:1px solid var(--line)}.event:last-child{border:0}.event img{height:92px;width:100%;object-fit:contain;margin-bottom:15px}.event strong{font:500 21px 'Cormorant Garamond';display:block}.event small{font-size:11px}.event p{font-size:11px;line-height:1.5}.shared-shell{max-width:1050px;margin:auto}.shared-shell h2,.shared-shell h3{font-family:'Cormorant Garamond',serif}.vellora-footer{height:440px;display:flex;align-items:center;justify-content:center;text-align:center}.vellora-footer>div{font:400 62px 'Marck Script'}.vellora-footer small{display:block;font:300 11px Manrope;letter-spacing:.18em;margin-top:15px}
body.theme-rose{--bg:#f8eeec;--paper:#fff9f7;--ink:#402f31;--muted:#9a7373;--line:#e3c1bb;--accent:#b65d62;--soft:#f3dcd8;--hero:#f2deda}body.theme-rose .vsec:nth-of-type(2n){background:#f2d8d5}body.theme-rose .vsec:nth-of-type(3n){background:#fff4ef}body.theme-rose .program{background:#dca7a7}body.theme-rose .vellora-hero{grid-template-columns:52% 48%}body.theme-rose .hero-photo{border-radius:0 0 0 120px}body.theme-rose .hero-photo img{filter:none}
body.theme-noir{--bg:#181714;--paper:#211f1b;--ink:#f3eadc;--muted:#b9a998;--line:#554b40;--accent:#d3a36d;--soft:#302a23;--hero:#26221d}body.theme-noir .vellora-wrap{max-width:1320px}body.theme-noir .vellora-hero{grid-template-columns:58% 42%}body.theme-noir .hero-copy{text-align:left;align-items:flex-start;background:#121212}body.theme-noir .hero-copy .rule{margin-left:0}body.theme-noir .vsec:nth-of-type(even){background:#191714}body.theme-noir .program{background:#2d251d}body.theme-noir .timeline{gap:18px}body.theme-noir .event{border:1px solid #554b40;padding:28px 12px}
body.theme-sage{--bg:#e7eee7;--paper:#f8faf4;--ink:#24352d;--muted:#66786c;--line:#b7c7b9;--accent:#617c68;--soft:#d9e4d9;--hero:#ceddce}body.theme-sage .vellora-wrap{max-width:1120px;border-radius:34px;overflow:hidden;margin-top:24px;margin-bottom:24px}body.theme-sage .vellora-hero{grid-template-columns:1fr 1fr}body.theme-sage .hero-photo{border-radius:0 0 0 180px}body.theme-sage .hero-photo img{filter:none}body.theme-sage .vsec{margin:18px 28px;border:0;border-radius:34px;background:#f3f7ef}body.theme-sage .program{background:#dce8d8}body.theme-sage .timeline{gap:14px}body.theme-sage .event{border:0;background:#f9fbf5;border-radius:80px 80px 22px 22px;padding:28px 10px}
body.theme-terracotta{--bg:#f1ded0;--paper:#fff8ef;--ink:#482b21;--muted:#9c6a56;--line:#d9ae91;--accent:#b95436;--soft:#f3cdb5;--hero:#d98562}body.theme-terracotta .vellora-wrap{max-width:1240px}body.theme-terracotta .vellora-hero{grid-template-columns:40% 60%}body.theme-terracotta .hero-copy{background:#7c3425;color:#fff}body.theme-terracotta .hero-copy h1,body.theme-terracotta .hero-copy .amp,body.theme-terracotta .hero-copy .kicker,body.theme-terracotta .hero-copy .quote{color:#fff}body.theme-terracotta .hero-photo img{filter:none}body.theme-terracotta .vsec:nth-of-type(1){background:#f8e5d2}body.theme-terracotta .vsec:nth-of-type(2){background:#c96443;color:#fff}body.theme-terracotta .vsec:nth-of-type(3){background:#f0b98e}body.theme-terracotta .vsec:nth-of-type(4){background:#fff4e6}body.theme-terracotta .vsec:nth-of-type(5){background:#913f2e;color:#fff}body.theme-terracotta .vsec:nth-of-type(6){background:#e8a273}body.theme-terracotta .vsec:nth-of-type(7){background:#f9dfc5}body.theme-terracotta .vsec:nth-of-type(8){background:#6f2d24;color:#fff}
body.theme-blue{--bg:#e6edf1;--paper:#f8fbfc;--ink:#162b38;--muted:#607887;--line:#b7cbd5;--accent:#2f637c;--soft:#d6e5eb;--hero:#c4dbe5}body.theme-blue .vellora-wrap{max-width:1280px}body.theme-blue .vellora-hero{grid-template-columns:62% 38%;min-height:760px}body.theme-blue .hero-copy{text-align:left;align-items:flex-start;padding-left:9vw;background:linear-gradient(135deg,#d7e7ee,#f8fbfc)}body.theme-blue .hero-copy .rule{margin-left:0;width:160px}body.theme-blue .hero-photo{clip-path:polygon(18% 0,100% 0,100% 100%,0 100%)}body.theme-blue .hero-photo img{filter:none}body.theme-blue .vsec{border:0}body.theme-blue .vsec:nth-of-type(odd){background:#eef5f7}body.theme-blue .program{background:#183a4a;color:#edf8fb}body.theme-blue .timeline{gap:1px;background:#5c8292}body.theme-blue .event{background:#183a4a;border:0;padding:30px 10px}
@media(max-width:760px){.vellora-wrap{width:100%;margin:0!important;border-radius:0!important}.vellora-hero,body.theme-rose .vellora-hero,body.theme-noir .vellora-hero,body.theme-sage .vellora-hero,body.theme-terracotta .vellora-hero,body.theme-blue .vellora-hero{grid-template-columns:1fr;min-height:0}.hero-copy,body.theme-blue .hero-copy,body.theme-noir .hero-copy{padding:75px 25px 55px;text-align:center;align-items:center}.hero-copy .rule,body.theme-blue .hero-copy .rule,body.theme-noir .hero-copy .rule{margin-left:auto}.hero-photo{min-height:68vh;border-radius:0!important;clip-path:none!important}.quick{gap:15px;flex-direction:column;text-align:center}.vsec{padding:65px 22px;margin:0!important;border-radius:0!important}.story{grid-template-columns:1fr;gap:30px}.story-photo{height:380px}.timeline,body.theme-sage .timeline{grid-template-columns:1fr 1fr}.event{border-bottom:1px solid var(--line);border-right:0}.section-title h2,.vsec h2{font-size:40px}h1{font-size:72px}.vellora-footer>div{font-size:48px}}

/* Vellora: local text placeholders, no remote stock photos */
.photo-placeholder{width:100%;height:100%;min-height:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;background:linear-gradient(145deg,var(--soft),var(--paper));color:var(--muted);border:1px dashed var(--line)}
.photo-placeholder span{font:italic 30px/1.1 'Cormorant Garamond',serif;color:var(--ink)}
.photo-placeholder small{display:block;margin-top:10px;font:500 10px/1.4 Manrope,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.story-placeholder{min-height:440px}
.vellora-footer{background:linear-gradient(145deg,var(--soft),var(--hero));color:var(--ink);position:relative;overflow:hidden}
.vellora-footer:before,.vellora-footer:after{content:'♡';position:absolute;font:400 180px/1 'Cormorant Garamond',serif;color:var(--accent);opacity:.08}
.vellora-footer:before{left:6%;top:8%}.vellora-footer:after{right:6%;bottom:2%;transform:rotate(18deg)}

@media(max-width:760px){
 html,body{width:100%;max-width:100%;overflow-x:hidden}
 body{font-size:15px}
 .vellora-wrap{max-width:none;box-shadow:none;overflow:hidden}
 .vellora-hero{display:flex!important;flex-direction:column!important;width:100%}
 .hero-copy,body.theme-blue .hero-copy,body.theme-noir .hero-copy{width:100%;padding:52px 20px 40px!important;min-height:auto}
 .kicker,.eyebrow{font-size:10px;letter-spacing:.22em;line-height:1.5}
 h1{font-size:clamp(54px,17vw,76px)!important;line-height:.78!important;margin:38px 0 28px!important;max-width:100%;overflow-wrap:anywhere}
 .amp{font-size:26px;margin:14px}
 .date{font-size:25px}
 .quote{font-size:20px;max-width:320px}
 .hero-photo{width:100%;height:min(72vh,620px);min-height:430px!important;position:relative}
 .hero-photo img{position:absolute;width:100%;height:100%;object-fit:cover}
 .photo-placeholder{min-height:430px;padding:20px}
 .photo-placeholder span{font-size:28px}
 .quick{width:100%;padding:18px 20px!important;gap:8px!important;font-size:12px}
 .vsec{width:100%;padding:54px 18px!important;overflow:hidden}
 .section-title{margin-bottom:34px}
 .section-title h2,.vsec h2{font-size:clamp(34px,11vw,44px)!important;line-height:1.02;margin:8px 0}
 .story{display:flex!important;flex-direction:column!important;gap:28px!important}
 .story-photo{width:100%;height:auto;min-height:360px}
 .story-photo img,.story-placeholder{height:360px;min-height:360px}
 .story p{font-size:14px;line-height:1.75}
 .timeline,body.theme-sage .timeline,body.theme-blue .timeline{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;background:transparent!important}
 .event,body.theme-sage .event,body.theme-noir .event,body.theme-blue .event{width:100%;min-width:0;padding:20px 14px!important;border-right:0!important;border-bottom:1px solid var(--line);border-radius:18px!important}
 .event img{height:82px;margin-bottom:10px}
 .event strong{font-size:23px}.event small{font-size:12px}.event p{font-size:12px}
 .shared-shell{width:100%;max-width:100%;padding-left:0;padding-right:0}
 .shared-shell img{max-width:100%;height:auto}
 .shared-shell input,.shared-shell textarea,.shared-shell select,.shared-shell button,.shared-shell a{max-width:100%}
 .vellora-footer{height:330px;padding:30px 18px}
 .vellora-footer>div{font-size:clamp(40px,14vw,56px)!important;line-height:1}
 .vellora-footer small{font-size:10px;line-height:1.5}
}
@media(max-width:390px){
 .hero-copy,body.theme-blue .hero-copy,body.theme-noir .hero-copy{padding-left:16px!important;padding-right:16px!important}
 .vsec{padding-left:15px!important;padding-right:15px!important}
 h1{font-size:54px!important}
 .story-photo,.story-photo img,.story-placeholder{height:320px;min-height:320px}
}

/* Vellora RU: desktop long-name protection */
@media (min-width:761px){
  .hero-copy h1{
    width:100%;
    max-width:100%;
    font-size:clamp(48px,5.15vw,76px);
    line-height:.86;
    overflow-wrap:normal;
    word-break:normal;
  }
  .hero-copy h1 .amp{font-size:clamp(25px,2.3vw,34px);margin:18px 0 20px}
  body.theme-blue .hero-copy h1,body.theme-noir .hero-copy h1{font-size:clamp(48px,5vw,74px)}
  body.theme-terracotta .hero-copy h1{font-size:clamp(46px,4.8vw,70px)}
}

/* =========================================================
   VELLORA — SHARED BLOCKS SKIN
   Styles for /views/blocks/*.php. Markup remains shared.
========================================================= */
.shared-shell{--font-heading:'Cormorant Garamond',Georgia,serif;--font-body:Manrope,Arial,sans-serif;color:var(--ink)}
.shared-shell>section,.shared-shell>.iviGallery,.shared-shell>.iviLoc,.shared-shell>.iviDress,.shared-shell>.le-details,.shared-shell>.ivi-contacts,.shared-shell>.rsvpSection,.shared-shell>.iviTimer{margin:0!important}

/* common editorial headings */
.iviGalleryHead,.iviLocHead,.iviDressWrap>.iviDressKicker,.le-details__header,.ivi-contacts__head,.rsvpSectionHead{text-align:center}
.iviGalleryKicker,.iviLocKicker,.iviDressKicker,.le-details__kicker,.ivi-contacts__kicker,.rsvpLabel{font:600 10px/1.4 Manrope,sans-serif!important;letter-spacing:.28em!important;text-transform:uppercase;color:var(--accent)!important}
.iviGalleryTitle,.iviLocTitle,.iviDressTitle,.le-details__title,.ivi-contacts__title,.rsvpSectionHead h2,.rsvpSectionHead .rsvpTitle{font:italic clamp(38px,5vw,56px)/1.02 'Cormorant Garamond',serif!important;color:var(--ink)!important;letter-spacing:0!important}
.iviGallerySubtitle,.iviDressText,.le-details__text,.ivi-contacts__text,.rsvpHint{color:var(--muted)!important;font:400 14px/1.75 Manrope,sans-serif!important}

/* TIMER */
.shared-shell .iviTimer{--timer-bg:color-mix(in srgb,var(--paper) 86%,transparent);--timer-text:var(--ink);--timer-accent:var(--accent);--timer-border:var(--line);--timer-radius:0;padding:72px 0!important}
.shared-shell .iviTimer__inner{max-width:900px;border-width:1px 0!important;background:transparent!important;backdrop-filter:none!important;padding:42px 20px!important}
.shared-shell .iviTimer__kicker{color:var(--accent);letter-spacing:.28em!important;font-size:10px!important}
.shared-shell .iviTimer__title{font:italic clamp(38px,5vw,54px)/1 'Cormorant Garamond',serif!important;color:var(--ink)}
.shared-shell .iviTimer__grid{gap:0!important;max-width:720px!important}
.shared-shell .iviTimer__grid>div{border:0!important;border-right:1px solid var(--line)!important;border-radius:0!important;background:transparent!important;padding:18px 10px!important}
.shared-shell .iviTimer__grid>div:last-child{border-right:0!important}
.shared-shell .iviTimer__grid b{font:400 clamp(34px,5vw,52px)/1 'Cormorant Garamond',serif!important;color:var(--ink)!important}

/* LOCATION */
.shared-shell .iviLoc{padding:72px 0!important;color:var(--ink);background:transparent!important}
.shared-shell .iviLocGrid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important;gap:22px!important;margin-top:38px!important}
.shared-shell .iviLocCard{overflow:hidden;border:1px solid var(--line)!important;border-radius:0!important;background:color-mix(in srgb,var(--paper) 90%,var(--soft))!important;box-shadow:none!important}
.shared-shell .iviLocPhoto{aspect-ratio:16/9;overflow:hidden;background:var(--soft)}
.shared-shell .iviLocPhoto img{width:100%;height:100%;object-fit:cover}
.shared-shell .iviLocBody{padding:26px!important}
.shared-shell .iviLocBadge{display:inline-block;color:var(--accent)!important;background:transparent!important;border:0!important;padding:0!important;font:600 9px/1.3 Manrope!important;letter-spacing:.22em;text-transform:uppercase}
.shared-shell .iviLocName{margin-top:9px;font:italic 31px/1.05 'Cormorant Garamond',serif!important;color:var(--ink)!important}
.shared-shell .iviLocAddr,.shared-shell .iviLocNote{color:var(--muted)!important;line-height:1.65!important}
.shared-shell .iviLocActions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}
.shared-shell .iviBtn{min-height:42px!important;padding:0 18px!important;border-radius:999px!important;font:600 11px/1 Manrope!important;letter-spacing:.04em;text-decoration:none!important}
.shared-shell .iviBtnPrimary{background:var(--accent)!important;border:1px solid var(--accent)!important;color:#fff!important}
.shared-shell .iviBtnGhost{background:transparent!important;border:1px solid var(--line)!important;color:var(--ink)!important}

/* DRESS CODE */
.shared-shell .iviDress{padding:72px 20px!important;background:transparent!important;color:var(--ink)!important}
.shared-shell .iviDressWrap{max-width:820px!important;margin:auto;text-align:center}
.shared-shell .iviDressSwatches{display:flex!important;justify-content:center!important;align-items:center!important;gap:13px!important;margin:28px auto!important;flex-wrap:wrap}
.shared-shell .iviDressDot{width:54px!important;height:54px!important;border-radius:50%!important;background:var(--c)!important;border:7px solid color-mix(in srgb,var(--paper) 85%,transparent)!important;box-shadow:0 0 0 1px var(--line)!important}
.shared-shell .iviDressText{max-width:650px;margin:0 auto}

/* GALLERY */
.shared-shell .iviGallery{padding:72px 0!important;background:transparent!important;color:var(--ink)!important}
.shared-shell .iviGalleryGrid{display:grid!important;grid-template-columns:repeat(12,1fr)!important;gap:10px!important;margin-top:36px!important}
.shared-shell .iviGalleryItem{grid-column:span 4!important;position:relative;overflow:hidden;border-radius:0!important;background:var(--soft)!important;aspect-ratio:4/5}
.shared-shell .iviGalleryItem:nth-child(4n+1){grid-column:span 6!important;aspect-ratio:3/2}
.shared-shell .iviGalleryItem:nth-child(4n+2){grid-column:span 6!important;aspect-ratio:3/2}
.shared-shell .iviGalleryItem img{width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .6s ease}
.shared-shell .iviGalleryItem:hover img{transform:scale(1.025)}
.shared-shell .iviGalleryCaption{background:linear-gradient(transparent,rgba(0,0,0,.48))!important;color:#fff!important;font-family:Manrope!important}

/* DETAILS */
.shared-shell .le-details{padding:72px 0!important;background:transparent!important;color:var(--ink)!important}
.shared-shell .le-details__header{max-width:700px;margin:0 auto 36px!important}
.shared-shell .le-details__grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:12px!important}
.shared-shell .le-details__provider{padding:28px 24px!important;border:1px solid var(--line)!important;border-radius:0!important;background:color-mix(in srgb,var(--soft) 44%,var(--paper))!important;box-shadow:none!important;text-align:center}
.shared-shell .le-details__card-title{font:italic 27px/1.1 'Cormorant Garamond',serif!important;color:var(--ink)!important}
.shared-shell .le-details__card-text{font:400 13px/1.65 Manrope!important;color:var(--muted)!important}
.shared-shell .le-details__wishlist-button{display:inline-flex!important;min-height:42px;align-items:center;padding:0 18px!important;border-radius:999px!important;background:var(--accent)!important;color:#fff!important;border:0!important;text-decoration:none!important}

/* CONTACTS */
.shared-shell .ivi-contacts{--ivi-contacts-bg:transparent;--ivi-contacts-card:color-mix(in srgb,var(--paper) 82%,var(--soft));--ivi-contacts-text:var(--ink);--ivi-contacts-muted:var(--muted);--ivi-contacts-accent:var(--accent);--ivi-contacts-line:var(--line);padding:72px 0!important;background:transparent!important}
.shared-shell .ivi-contacts__inner{max-width:100%!important}
.shared-shell .ivi-contacts__head{max-width:700px;margin:0 auto 36px}
.shared-shell .ivi-contacts__grid{gap:12px!important}
.shared-shell .ivi-contact{border-radius:0!important;box-shadow:none!important;padding:26px!important}
.shared-shell .ivi-contact__avatar{border-radius:50%!important;color:var(--accent)!important}
.shared-shell .ivi-contact__name{font:italic 27px/1.1 'Cormorant Garamond',serif!important}
.shared-shell .ivi-contact__action{border-radius:999px!important;background:transparent!important}

/* RSVP */
.shared-shell .rsvpSection{padding:72px 0!important;background:transparent!important;color:var(--ink)!important}
.shared-shell .rsvpSectionHead{max-width:700px!important;margin:0 auto 34px!important}
.shared-shell .rsvpGrid{max-width:820px!important;margin:auto!important;display:block!important}
.shared-shell .rsvpFormCard{padding:34px!important;border:1px solid var(--line)!important;border-radius:0!important;background:color-mix(in srgb,var(--paper) 90%,var(--soft))!important;box-shadow:none!important}
.shared-shell .rsvpSection .label{font:600 11px/1.4 Manrope!important;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)!important}
.shared-shell .rsvpSection .field{min-height:52px!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important;color:var(--ink)!important;padding:12px 2px!important;box-shadow:none!important}
.shared-shell .rsvpSection .chips{gap:8px!important}
.shared-shell .rsvpSection .chip{border:1px solid var(--line)!important;border-radius:999px!important;background:transparent!important;color:var(--ink)!important;box-shadow:none!important}
.shared-shell .rsvpSection .chip[data-active="true"],.shared-shell .rsvpSection .chip.is-active,.shared-shell .rsvpSection .chip.active{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important}
.shared-shell .rsvpSection .btn.btn-full,.shared-shell .rsvpSection #rsvpForm button[type="submit"]{background:var(--accent)!important;border-radius:999px!important;font-family:Manrope!important}
.shared-shell .rsvpSection .consent{color:var(--muted)!important;font-size:11px!important;line-height:1.55!important;align-items:flex-start!important}

/* MUSIC dock follows current Vellora palette */
.iviMusic{--ivi-music-accent:var(--accent)!important;--ivi-music-glass:color-mix(in srgb,var(--paper) 72%,transparent)!important;--ivi-music-glass-strong:color-mix(in srgb,var(--paper) 88%,transparent)!important;--ivi-music-line:var(--line)!important;--ivi-music-ink:var(--ink)!important;--ivi-music-muted:var(--muted)!important}

/* theme-specific shared block surfaces */
body.theme-rose .shared-shell .iviLocCard,body.theme-rose .shared-shell .le-details__provider,body.theme-rose .shared-shell .rsvpFormCard{background:#fff4f1!important}
body.theme-sage .shared-shell .iviLocCard,body.theme-sage .shared-shell .le-details__provider,body.theme-sage .shared-shell .rsvpFormCard{background:#f1f6ed!important;border-radius:26px!important}
body.theme-sage .shared-shell .iviGalleryItem{border-radius:22px!important}
body.theme-terracotta .shared-shell .iviLocCard,body.theme-terracotta .shared-shell .le-details__provider,body.theme-terracotta .shared-shell .rsvpFormCard{background:#f8dfc9!important}
body.theme-blue .shared-shell .iviLocCard,body.theme-blue .shared-shell .le-details__provider,body.theme-blue .shared-shell .rsvpFormCard{background:#e8f1f4!important}
body.theme-noir .shared-shell .iviLocCard,body.theme-noir .shared-shell .le-details__provider,body.theme-noir .shared-shell .rsvpFormCard,body.theme-noir .shared-shell .ivi-contact{background:#29251f!important;border-color:#554b40!important}
body.theme-noir .shared-shell .iviBtnPrimary,body.theme-noir .shared-shell .le-details__wishlist-button{color:#181714!important}

@media(max-width:760px){
 .shared-shell .iviTimer,.shared-shell .iviLoc,.shared-shell .iviDress,.shared-shell .iviGallery,.shared-shell .le-details,.shared-shell .ivi-contacts,.shared-shell .rsvpSection{padding:52px 0!important;width:100%!important;max-width:100%!important}
 .iviGalleryTitle,.iviLocTitle,.iviDressTitle,.le-details__title,.ivi-contacts__title,.rsvpSectionHead h2,.rsvpSectionHead .rsvpTitle{font-size:38px!important}
 .shared-shell .iviTimer__grid{grid-template-columns:repeat(2,1fr)!important}
 .shared-shell .iviTimer__grid>div:nth-child(2){border-right:0!important}
 .shared-shell .iviTimer__grid>div:nth-child(-n+2){border-bottom:1px solid var(--line)!important}
 .shared-shell .iviLocGrid,.shared-shell .le-details__grid,.shared-shell .ivi-contacts__grid{grid-template-columns:1fr!important}
 .shared-shell .iviLocCard,.shared-shell .le-details__provider,.shared-shell .ivi-contact,.shared-shell .rsvpFormCard{width:100%!important;min-width:0!important}
 .shared-shell .iviLocActions{display:grid!important;grid-template-columns:1fr!important}
 .shared-shell .iviBtn{width:100%!important;justify-content:center!important}
 .shared-shell .iviDressDot{width:46px!important;height:46px!important;border-width:6px!important}
 .shared-shell .iviGalleryGrid{grid-template-columns:1fr 1fr!important;gap:7px!important}
 .shared-shell .iviGalleryItem,.shared-shell .iviGalleryItem:nth-child(n){grid-column:span 1!important;aspect-ratio:4/5!important}
 .shared-shell .iviGalleryItem:first-child{grid-column:1/-1!important;aspect-ratio:16/10!important}
 .shared-shell .rsvpFormCard{padding:24px 16px!important}
 .shared-shell .rsvpSection .row2{grid-template-columns:1fr!important}
 .shared-shell .rsvpSection .chips{display:grid!important;grid-template-columns:1fr!important}
 .shared-shell .rsvpSection .chip{width:100%!important;min-height:46px!important;justify-content:center!important}
 .shared-shell .ivi-contacts__grid{--ivi-contacts-count:1!important}
}

/* ==========================================================
   VELLORA SHARED BLOCKS v2 — hard production skin
   gallery / location / timer / RSVP / dresscode
========================================================== */
.vtimer .section-title{display:none!important}
.iviTimer,.iviLoc,.iviGallery,.iviDress,.rsvpSection{width:100%!important;max-width:none!important;margin:0!important;color:var(--ink)!important;font-family:Manrope,sans-serif!important;background:transparent!important}
.iviTimer__inner,.iviLocHead,.iviGalleryHead,.iviDressWrap,.rsvpSectionHead{position:relative;max-width:880px!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important}
.iviTimer__kicker,.iviLocKicker,.iviGalleryKicker,.iviDressKicker,.rsvpLabel{font:500 10px/1.4 Manrope,sans-serif!important;letter-spacing:.28em!important;text-transform:uppercase!important;color:var(--accent)!important}
.iviTimer__title,.iviLocTitle,.iviGalleryTitle,.iviDressTitle,.rsvpSectionHead h2{margin:8px 0 0!important;font:italic 400 clamp(38px,5vw,58px)/1.05 'Cormorant Garamond',serif!important;color:var(--ink)!important;letter-spacing:0!important;text-transform:none!important}
.iviTimer__text,.iviGallerySubtitle,.iviDressText,.rsvpHint{max-width:650px!important;margin:14px auto 0!important;font:400 13px/1.75 Manrope,sans-serif!important;color:var(--muted)!important}

/* TIMER */
.iviTimer{padding:10px 0!important}
.iviTimer__inner{padding:54px 38px!important;border:1px solid var(--line)!important;border-radius:0!important;background:linear-gradient(135deg,color-mix(in srgb,var(--soft) 64%,var(--paper)),var(--paper))!important;box-shadow:none!important;backdrop-filter:none!important}
.iviTimer__grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;max-width:700px!important;margin:34px auto 0!important}
.iviTimer__grid>div{min-width:0!important;padding:18px 10px!important;border:0!important;border-right:1px solid var(--line)!important;border-radius:0!important;background:transparent!important}
.iviTimer__grid>div:last-child{border-right:0!important}
.iviTimer__grid b{display:block!important;font:400 clamp(38px,5vw,58px)/.9 'Cormorant Garamond',serif!important;color:var(--accent)!important}
.iviTimer__grid span{display:block!important;margin-top:10px!important;font:500 9px/1.3 Manrope,sans-serif!important;letter-spacing:.16em!important;text-transform:uppercase!important;color:var(--muted)!important}
.iviTimer__expired{margin-top:28px!important;font:italic 36px 'Cormorant Garamond',serif!important;color:var(--accent)!important}

/* LOCATION */
.iviLoc{padding:0!important}
.iviLocHead{margin-bottom:36px!important}
.iviLocGrid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important;gap:16px!important;width:100%!important}
.iviLocCard{display:flex!important;flex-direction:column!important;min-width:0!important;overflow:hidden!important;border:1px solid var(--line)!important;border-radius:0!important;background:color-mix(in srgb,var(--paper) 82%,var(--soft))!important;box-shadow:none!important}
.iviLocPhoto{display:block!important;width:100%!important;height:260px!important;overflow:hidden!important;background:var(--soft)!important}
.iviLocPhoto img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.iviLocBody{display:flex!important;flex:1!important;flex-direction:column!important;padding:28px!important;color:var(--ink)!important}
.iviLocBadge{align-self:flex-start!important;padding:0!important;border:0!important;background:none!important;font:600 9px Manrope!important;letter-spacing:.2em!important;text-transform:uppercase!important;color:var(--accent)!important}
.iviLocName{margin:9px 0 0!important;font:italic 400 32px/1.05 'Cormorant Garamond',serif!important;color:var(--ink)!important}
.iviLocAddr,.iviLocNote{margin-top:9px!important;font:400 13px/1.65 Manrope!important;color:var(--muted)!important}
.iviLocActions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-top:auto!important;padding-top:22px!important}
.iviLoc .iviBtn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:0 17px!important;border-radius:999px!important;text-decoration:none!important;font:600 10px/1 Manrope!important;letter-spacing:.04em!important;box-shadow:none!important}
.iviLoc .iviBtnPrimary{border:1px solid var(--accent)!important;background:var(--accent)!important;color:#fff!important}
.iviLoc .iviBtnGhost{border:1px solid var(--line)!important;background:transparent!important;color:var(--ink)!important}

/* GALLERY */
.iviGallery{padding:0!important}
.iviGalleryHead{margin-bottom:34px!important}
.iviGalleryGrid,.iviGalleryGrid--grid,.iviGalleryGrid--masonry,.iviGalleryGrid--editorial{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;grid-auto-flow:dense!important;gap:10px!important;width:100%!important}
.iviGalleryItem,.iviGalleryGrid .iviGalleryItem{position:relative!important;display:block!important;grid-column:span 4!important;width:auto!important;min-width:0!important;aspect-ratio:4/5!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:var(--soft)!important;padding:0!important;margin:0!important}
.iviGalleryItem:nth-child(5n+1){grid-column:span 8!important;aspect-ratio:16/10!important}
.iviGalleryItem:nth-child(5n+2){grid-column:span 4!important;aspect-ratio:4/5!important}
.iviGalleryItem img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important;border:0!important;border-radius:0!important}
.iviGalleryCaption{position:absolute!important;left:0!important;right:0!important;bottom:0!important;padding:32px 14px 12px!important;background:linear-gradient(transparent,rgba(0,0,0,.48))!important;color:#fff!important;font:400 11px/1.4 Manrope!important}

/* DRESS CODE */
.iviDress{padding:0!important}
.iviDressWrap{padding:50px 28px!important;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--soft) 55%,transparent),transparent)!important}
.iviDressSwatches{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;flex-wrap:wrap!important;margin:30px auto 24px!important}
.iviDressDot{display:block!important;flex:0 0 auto!important;width:56px!important;height:56px!important;border-radius:50%!important;background:var(--c)!important;border:7px solid var(--paper)!important;box-shadow:0 0 0 1px var(--line)!important}

/* RSVP */
.rsvpSection{padding:0!important}
.rsvpSectionHead{margin-bottom:34px!important}
.rsvpGrid{display:block!important;width:100%!important;max-width:850px!important;margin:0 auto!important}
.rsvpFormCard{width:100%!important;padding:38px!important;border:1px solid var(--line)!important;border-radius:0!important;background:linear-gradient(145deg,color-mix(in srgb,var(--paper) 92%,var(--soft)),var(--paper))!important;box-shadow:none!important;color:var(--ink)!important}
.rsvpSection .row2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
.rsvpSection .formRow{display:block!important;margin:0 0 22px!important;min-width:0!important}
.rsvpSection .label{display:block!important;margin:0 0 8px!important;font:600 10px/1.4 Manrope!important;letter-spacing:.1em!important;text-transform:uppercase!important;color:var(--muted)!important}
.rsvpSection .field{display:block!important;width:100%!important;min-width:0!important;min-height:50px!important;padding:10px 3px!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:var(--ink)!important;font:400 14px Manrope!important}
.rsvpSection textarea.field{min-height:92px!important;resize:vertical!important}
.rsvpSection .chips{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
.rsvpSection .chip{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:0 16px!important;border:1px solid var(--line)!important;border-radius:999px!important;background:transparent!important;color:var(--ink)!important;box-shadow:none!important;font:500 11px Manrope!important;cursor:pointer!important}
.rsvpSection .chip:has(input:checked),.rsvpSection .chip.active,.rsvpSection .chip.is-active,.rsvpSection .chip[data-active="true"]{border-color:var(--accent)!important;background:var(--accent)!important;color:#fff!important}
.rsvpSection .btn.btn-full,.rsvpSection button[type=submit]{display:flex!important;width:100%!important;min-height:50px!important;align-items:center!important;justify-content:center!important;border:1px solid var(--accent)!important;border-radius:999px!important;background:var(--accent)!important;color:#fff!important;font:600 12px Manrope!important;box-shadow:none!important}
.rsvpSection .consent{display:flex!important;gap:9px!important;align-items:flex-start!important;color:var(--muted)!important;font:400 10px/1.55 Manrope!important}
.rsvpSection .consent input{flex:0 0 auto!important;margin-top:2px!important;accent-color:var(--accent)!important}
.rsvpTotal{padding:15px 0!important;border-top:1px solid var(--line)!important;border-bottom:1px solid var(--line)!important;color:var(--ink)!important}
.statusBox,.previewLockNote{margin-bottom:20px!important;padding:16px!important;border:1px solid var(--line)!important;background:var(--soft)!important;color:var(--ink)!important}

/* six themes: shared sections are deliberately different */
body.theme-rose .iviTimer__inner,body.theme-rose .rsvpFormCard{background:#fff1ef!important}body.theme-rose .iviDressWrap{background:#f4d7d5!important}
body.theme-sage .iviTimer__inner,body.theme-sage .iviLocCard,body.theme-sage .rsvpFormCard{border-radius:28px!important;background:#f0f6ec!important}body.theme-sage .iviGalleryItem{border-radius:22px!important}body.theme-sage .iviDressWrap{border-radius:28px!important;background:#dce9d8!important}
body.theme-terracotta .iviTimer__inner{background:#7c3425!important;color:#fff!important;border-color:#9d5a46!important}body.theme-terracotta .iviTimer__inner .iviTimer__title,body.theme-terracotta .iviTimer__inner .iviTimer__text{color:#fff!important}body.theme-terracotta .iviLocCard,body.theme-terracotta .rsvpFormCard{background:#f7dfca!important}body.theme-terracotta .iviDressWrap{background:#c96443!important;color:#fff!important}body.theme-terracotta .iviDressWrap .iviDressTitle,body.theme-terracotta .iviDressWrap .iviDressText{color:#fff!important}
body.theme-blue .iviTimer__inner{background:#183a4a!important;border-color:#315b6e!important}body.theme-blue .iviTimer__inner .iviTimer__title,body.theme-blue .iviTimer__inner .iviTimer__text{color:#edf8fb!important}body.theme-blue .iviLocCard,body.theme-blue .rsvpFormCard{background:#e8f1f4!important}body.theme-blue .iviDressWrap{background:#d3e5eb!important}
body.theme-noir .iviTimer__inner,body.theme-noir .iviLocCard,body.theme-noir .rsvpFormCard{background:#29251f!important;border-color:#554b40!important}body.theme-noir .iviDressWrap{background:#171512!important;border-color:#554b40!important}body.theme-noir .iviGalleryItem{outline:1px solid #554b40!important;outline-offset:-1px!important}

@media(max-width:760px){
 .iviTimer__inner{padding:38px 16px!important}
 .iviTimer__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .iviTimer__grid>div:nth-child(2){border-right:0!important}.iviTimer__grid>div:nth-child(-n+2){border-bottom:1px solid var(--line)!important}
 .iviLocGrid{grid-template-columns:1fr!important}.iviLocPhoto{height:220px!important}.iviLocBody{padding:22px 18px!important}.iviLocActions{display:grid!important;grid-template-columns:1fr!important}.iviLoc .iviBtn{width:100%!important}
 .iviGalleryGrid,.iviGalleryGrid--grid,.iviGalleryGrid--masonry,.iviGalleryGrid--editorial{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 .iviGalleryItem,.iviGalleryGrid .iviGalleryItem,.iviGalleryItem:nth-child(n){grid-column:span 1!important;aspect-ratio:4/5!important}.iviGalleryItem:first-child{grid-column:1/-1!important;aspect-ratio:16/10!important}
 .iviDressWrap{padding:40px 15px!important}.iviDressDot{width:46px!important;height:46px!important;border-width:6px!important}
 .rsvpFormCard{padding:26px 16px!important}.rsvpSection .row2{grid-template-columns:1fr!important;gap:0!important}.rsvpSection .chips{display:grid!important;grid-template-columns:1fr!important}.rsvpSection .chip{width:100%!important}
}

/* Vellora v5 — timer is a full-width editorial section, no inner card */
.vsec.vtimer{
  padding:0!important;
  background:var(--soft)!important;
  border-top:1px solid var(--line)!important;
  border-bottom:1px solid var(--line)!important;
}
.vsec.vtimer>.section-title{display:none!important}
.vsec.vtimer>.shared-shell{max-width:none!important;width:100%!important;margin:0!important}
.vsec.vtimer .iviTimer{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:78px 32px 80px!important;
  background:transparent!important;
  border:0!important;
}
.vsec.vtimer .iviTimer__inner{
  width:100%!important;
  max-width:820px!important;
  margin:0 auto!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.vsec.vtimer .iviTimer__kicker{
  margin:0 0 12px!important;
  color:var(--accent)!important;
  font:500 10px/1.3 Manrope,sans-serif!important;
  letter-spacing:.30em!important;
  text-transform:uppercase!important;
  text-align:center!important;
}
.vsec.vtimer .iviTimer__title{
  margin:0!important;
  color:var(--ink)!important;
  font:italic 400 clamp(42px,4vw,54px)/1.05 'Cormorant Garamond',serif!important;
  text-align:center!important;
}
.vsec.vtimer .iviTimer__text{display:block!important;max-width:720px!important;margin:18px auto 0!important;text-align:center!important;color:var(--muted)!important;font:400 13px/1.75 Manrope,sans-serif!important}
.vsec.vtimer .iviTimer__grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  width:100%!important;
  max-width:760px!important;
  margin:48px auto 0!important;
}
.vsec.vtimer .iviTimer__grid>div{
  min-width:0!important;
  min-height:74px!important;
  padding:8px 16px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
  border:0!important;
  border-right:1px solid var(--line)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.vsec.vtimer .iviTimer__grid>div:last-child{border-right:0!important}
.vsec.vtimer .iviTimer__grid b{
  display:block!important;
  margin:0!important;
  color:var(--ink)!important;
  font:400 clamp(38px,4vw,50px)/.95 'Cormorant Garamond',serif!important;
}
.vsec.vtimer .iviTimer__grid span{
  display:block!important;
  margin-top:8px!important;
  color:var(--muted)!important;
  font:500 9px/1.2 Manrope,sans-serif!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
/* Theme-specific timer surfaces. Deliberately light/soft even in expressive themes. */
body.theme-rose .vsec.vtimer{background:#f7e4e1!important;border-bottom-color:#b65d62!important}
body.theme-sage .vsec.vtimer{background:#e8f0e4!important;border-bottom-color:#617c68!important}
body.theme-terracotta .vsec.vtimer{background:#f8e5d2!important;border-bottom-color:#c96443!important}
body.theme-blue .vsec.vtimer{background:#e8f1f4!important;border-bottom-color:#2f637c!important}
body.theme-noir .vsec.vtimer{background:#e9dfd2!important;border-top-color:#cbbba8!important;border-bottom-color:#8b6b4d!important;--ink:#382f28;--muted:#7d6d60;--line:#cbbba8;--accent:#8b6b4d}
@media(max-width:760px){
  .vsec.vtimer .iviTimer{padding:58px 12px 60px!important}
  .vsec.vtimer .iviTimer__title{font-size:clamp(34px,10vw,42px)!important}
  .vsec.vtimer .iviTimer__grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;margin-top:34px!important}
  .vsec.vtimer .iviTimer__grid>div{min-height:68px!important;padding:6px 3px!important;border-bottom:0!important;border-right:1px solid var(--line)!important}
  .vsec.vtimer .iviTimer__grid>div:nth-child(2){border-right:1px solid var(--line)!important}
  .vsec.vtimer .iviTimer__grid>div:last-child{border-right:0!important}
  .vsec.vtimer .iviTimer__grid b{font-size:clamp(28px,8.5vw,38px)!important}
  .vsec.vtimer .iviTimer__grid span{font-size:7px!important;letter-spacing:.06em!important}
}

/* =========================================================
   VELLORA HOTFIX v6 — compact dress code + fixed gallery
   ========================================================= */
/* Dress code mirrors the original prototype: no decorative inner panel,
   no oversized vertical gaps, centered title/text/swatches. */
.vsec:has(.iviDress){padding-top:0!important;padding-bottom:0!important}
.vsec:has(.iviDress) .vwrap{max-width:none!important;padding-left:0!important;padding-right:0!important}
.vsec:has(.iviDress) .shared-shell{padding:0!important}
.shared-shell .iviDress,.iviDress{padding:0!important;margin:0!important;background:transparent!important}
.shared-shell .iviDressWrap,.iviDressWrap{
  width:100%!important;max-width:none!important;min-height:0!important;
  padding:76px 24px 82px!important;margin:0!important;
  border-radius:0!important;background:transparent!important;box-shadow:none!important;
  text-align:center!important;
}
.shared-shell .iviDressKicker,.iviDressKicker{margin:0 0 13px!important}
.shared-shell .iviDressTitle,.iviDressTitle{margin:0!important;font-size:clamp(40px,4.8vw,56px)!important;line-height:1!important}
.shared-shell .iviDressText,.iviDressText{max-width:680px!important;margin:24px auto 0!important;line-height:1.65!important}
.shared-shell .iviDressSwatches,.iviDressSwatches{margin:28px auto 0!important;gap:10px!important}
.shared-shell .iviDressDot,.iviDressDot{width:48px!important;height:48px!important;border-width:5px!important}
/* Disable old theme-specific dress cards: theme changes colors only. */
body.theme-rose .iviDressWrap,body.theme-sage .iviDressWrap,body.theme-terracotta .iviDressWrap,
body.theme-blue .iviDressWrap,body.theme-noir .iviDressWrap{
  background:transparent!important;border-radius:0!important;box-shadow:none!important;
}

/* Vellora v7: Studio timer text + thin editorial divider */
.vsec.vtimer{border-bottom-width:1px!important}
body.theme-rose .vsec.vtimer{border-bottom-color:#d8bbb8!important}
body.theme-sage .vsec.vtimer{border-bottom-color:#c8d4c4!important}
body.theme-terracotta .vsec.vtimer{border-bottom-color:#d7a48e!important}
body.theme-blue .vsec.vtimer{border-bottom-color:#b8ced8!important}
body.theme-noir .vsec.vtimer{border-bottom-color:#cbbba8!important}
@media(max-width:600px){.vsec.vtimer .iviTimer__text{font-size:12px!important;line-height:1.65!important;margin-top:14px!important;padding:0 8px!important}}

/* =========================================================
   VELLORA v8 — prototype theme transitions + prototype gallery
   Source of truth: wedding-illustrated-6-themes prototype.
   ========================================================= */
/* Rose: alternating editorial blocks */
body.theme-rose .vsec:nth-of-type(2n){background:#f2d8d5!important}
body.theme-rose .vsec:nth-of-type(3n){background:#fff4ef!important}
body.theme-rose .vsec.program{background:#dca7a7!important}

/* Noir: dark alternating editorial rhythm */
body.theme-noir .vsec{border-color:#40382e!important}
body.theme-noir .vsec:nth-of-type(even){background:#191714!important}
body.theme-noir .vsec.program{background:#2d251d!important}

/* Sage: soft cards/sections from prototype */
body.theme-sage .vsec{margin:18px 28px!important;border:0!important;border-radius:34px!important;background:#f3f7ef!important}
body.theme-sage .vsec.program{background:#dce8d8!important}

/* Terracotta: deliberate multicolor section blocking */
body.theme-terracotta .vsec:nth-of-type(1){background:#f8e5d2!important}
body.theme-terracotta .vsec:nth-of-type(2){background:#c96443!important;color:#fff!important}
body.theme-terracotta .vsec:nth-of-type(3){background:#f0b98e!important}
body.theme-terracotta .vsec:nth-of-type(4){background:#fff4e6!important}
body.theme-terracotta .vsec:nth-of-type(5){background:#913f2e!important;color:#fff!important}
body.theme-terracotta .vsec:nth-of-type(6){background:#e8a273!important}
body.theme-terracotta .vsec:nth-of-type(7){background:#f9dfc5!important}
body.theme-terracotta .vsec:nth-of-type(8){background:#6f2d24!important;color:#fff!important}

/* Blue: clean alternating cool editorial fields */
body.theme-blue .vsec{border:0!important}
body.theme-blue .vsec:nth-of-type(odd){background:#eef5f7!important}
body.theme-blue .vsec.program{background:#183a4a!important;color:#edf8fb!important}

/* Keep the timer's dedicated prototype treatment from the latest fix. */
body.theme-rose .vsec.vtimer{background:#f7e4e1!important}
body.theme-sage .vsec.vtimer{background:#e8f0e4!important;margin:18px 28px!important;border-radius:34px!important}
body.theme-terracotta .vsec.vtimer{background:#f8e5d2!important;color:var(--ink)!important}
body.theme-blue .vsec.vtimer{background:#e8f1f4!important;color:var(--ink)!important}
body.theme-noir .vsec.vtimer{background:#e9dfd2!important;color:#382f28!important}

/* Gallery base from prototype: 3 equal editorial frames on desktop. */
.vsec:has(.iviGallery) .iviGalleryGrid,
.vsec:has(.iviGallery) .iviGalleryGrid--grid,
.vsec:has(.iviGallery) .iviGalleryGrid--masonry,
.vsec:has(.iviGallery) .iviGalleryGrid--editorial{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-flow:row!important;grid-auto-rows:auto!important;gap:12px!important;
  background:transparent!important;
}
.vsec:has(.iviGallery) .iviGalleryItem,
.vsec:has(.iviGallery) .iviGalleryItem:nth-child(n){
  grid-column:auto!important;grid-row:auto!important;width:100%!important;height:300px!important;
  aspect-ratio:auto!important;margin:0!important;padding:0!important;overflow:hidden!important;
  border-radius:0!important;outline:0!important;transform:none!important;
}
.vsec:has(.iviGallery) .iviGalleryItem img{
  width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;border-radius:inherit!important;
}
/* Prototype-specific gallery personality by theme. */
body.theme-sage .vsec:has(.iviGallery) .iviGalleryItem{border-radius:140px 140px 18px 18px!important}
body.theme-blue .vsec:has(.iviGallery) .iviGalleryGrid,
body.theme-blue .vsec:has(.iviGallery) .iviGalleryGrid--grid,
body.theme-blue .vsec:has(.iviGallery) .iviGalleryGrid--masonry,
body.theme-blue .vsec:has(.iviGallery) .iviGalleryGrid--editorial{gap:0!important}
body.theme-blue .vsec:has(.iviGallery) .iviGalleryItem:nth-child(2){transform:translateY(35px)!important}
body.theme-noir .vsec:has(.iviGallery) .iviGalleryItem{outline:1px solid #554b40!important;outline-offset:-1px!important}

@media(max-width:760px){
  body.theme-sage .vsec{margin:10px!important;border-radius:24px!important}
  .vsec:has(.iviGallery) .iviGalleryGrid,
  .vsec:has(.iviGallery) .iviGalleryGrid--grid,
  .vsec:has(.iviGallery) .iviGalleryGrid--masonry,
  .vsec:has(.iviGallery) .iviGalleryGrid--editorial{grid-template-columns:1fr!important;gap:12px!important}
  .vsec:has(.iviGallery) .iviGalleryItem,.vsec:has(.iviGallery) .iviGalleryItem:nth-child(n){height:360px!important;transform:none!important}
  body.theme-sage .vsec:has(.iviGallery) .iviGalleryItem{border-radius:90px 90px 18px 18px!important}
  body.theme-blue .vsec:has(.iviGallery) .iviGalleryGrid,
  body.theme-blue .vsec:has(.iviGallery) .iviGalleryGrid--grid,
  body.theme-blue .vsec:has(.iviGallery) .iviGalleryGrid--masonry,
  body.theme-blue .vsec:has(.iviGallery) .iviGalleryGrid--editorial{gap:12px!important}
}

/* =========================================================
   VELLORA v8 — DETAILS / CONTACTS / LOCATION SUBTEXT
   ========================================================= */
.details-shared,.contacts-shared{padding:82px 54px!important}
.details-shared .shared-shell,.contacts-shared .shared-shell{max-width:1080px!important;margin:0 auto!important}
.details-shared .le-details,.contacts-shared .ivi-contacts{width:100%!important;margin:0!important;padding:0!important;background:transparent!important;color:var(--ink)!important}
.details-shared .le-details__header,.contacts-shared .ivi-contacts__head{max-width:720px!important;margin:0 auto 48px!important;text-align:center!important}
.details-shared .le-details__kicker,.contacts-shared .ivi-contacts__kicker{margin:0 0 12px!important;font:500 10px/1.4 Manrope,sans-serif!important;letter-spacing:.30em!important;text-transform:uppercase!important;color:var(--accent)!important}
.details-shared .le-details__title,.contacts-shared .ivi-contacts__title{margin:0!important;font:italic 400 clamp(42px,5vw,58px)/1.05 'Cormorant Garamond',serif!important;color:var(--ink)!important}
.details-shared .le-details__text,.contacts-shared .ivi-contacts__text{max-width:680px!important;margin:16px auto 0!important;font:400 13px/1.7 Manrope,sans-serif!important;color:var(--muted)!important}
.details-shared .le-details__grid,.contacts-shared .ivi-contacts__grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;width:100%!important}
.details-shared .le-details__card,.contacts-shared .ivi-contact{display:flex!important;min-width:0!important;min-height:182px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:28px 24px!important;border:0!important;border-radius:28px!important;background:color-mix(in srgb,var(--paper) 80%,transparent)!important;box-shadow:none!important;color:var(--ink)!important}
.details-shared .le-details__card-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:48px!important;height:48px!important;margin:0 auto 14px!important;background:transparent!important;border:0!important;box-shadow:none!important}
.details-shared .le-details__card-title,.contacts-shared .ivi-contact__name{margin:0!important;font:400 25px/1.1 'Cormorant Garamond',serif!important;color:var(--ink)!important}
.details-shared .le-details__card-text,.details-shared .le-details__provider,.contacts-shared .ivi-contact__role,.contacts-shared .ivi-contact__phone{margin-top:10px!important;font:400 13px/1.55 Manrope,sans-serif!important;color:var(--muted)!important}
.contacts-shared .ivi-contact__links{display:flex!important;justify-content:center!important;gap:8px!important;flex-wrap:wrap!important;margin-top:14px!important}
.contacts-shared .ivi-contact__link,.details-shared .le-details__wishlist-button{border:1px solid var(--line)!important;border-radius:999px!important;background:transparent!important;color:var(--ink)!important;box-shadow:none!important}
/* rose gets the exact soft two-tone prototype feeling */
body.theme-rose .details-shared{background:#fff9f8!important}
body.theme-rose .details-shared .le-details__card{background:#faeeec!important}
body.theme-rose .contacts-shared{background:#f1d3d0!important}
body.theme-rose .contacts-shared .ivi-contact{background:#fff8f6!important}
/* expressive themes keep cards readable */
body.theme-terracotta .details-shared .le-details__card,body.theme-terracotta .contacts-shared .ivi-contact,
body.theme-blue .details-shared .le-details__card,body.theme-blue .contacts-shared .ivi-contact,
body.theme-noir .details-shared .le-details__card,body.theme-noir .contacts-shared .ivi-contact{background:color-mix(in srgb,var(--paper) 88%,transparent)!important}

.location-shared .iviLocSubtitle{max-width:680px!important;margin:16px auto 0!important;text-align:center!important;font:400 13px/1.75 Manrope,sans-serif!important;color:var(--muted)!important}

@media(max-width:760px){
 .details-shared,.contacts-shared{padding:58px 18px!important}
 .details-shared .le-details__header,.contacts-shared .ivi-contacts__head{margin-bottom:30px!important}
 .details-shared .le-details__grid,.contacts-shared .ivi-contacts__grid{grid-template-columns:1fr!important;gap:12px!important}
 .details-shared .le-details__card,.contacts-shared .ivi-contact{min-height:150px!important;padding:24px 18px!important;border-radius:22px!important}
 .details-shared .le-details__title,.contacts-shared .ivi-contacts__title{font-size:clamp(38px,11vw,48px)!important}
 .location-shared .iviLocSubtitle{font-size:12px!important;padding:0 8px!important}
}

/* Vellora production: exact shared Details + Contacts DOM */
.vellora-wrap .details-shared,
.vellora-wrap .contacts-shared{padding:72px 54px!important;min-height:0!important;height:auto!important}
.vellora-wrap .details-shared .shared-shell,
.vellora-wrap .contacts-shared .shared-shell{max-width:1080px!important;margin:0 auto!important}
.vellora-wrap .details-shared .le-details,
.vellora-wrap .contacts-shared .ivi-contacts{padding:0!important;margin:0!important;min-height:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important;color:var(--ink)!important}
.vellora-wrap .details-shared .le-details__header,
.vellora-wrap .contacts-shared .ivi-contacts__head{max-width:760px!important;margin:0 auto 44px!important;padding:0!important;text-align:center!important}
.vellora-wrap .details-shared .le-details__kicker,
.vellora-wrap .contacts-shared .ivi-contacts__kicker{margin:0 0 12px!important;color:var(--accent)!important;font:500 10px/1.4 Manrope,sans-serif!important;letter-spacing:.30em!important;text-transform:uppercase!important}
.vellora-wrap .details-shared .le-details__title,
.vellora-wrap .contacts-shared .ivi-contacts__title{margin:0!important;color:var(--ink)!important;font:italic 400 clamp(42px,5vw,58px)/1.02 'Cormorant Garamond',serif!important;letter-spacing:0!important}
.vellora-wrap .details-shared .le-details__text,
.vellora-wrap .contacts-shared .ivi-contacts__text{max-width:700px!important;margin:16px auto 0!important;color:var(--muted)!important;font:400 13px/1.7 Manrope,sans-serif!important}
.vellora-wrap .details-shared .le-details__grid,
.vellora-wrap .contacts-shared .ivi-contacts__grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;width:100%!important;align-items:stretch!important}
.vellora-wrap .details-shared .le-details__card,
.vellora-wrap .contacts-shared .ivi-contact{display:flex!important;position:relative!important;min-width:0!important;width:auto!important;min-height:210px!important;margin:0!important;padding:30px 24px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;background:color-mix(in srgb,var(--soft) 54%,var(--paper))!important;border:0!important;border-radius:28px!important;box-shadow:none!important;backdrop-filter:none!important;color:var(--ink)!important}
.vellora-wrap .details-shared .le-details__card-icon{display:flex!important;width:auto!important;height:auto!important;min-width:0!important;margin:0 0 18px!important;padding:0!important;align-items:center!important;justify-content:center!important;background:transparent!important;border:0!important;border-radius:0!important;color:var(--accent)!important;font:500 12px/1 Manrope,sans-serif!important;letter-spacing:.12em!important}
.vellora-wrap .details-shared .le-details__card-icon img{display:block!important;width:42px!important;height:42px!important;object-fit:contain!important}
.vellora-wrap .details-shared .le-details__provider{margin:0 0 8px!important;padding:0!important;background:transparent!important;border:0!important;color:var(--accent)!important;font:500 10px/1.3 Manrope,sans-serif!important;letter-spacing:.12em!important;text-transform:uppercase!important}
.vellora-wrap .details-shared .le-details__card-title,
.vellora-wrap .contacts-shared .ivi-contact__name{margin:0!important;color:var(--ink)!important;font:400 26px/1.1 'Cormorant Garamond',serif!important;text-decoration:none!important}
.vellora-wrap .details-shared .le-details__card-text,
.vellora-wrap .contacts-shared .ivi-contact__role{margin:12px 0 0!important;color:var(--muted)!important;font:400 13px/1.55 Manrope,sans-serif!important}
.vellora-wrap .contacts-shared .ivi-contact__avatar{display:none!important}
.vellora-wrap .contacts-shared .ivi-contact__phone{display:block!important;margin:4px 0 0!important;padding:0!important;color:var(--ink)!important;font:400 13px/1.5 Manrope,sans-serif!important;text-decoration:none!important;border:0!important;background:transparent!important}
.vellora-wrap .contacts-shared .ivi-contact__actions{display:none!important}
.vellora-wrap .details-shared .le-details__wishlist-button{display:inline-flex!important;min-height:38px!important;margin-top:16px!important;padding:0 16px!important;align-items:center!important;justify-content:center!important;border:1px solid var(--line)!important;border-radius:999px!important;background:transparent!important;color:var(--ink)!important;font:500 12px/1 Manrope,sans-serif!important;text-decoration:none!important;box-shadow:none!important}
body.theme-rose .contacts-shared{background:#efd0cc!important}
body.theme-rose .details-shared .le-details__card,body.theme-rose .contacts-shared .ivi-contact{background:#fff5f2!important}
body.theme-sage .details-shared .le-details__card,body.theme-sage .contacts-shared .ivi-contact{background:#f7faf2!important}
body.theme-terracotta .details-shared .le-details__card,body.theme-terracotta .contacts-shared .ivi-contact{background:#f8dfc9!important}
body.theme-blue .details-shared .le-details__card,body.theme-blue .contacts-shared .ivi-contact{background:#f5fafc!important}
body.theme-noir .details-shared .le-details__card,body.theme-noir .contacts-shared .ivi-contact{background:#2a2722!important}
@media(max-width:760px){
 .vellora-wrap .details-shared,.vellora-wrap .contacts-shared{padding:58px 18px!important}
 .vellora-wrap .details-shared .le-details__header,.vellora-wrap .contacts-shared .ivi-contacts__head{margin-bottom:28px!important}
 .vellora-wrap .details-shared .le-details__grid,.vellora-wrap .contacts-shared .ivi-contacts__grid{grid-template-columns:1fr!important;gap:12px!important}
 .vellora-wrap .details-shared .le-details__card,.vellora-wrap .contacts-shared .ivi-contact{min-height:150px!important;padding:24px 18px!important;border-radius:22px!important}
}

/* Vellora v12: editorial quick info strip + three additional themes */
.vellora-hero .quick{
  min-height:88px!important;padding:18px 28px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;
  border-top:1px solid color-mix(in srgb,var(--line) 85%,transparent)!important;border-bottom:1px solid color-mix(in srgb,var(--line) 85%,transparent)!important;
  background:color-mix(in srgb,var(--paper) 94%,var(--panel))!important;color:var(--ink)!important;
}
.vellora-hero .quick>span{display:flex!important;align-items:center!important;gap:11px!important;min-width:190px!important;justify-content:center!important;font-size:14px!important;letter-spacing:.01em!important;color:var(--ink)!important}
.vellora-hero .quick>span+span{border-left:1px solid var(--line)!important}
.vellora-hero .quick-icon{width:34px;height:34px;flex:0 0 34px;border:1px solid color-mix(in srgb,var(--accent) 45%,var(--line));border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 10%,var(--paper));color:var(--accent)}
.vellora-hero .quick-icon svg{width:17px;height:17px;display:block;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.vellora-hero .quick-label{font:500 14px/1.25 Inter,Arial,sans-serif!important;color:var(--ink)!important;white-space:nowrap}

body.theme-lavender .vsec:nth-of-type(even){background:#eadff0!important} body.theme-lavender .vsec.program{background:#d7c4df!important} body.theme-lavender .contacts-shared{background:#e3d3e9!important}
body.theme-cherry .vsec{background:#542630!important;border-color:#82505a!important;color:#f7e9e7!important} body.theme-cherry .vsec:nth-of-type(even){background:#68313d!important} body.theme-cherry .vsec.program{background:#7b3d4a!important} body.theme-cherry .vsec :is(h1,h2,h3,h4,p,span,strong,small,label,a){color:inherit} body.theme-cherry .details-shared .le-details__card,body.theme-cherry .contacts-shared .ivi-contact{background:#fff3ef!important;color:#4b222b!important}
body.theme-sunset .vsec:nth-of-type(odd){background:#fff4df!important} body.theme-sunset .vsec:nth-of-type(even){background:#f5dfb7!important} body.theme-sunset .vsec.program{background:#d98b4f!important;color:#fffaf0!important} body.theme-sunset .contacts-shared{background:#efc982!important}

@media(max-width:640px){
 .vellora-hero .quick{min-height:72px!important;padding:12px 8px!important}
 .vellora-hero .quick>span{min-width:0!important;flex:1!important;gap:7px!important;font-size:12px!important}
 .vellora-hero .quick-icon{width:29px;height:29px;flex-basis:29px}.vellora-hero .quick-icon svg{width:14px;height:14px}.vellora-hero .quick-label{font-size:12px!important;overflow:hidden;text-overflow:ellipsis}
}

/* Vellora footer photo */
.vellora-footer{
  min-height:520px;
  height:auto;
  padding:70px 28px;
  background:
    linear-gradient(rgba(18,18,18,.30),rgba(18,18,18,.42)),
    url('./footer-back.webp') center 42%/cover no-repeat!important;
  color:#fff!important;
  position:relative;
  isolation:isolate;
}
.vellora-footer:before,.vellora-footer:after{display:none!important}
.vellora-footer>div{position:relative;z-index:2;color:#fff!important;text-shadow:0 2px 20px rgba(0,0,0,.28)}
.vellora-footer small{color:rgba(255,255,255,.9)!important;text-shadow:0 1px 8px rgba(0,0,0,.32)}
@media(max-width:760px){
  .vellora-footer{
    min-height:430px!important;
    height:auto!important;
    padding:55px 20px!important;
    background-position:58% center!important;
  }
}

/* =========================================================
   VELLORA RSVP FINAL OVERRIDES
   Keep shared rsvp.php untouched. Respect its hidden state.
========================================================= */
.vsec:has(.rsvpSection) .shared-shell{
  max-width:1140px!important;
}
.vsec:has(.rsvpSection){
  padding-left:28px!important;
  padding-right:28px!important;
}
.rsvpSection #childrenRow[hidden],
.rsvpSection [hidden]{
  display:none!important;
}
.rsvpSection .rsvpGrid{
  width:100%!important;
  max-width:1080px!important;
}
.rsvpSection .rsvpFormCard{
  width:100%!important;
  padding:46px 48px!important;
  border:0!important;
  border-radius:24px!important;
  background:color-mix(in srgb,var(--paper) 88%,var(--soft))!important;
}
.rsvpSection .row2{
  gap:28px!important;
}
.rsvpSection .formRow{
  margin-bottom:26px!important;
}
.rsvpSection .field{
  min-height:52px!important;
  padding:12px 15px!important;
  border:1px solid color-mix(in srgb,var(--line) 72%,transparent)!important;
  border-radius:14px!important;
  background:color-mix(in srgb,var(--paper) 82%,transparent)!important;
}
.rsvpSection textarea.field{
  min-height:110px!important;
}
.rsvpSection .rsvpTotal{
  margin:4px 0 26px!important;
  padding:14px 16px!important;
  border:0!important;
  border-radius:14px!important;
  background:color-mix(in srgb,var(--accent) 8%,transparent)!important;
}
.rsvpSection .chips{
  gap:10px!important;
}
.rsvpSection .chip{
  min-height:44px!important;
  padding:0 18px!important;
  border-color:color-mix(in srgb,var(--accent) 38%,var(--line))!important;
  background:color-mix(in srgb,var(--paper) 72%,transparent)!important;
}
.rsvpSection .chip:has(input:checked),
.rsvpSection .chip.active,
.rsvpSection .chip.is-active,
.rsvpSection .chip[data-active="true"]{
  background:var(--accent)!important;
  border-color:var(--accent)!important;
  color:#fff!important;
}
body.theme-noir .rsvpSection .rsvpFormCard,
body.theme-cherry .rsvpSection .rsvpFormCard{
  background:color-mix(in srgb,var(--paper) 90%,#000)!important;
}
@media(max-width:720px){
  .vsec:has(.rsvpSection){padding-left:14px!important;padding-right:14px!important}
  .rsvpSection .rsvpFormCard{padding:28px 18px!important;border-radius:18px!important}
  .rsvpSection .row2{grid-template-columns:1fr!important;gap:0!important}
  .rsvpSection .chips{display:flex!important;flex-wrap:wrap!important}
  .rsvpSection .chip{width:auto!important;min-width:0!important}
}

/* =========================================================
   VELLORA CONTRAST MATRIX v15
   One source of truth for text contrast by actual surface.
   ========================================================= */

/* Dark section surfaces: Noir + Cherry use light editorial typography. */
body.theme-noir .vsec:not(.vtimer),
body.theme-cherry .vsec{
  --section-ink:#f7f1e8;
  --section-muted:rgba(247,241,232,.68);
}
body.theme-noir .vsec:not(.vtimer) :is(.section-title h2,.iviGalleryTitle,.iviDressTitle,.iviLocTitle,.rsvpSectionHead h2,.le-details__title,.ivi-contacts__title),
body.theme-cherry .vsec :is(.section-title h2,.iviGalleryTitle,.iviDressTitle,.iviLocTitle,.rsvpSectionHead h2,.le-details__title,.ivi-contacts__title){color:var(--section-ink)!important}
body.theme-noir .vsec:not(.vtimer) :is(.section-title p,.iviGallerySubtitle,.iviDressText,.iviLocText,.rsvpHint,.le-details__text,.ivi-contacts__text),
body.theme-cherry .vsec :is(.section-title p,.iviGallerySubtitle,.iviDressText,.iviLocText,.rsvpHint,.le-details__text,.ivi-contacts__text){color:var(--section-muted)!important}
body.theme-noir .vsec:not(.vtimer) :is(.section-title .kicker,.iviGalleryKicker,.iviDressKicker,.iviLocKicker,.rsvpLabel,.le-details__kicker,.ivi-contacts__kicker),
body.theme-cherry .vsec :is(.section-title .kicker,.iviGalleryKicker,.iviDressKicker,.iviLocKicker,.rsvpLabel,.le-details__kicker,.ivi-contacts__kicker){color:var(--accent)!important}

/* Noir cards are genuinely dark, so card copy must stay light. */
body.theme-noir :is(.details-shared .le-details__card,.contacts-shared .ivi-contact){
  --ink:#f7f1e8!important;--muted:#b9ada0!important;color:#f7f1e8!important;
}
body.theme-noir :is(.details-shared .le-details__card,.contacts-shared .ivi-contact) :is(.le-details__card-title,.ivi-contact__name,.ivi-contact__phone,h3,h4,a){color:#f7f1e8!important;-webkit-text-fill-color:#f7f1e8!important}
body.theme-noir :is(.details-shared .le-details__card,.contacts-shared .ivi-contact) :is(.le-details__card-text,.le-details__provider,.ivi-contact__role,p,small){color:#b9ada0!important;-webkit-text-fill-color:#b9ada0!important}

/* Cherry cards are light: use dark ink inside them. */
body.theme-cherry :is(.details-shared .le-details__card,.contacts-shared .ivi-contact,.rsvpFormCard){--ink:#4b222b!important;--muted:#8e6265!important;color:#4b222b!important}
body.theme-cherry :is(.details-shared .le-details__card,.contacts-shared .ivi-contact,.rsvpFormCard) :is(h1,h2,h3,h4,h5,h6,p,span,strong,small,label,a,input,textarea,select){color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}

/* Terracotta cards are cream/light. Never inherit white from the section. */
body.theme-terracotta :is(.details-shared .le-details__card,.contacts-shared .ivi-contact,.rsvpFormCard){--ink:#482b21!important;--muted:#8f6555!important;color:#482b21!important}
body.theme-terracotta :is(.details-shared .le-details__card,.contacts-shared .ivi-contact,.rsvpFormCard) :is(.le-details__card-title,.ivi-contact__name,.ivi-contact__phone,h3,h4,a){color:#482b21!important;-webkit-text-fill-color:#482b21!important}
body.theme-terracotta :is(.details-shared .le-details__card,.contacts-shared .ivi-contact,.rsvpFormCard) :is(.le-details__card-text,.le-details__provider,.ivi-contact__role,p,small){color:#8f6555!important;-webkit-text-fill-color:#8f6555!important}

/* Location card contrast follows the card surface, not the outer section. */
body.theme-noir .iviLocCard,
body.theme-cherry .iviLocCard{--loc-ink:#f7f1e8;--loc-muted:#b9ada0;color:var(--loc-ink)!important}
body.theme-noir .iviLocCard :is(.iviLocName,h3,h4,strong,a),
body.theme-cherry .iviLocCard :is(.iviLocName,h3,h4,strong,a){color:var(--loc-ink)!important;-webkit-text-fill-color:var(--loc-ink)!important}
body.theme-noir .iviLocCard :is(.iviLocAddr,.iviLocNote,.iviLocText,p,span),
body.theme-cherry .iviLocCard :is(.iviLocAddr,.iviLocNote,.iviLocText,p,span){color:var(--loc-muted)!important;-webkit-text-fill-color:var(--loc-muted)!important}

body.theme-terracotta .iviLocCard,
body.theme-blue .iviLocCard,
body.theme-rose .iviLocCard,
body.theme-sage .iviLocCard,
body.theme-lavender .iviLocCard,
body.theme-sunset .iviLocCard{--loc-ink:#2b2421;--loc-muted:#756963;color:var(--loc-ink)!important}
body.theme-terracotta .iviLocCard :is(.iviLocName,h3,h4,strong,a),
body.theme-blue .iviLocCard :is(.iviLocName,h3,h4,strong,a),
body.theme-rose .iviLocCard :is(.iviLocName,h3,h4,strong,a),
body.theme-sage .iviLocCard :is(.iviLocName,h3,h4,strong,a),
body.theme-lavender .iviLocCard :is(.iviLocName,h3,h4,strong,a),
body.theme-sunset .iviLocCard :is(.iviLocName,h3,h4,strong,a){color:var(--loc-ink)!important;-webkit-text-fill-color:var(--loc-ink)!important}
body.theme-terracotta .iviLocCard :is(.iviLocAddr,.iviLocNote,.iviLocText,p,span),
body.theme-blue .iviLocCard :is(.iviLocAddr,.iviLocNote,.iviLocText,p,span),
body.theme-rose .iviLocCard :is(.iviLocAddr,.iviLocNote,.iviLocText,p,span),
body.theme-sage .iviLocCard :is(.iviLocAddr,.iviLocNote,.iviLocText,p,span),
body.theme-lavender .iviLocCard :is(.iviLocAddr,.iviLocNote,.iviLocText,p,span),
body.theme-sunset .iviLocCard :is(.iviLocAddr,.iviLocNote,.iviLocText,p,span){color:var(--loc-muted)!important;-webkit-text-fill-color:var(--loc-muted)!important}

/* Dress-code on light surfaces: dark title/copy. */
body.theme-terracotta .iviDressWrap,
body.theme-blue .iviDressWrap,
body.theme-sunset .iviDressWrap,
body.theme-rose .iviDressWrap,
body.theme-sage .iviDressWrap,
body.theme-lavender .iviDressWrap{--dress-ink:var(--ink);--dress-muted:var(--muted)}
body.theme-terracotta .iviDressWrap :is(.iviDressTitle,.iviDressText),
body.theme-blue .iviDressWrap :is(.iviDressTitle,.iviDressText),
body.theme-sunset .iviDressWrap :is(.iviDressTitle,.iviDressText),
body.theme-rose .iviDressWrap :is(.iviDressTitle,.iviDressText),
body.theme-sage .iviDressWrap :is(.iviDressTitle,.iviDressText),
body.theme-lavender .iviDressWrap :is(.iviDressTitle,.iviDressText){color:var(--dress-ink)!important;-webkit-text-fill-color:var(--dress-ink)!important}
body.theme-terracotta .iviDressWrap .iviDressText,
body.theme-blue .iviDressWrap .iviDressText,
body.theme-sunset .iviDressWrap .iviDressText,
body.theme-rose .iviDressWrap .iviDressText,
body.theme-sage .iviDressWrap .iviDressText,
body.theme-lavender .iviDressWrap .iviDressText{color:var(--dress-muted)!important;-webkit-text-fill-color:var(--dress-muted)!important}

/* Timer prototype is intentionally light in these themes: force dark copy. */
body.theme-terracotta .vsec.vtimer,
body.theme-blue .vsec.vtimer,
body.theme-rose .vsec.vtimer,
body.theme-sage .vsec.vtimer,
body.theme-noir .vsec.vtimer,
body.theme-lavender .vsec.vtimer,
body.theme-sunset .vsec.vtimer{--timer-ink:var(--timer_fg,var(--ink));--timer-muted:var(--timer_muted,var(--muted))}
body.theme-terracotta .vsec.vtimer :is(.iviTimer__title,.iviTimer__grid b),
body.theme-blue .vsec.vtimer :is(.iviTimer__title,.iviTimer__grid b),
body.theme-rose .vsec.vtimer :is(.iviTimer__title,.iviTimer__grid b),
body.theme-sage .vsec.vtimer :is(.iviTimer__title,.iviTimer__grid b),
body.theme-noir .vsec.vtimer :is(.iviTimer__title,.iviTimer__grid b),
body.theme-lavender .vsec.vtimer :is(.iviTimer__title,.iviTimer__grid b),
body.theme-sunset .vsec.vtimer :is(.iviTimer__title,.iviTimer__grid b){color:var(--timer-ink)!important;-webkit-text-fill-color:var(--timer-ink)!important}
body.theme-terracotta .vsec.vtimer :is(.iviTimer__text,.iviTimer__grid span),
body.theme-blue .vsec.vtimer :is(.iviTimer__text,.iviTimer__grid span),
body.theme-rose .vsec.vtimer :is(.iviTimer__text,.iviTimer__grid span),
body.theme-sage .vsec.vtimer :is(.iviTimer__text,.iviTimer__grid span),
body.theme-noir .vsec.vtimer :is(.iviTimer__text,.iviTimer__grid span),
body.theme-lavender .vsec.vtimer :is(.iviTimer__text,.iviTimer__grid span),
body.theme-sunset .vsec.vtimer :is(.iviTimer__text,.iviTimer__grid span){color:var(--timer-muted)!important;-webkit-text-fill-color:var(--timer-muted)!important}

/* =========================================================
   LOCATION CONTRAST — final scoped rules
   Keep location card copy crisp on light cards and controls
   readable in every light theme. These rules intentionally
   come last so generic theme text rules cannot wash them out.
========================================================= */
body:is(.theme-terracotta,.theme-blue,.theme-rose,.theme-sage,.theme-lavender,.theme-sunset) .iviLocCard{
  --loc-ink:#292522;
  --loc-muted:#655f5a;
}
body.theme-blue .iviLocCard{
  --loc-ink:#172f3b;
  --loc-muted:#526873;
}
body:is(.theme-terracotta,.theme-blue,.theme-rose,.theme-sage,.theme-lavender,.theme-sunset) .iviLocCard .iviLocName{
  color:var(--loc-ink)!important;
  -webkit-text-fill-color:var(--loc-ink)!important;
  opacity:1!important;
}
body:is(.theme-terracotta,.theme-blue,.theme-rose,.theme-sage,.theme-lavender,.theme-sunset) .iviLocCard :is(.iviLocAddr,.iviLocNote,.iviLocText){
  color:var(--loc-muted)!important;
  -webkit-text-fill-color:var(--loc-muted)!important;
  opacity:1!important;
}
body:is(.theme-terracotta,.theme-blue,.theme-rose,.theme-sage,.theme-lavender,.theme-sunset) .iviLocCard .iviLocBadge{
  color:var(--accent)!important;
  -webkit-text-fill-color:var(--accent)!important;
  opacity:1!important;
}
body:is(.theme-terracotta,.theme-blue,.theme-rose,.theme-sage,.theme-lavender,.theme-sunset) .iviLocCard .iviBtnPrimary,
body:is(.theme-terracotta,.theme-blue,.theme-rose,.theme-sage,.theme-lavender,.theme-sunset) .iviLocCard .iviBtnPrimary *{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
}
body:is(.theme-terracotta,.theme-blue,.theme-rose,.theme-sage,.theme-lavender,.theme-sunset) .iviLocCard .iviBtnGhost,
body:is(.theme-terracotta,.theme-blue,.theme-rose,.theme-sage,.theme-lavender,.theme-sunset) .iviLocCard .iviBtnGhost *{
  color:var(--loc-ink)!important;
  -webkit-text-fill-color:var(--loc-ink)!important;
  opacity:1!important;
}
body.theme-blue .iviLocCard .iviBtnGhost{
  border-color:#a9c7d3!important;
  background:rgba(255,255,255,.28)!important;
}

/* =========================================================
   VELLORA — HERO NAMES / GREAT VIBES
========================================================= */
@font-face{
  font-family:'Great Vibes Vellora';
  src:url('./GreatVibes-Regular.woff2') format('woff2');
  font-style:normal;
  font-weight:400;
  font-display:swap;
}

.vellora-hero .hero-copy h1{
  font-family:'Great Vibes Vellora','Marck Script',cursive!important;
  font-weight:400!important;
  line-height:.92!important;
  letter-spacing:0!important;
}

/* Ampersand stays editorial, only the couple names use Great Vibes */
.vellora-hero .hero-copy h1 .amp{
  font-family:'Cormorant Garamond',Georgia,serif!important;
  font-style:normal!important;
  line-height:1!important;
}

@media (min-width:761px){
  .vellora-hero .hero-copy h1{
    font-size:clamp(46px,5vw,74px)!important;
  }
  body.theme-blue .vellora-hero .hero-copy h1,
  body.theme-noir .vellora-hero .hero-copy h1{
    font-size:clamp(44px,4.7vw,70px)!important;
  }
  body.theme-terracotta .vellora-hero .hero-copy h1{
    font-size:clamp(43px,4.5vw,68px)!important;
  }
}

@media (max-width:760px){
  .vellora-hero .hero-copy h1{
    font-size:clamp(52px,17vw,76px)!important;
    line-height:.9!important;
  }
}

@media (max-width:390px){
  .vellora-hero .hero-copy h1{
    font-size:clamp(48px,15vw,64px)!important;
  }
}

/* Vellora v17: responsive hero quick strip */
.vellora-hero .quick{
  gap:32px!important;
  padding:18px 34px!important;
}
.vellora-hero .quick>span{
  min-width:0!important;
  width:auto!important;
  flex:0 1 auto!important;
  padding:0!important;
}
.vellora-hero .quick>span:first-child{
  max-width:min(620px,70%)!important;
}
.vellora-hero .quick>span+span{
  border-left:1px solid var(--line)!important;
  padding-left:32px!important;
  flex:0 0 auto!important;
}
.vellora-hero .quick-label{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
}
@media (max-width:640px){
  .vellora-hero .quick{
    min-height:0!important;
    padding:12px 16px 14px!important;
    gap:9px!important;
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .vellora-hero .quick>span,
  .vellora-hero .quick>span:first-child{
    width:100%!important;
    max-width:none!important;
    flex:none!important;
    justify-content:flex-start!important;
    gap:9px!important;
  }
  .vellora-hero .quick>span+span{
    border-left:0!important;
    border-top:1px solid color-mix(in srgb,var(--line) 78%,transparent)!important;
    padding:9px 0 0 38px!important;
  }
  .vellora-hero .quick-icon{
    width:29px!important;
    height:29px!important;
    flex:0 0 29px!important;
  }
  .vellora-hero .quick-label{
    font-size:11px!important;
    line-height:1.35!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
  }
}

/* Vellora v18: compact mobile hero info strip */
@media (max-width:640px){
  .vellora-hero .quick{
    min-height:64px!important;
    padding:10px 14px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    column-gap:12px!important;
    row-gap:0!important;
    text-align:left!important;
  }
  .vellora-hero .quick>span{
    min-width:0!important;
    width:auto!important;
    flex:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    padding:0!important;
    border:0!important;
  }
  .vellora-hero .quick>span+span{
    border-left:0!important;
    border-top:0!important;
    padding-left:12px!important;
    position:relative!important;
  }
  .vellora-hero .quick>span+span:before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    width:1px;
    height:26px;
    transform:translateY(-50%);
    background:color-mix(in srgb,var(--line) 78%,transparent);
  }
  .vellora-hero .quick-icon{
    width:28px!important;
    height:28px!important;
    flex:0 0 28px!important;
  }
  .vellora-hero .quick-icon svg{width:13px!important;height:13px!important}
  .vellora-hero .quick-label{
    min-width:0!important;
    font-size:10px!important;
    line-height:1.3!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  .vellora-hero .quick>span:first-child .quick-label{
    display:-webkit-box!important;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden!important;
  }
  .vellora-hero .quick>span:last-child .quick-label{
    white-space:nowrap!important;
    font-size:11px!important;
  }
}
@media (max-width:380px){
  .vellora-hero .quick{padding-left:10px!important;padding-right:10px!important;column-gap:8px!important}
  .vellora-hero .quick>span+span{padding-left:9px!important}
  .vellora-hero .quick-icon{width:26px!important;height:26px!important;flex-basis:26px!important}
  .vellora-hero .quick-label{font-size:9px!important}
  .vellora-hero .quick>span:last-child .quick-label{font-size:10px!important}
}


/* =========================================================
   TERRACOTTA LIGHT SURFACES v20
   Semantic section styling. Do not depend on section order.
========================================================= */
body.theme-terracotta .vsec.story,
body.theme-terracotta .vsec.gallery-shared,
body.theme-terracotta .vsec.location-shared,
body.theme-terracotta .vsec.details-shared,
body.theme-terracotta .vsec.contacts-shared{
  background:#fff4e6!important;
  color:#482b21!important;
  border-color:#e4bda5!important;
}
body.theme-terracotta .vsec.story :is(h2,h3,p,.eyebrow),
body.theme-terracotta .vsec.gallery-shared :is(.iviGalleryTitle,.iviGallerySubtitle),
body.theme-terracotta .vsec.location-shared :is(.iviLocTitle,.iviLocSubtitle),
body.theme-terracotta .vsec.details-shared :is(.le-details__title,.le-details__text),
body.theme-terracotta .vsec.contacts-shared :is(.ivi-contacts__title,.ivi-contacts__text){
  color:#482b21!important;
  -webkit-text-fill-color:#482b21!important;
}
body.theme-terracotta .vsec.story .eyebrow,
body.theme-terracotta .vsec.gallery-shared .iviGalleryKicker,
body.theme-terracotta .vsec.location-shared .iviLocKicker,
body.theme-terracotta .vsec.details-shared .le-details__kicker,
body.theme-terracotta .vsec.contacts-shared .ivi-contacts__kicker{
  color:#b95436!important;
  -webkit-text-fill-color:#b95436!important;
}
body.theme-terracotta .vsec.gallery-shared .iviGallerySubtitle,
body.theme-terracotta .vsec.location-shared .iviLocSubtitle,
body.theme-terracotta .vsec.story p{
  color:#8f6555!important;
  -webkit-text-fill-color:#8f6555!important;
}
/* Keep gallery geometry identical when switching themes. */
body.theme-terracotta .gallery-shared .iviGalleryGrid,
body.theme-terracotta .gallery-shared .iviGalleryGrid--grid,
body.theme-terracotta .gallery-shared .iviGalleryGrid--masonry,
body.theme-terracotta .gallery-shared .iviGalleryGrid--editorial{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
body.theme-terracotta .gallery-shared .iviGalleryItem,
body.theme-terracotta .gallery-shared .iviGalleryItem:nth-child(n){
  height:300px!important;
  transform:none!important;
  border-radius:0!important;
}
@media(max-width:760px){
  body.theme-terracotta .gallery-shared .iviGalleryGrid,
  body.theme-terracotta .gallery-shared .iviGalleryGrid--grid,
  body.theme-terracotta .gallery-shared .iviGalleryGrid--masonry,
  body.theme-terracotta .gallery-shared .iviGalleryGrid--editorial{grid-template-columns:1fr!important;gap:10px!important}
  body.theme-terracotta .gallery-shared .iviGalleryItem,
  body.theme-terracotta .gallery-shared .iviGalleryItem:nth-child(n){height:340px!important}
}
/* Anchor landing clearance for the sticky templates header. */
#story,#galleryWrap,#locationWrap{scroll-margin-top:96px}
@media(max-width:760px){#story,#galleryWrap,#locationWrap{scroll-margin-top:76px}}


/* =========================================================
   TERRACOTTA TITLE CONTRAST v21
   Shared blocks may use different title class names.
========================================================= */
body.theme-terracotta .iviLocTitle,
body.theme-terracotta .location-shared .iviLocTitle,
body.theme-terracotta .details-title,
body.theme-terracotta .details-shared .details-title,
body.theme-terracotta .details-shared .le-details__title {
  color:#fff7ef !important;
  -webkit-text-fill-color:#fff7ef !important;
  opacity:1 !important;
}
