/* Countdown pages
   Shared visual layer for the event catalogue and every event page. */

.countdown-page,
.countdown-catalog-page {
  --countdown-navy: #172b3f;
  --countdown-navy-2: #223b55;
  --countdown-ink: #172638;
  --countdown-muted: #68778a;
  --countdown-line: #dfe5ea;
  --countdown-surface: #fff;
  --countdown-bg: #f4f3ef;
  --countdown-event: #e8650a;
  --countdown-event-strong: #c95108;
  --countdown-event-rgb: 232, 101, 10;
  --countdown-secondary: #2a8c7d;
  --countdown-secondary-rgb: 42, 140, 125;
  --countdown-highlight: #ffd36a;
  --countdown-soft: #fff5eb;
  --countdown-radius-lg: 24px;
  --countdown-radius-md: 16px;
  --countdown-shadow:
    0 22px 55px rgba(23, 43, 63, .11),
    0 3px 10px rgba(23, 43, 63, .05);
  background:
    radial-gradient(circle at 8% 24%, rgba(var(--countdown-event-rgb), .07), transparent 30rem),
    radial-gradient(circle at 92% 50%, rgba(var(--countdown-secondary-rgb), .06), transparent 30rem),
    var(--countdown-bg);
  color: var(--countdown-ink);
  overflow-x: hidden;
}

:where(.countdown-theme-christmas, [data-theme="christmas"]) {
  --countdown-event: #df6637;
  --countdown-event-strong: #bc4722;
  --countdown-event-rgb: 223, 102, 55;
  --countdown-secondary: #2d836c;
  --countdown-secondary-rgb: 45, 131, 108;
  --countdown-highlight: #f5c55f;
  --countdown-soft: #fff5ec;
}

:where(.countdown-theme-new-year, [data-theme="new-year"]) {
  --countdown-event: #e9a13a;
  --countdown-event-strong: #c57a13;
  --countdown-event-rgb: 233, 161, 58;
  --countdown-secondary: #7661c9;
  --countdown-secondary-rgb: 118, 97, 201;
  --countdown-highlight: #ffe08a;
  --countdown-soft: #fff8e9;
}

:where(.countdown-theme-easter, [data-theme="easter"]) {
  --countdown-event: #8c6bd5;
  --countdown-event-strong: #6d4bbb;
  --countdown-event-rgb: 140, 107, 213;
  --countdown-secondary: #e1a63a;
  --countdown-secondary-rgb: 225, 166, 58;
  --countdown-highlight: #ffe59b;
  --countdown-soft: #f7f2ff;
}

:where(.countdown-theme-halloween, [data-theme="halloween"]) {
  --countdown-event: #ec7625;
  --countdown-event-strong: #c7540d;
  --countdown-event-rgb: 236, 118, 37;
  --countdown-secondary: #7955b7;
  --countdown-secondary-rgb: 121, 85, 183;
  --countdown-highlight: #ffc45d;
  --countdown-soft: #fff3e8;
}

:where(.countdown-theme-valentine, [data-theme="valentine"]) {
  --countdown-event: #dc5676;
  --countdown-event-strong: #bb3658;
  --countdown-event-rgb: 220, 86, 118;
  --countdown-secondary: #a14175;
  --countdown-secondary-rgb: 161, 65, 117;
  --countdown-highlight: #ffc2cf;
  --countdown-soft: #fff1f5;
}

:where(.countdown-theme-christmas-eve, [data-theme="christmas-eve"]) {
  --countdown-event: #d49a42;
  --countdown-event-strong: #ad7120;
  --countdown-event-rgb: 212, 154, 66;
  --countdown-secondary: #34786e;
  --countdown-secondary-rgb: 52, 120, 110;
  --countdown-highlight: #ffe2a0;
  --countdown-soft: #fff8e9;
}

:where(.countdown-theme-summer, [data-theme="summer"]) {
  --countdown-event: #f09932;
  --countdown-event-strong: #cd7110;
  --countdown-event-rgb: 240, 153, 50;
  --countdown-secondary: #168fa1;
  --countdown-secondary-rgb: 22, 143, 161;
  --countdown-highlight: #ffdf72;
  --countdown-soft: #fff8e7;
}

.countdown-page *,
.countdown-page *::before,
.countdown-page *::after,
.countdown-catalog-page *,
.countdown-catalog-page *::before,
.countdown-catalog-page *::after {
  box-sizing: border-box;
}

.countdown-page :where(a, button),
.countdown-catalog-page :where(a, button) {
  -webkit-tap-highlight-color: transparent;
}

