/* Candy Cane Wrap: the page is a present. The hero is wrapped in the print suite's hand-drawn paper (candy canes tied with mint bows,
   holly, little snowmen: one seamless tile, repeated), a satin ribbon runs across it, the big candy cane is tied on the ribbon as the
   bow, and the names hang below it on a giant gift tag (cut corners, the twine through its hole, a stitched border). Down the page the
   countdown numbers sit on little presents wrapped in the same paper, headings wear a holly sprig, a ribbon with the cane runs over the
   schedule, a snowman peeks in by the story, a bauble hangs by the questions, the table finder and the gifts are stitched labels, the
   RSVP section is wrapped paper with the form on a big label, and the cane closes the page. The hero is never isolated and gets no
   z-index: the fixed nav lives inside it. Layout stays with the editor's layout classes. */
.esite-skin-candy-cane-wrap {
  --sk-accent-font: "Source Sans 3", sans-serif;
  --sk-accent-style: normal;
  --sk-photo-shape: none;
  --sk-gap: 104px;
  --sk-measure: 960px;
  --cw-tile: clamp(240px, 23vw, 380px);      /* one repeat of the wrapping paper */
  --cw-bow: clamp(170px, 16vw, 240px);       /* the candy cane tied on the ribbon */
  --cw-rib: clamp(34px, 3.4vw, 50px);        /* the ribbon's width */
  --cw-cut: clamp(48px, 6vw, 76px);          /* the tag's cut corners */
  --cw-stitch: color-mix(in srgb, var(--s-accent) 80%, transparent);
}
.esite-skin-candy-cane-wrap .ss-h, .esite-skin-candy-cane-wrap .cl-names, .esite-skin-candy-cane-wrap .ss-closing-names { font-weight: 400; letter-spacing: 0; text-transform: none; }
.esite-skin-candy-cane-wrap .ss-h { font-size: calc(clamp(2.3rem, 4.2vw, 3.3rem) * var(--s-hscale, 1)); line-height: 1.2; color: var(--s-text); }
.esite-skin-candy-cane-wrap .ss-scope:not([data-type="hero"]):not([data-type="countdown"]):not([data-type="none"]) .ss-h::before { width: 96px; height: 62px; margin-bottom: 4px; }

