/* Dark tint (r, g, b) used by the hero overlay and the card shadows */
.st-page--event {
  --st-tint: 0, 36, 59;
}

.st-page--event:has(.st-ev) {
  padding-top: var(--header);
  padding-bottom: 3rem;
  background: var(--paper);
}

/*
 * Page themes: a class on the description root (<div class="st-ev st-ev--capodanno">)
 * recolours the whole event page by redefining the template colour variables.
 * The site header keeps the brand colours.
 */
.st-page--event:has(.st-ev--capodanno) {
  --navy: #981a1a;
  --navy-deep: #5c0c10;
  --gold: #f2c14e;
  --gold-ink: #4a0a0d;
  --paper: #fbf4f1;
  --ink: #3a1a1a;
  --muted: #7d5a57;
  --line: rgba(152, 26, 26, 0.14);
  --shadow: 0 18px 50px rgba(92, 12, 16, 0.2);
  --st-tint: 74, 10, 13;
}

/* Festive sparkle on the countdown */
.st-page--event:has(.st-ev--capodanno) .st-ev__countdown {
  background:
    radial-gradient(circle at 12% 20%, rgba(242, 193, 78, 0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 30%, rgba(255, 255, 255, 0.35) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 30% 85%, rgba(255, 255, 255, 0.25) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 68% 78%, rgba(242, 193, 78, 0.3) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 88%, rgba(242, 193, 78, 0.25) 0 1.5px, transparent 2.5px),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}

/* Hero */

.st-page--event .ic-image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 20rem;
  padding: 3rem 1.5rem;
}

.st-page--event .ic-image::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -15%;
  bottom: -15%;
  background-image: var(--st-event-photo);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transform: translate3d(0, var(--st-photo-shift, 0px), 0);
}

.st-page--event .ic-image__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(var(--st-tint), 0.62), rgba(var(--st-tint), 0.28) 42%, rgba(var(--st-tint), 0.55));
  pointer-events: none;
}