.countdown-page :where(a, button):focus-visible,
.countdown-catalog-page :where(a, button):focus-visible {
  outline: 3px solid rgba(var(--countdown-event-rgb), .36);
  outline-offset: 3px;
}

/* Hero */

.countdown-hero,
.countdown-catalog-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 370px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 16%, rgba(var(--countdown-event-rgb), .28), transparent 24rem),
    radial-gradient(circle at 12% 95%, rgba(var(--countdown-secondary-rgb), .22), transparent 26rem),
    linear-gradient(132deg, #14283c 0%, var(--countdown-navy-2) 56%, #182f48 100%);
}

.countdown-hero::before,
.countdown-catalog-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .32;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.countdown-hero::after,
.countdown-catalog-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 20%;
  right: 8%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .8);
  box-shadow:
    80px 34px 0 rgba(255, 255, 255, .36),
    -76px 78px 0 rgba(var(--countdown-event-rgb), .78),
    104px 126px 0 rgba(var(--countdown-highlight), .58),
    -28px 168px 0 rgba(255, 255, 255, .28),
    -146px 24px 0 rgba(var(--countdown-secondary-rgb), .7);
  animation: countdown-particles 7s ease-in-out infinite;
}

.countdown-hero__inner,
.countdown-catalog-hero__inner {
  width: min(100% - 40px, 1180px);
  min-height: 370px;
  margin: 0 auto;
  padding: 54px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
}

.countdown-hero__copy,
.countdown-catalog-hero__copy {
  min-width: 0;
}

.countdown-back {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  padding: 10px 15px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 11px;
  background: rgba(255, 255, 255, .09);
  box-shadow: inset 0 1px rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.countdown-back:hover {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .15);
  transform: translateY(-1px);
}

.countdown-badge,
.countdown-catalog-badge {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  box-shadow: inset 0 1px rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.countdown-badge span,
.countdown-catalog-badge span {
  font-size: 18px;
  line-height: 1;
}

.countdown-hero h1,
.countdown-catalog-hero h1 {
  max-width: 790px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 5.4vw, 66px);
  font-weight: 780;
  letter-spacing: -.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.countdown-hero__copy > p,
.countdown-catalog-hero__copy > p {
  max-width: 680px;
  margin: 19px 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
}

.countdown-hero__art,
.countdown-catalog-hero__art {
  position: relative;
  width: min(100%, 350px);
  aspect-ratio: 1.14;
  justify-self: end;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 46% 54% 48% 52% / 50% 44% 56% 50%;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, .16), transparent 44%),
    rgba(255, 255, 255, .055);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .12),
    0 24px 60px rgba(0, 0, 0, .19);
  animation: countdown-float 6s ease-in-out infinite;
}

.countdown-hero__art::before,
.countdown-catalog-hero__art::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(var(--countdown-event-rgb), .32);
  border-radius: 50%;
  animation: countdown-orbit 26s linear infinite;
}

.countdown-art {
  position: relative;
  z-index: 1;
  display: block;
  width: min(82%, 280px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .16));
}

.countdown-art .art-fill-1 {
  fill: rgba(255, 255, 255, .94);
}

.countdown-art .art-fill-2 {
  fill: var(--countdown-event);
}

.countdown-art .art-fill-3 {
  fill: var(--countdown-secondary);
}

.countdown-art .art-line {
  fill: none;
  stroke: rgba(255, 255, 255, .9);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.countdown-art .art-line--wide {
  stroke-width: 5;
}

.countdown-art .art-spark {
  fill: var(--countdown-highlight);
  transform-box: fill-box;
  transform-origin: center;
  animation: countdown-spark 2.8s ease-in-out infinite;
}

.countdown-art .art-spark:nth-of-type(even) {
  animation-delay: -1.2s;
}

/* Main calculator */

.countdown-main,
.countdown-catalog-main {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 1180px);
  min-width: 0;
  margin: -58px auto 0;
  padding: 0 0 82px;
}

.countdown-clock.panel {
  position: relative;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  padding: clamp(22px, 3.2vw, 38px);
  border: 1px solid rgba(23, 43, 63, .11);
  border-radius: var(--countdown-radius-lg);
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--countdown-shadow);
}

.countdown-clock.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--countdown-event), var(--countdown-secondary));
}

.countdown-clock.panel::after {
  content: "";
  position: absolute;
  top: -170px;
  right: -170px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(var(--countdown-event-rgb), .08), transparent 70%);
}