/* ---- hero: wrapped paper, the ribbon and the cane, the names on a gift tag ---- */
.esite-skin-candy-cane-wrap .ss-hero.hs-classic { position: relative; overflow: hidden; background: var(--sk-wrap, none) 0 0 / var(--cw-tile) auto repeat, var(--s-band); }
.esite-skin-candy-cane-wrap .hs-classic .cl-panel { background: none; }
.esite-skin-candy-cane-wrap .hs-classic .cl-panel::before, .esite-skin-candy-cane-wrap .hs-classic .cl-panel::after { display: none; }
.esite-skin-candy-cane-wrap .hs-classic.no-photo .cl-panel { align-content: center; min-height: max(100svh, 820px); padding: calc(var(--cw-bow) * 1.1 + 150px) 24px 96px; }
.esite-skin-candy-cane-wrap .hs-classic.no-photo .cl-text {
  width: min(620px, 100%); padding: calc(var(--cw-cut) + 34px) clamp(28px, 5vw, 64px) 54px; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .26));
}
.esite-skin-candy-cane-wrap .hs-classic.no-photo .cl-text::before {   /* the tag: cut corners, the hole, a stitched border */
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  clip-path: polygon(var(--cw-cut) 0, calc(100% - var(--cw-cut)) 0, 100% var(--cw-cut), 100% 100%, 0 100%, 0 var(--cw-cut));
  background:
    repeating-linear-gradient(90deg, var(--cw-stitch) 0 12px, transparent 12px 21px) 16px calc(var(--cw-cut) + 8px) / calc(100% - 32px) 2px no-repeat,
    repeating-linear-gradient(90deg, var(--cw-stitch) 0 12px, transparent 12px 21px) 16px calc(100% - 16px) / calc(100% - 32px) 2px no-repeat,
    repeating-linear-gradient(180deg, var(--cw-stitch) 0 12px, transparent 12px 21px) 16px calc(var(--cw-cut) + 8px) / 2px calc(100% - var(--cw-cut) - 22px) no-repeat,
    repeating-linear-gradient(180deg, var(--cw-stitch) 0 12px, transparent 12px 21px) calc(100% - 16px) calc(var(--cw-cut) + 8px) / 2px calc(100% - var(--cw-cut) - 22px) no-repeat,
    radial-gradient(circle at 50% 34px, transparent 11px, var(--s-text) 11.5px 13.5px, var(--s-bg) 14px 19px, var(--cw-stitch) 19.5px 21px, var(--s-bg) 21.5px),
    var(--s-bg);
}
.esite-skin-candy-cane-wrap .hs-classic.no-photo .cl-text::after {   /* the ribbon across the hero, the cane tied on it, the twine down to the tag's hole */
  content: ""; position: absolute; z-index: 1; left: 50%; translate: -50% 0; pointer-events: none;
  top: calc(34px - var(--cw-bow) * 1.1 - 92px); width: 300vw; height: calc(var(--cw-bow) * 1.1 + 92px);
  background:
    var(--sk-cane, none) 50% 0 / var(--cw-bow) auto no-repeat,
    linear-gradient(var(--s-text), var(--s-text)) calc(50% - 5px) 100% / 2.5px calc(100% - var(--cw-bow) * .55) no-repeat,
    linear-gradient(var(--s-text), var(--s-text)) calc(50% + 5px) 100% / 2.5px calc(100% - var(--cw-bow) * .55) no-repeat,
    var(--sk-ribbon-h, none) 0 calc(var(--cw-bow) * .56 - var(--cw-rib) / 2) / auto var(--cw-rib) repeat-x;
}
.esite-skin-candy-cane-wrap .cl-panel .h-kicker { margin: 0 0 6px; font-family: var(--s-fbody); font-size: .875rem; font-weight: 700; font-style: normal; letter-spacing: .24em; text-transform: uppercase; color: var(--s-accent); }
.esite-skin-candy-cane-wrap .hs-classic .cl-names { justify-items: center; font-size: calc(clamp(3rem, 5.6vw, 5.2rem) * var(--s-hscale, 1)); line-height: 1.15; color: var(--s-text); text-wrap: balance; }
.esite-skin-candy-cane-wrap .hs-classic .cl-names .cn-1, .esite-skin-candy-cane-wrap .hs-classic .cl-names .cn-2 { justify-self: center; padding: 0; }
.esite-skin-candy-cane-wrap .hs-classic .cl-names .cn-amp { font-family: var(--s-fhead); font-style: normal; color: var(--s-accent); }
.esite-skin-candy-cane-wrap .cl-sub { margin-top: 12px; font-size: 1.0625rem; letter-spacing: .02em; text-transform: none; color: var(--s-text); }
.esite-skin-candy-cane-wrap .cl-facts { margin: 16px 0 24px; }
.esite-skin-candy-cane-wrap .cl-facts b { font-family: var(--s-fbody); font-weight: 700; font-size: .875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--s-accent); }
.esite-skin-candy-cane-wrap .cl-facts span { font-family: var(--s-fbody); font-size: 1.0625rem; color: var(--s-text); }
.esite-skin-candy-cane-wrap .cl-btn:not(.ghost), .esite-skin-candy-cane-wrap .ss-btn { background: var(--s-accent); color: #fff; border-color: var(--s-accent); font-weight: 700; }
.esite-skin-candy-cane-wrap .cl-btn, .esite-skin-candy-cane-wrap .ss-btn, .esite-skin-candy-cane-wrap .ss-rsvp-form .btn-rsvp, .esite-skin-candy-cane-wrap .ss-location .ss-dir { border-radius: 999px !important; }
/* a photo: a white-bordered snapshot on the wrapped paper, the words on a stitched label beside it, the cane over the photo's corner */
.esite-skin-candy-cane-wrap .hs-classic:not(.no-photo) .cl-text { padding: 40px clamp(24px, 4vw, 48px); border-radius: 18px; background: var(--s-bg);
  box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .45); outline: 2px dashed var(--cw-stitch); outline-offset: -12px; }
