:root {
  --ivy-bg: #0A0A0A;
  --ivy-surface: #141414;
  --ivy-ink: #F4F0E4;
  --ivy-heading: #FFFFFF;
  --ivy-accent: #C8B466;
  --ivy-accent-hover: #E8D078;
  --ivy-button-ink: #111111;
  --ivy-rule: #3A3A3A;
  --ivy-display: "Outfit", sans-serif;
  --ivy-body: "Source Serif 4", serif;
  --ivy-width: 1120px;
  --ivy-radius: 0;
}

body.ivy-event-single,
body.ivy-event-single .site-content,
body.page-events,
body.page-events .site-content,
.ivy-events,
.ivy-event {
  background: var(--ivy-bg);
  color: var(--ivy-ink);
}

.ivy-events,
.ivy-event {
  font-family: var(--ivy-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
}

.ivy-wrap {
  width: min(100%, var(--ivy-width));
  margin: 0 auto;
  padding: 0 32px;
}

.ivy-rule {
  width: 56px;
  height: 1px;
  background: var(--ivy-accent);
  border: 0;
  margin: 0 0 24px;
}

.ivy-eyebrow {
  margin: 0 0 12px;
  font-family: var(--ivy-display);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivy-accent);
}

.ivy-events h1,
.ivy-events h2,
.ivy-events h3,
.ivy-event h1,
.ivy-event h2,
.ivy-event h3 {
  font-family: var(--ivy-display);
  font-weight: 500;
  color: var(--ivy-heading);
  letter-spacing: -0.015em;
}

.ivy-events h1,
.ivy-event h1 {
  font-size: clamp(36px, 6vw, 48px);
  line-height: 1.08;
  margin: 0 0 20px;
}

.ivy-events h2,
.ivy-event h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  margin: 0 0 20px;
}

.ivy-events h3,
.ivy-event h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 12px;
}

.ivy-events p,
.ivy-event p {
  margin: 0 0 1em;
  max-width: 68ch;
  color: var(--ivy-ink);
}

.ivy-events a,
.ivy-event a {
  color: var(--ivy-accent);
}

.ivy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--ivy-accent);
  border-radius: var(--ivy-radius);
  background: var(--ivy-accent);
  color: var(--ivy-button-ink) !important;
  font-family: var(--ivy-display);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  text-decoration: none !important;
}

.ivy-btn:hover,
.ivy-btn:focus {
  background: var(--ivy-accent-hover);
  border-color: var(--ivy-accent-hover);
  color: var(--ivy-button-ink) !important;
}

.ivy-btn-ghost {
  background: transparent;
  color: var(--ivy-heading) !important;
}

.ivy-btn-ghost:hover,
.ivy-btn-ghost:focus {
  background: var(--ivy-accent);
  color: var(--ivy-button-ink) !important;
}

.ivy-event-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  padding: 128px 0;
  background-color: var(--ivy-bg);
  background-size: cover;
  background-position: center;
}

.ivy-event-story {
  background: var(--ivy-bg);
}

.ivy-event-story .elementor-widget-text-editor p,
.ivy-event-story .elementor-widget-text-editor li {
  color: var(--ivy-ink);
  font-family: var(--ivy-body);
  font-size: 18px;
  line-height: 1.65;
  max-width: 68ch;
}

.ivy-event-story .ivy-event-visual,
.ivy-event-story .elementor-widget-image {
  flex: 1 1 38%;
  min-width: 0;
}

.ivy-event-story .ivy-event-visual img,
.ivy-event-story .elementor-widget-image img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.ivy-event-story .elementor-element-event-learn-visual img,
.ivy-event-story .elementor-element-event-families-visual img {
  min-height: 420px;
  height: 100%;
}

@media (max-width: 767px) {
  .ivy-event-story .ivy-event-visual img,
  .ivy-event-story .elementor-widget-image img {
    height: 280px;
  }

  .ivy-event-story .elementor-element-event-learn-visual img,
  .ivy-event-story .elementor-element-event-families-visual img,
  .ivy-event-meet-photo img,
  .ivy-event-meet-img {
    min-height: 0;
    height: 280px;
  }

  .ivy-event-register {
    justify-content: stretch;
    margin-top: 32px;
  }
}

.ivy-event-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.55) 48%, rgba(10, 10, 10, 0.28) 100%);
}

.ivy-event-hero .ivy-wrap {
  position: relative;
  z-index: 1;
}

.ivy-event-hero-copy {
  max-width: 720px;
  padding: 40px;
  background: rgba(10, 10, 10, 0.62);
}

.ivy-event-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 32px;
  margin: 28px 0 32px;
  padding: 24px;
  background: var(--ivy-surface);
  border: 1px solid var(--ivy-rule);
}