.countdown-clock__top {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.countdown-clock__top > div {
  min-width: 0;
}

.countdown-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--countdown-event-strong);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.countdown-clock__top h2 {
  min-height: 39px;
  margin: 0;
  color: var(--countdown-ink);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 760;
  letter-spacing: -.035em;
  line-height: 1.12;
  text-wrap: balance;
}

.countdown-target {
  min-height: 24px;
  margin: 8px 0 0;
  color: var(--countdown-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.countdown-share {
  position: relative;
  z-index: 2;
  min-height: 43px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  color: var(--countdown-navy);
  border: 1px solid #d8e0e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(23, 43, 63, .05);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.countdown-share:hover {
  color: var(--countdown-event-strong);
  border-color: rgba(var(--countdown-event-rgb), .5);
  box-shadow: 0 7px 18px rgba(var(--countdown-event-rgb), .13);
  transform: translateY(-1px);
}

.countdown-celebration {
  min-height: 58px;
  margin: 22px 0 0;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--countdown-ink);
  border: 1px solid rgba(var(--countdown-event-rgb), .28);
  border-radius: 14px;
  background:
    linear-gradient(110deg, rgba(var(--countdown-event-rgb), .14), rgba(var(--countdown-secondary-rgb), .12));
  font-size: 15px;
  font-weight: 750;
  text-align: center;
}

.countdown-celebration[hidden] {
  display: flex !important;
  visibility: hidden;
}

.countdown-units {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 18px);
  margin-top: 20px;
}

.countdown-unit {
  min-width: 0;
  min-height: 150px;
  padding: 20px 12px 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--countdown-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #fff, #f8fafb);
  box-shadow: 0 8px 22px rgba(23, 43, 63, .055);
}

.countdown-unit--days {
  border-color: transparent;
  background:
    radial-gradient(circle at 76% 12%, rgba(255, 255, 255, .12), transparent 38%),
    linear-gradient(145deg, var(--countdown-navy), var(--countdown-navy-2));
}

.countdown-unit strong {
  min-width: 2.4ch;
  min-height: 76px;
  display: grid;
  place-items: center;
  color: var(--countdown-ink);
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 780;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.055em;
  line-height: 1;
}

.countdown-unit--days strong {
  color: var(--countdown-highlight);
}

.countdown-unit span {
  min-height: 20px;
  margin-top: 7px;
  color: var(--countdown-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.countdown-unit--days span {
  color: rgba(255, 255, 255, .72);
}

.countdown-unit:last-child strong {
  transform-origin: center;
  animation: countdown-tick 1s ease-out infinite;
}

.countdown-season-note {
  min-height: 48px;
  margin: 14px 0 0;
  padding: 11px 14px;
  align-items: center;
  justify-content: center;
  color: #126978;
  border: 1px solid rgba(var(--countdown-secondary-rgb), .23);
  border-radius: 12px;
  background: rgba(var(--countdown-secondary-rgb), .09);
  font-size: 13px;
  font-weight: 680;
  line-height: 1.45;
  text-align: center;
}

.countdown-theme-summer .countdown-season-note {
  display: flex;
}

.countdown-theme-summer .countdown-season-note[hidden] {
  display: flex !important;
  visibility: hidden;
}

.countdown-progress {
  margin-top: 26px;
}

.countdown-progress__line {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8ecef;
  box-shadow: inset 0 1px 2px rgba(23, 43, 63, .08);
}

.countdown-progress__line span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--countdown-event), var(--countdown-secondary));
  box-shadow: 0 0 18px rgba(var(--countdown-event-rgb), .28);
  transition: width .65s cubic-bezier(.2, .7, .2, 1);
}

.countdown-progress__line span::after {
  content: "";
  float: right;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--countdown-secondary);
  box-shadow: 0 1px 5px rgba(23, 43, 63, .24);
}

.countdown-progress__labels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 9px;
  color: var(--countdown-muted);
  font-size: 10px;
  line-height: 1.35;
}

.countdown-progress__labels > :last-child {
  text-align: right;
}

.countdown-progress__labels strong {
  max-width: 330px;
  color: var(--countdown-ink);
  font-weight: 720;
  text-align: center;
}

.countdown-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  min-height: 94px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--countdown-line);
  border-radius: 15px;
  background: var(--countdown-line);
}

.countdown-stats > div {
  min-width: 0;
  min-height: 92px;
  padding: 15px 13px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fbfcfd;
}

.countdown-stats span {
  display: block;
  color: var(--countdown-muted);
  font-size: 9px;
  font-weight: 780;
  letter-spacing: .065em;
  line-height: 1.35;
  text-transform: uppercase;
}