.esite-skin-candy-cane-wrap .hv-cover:not(.no-photo) .cl-text { color: var(--s-text); }
.esite-skin-candy-cane-wrap .hv-cover:not(.no-photo) :is(.cl-names, .cl-sub, .cl-facts span) { color: var(--s-text); }
.esite-skin-candy-cane-wrap .hv-cover:not(.no-photo) :is(.h-kicker, .cl-facts b, .cn-amp) { color: var(--s-accent); }
.esite-skin-candy-cane-wrap .hs-classic:not(.no-photo):not(.hv-cover) .cl-photo { border-radius: 4px; box-shadow: 0 0 0 14px #fff, 0 0 0 16px var(--s-text), 0 30px 50px -20px rgba(0, 0, 0, .5); }
.esite-skin-candy-cane-wrap .hs-classic:not(.no-photo):not(.hv-cover) .cl-visual::after { display: block; inset: -14% -18% auto auto; width: 40%; aspect-ratio: .9;
  background: var(--sk-cane, none) 50% 0 / contain no-repeat; z-index: 2; }
.esite-skin-candy-cane-wrap .stv-side .ss-story-img img, .esite-skin-candy-cane-wrap .stv-right .ss-story-img img { border-radius: 4px; box-shadow: 0 0 0 10px #fff, 0 0 0 12px var(--s-text); }

/* ---- countdown: each number on a little present wrapped in the paper, the cane as its bow ---- */
.esite-skin-candy-cane-wrap .ss-scope[data-type="countdown"] .ss-h { font-family: var(--s-fhead) !important; font-style: normal !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--s-text); font-size: calc(clamp(2.2rem, 3.8vw, 3.1rem) * var(--s-hscale, 1)); }
.esite-skin-candy-cane-wrap .ss-scope[data-type="countdown"]:has(.cdv-tiles) { background-color: var(--sk-sec-bg, var(--s-band)); }
.esite-skin-candy-cane-wrap .cdv-tiles .ss-cd { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 3vw, 40px); margin-top: 60px; }
.esite-skin-candy-cane-wrap .cdv-tiles .cd-unit {
  position: relative; display: flex !important; flex-direction: column; align-items: center; justify-content: center !important; gap: 6px;
  width: clamp(112px, 12vw, 150px); aspect-ratio: 1; padding: 0 !important; border: 2.5px solid var(--s-text) !important; outline: 0; border-radius: 4px; box-shadow: 0 16px 24px -16px rgba(0, 0, 0, .5);
  background: var(--sk-ribbon-v, none) 50% 0 / 20% auto repeat-y, var(--sk-ribbon-h, none) 0 50% / auto 20% repeat-x, var(--sk-wrap, none) 30% 20% / 230px auto repeat !important;
}
.esite-skin-candy-cane-wrap .cdv-tiles .cd-unit:nth-child(2n) { background-position: 50% 0, 0 50%, 70% 60% !important; }
.esite-skin-candy-cane-wrap.esite-skin-candy-cane-wrap .cdv-tiles .cd-unit.cd-unit::before { content: "" !important; display: block !important; position: absolute; left: 50%; top: -58px; bottom: auto; width: 64px; height: auto; aspect-ratio: .9; translate: -50% 0; pointer-events: none;
  background: var(--sk-cane, none) 50% 100% / contain no-repeat; }
.esite-skin-candy-cane-wrap .cdv-tiles .cd-unit::after { display: none !important; }
.esite-skin-candy-cane-wrap .cdv-tiles .cd-n { position: relative; min-width: 62%; padding: 6px 8px 2px; border-radius: 10px 10px 0 0; background: var(--s-bg); font-family: var(--s-fbody) !important; font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; color: var(--s-text); text-align: center; }
.esite-skin-candy-cane-wrap .cdv-tiles .cd-l { min-width: 62%; margin-top: -6px; padding: 2px 8px 6px; border-radius: 0 0 10px 10px; background: var(--s-bg); font-family: var(--s-fbody); color: var(--s-accent); opacity: 1; font-size: .625rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-align: center; }
.esite-skin-candy-cane-wrap .ss-countdown .cd-n { font-family: var(--s-fbody); }

/* ---- sections: the file's pieces at their sides ---- */
.esite-skin-candy-cane-wrap .ss-scope[data-type="story"]::before { top: auto; bottom: -10px; right: max(2vw, calc(50% - 660px)); left: auto; width: clamp(120px, 11vw, 170px); aspect-ratio: .62;
  background: var(--sk-snowman, none) 50% 100% / contain no-repeat; }