.ivy-event-meta dt {
  margin: 0 0 4px;
  font-family: var(--ivy-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivy-accent);
}

.ivy-event-meta dd {
  margin: 0;
  font-family: var(--ivy-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--ivy-heading);
}

.ivy-event-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.ivy-event-section {
  padding: 128px 0;
}

.ivy-event-section + .ivy-event-section {
  padding-top: 0;
}

.ivy-event-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ivy-event-visual {
  min-height: 420px;
  background-color: var(--ivy-surface);
  background-size: cover;
  background-position: center;
}

.ivy-event-learn h3 {
  padding-left: 16px;
  border-left: 2px solid var(--ivy-accent);
}

.ivy-event-learn h3:not(:first-child) {
  margin-top: 32px;
}

.ivy-event-different ul {
  max-width: 68ch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ivy-event-different li {
  position: relative;
  padding: 14px 0 14px 20px;
  border-top: 1px solid var(--ivy-rule);
  font-family: var(--ivy-display);
  font-weight: 500;
  color: var(--ivy-heading);
}

.ivy-event-different li:last-child {
  border-bottom: 1px solid var(--ivy-rule);
}

.ivy-event-different li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 8px;
  height: 1px;
  background: var(--ivy-accent);
}

.ivy-event-meet-photo {
  min-height: 0;
  background: none;
  margin: 0;
}

.ivy-event-meet-photo img,
.ivy-event-meet-img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}

.ivy-event-register {
  display: grid;
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
  gap: 0;
  margin-top: 48px;
}

.ivy-event-form {
  padding: 32px;
  background: var(--ivy-surface);
  border: 1px solid var(--ivy-rule);
}

.ivy-event-form.is-embed {
  padding: 0;
  background: transparent;
  border: 0;
}

.ivy-event-form-embed {
  display: block;
  width: 100%;
  min-height: 1200px;
  border: 0;
  background: transparent;
}

.ivy-event-form label,
.ivy-event-form p {
  font-family: var(--ivy-display);
  font-size: 15px;
  color: var(--ivy-heading);
}

.ivy-event-form input[type="text"],
.ivy-event-form input[type="email"],
.ivy-event-form input[type="tel"],
.ivy-event-form input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ivy-rule);
  border-radius: var(--ivy-radius);
  background: var(--ivy-bg);
  color: var(--ivy-ink);
  font-family: var(--ivy-body);
}

.ivy-event-form input:focus {
  outline: 1px solid var(--ivy-accent);
  border-color: var(--ivy-accent);
}

.ivy-event-form input.wpcf7-submit,
.ivy-event-form .wpcf7-submit {
  background: var(--ivy-accent);
  color: var(--ivy-button-ink);
  border: 1px solid var(--ivy-accent);
  border-radius: var(--ivy-radius);
  font-family: var(--ivy-display);
  font-weight: 500;
  min-height: 48px;
  padding: 12px 22px;
  cursor: pointer;
}

.ivy-event-form input.wpcf7-submit:hover,
.ivy-event-form .wpcf7-submit:hover {
  background: var(--ivy-accent-hover);
}

.ivy-events-list {
  display: grid;
  gap: 24px;
}

.ivy-event-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: stretch;
  padding: 32px;
  background: var(--ivy-surface);
  border: 1px solid var(--ivy-rule);
  text-decoration: none;
  color: inherit;
}

.ivy-event-card:hover {
  border-color: var(--ivy-accent);
}

.ivy-event-card-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 24px;
  border-right: 1px solid var(--ivy-rule);
}

.ivy-event-card-day {
  font-family: var(--ivy-display);
  font-size: 56px;
  line-height: 0.9;
  font-weight: 500;
  color: var(--ivy-heading);
}

.ivy-event-card-month {
  margin-top: 8px;
  font-family: var(--ivy-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivy-accent);
}

.ivy-event-card h2 {
  font-size: 28px;
  margin: 0 0 8px;
}

.ivy-event-card p {
  margin: 0 0 8px;
}

.ivy-event-card-meta {
  margin: 12px 0 20px;
  font-family: var(--ivy-display);
  font-size: 15px;
  color: var(--ivy-heading);
}

.ivy-events-empty {
  padding: 48px 32px;
  border: 1px solid var(--ivy-rule);
  background: var(--ivy-surface);
}

body.ivy-event-single .topbar,
body.page-events .topbar {
  background: #0A0A0A !important;
  color: #FFFFFF !important;
}

body.ivy-event-single .topbar a,
body.page-events .topbar a {
  color: #FFFFFF !important;
}

body.ivy-event-single #header,
body.page-events #header,
body.ivy-event-single #header[data-background="transparent"],
body.page-events #header[data-background="transparent"] {
  background: #0A0A0A !important;
  box-shadow: none;
}