.countdown-stats strong {
  min-height: 25px;
  margin-top: 5px;
  color: var(--countdown-ink);
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 760;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.countdown-share-status {
  min-height: 20px;
  margin: 9px 0 0;
  color: var(--countdown-secondary);
  font-size: 12px;
  font-weight: 680;
  text-align: right;
}

.countdown-rule {
  margin: 4px 0 0;
  padding: 13px 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--countdown-muted);
  border: 1px solid rgba(var(--countdown-event-rgb), .17);
  border-radius: 12px;
  background: var(--countdown-soft);
  font-size: 12px;
  line-height: 1.55;
}

.countdown-rule > span {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--countdown-event);
  font-size: 11px;
  font-weight: 800;
  font-style: normal;
}

/* SEO sections */

.countdown-content-section,
.countdown-catalog-section {
  min-width: 0;
  margin-top: clamp(58px, 7vw, 82px);
}

.countdown-section-heading,
.countdown-catalog-section__heading {
  max-width: 790px;
  margin-bottom: 24px;
}

.countdown-section-heading > span,
.countdown-catalog-section__heading > span {
  display: block;
  margin-bottom: 7px;
  color: var(--countdown-event-strong);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.countdown-section-heading h2,
.countdown-catalog-section__heading h2 {
  margin: 0;
  color: var(--countdown-ink);
  font-size: clamp(25px, 3.3vw, 38px);
  font-weight: 760;
  letter-spacing: -.035em;
  line-height: 1.14;
  text-wrap: balance;
}

.countdown-section-heading p,
.countdown-catalog-section__heading p {
  margin: 10px 0 0;
  color: var(--countdown-muted);
  font-size: 14px;
  line-height: 1.7;
}

.countdown-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.countdown-facts article {
  position: relative;
  min-width: 0;
  min-height: 188px;
  overflow: hidden;
  padding: 25px 25px 24px;
  border: 1px solid var(--countdown-line);
  border-radius: var(--countdown-radius-md);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 7px 22px rgba(23, 43, 63, .045);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.countdown-facts article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--countdown-event), var(--countdown-secondary));
}

.countdown-facts article:hover {
  border-color: rgba(var(--countdown-event-rgb), .3);
  box-shadow: 0 14px 34px rgba(23, 43, 63, .08);
  transform: translateY(-2px);
}

.countdown-facts article > span {
  position: absolute;
  top: 16px;
  right: 20px;
  color: rgba(var(--countdown-event-rgb), .13);
  font-size: 38px;
  font-weight: 820;
  line-height: 1;
}

.countdown-facts h3,
.countdown-plan h3 {
  position: relative;
  max-width: calc(100% - 42px);
  margin: 0;
  color: var(--countdown-ink);
  font-size: 17px;
  font-weight: 740;
  line-height: 1.35;
}

.countdown-facts p,
.countdown-plan p {
  position: relative;
  margin: 9px 0 0;
  color: var(--countdown-muted);
  font-size: 13px;
  line-height: 1.72;
}

.countdown-curiosities {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--countdown-radius-lg);
  background:
    radial-gradient(circle at 92% 8%, rgba(var(--countdown-event-rgb), .24), transparent 20rem),
    radial-gradient(circle at 6% 100%, rgba(var(--countdown-secondary-rgb), .22), transparent 23rem),
    linear-gradient(135deg, #15293d, #203a54);
  box-shadow: var(--countdown-shadow);
}

.countdown-curiosities::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(135deg, #000, transparent 80%);
}

.countdown-curiosities .countdown-section-heading {
  position: relative;
  z-index: 1;
}

.countdown-curiosities .countdown-section-heading > span {
  color: var(--countdown-highlight);
}

.countdown-curiosities .countdown-section-heading h2 {
  color: #fff;
}

.countdown-curiosities .countdown-section-heading p {
  color: rgba(255, 255, 255, .7);
}

.countdown-curiosities__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.countdown-curiosities__grid article {
  min-width: 0;
  min-height: 185px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--countdown-radius-md);
  background: rgba(255, 255, 255, .075);
  box-shadow: inset 0 1px rgba(255, 255, 255, .055);
  backdrop-filter: blur(8px);
  transition: border-color .22s ease, background .22s ease, transform .22s ease;
}

.countdown-curiosities__grid article:hover {
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .105);
  transform: translateY(-2px);
}

.countdown-curiosities__icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 15px;
  background: rgba(var(--countdown-event-rgb), .22);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
  font-size: 25px;
  line-height: 1;
}

.countdown-curiosities__grid article > div:last-child {
  min-width: 0;
}