.esite-skin-candy-cane-wrap .ss-scope[data-type="faq"]::before { top: 0; left: max(3vw, calc(50% - 640px)); right: auto; width: clamp(70px, 7vw, 110px); aspect-ratio: .55;
  background: var(--sk-bauble-wave, none) 50% 0 / contain no-repeat; }
.esite-skin-candy-cane-wrap .ss-scope[data-type="schedule"]::before {   /* a ribbon over the top, the cane tied on it */
  inset: 0 0 auto 0; width: auto; height: 132px; aspect-ratio: auto;
  background: var(--sk-cane, none) 50% 0 / 110px auto no-repeat, var(--sk-ribbon-h, none) 0 42px / auto 36px repeat-x;
}
.esite-skin-candy-cane-wrap .ss-scope[data-type="schedule"]:not(.ss-pad-c):not(.ss-pad-s) .ss { padding-top: calc(var(--sk-gap) + 50px); }
.esite-skin-candy-cane-wrap .ss-scope[data-type="location"]::before { content: ""; position: absolute; z-index: -1; pointer-events: none; right: max(2vw, calc(50% - 640px)); bottom: 18px; width: clamp(110px, 11vw, 170px); aspect-ratio: 1.45;
  background: var(--sk-holly, none) 100% 100% / contain no-repeat; }
.esite-skin-candy-cane-wrap .schv-wide .ss-tl-time, .esite-skin-candy-cane-wrap .schv-cards .ss-tl-time, .esite-skin-candy-cane-wrap .schv-timeline .ss-tl-time, .esite-skin-candy-cane-wrap .schv-rail .ss-tl-time {
  font-family: var(--s-fbody); font-style: normal; letter-spacing: .16em; color: var(--s-accent); font-size: .875rem; font-weight: 700; text-transform: uppercase; }
.esite-skin-candy-cane-wrap .ss-tl-title { font-family: var(--s-fbody); font-size: 1.1875rem; font-weight: 700; }
.esite-skin-candy-cane-wrap .ss-faq-q { font-family: var(--s-fbody); font-size: 1.125rem; font-weight: 700; }
.esite-skin-candy-cane-wrap .ss-loc-venue { font-family: var(--s-fhead); font-style: normal; font-size: 2rem; line-height: 1.3; color: var(--s-text); }
/* the gifts: a stitched label with the cane tied on top */
.esite-skin-candy-cane-wrap .gftv-panel .ss-wrap { position: relative; aspect-ratio: auto; width: min(620px, 100%); padding: 64px 34px 46px; background: var(--s-bg); border-radius: 18px;
  box-shadow: 0 0 0 2px var(--s-text), 0 26px 50px -30px rgba(0, 0, 0, .45); outline: 2px dashed var(--cw-stitch); outline-offset: -14px; }
.esite-skin-candy-cane-wrap .ss-scope[data-type="gifts"] { background-color: var(--sk-sec-bg, var(--s-band)); }
.esite-skin-candy-cane-wrap .gftv-panel .ss-wrap::after { content: ""; position: absolute; left: 50%; top: -64px; width: 96px; aspect-ratio: .9; translate: -50% 0; pointer-events: none;
  background: var(--sk-cane, none) 50% 100% / contain no-repeat; }
.esite-skin-candy-cane-wrap .ss-scope[data-type="gifts"]:not(.ss-pad-c):not(.ss-pad-s) .ss { padding-top: calc(var(--sk-gap) * .6 + 40px); }

/* ---- find your table: a stitched label with holly on its corner ---- */
.esite-skin.esite-skin-candy-cane-wrap .ss-scope[data-type="seating"]:not([data-type="hero"]):not([data-type="countdown"]):not([data-type="none"]) .seatv-card .ss-h::before { display: none !important; }
.esite-skin-candy-cane-wrap .seatv-card .ss-seat-body { position: relative; margin-top: 30px; padding: 46px clamp(22px, 5vw, 48px) 40px; border: 2px solid var(--s-text); border-radius: 18px;
  background: var(--s-bg); box-shadow: 0 24px 50px -36px rgba(0, 0, 0, .55); outline: 2px dashed var(--cw-stitch); outline-offset: -12px; }
.esite-skin-candy-cane-wrap .seatv-card .ss-seat-body::before { content: ""; position: absolute; right: -26px; top: -34px; width: 104px; aspect-ratio: 1.45; pointer-events: none;
  background: var(--sk-holly, none) 50% 50% / contain no-repeat; }