body.ivy-event-single #header,
body.ivy-event-single #header a,
body.ivy-event-single #header .menu a,
body.page-events #header,
body.page-events #header a,
body.page-events #header .menu a {
  color: #FFFFFF !important;
}

body.ivy-event-single #header .menu a[href]:hover,
body.page-events #header .menu a[href]:hover {
  color: #C8B466 !important;
}

body.ivy-event-single footer,
body.ivy-event-single .footer-top,
body.ivy-event-single .footer-bottom,
body.page-events footer,
body.page-events .footer-top,
body.page-events .footer-bottom {
  background: #0A0A0A !important;
  border-color: #3A3A3A !important;
  color: #FFFFFF !important;
}

@media (min-width: 768px) {
  .ivy-event-meta {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .ivy-wrap {
    padding: 0 24px;
  }

  .ivy-event-hero {
    min-height: 520px;
    padding: 72px 0;
  }

  .ivy-event-hero-copy {
    padding: 28px 24px;
  }

  .ivy-event-section {
    padding: 72px 0;
  }

  .ivy-event-split,
  .ivy-event-register,
  .ivy-event-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ivy-event-card-date {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid var(--ivy-rule);
  }

  .ivy-event-visual {
    min-height: 280px;
  }
}

body.ivy-event-single .webpopular-breadcrumbs,
body.page-events .webpopular-breadcrumbs {
  display: none;
}

body.ivy-events-home .elementor-widget-shortcode:has(.ivy-events-carousel),
body.ivy-events-home .elementor-shortcode:has(.ivy-events-carousel),
.ivy-events-carousel {
  width: 100%;
  max-width: 100%;
}

.ivy-events-carousel {
  margin-top: 16px;
  --ivy-gap: 32px;
}

.ivy-events-carousel[data-scroll="1"] {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 12px;
}

.ivy-events-viewport {
  width: 100%;
  min-width: 0;
  --ivy-slide: calc((100% - (var(--ivy-gap) * 2)) / 3);
}

.ivy-events-track {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: var(--ivy-gap);
  width: 100%;
}

.ivy-events-carousel[data-count="1"] .ivy-events-track {
  justify-content: flex-start;
}

.ivy-events-carousel[data-scroll="1"] .ivy-events-track {
  justify-content: flex-start;
  width: max-content;
}

.ivy-events-carousel[data-scroll="1"] .ivy-events-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.ivy-events-carousel[data-scroll="1"] .ivy-events-viewport::-webkit-scrollbar {
  display: none;
}

.ivy-events-slide {
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--ivy-slide);
  width: var(--ivy-slide);
  max-width: var(--ivy-slide);
  box-sizing: border-box;
  background: #0A0A0A;
  border: 1px solid #3A3A3A;
  color: #F4F0E4;
  text-decoration: none !important;
}

.ivy-events-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #C8B466;
  border-radius: 0;
  background: transparent;
  color: #C8B466;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.ivy-events-arrow:hover,
.ivy-events-arrow:focus {
  background: #C8B466;
  color: #111111;
}

.ivy-events-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  background: transparent;
  color: #C8B466;
}

.ivy-events-slide:hover,
.ivy-events-slide:focus {
  border-color: #C8B466;
  color: #F4F0E4;
}

.ivy-events-slide-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  color: inherit;
  text-decoration: none !important;
}

.ivy-events-slide-media {
  display: block;
}

.ivy-events-slide img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.ivy-events-slide-copy {
  padding: 16px;
}

.ivy-events-slide-date {
  margin: 0 0 8px;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C8B466;
}

.ivy-events-slide-title {
  margin: 0 0 8px;
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #FFFFFF;
}

.ivy-events-slide-link:hover .ivy-events-slide-title,
.ivy-events-slide-link:focus .ivy-events-slide-title {
  color: #C8B466;
}

.ivy-cal-link {
  color: #C8B466;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ivy-cal-link:hover,
.ivy-cal-link:focus {
  color: #E8D078;
}

.ivy-event-card-date {
  text-decoration: none;
}

.ivy-event-card-date:hover .ivy-event-card-month,
.ivy-event-card-date:focus .ivy-event-card-month {
  color: #E8D078;
}

.ivy-map-link {
  color: #C8B466 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ivy-map-link:hover,
.ivy-map-link:focus {
  color: #E8D078 !important;
}

.ivy-event-meta .ivy-map-link {
  display: inline;
}

.ivy-events-slide-meta {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  color: #FFFFFF;
}

@media (max-width: 767px) {
  .ivy-events-track {
    flex-direction: column;
    gap: 16px;
  }

  .ivy-events-slide {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }
}