.countdown-curiosities__grid h3 {
  margin: 2px 0 0;
  color: #fff;
  font-size: 16px;
  font-weight: 740;
  line-height: 1.4;
}

.countdown-curiosities__grid p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.7;
}

.countdown-table-wrap {
  min-width: 0;
  overflow: auto;
  border: 1px solid var(--countdown-line);
  border-radius: var(--countdown-radius-md);
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 43, 63, .05);
  scrollbar-width: thin;
}

.countdown-easter-section .countdown-table-wrap {
  min-height: 320px;
}

.countdown-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  color: var(--countdown-ink);
  font-size: 13px;
}

.countdown-table-wrap th,
.countdown-table-wrap td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--countdown-line);
  text-align: left;
}

.countdown-table-wrap th {
  color: var(--countdown-muted);
  background: #f7f9fa;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.countdown-table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.countdown-table-wrap tbody tr:nth-child(even) {
  background: rgba(var(--countdown-event-rgb), .035);
}

.countdown-plan {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.countdown-plan::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 28px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--countdown-event), var(--countdown-secondary));
}

.countdown-plan article {
  min-width: 0;
  min-height: 178px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid var(--countdown-line);
  border-radius: var(--countdown-radius-md);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px rgba(23, 43, 63, .05);
}

.countdown-plan__marker {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--countdown-event);
  box-shadow: 0 5px 14px rgba(var(--countdown-event-rgb), .24);
  font-size: 12px;
  font-weight: 800;
}

.countdown-plan article > div:last-child {
  min-width: 0;
}

.countdown-plan h3 {
  max-width: none;
  padding-top: 7px;
}

.countdown-faq {
  display: grid;
  gap: 10px;
}

.countdown-faq__item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--countdown-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 4px 14px rgba(23, 43, 63, .035);
}

.countdown-faq__question {
  width: 100%;
  min-height: 62px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--countdown-ink);
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.countdown-faq__question:hover,
.countdown-faq__item.open .countdown-faq__question {
  color: var(--countdown-event-strong);
  background: var(--countdown-soft);
}

.countdown-faq__question > span {
  min-width: 0;
}

.countdown-faq__question i {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  color: var(--countdown-event-strong);
  border: 1px solid rgba(var(--countdown-event-rgb), .24);
  border-radius: 50%;
  background: #fff;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  transition: transform .22s ease, color .22s ease, background .22s ease;
}

.countdown-faq__question[aria-expanded="true"] i,
.countdown-faq__item.open .countdown-faq__question i {
  color: #fff;
  background: var(--countdown-event);
  transform: rotate(45deg);
}

.countdown-faq__answer {
  padding: 0 18px 18px;
  color: var(--countdown-muted);
  border-top: 1px solid rgba(223, 229, 234, .75);
}

.countdown-faq__answer[hidden] {
  display: none;
}

.countdown-faq__answer p {
  max-width: 920px;
  margin: 15px 0 0;
  font-size: 13px;
  line-height: 1.72;
}

/* Related event cards */

.countdown-related,
.countdown-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.countdown-related__card,
.countdown-catalog-card {
  --card-event: var(--countdown-event);
  --card-event-rgb: var(--countdown-event-rgb);
  --card-secondary: var(--countdown-secondary);
  min-width: 0;
  min-height: 252px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(135px, .72fr) minmax(0, 1.28fr);
  color: var(--countdown-ink);
  border: 1px solid var(--countdown-line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 43, 63, .055);
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.countdown-related__card:hover,
.countdown-catalog-card:hover {
  border-color: rgba(var(--card-event-rgb), .36);
  box-shadow: 0 16px 38px rgba(23, 43, 63, .1);
  transform: translateY(-3px);
}

.countdown-card--christmas {
  --card-event: #df6637;
  --card-event-rgb: 223, 102, 55;
  --card-secondary: #2d836c;
}

.countdown-card--new-year {
  --card-event: #e9a13a;
  --card-event-rgb: 233, 161, 58;
  --card-secondary: #7661c9;
}

.countdown-card--easter {
  --card-event: #8c6bd5;
  --card-event-rgb: 140, 107, 213;
  --card-secondary: #e1a63a;
}

.countdown-card--halloween {
  --card-event: #ec7625;
  --card-event-rgb: 236, 118, 37;
  --card-secondary: #7955b7;
}

.countdown-card--valentine {
  --card-event: #dc5676;
  --card-event-rgb: 220, 86, 118;
  --card-secondary: #a14175;
}

.countdown-card--christmas-eve {
  --card-event: #d49a42;
  --card-event-rgb: 212, 154, 66;
  --card-secondary: #34786e;
}

.countdown-card--summer {
  --card-event: #f09932;
  --card-event-rgb: 240, 153, 50;
  --card-secondary: #168fa1;
}

.countdown-related__art,
.countdown-catalog-card__art {
  position: relative;
  min-width: 0;
  min-height: 100%;
  padding: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .17), transparent 38%),
    linear-gradient(145deg, var(--countdown-navy), #29445f);
}