.esite-skin-candy-cane-wrap .ss-seat-table { font-family: var(--s-fhead); font-style: normal; font-size: 1.6rem; color: var(--s-text); }

/* ---- RSVP: the section wrapped in the paper, the heading and the form on one big label tied with the cane ---- */
.esite-skin-candy-cane-wrap .ss-scope[data-type="rsvp"]:has(.rsv-tint) { background: var(--sk-wrap, none) 0 0 / var(--cw-tile) auto repeat, var(--s-band); }
.esite-skin-candy-cane-wrap .ss-scope[data-type="rsvp"]::before, .esite-skin-candy-cane-wrap .ss-scope[data-type="rsvp"]::after { display: none; }
.esite-skin-candy-cane-wrap .rsv-tint.ss-rsvp .ss-wrap { max-width: 680px; margin: 70px auto 0; padding: 74px clamp(20px, 5vw, 52px) 48px; border: 2px solid var(--s-text); border-radius: 22px;
  background: var(--s-bg); color: var(--s-text); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); outline: 2px dashed var(--cw-stitch); outline-offset: -14px; }
.esite-skin-candy-cane-wrap .rsv-tint.ss-rsvp .ss-wrap::after { content: ""; position: absolute; left: 50%; top: -86px; width: 132px; aspect-ratio: .9; translate: -50% 0; pointer-events: none;
  background: var(--sk-cane, none) 50% 100% / contain no-repeat; }
.esite-skin-candy-cane-wrap .rsv-tint .ss-rsvp-form { margin-top: 18px; padding: 8px 0 0; box-shadow: none; background: none; }
.esite-skin-candy-cane-wrap .ss-rsvp-form .btn-rsvp { border-color: var(--s-accent); background: var(--s-accent); color: #fff; }

/* ---- the last word: the cane ---- */
.esite-skin-candy-cane-wrap .ss-closing::before { width: min(50vw, 200px); height: 210px; margin-bottom: 18px; background: var(--sk-cane, none) 50% 100% / contain no-repeat; }
.esite-skin-candy-cane-wrap .ss-closing-names { color: var(--s-text); line-height: 1.25; }
.esite-skin-candy-cane-wrap .ss-closing-line { font-family: var(--s-fbody); font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--s-accent); text-wrap: balance; }

@media (max-width: 1100px) {
  .esite-skin-candy-cane-wrap .ss-scope[data-type="story"]::before, .esite-skin-candy-cane-wrap .ss-scope[data-type="faq"]::before,
  .esite-skin-candy-cane-wrap .ss-scope[data-type="location"]::before { display: none; }
}
@media (max-width: 900px) {
  .esite-skin-candy-cane-wrap { --cw-tile: 220px; --cw-bow: clamp(130px, 36vw, 170px); --cw-rib: 30px; --cw-cut: 44px; }
  .esite-skin-candy-cane-wrap .hs-classic.no-photo .cl-panel { min-height: 100svh; padding: calc(var(--cw-bow) * 1.1 + 104px) 16px 72px; }
  .esite-skin-candy-cane-wrap .hs-classic.no-photo .cl-text { padding: calc(var(--cw-cut) + 30px) 22px 42px; }
  .esite-skin-candy-cane-wrap .hs-classic .cl-names { font-size: calc(clamp(2.6rem, 11vw, 3.6rem) * var(--s-hscale, 1)); }
  .esite-skin-candy-cane-wrap .rsv-tint.ss-rsvp .ss-wrap { padding: 66px 18px 34px; }
}
@media (max-width: 640px) {
  .esite-skin-candy-cane-wrap .cdv-tiles .ss-cd { flex-wrap: nowrap; gap: 8px; }
  .esite-skin-candy-cane-wrap .cdv-tiles .cd-unit { width: 21vw; }
  .esite-skin-candy-cane-wrap.esite-skin-candy-cane-wrap .cdv-tiles .cd-unit.cd-unit::before { width: 40px; top: -36px; }
  .esite-skin-candy-cane-wrap .cdv-tiles .cd-n { font-size: 1.3rem; }
  .esite-skin-candy-cane-wrap .cdv-tiles .cd-l { font-size: .5rem; letter-spacing: .08em; }
}
