/* Aurelia RSVP — template helpers for the Templeaf wedding kits. Colours come from the kit's own variables. */

/* ---------- countdown: [aurelia_countdown] ---------- */
.aurelia-cd{position:relative;z-index:1;display:flex;justify-content:center;align-items:flex-start;flex-wrap:nowrap;margin:0 auto}
.aurelia-cd__unit{position:relative;display:flex;flex-direction:column;align-items:center;gap:.7rem;min-width:5.5rem;padding:0 1.4rem}
.aurelia-cd__unit+.aurelia-cd__unit::before{content:"";position:absolute;left:0;top:.35rem;height:2.4rem;width:1px;background:currentColor;opacity:.35}
.aurelia-cd__num{font-family:var(--ol-display,Georgia,serif);font-weight:300;font-size:2.5rem;line-height:1;font-variant-numeric:lining-nums tabular-nums}
.aurelia-cd__label{font-family:var(--ol-body,system-ui,sans-serif);font-weight:500;font-size:.66rem;letter-spacing:.26em;text-transform:uppercase;opacity:.8}
.aurelia-cd--light{color:var(--ol-base,#fff)}
.aurelia-cd--light .aurelia-cd__num{text-shadow:0 1px 12px rgba(0,0,0,.18)}
.aurelia-cd--dark{color:var(--ol-ink,#222)}
.aurelia-cd--dark .aurelia-cd__label{color:var(--ol-metal-text,inherit);opacity:1}
.aurelia-cd__hint{margin:0;padding:.6rem 1rem;border:1px dashed currentColor;font-size:.85rem;opacity:.8}
@media (max-width:767px){.aurelia-cd__unit{min-width:0;padding:0 .9rem}.aurelia-cd__num{font-size:1.9rem}.aurelia-cd__label{font-size:.56rem;letter-spacing:.18em}.aurelia-cd__unit+.aurelia-cd__unit::before{height:1.7rem;top:.2rem}}

/* ---------- schedule: .ol-sched > .ol-slot — max 4 per row (3 when there are 5 or 6), a line per row ---------- */
/* "of .ol-slot" counts only the events, so the Elementor editor's own helper elements don't upset the layout. */
.ol-sched{display:flex!important;flex-flow:row wrap!important;justify-content:center!important;row-gap:4rem!important;column-gap:0!important}
.ol-sched>.ol-slot{flex:0 0 25%!important;width:25%!important;max-width:25%!important;position:relative}
.ol-sched:has(>:nth-child(5 of .ol-slot)):not(:has(>:nth-child(7 of .ol-slot)))>.ol-slot{flex-basis:33.333%!important;width:33.333%!important;max-width:33.333%!important}
.ol-sched>.ol-slot::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,#b8955a)!important;opacity:1!important;mix-blend-mode:normal!important;border-radius:0!important;z-index:0}
.ol-sched>.ol-slot:nth-child(4n+1 of .ol-slot)::before{left:50%!important}
.ol-sched>.ol-slot:nth-child(4n of .ol-slot)::before,.ol-sched>.ol-slot:nth-last-child(1 of .ol-slot)::before{right:50%!important}
.ol-sched:has(>:nth-child(5 of .ol-slot)):not(:has(>:nth-child(7 of .ol-slot)))>.ol-slot::before{left:0!important;right:0!important}
.ol-sched:has(>:nth-child(5 of .ol-slot)):not(:has(>:nth-child(7 of .ol-slot)))>.ol-slot:nth-child(3n+1 of .ol-slot)::before{left:50%!important}
.ol-sched:has(>:nth-child(5 of .ol-slot)):not(:has(>:nth-child(7 of .ol-slot)))>.ol-slot:is(:nth-child(3n of .ol-slot),:nth-last-child(1 of .ol-slot))::before{right:50%!important}
.ol-sched:not(:has(>:nth-child(2 of .ol-slot)))>.ol-slot::before{display:none!important}
@media (max-width:767px){.ol-sched{row-gap:3rem!important}.ol-sched>.ol-slot{flex-basis:50%!important;width:50%!important;max-width:50%!important}.ol-sched>.ol-slot::before{display:none!important}}