.countdown-related__art::after,
.countdown-catalog-card__art::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px dashed rgba(var(--card-event-rgb), .4);
  border-radius: 50%;
}

.countdown-related__art .countdown-art,
.countdown-catalog-card__art .countdown-art {
  z-index: 1;
  width: min(100%, 150px);
  --countdown-event: var(--card-event);
  --countdown-secondary: var(--card-secondary);
}

.countdown-related__body,
.countdown-catalog-card__body {
  min-width: 0;
  padding: 23px 22px;
  display: flex;
  flex-direction: column;
}

.countdown-related__body > span,
.countdown-catalog-card__body > span,
.countdown-catalog-card__status {
  color: var(--card-event);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: .09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.countdown-related__body h3,
.countdown-catalog-card__body h2,
.countdown-catalog-card__body h3 {
  margin: 7px 0 0;
  color: var(--countdown-ink);
  font-size: 18px;
  font-weight: 740;
  letter-spacing: -.02em;
  line-height: 1.32;
}

.countdown-related__body > p,
.countdown-catalog-card__body > p {
  margin: 8px 0 17px;
  color: var(--countdown-muted);
  font-size: 12px;
  line-height: 1.62;
}

.countdown-related__body > div,
.countdown-catalog-card__count {
  min-height: 60px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--countdown-line);
  font-variant-numeric: tabular-nums;
}

.countdown-related__body > div strong,
.countdown-catalog-card__count strong {
  color: var(--card-event);
  font-size: 28px;
  font-weight: 790;
  letter-spacing: -.04em;
  line-height: 1;
}

.countdown-related__body > div > span,
.countdown-catalog-card__count > span {
  color: var(--countdown-muted);
  font-size: 11px;
  font-weight: 700;
}

.countdown-related__body small,
.countdown-catalog-card__count small {
  display: block;
  min-height: 17px;
  margin-top: 4px;
  color: var(--countdown-muted);
  font-size: 10px;
  line-height: 1.45;
}

.countdown-related__card.is-next,
.countdown-catalog-card.is-next {
  border-color: rgba(var(--card-event-rgb), .52);
  box-shadow: 0 12px 32px rgba(var(--card-event-rgb), .13);
}

.countdown-related__card.is-today,
.countdown-related__card.is-active,
.countdown-catalog-card.is-today,
.countdown-catalog-card.is-active {
  border-color: var(--card-event);
}

/* Catalogue page classes. The landing can use either the detailed elements
   below or the same card sub-elements as the related cards. */

.countdown-catalog-main {
  margin-top: -58px;
}

.countdown-catalog-intro {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(23, 43, 63, .11);
  border-radius: var(--countdown-radius-lg);
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--countdown-shadow);
}

.countdown-catalog-intro h2 {
  margin: 0;
  color: var(--countdown-ink);
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -.035em;
  line-height: 1.15;
}

.countdown-catalog-intro p {
  max-width: 820px;
  margin: 10px 0 0;
  color: var(--countdown-muted);
  font-size: 14px;
  line-height: 1.72;
}

.countdown-catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.countdown-catalog-card {
  min-height: 275px;
}

.countdown-directory {
  margin-top: 0;
  padding: clamp(23px, 3.2vw, 38px);
  border: 1px solid rgba(23, 43, 63, .11);
  border-radius: var(--countdown-radius-lg);
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--countdown-shadow);
}

.countdown-directory > .countdown-section-heading {
  max-width: 850px;
}

.countdown-hub-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.countdown-catalog-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.countdown-catalog-info > article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--countdown-line);
  border-radius: var(--countdown-radius-md);
  background: rgba(255, 255, 255, .9);
}

.countdown-catalog-info h3 {
  margin: 0;
  color: var(--countdown-ink);
  font-size: 16px;
  line-height: 1.4;
}

.countdown-catalog-info p {
  margin: 8px 0 0;
  color: var(--countdown-muted);
  font-size: 13px;
  line-height: 1.68;
}