.st-page--event .ic-image__logo {
  position: relative;
  z-index: 2;
  width: min(400px, 72%);
  height: auto;
  animation: st-event-logo 2.5s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

@keyframes st-event-logo {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Page frame */

.st-ev {
  width: min(72rem, calc(100% - 8vw));
  margin: 0 auto;
  padding: 2.4rem 0 1rem;
  color: var(--ink);
  counter-reset: st-sec;
}

/* The description may still carry its own .st-ev wrapper */
.st-ev .st-ev {
  width: auto;
  margin: 0;
  padding: 0;
}

.st-ev--hero {
  padding-top: 0;
}

.st-ev--hero .st-ev__stats {
  position: relative;
  z-index: 3;
  margin-top: -3.2rem;
}

.st-ev__layout {
  display: grid;
  gap: 1.5rem;
}

.st-ev__main {
  min-width: 0;
}

/* Stats */

.st-ev--hero:not(:has(.st-ev__stats)) {
  padding-top: 2.4rem;
}

.st-ev__stats {
  display: grid;
  grid-template-columns: repeat(var(--st-stats, 4), 1fr);
  gap: 0.75rem;
  margin: 0 0 2.6rem;
  padding: 0;
  list-style: none;
}

.st-ev__stats li {
  padding: 0.95rem 1rem 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(var(--st-tint), 0.06), 0 8px 20px -8px rgba(var(--st-tint), 0.16);
}

.st-ev__stats span,
.st-ev__price small,
.st-ev__day-label,
.st-ev__booking-label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.st-ev__stats strong {
  display: block;
  margin-top: 0.3rem;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Intro */

.st-ev__title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.st-ev__title::before {
  content: "";
  display: block;
  width: 2.4rem;
  height: 3px;
  margin-bottom: 0.95rem;
  background: var(--gold);
}

.st-ev__credit {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Booking card */

.st-ev__booking {
  position: relative;
  overflow: hidden;
  padding: 1.4rem 1.4rem 5rem;
  color: #fff;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.st-ev__booking .st-ev__booking-label {
  color: rgba(255, 255, 255, 0.6);
}

.st-ev__booking-block {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.st-ev__booking-block:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.st-ev__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.st-ev__status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.st-ev__status--2::before {
  background: var(--gold);
}

.st-ev__status--3::before {
  background: #3ddc84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
  animation: st-ev-pulse 2s ease-out infinite;
}

@keyframes st-ev-pulse {
  to {
    box-shadow: 0 0 0 0.5rem rgba(61, 220, 132, 0);
  }
}

.st-ev__when {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.6rem;
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
}

.st-ev__when li {
  margin: 0;
}

.st-ev__range {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.st-ev__date {
  display: grid;
  justify-items: center;
  min-width: 4.1rem;
  padding: 0.55rem 0.6rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.8rem;
  line-height: 1;
}

.st-ev__date b {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.st-ev__date small {
  margin-top: 0.3rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.st-ev__range-arrow {
  position: relative;
  width: 3rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
}

.st-ev__range-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid rgba(255, 255, 255, 0.6);
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) rotate(45deg);
}

.st-ev__date-tbd {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.6rem 0 0;
  padding: 0.75rem 0.9rem;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 0.8rem;
  color: #fff;
  font-weight: 700;
}

.st-ev__date-tbd i {
  color: var(--gold);
}

.st-ev__range-meta {
  margin: 0.6rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Dates over several years: one labelled group per year */
.st-ev__year-group {
  margin-top: 0.6rem;
}

.st-ev__year-group + .st-ev__year-group {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
}

.st-ev__year {
  display: block;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.st-ev__year-group .st-ev__when {
  margin-top: 0.4rem;
}

/* Several dates or ranges: smaller tiles that wrap */
.st-ev__when--multi .st-ev__date {
  min-width: 3.2rem;
  padding: 0.4rem 0.45rem 0.35rem;
  border-radius: 0.65rem;
}

.st-ev__when--multi .st-ev__date b {
  font-size: 1.2rem;
}

.st-ev__when--multi .st-ev__date small {
  margin-top: 0.2rem;
  font-size: 0.62rem;
}

.st-ev__when--multi .st-ev__range {
  gap: 0.35rem;
}

.st-ev__when--multi .st-ev__range-arrow {
  width: 1rem;
}

.st-ev__where {
  margin: 0.45rem 0 0;
  font-weight: 700;
  text-transform: capitalize;
}

.st-ev__from {
  margin: 0.3rem 0 0;
  color: var(--gold);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.st-ev__actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.st-ev__book,
.st-ev__faq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.st-ev a.st-ev__book {
  background: var(--gold);
  color: var(--gold-ink);
}

.st-ev a.st-ev__book:hover,
.st-ev a.st-ev__book:focus-visible {
  background: #fff;
  color: var(--navy);
  transform: translateY(-1px);
}

.st-ev a.st-ev__book.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.st-ev a.st-ev__faq {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.st-ev a.st-ev__faq:hover,
.st-ev a.st-ev__faq:focus-visible {
  border-color: #fff;
  color: #fff;
}

.st-ev__waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 4.5rem;
  pointer-events: none;
}

.st-ev__waves path {
  transform-box: fill-box;
  animation: st-ev-wave 9s linear infinite;
}

.st-ev__waves path:first-child {
  fill: rgba(120, 196, 236, 0.16);
}

.st-ev__waves path:last-child {
  fill: rgba(255, 255, 255, 0.08);
  animation-duration: 6s;
  animation-direction: reverse;
}

@keyframes st-ev-wave {
  to {
    transform: translateX(-50%);
  }
}

/* Pre-registration */

.st-ev__prereg {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
  margin: 0 0 3rem;
  padding: 1.1rem;
  background: rgba(247, 202, 24, 0.12);
  border: 1px solid rgba(247, 202, 24, 0.55);
  border-radius: 1.25rem;
}

.st-ev__prereg-amount {
  display: grid;
  justify-items: center;
  min-width: 9.5rem;
  padding: 1.1rem 1.2rem 1rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(var(--st-tint), 0.06), 0 8px 20px -8px rgba(var(--st-tint), 0.16);
  text-align: center;
}

.st-ev__prereg-amount small,
.st-ev__prereg-amount span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.st-ev__prereg-amount strong {
  margin: 0.35rem 0;
  color: var(--navy);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.st-ev__prereg-text h2 {
  margin: 0 0 0.4rem;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
}

.st-ev__prereg-text p {
  margin: 0;
  color: var(--ink);
  line-height: 1.6;
}

@media (max-width: 560px) {
  .st-ev__prereg {
    grid-template-columns: 1fr;
  }
}

/* Sections */

.st-ev__section {
  margin: 0 0 3rem;
}

.st-ev__section h2 {
  margin: 0 0 1.1rem;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.st-ev__section h2::before {
  counter-increment: st-sec;
  content: counter(st-sec, decimal-leading-zero);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.st-ev__section h2::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 3px;
  margin-top: 0.7rem;
  background: var(--gold);
}

.st-ev__copy p,
.st-ev__day p,
.st-ev__notes p,
.st-ev__panel p {
  margin: 0 0 0.9rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
}

.st-ev__copy h3,
.st-ev__panel h3 {
  margin: 1.35rem 0 0.35rem;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
}

.st-ev__copy ul,
.st-ev__panel ul,
.st-ev__notes ul {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.st-ev__copy li,
.st-ev__panel li {
  position: relative;
  margin: 0;
  padding: 0.35rem 0 0.35rem 1rem;
  line-height: 1.6;
}

.st-ev__copy li::before,
.st-ev__panel li::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 0;
  width: 0.45rem;
  height: 3px;
  background: var(--gold);
}

.st-ev__day,
.st-ev__panel,
.st-ev__list,
.st-ev__notes,
.st-ev__steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.st-ev__panel {
  margin-top: 1rem;
  padding: 1.1rem 1.15rem 0.3rem;
}

/* Program */

.st-ev__days {
  display: grid;
  gap: 0.75rem;
}

.st-ev__day {
  position: relative;
  padding: 1.05rem 1.15rem 0.35rem 1.4rem;
}

.st-ev__day::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  bottom: 1.1rem;
  left: 0;
  width: 3px;
  background: var(--gold);
  border-radius: 0 3px 3px 0;
}

.st-ev__day h3 {
  margin: 0.2rem 0 0.65rem;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
}

.st-ev__notes {
  margin-top: 0.85rem;
  padding: 1rem 1.15rem 0.3rem;
}

.st-ev__notes p strong {
  color: var(--navy);
}

/* Lists */

.st-ev__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.st-ev__list li {
  margin: 0;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}

.st-ev__list li:last-child {
  border-bottom: 0;
}

.st-ev__list strong {
  color: var(--navy);
}

.st-ev__list--off li {
  color: var(--muted);
}

/* Price cards */

.st-ev__prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.st-ev__prices--single,
.st-ev__prices:has(> .st-ev__price:only-child) {
  max-width: 22rem;
}

.st-ev__price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.st-ev__price::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 1.25rem;
  right: 1.25rem;
  height: 3px;
  background: var(--gold);
  border-radius: 0 0 3px 3px;
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.st-ev__price:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.st-ev__price:hover::before {
  transform: none;
}

.st-ev__price h3 {
  margin: 0.35rem 0 1rem;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 800;
}

.st-ev__price dl {
  display: grid;
  gap: 0;
  margin: auto 0 0;
}

.st-ev__price-row {
  display: grid;
  gap: 0.35rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
}

.st-ev__price dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.st-ev__price dd {
  margin: 0;
  color: var(--navy);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.st-ev__price-row.is-empty dd {
  color: var(--muted);
  font-size: 1.1rem;
  opacity: 0.5;
}

/* Legacy price markup still written in descriptions */
.st-ev__price h3 + .st-ev__amount {
  margin-top: auto;
}

.st-ev__amount {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.35rem;
  margin: 0;
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.st-ev__amount span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Plans: alternative packages (e.g. Basic / Gold) */

.st-ev__section[id] {
  scroll-margin-top: calc(var(--header) + 1.5rem);
}

.st-ev__plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.st-ev__plan {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.35rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}

.st-ev__plan-name {
  display: inline-block;
  align-self: flex-start;
  margin: 0;
  padding: 0.25rem 0.75rem;
  background: var(--paper);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.st-ev__plan h3 {
  margin: 0.8rem 0 0.3rem;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
}

.st-ev__plan-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.st-ev__plan-price {
  margin: 1rem 0;
  color: var(--navy);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.st-ev__plan-price small {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.st-ev__plan ul {
  flex: 1;
  margin: 0 0 1.1rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.st-ev__plan li {
  position: relative;
  margin: 0;
  padding: 0.3rem 0 0.3rem 1.1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.st-ev__plan li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 0.45rem;
  height: 3px;
  background: var(--gold);
}

.st-ev__main .st-ev__plan a {
  align-self: flex-start;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}

.st-ev__plan--gold {
  color: #fff;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.st-ev__plan--gold .st-ev__plan-name {
  background: var(--gold);
  color: var(--gold-ink);
}

.st-ev__plan--gold h3,
.st-ev__plan--gold .st-ev__plan-price {
  color: #fff;
}

.st-ev__plan--gold .st-ev__plan-tagline,
.st-ev__plan--gold .st-ev__plan-price small {
  color: rgba(255, 255, 255, 0.7);
}

.st-ev__plan--gold ul {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.st-ev__plan--gold li {
  color: rgba(255, 255, 255, 0.9);
}

.st-ev__main .st-ev__plan--gold a {
  color: var(--gold);
}

/* Price table: several periods x room types */

.st-ev__table-wrap {
  margin-top: 1.2rem;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.st-ev__table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
}

.st-ev__table th,
.st-ev__table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.st-ev__table tr:last-child th,
.st-ev__table tr:last-child td {
  border-bottom: 0;
}

.st-ev__table thead th {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.st-ev__table tbody th {
  color: var(--navy);
  font-weight: 800;
}

.st-ev__table td strong {
  display: block;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.st-ev__table td span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.st-ev__table-note {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Special events: countdown, key facts, chips, gallery, partner */

.st-ev__countdown {
  position: relative;
  overflow: hidden;
  margin: 0 0 3rem;
  padding: 1.6rem 1.4rem;
  color: #fff;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.st-ev__countdown-label {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.st-ev__countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.st-ev__countdown-grid div {
  padding: 0.85rem 0.4rem 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.9rem;
}

.st-ev__countdown-grid strong {
  display: block;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
}

.st-ev__countdown-grid span {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.st-ev__countdown-done {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
}

.st-ev__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.75rem;
  margin: 1.2rem 0 0;
}

.st-ev__facts div {
  padding: 0.95rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.st-ev__facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.st-ev__facts dd {
  margin: 0.3rem 0 0;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

.st-ev__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.st-ev__chips li {
  margin: 0;
  padding: 0.5rem 0.95rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 700;
}

.st-ev__chips li::before {
  content: none;
}

.st-ev__highlight {
  display: inline-block;
  margin: 1.2rem 0 0;
  padding: 0.55rem 1.1rem;
  background: var(--gold);
  border-radius: 999px;
  color: var(--gold-ink);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.st-ev__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.st-ev__gallery img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.8rem;
}

.st-ev__gallery img:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.st-ev__partner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
  padding: 1.2rem 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}

.st-ev__partner img {
  display: block;
  width: 8rem;
  height: auto;
}

.st-ev__partner p {
  margin: 0 0 0.6rem;
  line-height: 1.6;
}

.st-ev__partner p:last-child {
  margin-bottom: 0;
}

/* Stops of a multi-location event: photo cards */
.st-ev__stops {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.75rem;
}

.st-ev__stop {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 16rem;
  border-radius: 1.1rem;
  background: var(--navy);
}

.st-ev__stop img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.st-ev__stop::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(var(--st-tint), 0) 35%, rgba(var(--st-tint), 0.85) 100%);
}

.st-ev__stop:hover img {
  transform: scale(1.05);
}

.st-ev__stop div {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  color: #fff;
}

.st-ev__stop small {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.st-ev__stop h3 {
  margin: 0.25rem 0 0.15rem;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.st-ev__stop p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  .st-ev__stop img {
    transition: none;
  }
}

.st-ev__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1.3rem;
  background: var(--navy);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.st-ev__main a.st-ev__cta,
.st-ev__main a.st-ev__cta:hover {
  color: #fff;
}

@media (max-width: 560px) {
  .st-ev__countdown-grid {
    gap: 0.4rem;
  }

  .st-ev__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .st-ev__partner {
    grid-template-columns: 1fr;
  }
}

/* Price cards: one per row on phones (no 2+1 layout on mid-width devices) */
@media (max-width: 640px) {
  .st-ev__prices {
    grid-template-columns: 1fr;
  }

  .st-ev__prices--single,
  .st-ev__prices:has(> .st-ev__price:only-child) {
    max-width: none;
  }
}

/* Steps */

.st-ev__steps {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.st-ev__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.9rem 1rem;
}

.st-ev__steps b {
  color: var(--navy);
}

.st-ev__step {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
}

/* Map */

.st-ev__address {
  margin: 0 0 0.9rem;
  color: var(--muted);
  text-transform: capitalize;
}

.st-ev__map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

/* Low specificity so component link styles (e.g. plan cards) win */
.st-ev__main a:where(:not(.st-ev__book, .st-ev__faq)) {
  color: var(--navy);
  font-weight: 700;
}

/* Desktop: content column + sticky booking card */

@media (min-width: 1000px) {
  .st-ev__layout {
    grid-template-columns: minmax(0, 1fr) 20rem;
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
    row-gap: 2.6rem;
    align-items: start;
  }

  .st-ev__intro,
  .st-ev__main {
    grid-column: 1;
  }

  .st-ev__aside {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: sticky;
    top: calc(var(--header) + 1.5rem);
  }
}

@media (max-width: 800px) {
  .st-ev__stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .st-ev {
    width: min(72rem, calc(100% - 2rem));
  }

  .st-page--event .ic-image {
    min-height: 18rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .st-page--event .ic-image__logo,
  .st-ev__waves path,
  .st-ev__status--3::before {
    animation: none;
  }

  .st-ev__price,
  .st-ev__price::before {
    transition: none;
  }
}
