/* Olive & Ivory (hosted): details that follow the chosen palette and work for any number of list items. */
.hsw-topbar{background-color:color-mix(in srgb,var(--ol-base) 90%,transparent)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.hsw-seal{background-image:radial-gradient(circle at 34% 28%,var(--seal-a,#CDB483) 0%,var(--ol-metal) 42%,var(--seal-b,#6F5730) 100%);box-shadow:0 12px 26px color-mix(in srgb,var(--ol-dark) 32%,transparent),inset 0 0 0 5px rgba(255,255,255,.16),inset 0 -6px 12px rgba(0,0,0,.18)}
.hsw-shade{background-color:color-mix(in srgb,var(--ol-dark) 42%,transparent)}
.hsw-band:not(:has(img[src]:not([src=''])))  .hsw-shade{background-color:transparent}
.hsw-hero-photo:not(:has(img[src]:not([src=''])))  {background-image:linear-gradient(160deg,var(--ol-soft) 0%,var(--ol-line) 100%)}
/* Schedule: a line through the icon rings, trimmed at both ends; icons cycle rings, glasses, dinner, music. */
.hsw-icon{-webkit-mask:var(--hsw-i) center/contain no-repeat;mask:var(--hsw-i) center/contain no-repeat}
/* Schedule: at most 4 per row (3 when there are 5 or 6); each row has its own connecting line. */
.hsw-sched{display:flex!important;flex-flow:row wrap!important;justify-content:center!important;row-gap:4rem!important}
.hsw-sched>.hsw-slot.e-con{flex:0 0 25%!important;width:25%!important;max-width:25%!important}
.hsw-sched:has(>.hsw-slot:nth-child(5)):not(:has(>.hsw-slot:nth-child(7)))>.hsw-slot.e-con{flex-basis:33.333%!important;width:33.333%!important;max-width:33.333%!important}
.hsw-slot.e-con::before{content:''!important;display:block;position:absolute;inset:auto!important;top:2.8rem!important;left:0!important;right:0!important;width:auto!important;height:1px!important;background:var(--ol-metal)!important;opacity:1!important;mix-blend-mode:normal!important;border-radius:0!important}
.hsw-sched>.hsw-slot.e-con:nth-child(4n+1)::before{left:50%!important}
.hsw-sched>.hsw-slot.e-con:nth-child(4n)::before,.hsw-sched>.hsw-slot.e-con:last-child::before{right:50%!important}
.hsw-sched:has(>.hsw-slot:nth-child(5)):not(:has(>.hsw-slot:nth-child(7)))>.hsw-slot.e-con::before{left:0!important;right:0!important}
.hsw-sched:has(>.hsw-slot:nth-child(5)):not(:has(>.hsw-slot:nth-child(7)))>.hsw-slot.e-con:nth-child(3n+1)::before{left:50%!important}
.hsw-sched:has(>.hsw-slot:nth-child(5)):not(:has(>.hsw-slot:nth-child(7)))>.hsw-slot.e-con:is(:nth-child(3n),:last-child)::before{right:50%!important}
.hsw-sched>.hsw-slot.e-con:only-child::before{display:none}
@media (max-width:767px){.hsw-sched>.hsw-slot.e-con,.hsw-sched:has(>.hsw-slot:nth-child(5))>.hsw-slot.e-con{flex-basis:50%!important;width:50%!important;max-width:50%!important}.hsw-slot.e-con::before{display:none!important}}
/* Schedule icons: chosen per event (hs-schedule-icon-*), automatic from the event name unless the couple picks one. */
.hs-schedule-icon-rings .hsw-icon{--hsw-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle fill='none' cx='18' cy='29' r='10'/%3E%3Ccircle fill='none' cx='30' cy='29' r='10'/%3E%3Cpath fill='none' d='M14 15l4-5h12l4 5-10 5z'/%3E%3Cpath fill='none' d='M18 10l6 10 6-10M14 15h20'/%3E%3C/svg%3E")}
.hs-schedule-icon-glasses .hsw-icon{--hsw-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath fill='none' d='M12 8h9l-.8 9.5a3.7 3.7 0 0 1-7.4 0z'/%3E%3Cpath fill='none' d='M16.5 21v14M12 35h9'/%3E%3Cpath fill='none' d='M27 8h9l-.8 9.5a3.7 3.7 0 0 1-7.4 0z'/%3E%3Cpath fill='none' d='M31.5 21v14M27 35h9'/%3E%3Cpath fill='none' d='M13 13h7M28 13h7'/%3E%3Cpath fill='none' d='M24 4v2M20 5l1 1.5M28 5l-1 1.5'/%3E%3C/svg%3E")}
.hs-schedule-icon-dinner .hsw-icon{--hsw-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle fill='none' cx='24' cy='25' r='11'/%3E%3Ccircle fill='none' cx='24' cy='25' r='7'/%3E%3Cpath fill='none' d='M7 10v8a2.5 2.5 0 0 0 5 0v-8M9.5 10v28'/%3E%3Cpath fill='none' d='M40 10c-3 2-3.5 7-3.5 10h3.5v18'/%3E%3C/svg%3E")}
.hs-schedule-icon-music .hsw-icon{--hsw-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath fill='none' d='M18 34V12l20-4v22'/%3E%3Cellipse fill='none' cx='13.5' cy='34.5' rx='4.5' ry='3.5'/%3E%3Cellipse fill='none' cx='33.5' cy='30.5' rx='4.5' ry='3.5'/%3E%3Cpath fill='none' d='M18 18l20-4'/%3E%3C/svg%3E")}
.hs-schedule-icon-cake .hsw-icon{--hsw-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 39h30'/%3E%3Cpath d='M12 39V30h24v9'/%3E%3Cpath d='M16 30v-7h16v7'/%3E%3Cpath d='M20 23v-5h8v5'/%3E%3Cpath d='M24 18v-4'/%3E%3Cpath d='M24 8.5c1.3 1.4 1.3 2.8 0 3.8c-1.3-1-1.3-2.4 0-3.8z'/%3E%3Cpath d='M12 34c2 1.6 4 1.6 6 0s4-1.6 6 0 4 1.6 6 0 4-1.6 6 0'/%3E%3C/svg%3E")}
.hs-schedule-icon-speeches .hsw-icon{--hsw-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='18.5' y='6' width='11' height='19' rx='5.5'/%3E%3Cpath d='M13.5 19.5a10.5 10.5 0 0 0 21 0'/%3E%3Cpath d='M24 30v7M18 40h12'/%3E%3Cpath d='M18.5 14h4M18.5 18h4'/%3E%3C/svg%3E")}
.hs-schedule-icon-photos .hsw-icon{--hsw-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 16.5h8l3-4.5h12l3 4.5h8v20H7z'/%3E%3Ccircle cx='24' cy='26' r='6.5'/%3E%3Ccircle cx='24' cy='26' r='3'/%3E%3Cpath d='M35 20.5h2'/%3E%3C/svg%3E")}
.hs-schedule-icon-coffee .hsw-icon{--hsw-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 19h22v7a11 11 0 0 1-22 0z'/%3E%3Cpath d='M33 21.5h2.5a4 4 0 0 1 0 8H32'/%3E%3Cpath d='M8 41h28'/%3E%3Cpath d='M17 8c-1.5 1.5 1.5 3 0 4.5M22 8c-1.5 1.5 1.5 3 0 4.5M27 8c-1.5 1.5 1.5 3 0 4.5'/%3E%3C/svg%3E")}
.hs-schedule-icon-travel .hsw-icon{--hsw-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 31v-5.5l4.5-8h27l4.5 8V31a2 2 0 0 1-2 2h-2M12 33H8a2 2 0 0 1-2-2'/%3E%3Cpath d='M18 33h12'/%3E%3Ccircle cx='15' cy='33' r='3'/%3E%3Ccircle cx='33' cy='33' r='3'/%3E%3Cpath d='M12.5 25.5l3-5h17l3 5z'/%3E%3Cpath d='M24 20.5v5'/%3E%3C/svg%3E")}
.hs-schedule-icon-fireworks .hsw-icon{--hsw-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 30v12'/%3E%3Cpath d='M24 8v6M24 20v4M13 19h6M29 19h6M16 11l4 4M28 23l4 4M32 11l-4 4M20 23l-4 4'/%3E%3Ccircle cx='24' cy='19' r='1.2'/%3E%3Cpath d='M10 8v2M9 9h2M38 29v2M37 30h2M36 6v2M35 7h2'/%3E%3C/svg%3E")}
.hs-schedule-icon-heart .hsw-icon{--hsw-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 38.5S10.5 30.5 10.5 20.8A7 7 0 0 1 24 17.3a7 7 0 0 1 13.5 3.5C37.5 30.5 24 38.5 24 38.5z'/%3E%3Cpath d='M17 20.5a3.5 3.5 0 0 1 3.5-3'/%3E%3C/svg%3E")}
.hsw-slot:not([class*='hs-schedule-icon-']) .hsw-icon{--hsw-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 38.5S10.5 30.5 10.5 20.8A7 7 0 0 1 24 17.3a7 7 0 0 1 13.5 3.5C37.5 30.5 24 38.5 24 38.5z'/%3E%3Cpath d='M17 20.5a3.5 3.5 0 0 1 3.5-3'/%3E%3C/svg%3E")}
/* Dress code swatches from the palette (colour + name). */
.hsw-swatch>*{font-size:0}
.hsw-swatch::after{font-family:var(--ol-body);font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;color:var(--ol-muted)}
.hsw-swatch:nth-child(1)>*{background-color:var(--sw1)}.hsw-swatch:nth-child(1)::after{content:var(--sw1n)}
.hsw-swatch:nth-child(2)>*{background-color:var(--sw2)}.hsw-swatch:nth-child(2)::after{content:var(--sw2n)}
.hsw-swatch:nth-child(3)>*{background-color:var(--sw3)}.hsw-swatch:nth-child(3)::after{content:var(--sw3n)}
.hsw-swatch:nth-child(4)>*{background-color:var(--sw4)}.hsw-swatch:nth-child(4)::after{content:var(--sw4n)}
.hsw-swatch:nth-child(5)>*{background-color:var(--sw5)}.hsw-swatch:nth-child(5)::after{content:var(--sw5n)}
/* Gallery ([hs_gallery]) in the Olive look. */
.hsx-gallery img{border-radius:0}
/* Story without a photo: centre the text instead of leaving an empty column. */
#story:not(:has(img[src]:not([src='']))){grid-template-columns:minmax(0,46rem)!important;justify-content:center}
/* Long month names on small phones. */
@media (max-width:420px){.hsw-band .e-con p{font-size:2.2rem!important}}
/* Countdown in the save-the-date band (built by motion.js: .gs-cd > .gs-cd-unit > .gs-cd-num + .gs-cd-label) */
.hsw-countdown .gs-cd,.hsw-countdown.gs-cd{display:flex;justify-content:center;align-items:flex-start;gap:0;margin:0}
.hsw-countdown .gs-cd-unit{display:flex;flex-direction:column;align-items:center;gap:.55rem;min-width:5.5rem;padding:0 1.4rem;position:relative}
.hsw-countdown .gs-cd-unit+.gs-cd-unit::before{content:"";position:absolute;left:0;top:.35rem;height:2.4rem;width:1px;background:color-mix(in srgb,var(--ol-base) 45%,transparent)}
.hsw-countdown .gs-cd-num{font-family:var(--ol-display);font-weight:300;font-size:2.5rem;line-height:1;color:var(--ol-base);font-variant-numeric:lining-nums tabular-nums;text-shadow:0 1px 12px rgba(0,0,0,.18)}
.hsw-countdown .gs-cd-label{font-family:var(--ol-body);font-weight:500;font-size:.66rem;letter-spacing:.26em;text-transform:uppercase;color:color-mix(in srgb,var(--ol-base) 82%,transparent)}
@media (max-width:767px){.hsw-countdown .gs-cd-unit{min-width:0;padding:0 .9rem}.hsw-countdown .gs-cd-num{font-size:1.9rem}.hsw-countdown .gs-cd-label{font-size:.56rem;letter-spacing:.18em}.hsw-countdown .gs-cd-unit+.gs-cd-unit::before{height:1.7rem;top:.2rem}}