.countdown-noscript {
  width: min(100% - 32px, 1180px);
  margin: 18px auto;
  padding: 14px 16px;
  color: #8a3d08;
  border: 1px solid #f2c7a7;
  border-radius: 12px;
  background: #fff4e9;
  font-size: 13px;
  text-align: center;
}

.countdown-page .footer,
.countdown-catalog-page .footer {
  position: relative;
  margin-top: 0;
  border-top-color: var(--countdown-event);
}

.countdown-page .footer__brand .nav__logo,
.countdown-catalog-page .footer__brand .nav__logo {
  font-size: 19px;
}

/* Motion */

@keyframes countdown-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-.3deg); }
  50% { transform: translate3d(0, -7px, 0) rotate(.5deg); }
}

@keyframes countdown-orbit {
  to { transform: rotate(360deg); }
}

@keyframes countdown-spark {
  0%, 100% { opacity: .55; transform: scale(.82); }
  50% { opacity: 1; transform: scale(1.18); }
}

@keyframes countdown-particles {
  0%, 100% { opacity: .46; transform: translate3d(0, 0, 0); }
  50% { opacity: .85; transform: translate3d(-7px, 8px, 0); }
}

@keyframes countdown-tick {
  0% { transform: scale(.97); opacity: .86; }
  18%, 100% { transform: scale(1); opacity: 1; }
}

/* Tablet */

@media (max-width: 900px) {
  .countdown-hero__inner,
  .countdown-catalog-hero__inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr);
    gap: 24px;
  }

  .countdown-hero__art,
  .countdown-catalog-hero__art {
    width: min(100%, 285px);
  }

  .countdown-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .countdown-plan {
    grid-template-columns: 1fr;
  }

  .countdown-plan::before {
    top: 20px;
    bottom: 20px;
    left: 39px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .countdown-plan article {
    min-height: 0;
  }

  .countdown-related__card,
  .countdown-catalog-card {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .countdown-catalog-info {
    grid-template-columns: 1fr;
  }
}

/* Mobile, checked around a 393 px viewport */

@media (max-width: 680px) {
  .countdown-hero,
  .countdown-catalog-hero {
    min-height: 0;
  }

  .countdown-hero__inner,
  .countdown-catalog-hero__inner {
    width: min(100% - 28px, 1180px);
    min-height: 0;
    padding: 35px 0 88px;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .countdown-back {
    margin-top: 18px;
    padding: 9px 13px;
    font-size: 12px;
  }

  .countdown-badge,
  .countdown-catalog-badge {
    margin-bottom: 13px;
    padding: 6px 10px;
    font-size: 9px;
  }

  .countdown-hero h1,
  .countdown-catalog-hero h1 {
    font-size: clamp(34px, 10.5vw, 48px);
    line-height: 1.04;
  }

  .countdown-hero__copy > p,
  .countdown-catalog-hero__copy > p {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.62;
  }

  .countdown-hero__art,
  .countdown-catalog-hero__art {
    width: 210px;
    max-width: 72vw;
    justify-self: center;
  }

  .countdown-hero::after,
  .countdown-catalog-hero::after {
    right: 18%;
  }

  .countdown-main,
  .countdown-catalog-main {
    width: min(100% - 24px, 1180px);
    margin-top: -54px;
    padding-bottom: 58px;
  }

  .countdown-clock.panel {
    padding: 21px 14px 17px;
    border-radius: 19px;
  }

  .countdown-clock__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 8px;
  }

  .countdown-clock__top > div {
    grid-column: 1 / -1;
  }

  .countdown-clock__top h2 {
    min-height: 58px;
    font-size: 25px;
  }

  .countdown-target {
    min-height: 42px;
    font-size: 12px;
  }

  .countdown-share {
    grid-column: 2;
    min-height: 40px;
    padding: 8px 13px;
  }

  .countdown-celebration {
    min-height: 58px;
    margin-top: 14px;
    padding: 11px 12px;
    font-size: 13px;
  }

  .countdown-units {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .countdown-unit {
    min-height: 112px;
    padding: 14px 8px 12px;
    border-radius: 14px;
  }

  .countdown-unit strong {
    min-height: 49px;
    font-size: clamp(38px, 12vw, 50px);
  }

  .countdown-unit span {
    min-height: 17px;
    margin-top: 5px;
    font-size: 9px;
  }

  .countdown-season-note {
    min-height: 53px;
    padding: 10px;
    font-size: 12px;
  }

  .countdown-progress {
    margin-top: 20px;
  }

  .countdown-progress__labels {
    gap: 5px;
    font-size: 8.5px;
  }

  .countdown-progress__labels strong {
    max-width: 140px;
    font-size: 9px;
  }

  .countdown-stats {
    min-height: 162px;
    margin-top: 19px;
    border-radius: 13px;
  }

  .countdown-stats > div {
    min-height: 80px;
    padding: 12px 10px;
  }

  .countdown-stats span {
    font-size: 8px;
  }

  .countdown-stats strong {
    min-height: 22px;
    font-size: 15px;
  }

  .countdown-share-status {
    min-height: 18px;
    margin-top: 7px;
    font-size: 11px;
  }

  .countdown-rule {
    padding: 11px;
    font-size: 11px;
  }

  .countdown-content-section,
  .countdown-catalog-section {
    margin-top: 54px;
  }

  .countdown-section-heading,
  .countdown-catalog-section__heading {
    margin-bottom: 18px;
  }

  .countdown-section-heading h2,
  .countdown-catalog-section__heading h2 {
    font-size: 27px;
  }

  .countdown-facts,
  .countdown-curiosities__grid,
  .countdown-related,
  .countdown-catalog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .countdown-curiosities {
    padding: 23px 16px 16px;
    border-radius: 19px;
  }

  .countdown-curiosities__grid article {
    min-height: 0;
    padding: 19px 17px;
  }

  .countdown-curiosities__icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 13px;
    font-size: 22px;
  }

  .countdown-facts article {
    min-height: 0;
    padding: 21px 20px 20px;
  }

  .countdown-facts h3 {
    font-size: 16px;
  }

  .countdown-table-wrap th,
  .countdown-table-wrap td {
    padding: 12px 11px;
    font-size: 11px;
  }

  .countdown-easter-section .countdown-table-wrap {
    min-height: 285px;
  }

  .countdown-plan article {
    padding: 18px 16px;
    gap: 11px;
  }

  .countdown-plan::before {
    left: 33px;
  }

  .countdown-plan__marker {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .countdown-faq__question {
    min-height: 60px;
    padding: 14px;
    gap: 10px;
    font-size: 13px;
  }

  .countdown-faq__answer {
    padding: 0 14px 15px;
  }

  .countdown-related__card,
  .countdown-catalog-card {
    min-height: 0;
    grid-template-columns: 100px minmax(0, 1fr);
    border-radius: 16px;
  }

  .countdown-related__art,
  .countdown-catalog-card__art {
    min-height: 210px;
    padding: 11px;
  }

  .countdown-related__art::after,
  .countdown-catalog-card__art::after {
    width: 82px;
    height: 82px;
  }

  .countdown-related__body,
  .countdown-catalog-card__body {
    padding: 18px 14px;
  }

  .countdown-related__body h3,
  .countdown-catalog-card__body h2,
  .countdown-catalog-card__body h3 {
    font-size: 15px;
  }

  .countdown-related__body > p,
  .countdown-catalog-card__body > p {
    margin-bottom: 13px;
    font-size: 11px;
  }

  .countdown-related__body > div strong,
  .countdown-catalog-card__count strong {
    font-size: 24px;
  }

  .countdown-catalog-intro {
    padding: 22px 17px;
    border-radius: 19px;
  }

  .countdown-directory {
    padding: 22px 14px 14px;
    border-radius: 19px;
  }

  .countdown-hub-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 370px) {
  .countdown-progress__labels {
    grid-template-columns: minmax(0, 1fr) minmax(90px, auto) minmax(0, 1fr);
  }

  .countdown-related__card,
  .countdown-catalog-card {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .countdown-related__art,
  .countdown-catalog-card__art {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .countdown-page *,
  .countdown-page *::before,
  .countdown-page *::after,
  .countdown-catalog-page *,
  .countdown-catalog-page *::before,
  .countdown-catalog-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .countdown-page .nav,
  .countdown-page .footer,
  .countdown-back,
  .countdown-share,
  .countdown-related,
  .countdown-share-status {
    display: none !important;
  }

  .countdown-page {
    background: #fff !important;
  }

  .countdown-hero {
    min-height: 0;
    color: #000;
    background: #fff !important;
  }

  .countdown-hero__inner {
    min-height: 0;
    padding: 20px 0;
    grid-template-columns: 1fr;
  }

  .countdown-hero h1,
  .countdown-hero__copy > p {
    color: #000;
  }

  .countdown-hero__art {
    display: none;
  }

  .countdown-main {
    width: 100%;
    margin: 0;
  }

  .countdown-clock.panel,
  .countdown-facts article,
  .countdown-plan article,
  .countdown-faq__item {
    break-inside: avoid;
    box-shadow: none;
  }
}
