.ec-vfm-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.ec-vfm-overlay.ec-vfm-open { display: flex; }
body.ec-vfm-no-scroll { overflow: hidden; }
.ec-vfm-overlay .ec-vfm-popup .ec-modal {
  background-image: url("../assets/victoria-falls-marathon-bg.jpg");
}

.ec-vfm-popup,
.ec-vfm-popup * { box-sizing: border-box; }

.ec-vfm-popup {
  position: relative;
  font-family: 'Arial Black', Arial, sans-serif;
  color: #fff;
  width: 700px;
  max-width: calc(100vw - 32px);
  margin: 0 auto;
}

.ec-vfm-popup .ec-modal {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-image: url("../assets/victoria-falls-marathon-bg.jpg");
  background-size: cover;
  background-position: center 60%;
  border: 0;
  outline: 0;
  width: 700px;
  max-width: calc(100vw - 32px);
  height: 500px;
  background-clip: padding-box;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, .24),
    0 0 0 1px rgba(255, 255, 255, .38),
    0 0 0 6px rgba(255, 255, 255, .12);
}

.ec-vfm-popup .ec-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(8,18,45,.84) 0%, rgba(8,18,45,.50) 48%, rgba(0,0,0,.80) 100%);
  z-index: 0;
}

.ec-vfm-popup .ec-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  height: 100%;
  justify-content: center;
  gap: 18px;
  padding: 26px 40px 24px;
  align-items: center;
}

.ec-vfm-popup .ec-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  aspect-ratio: 1 / 1;
  border: 0 !important;
  border-radius: 8px !important;
  outline: 0;
  display: block !important;
  cursor: pointer;
  z-index: 2;
  font-size: 0 !important;
  color: transparent !important;
  background: rgba(255,255,255,.14) !important;
  line-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  clip-path: none !important;
  transform: none !important;
  transition: background .18s ease, box-shadow .18s ease;
}

.ec-vfm-popup .ec-close::before,
.ec-vfm-popup .ec-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform-origin: center;
  pointer-events: none;
}

.ec-vfm-popup .ec-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.ec-vfm-popup .ec-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.ec-vfm-popup .ec-close:hover,
.ec-vfm-popup .ec-close:focus {
  background: #FFA903 !important;
  outline: none;
}

.ec-vfm-popup .ec-close:hover::before,
.ec-vfm-popup .ec-close:hover::after,
.ec-vfm-popup .ec-close:focus::before,
.ec-vfm-popup .ec-close:focus::after {
  background: #111;
}

.ec-vfm-popup .ec-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  width: 100%;
}

.ec-vfm-popup .ec-logo img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 76%;
}

.ec-vfm-popup .ec-eyebrow {
  font-size: 10px;
  font-weight: 700;
  color: #E8A020;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.ec-vfm-popup .ec-headline {
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .015em;
  font-size: 21px;
  max-width: 100%;
}

.ec-vfm-popup .ec-headline span { color: #E8A020; }

.ec-vfm-popup .ec-divider {
  height: 1.5px;
  background: rgba(255,255,255,.25);
  margin: 13px 0;
  width: 100%;
}

.ec-vfm-popup .prices-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 14px;
}

.ec-vfm-popup .ec-price-box {
  background: #1A3F7A;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 9px 16px;
}

.ec-vfm-popup .ec-price-amount {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.ec-vfm-popup .ec-price-label {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ec-vfm-popup .ec-price-divider {
  width: 1px;
  background: rgba(255,255,255,.3);
  align-self: stretch;
}

.ec-vfm-popup .ec-note {
  color: #fff;
  line-height: 1.6;
  font-size: 11px;
  text-align: left;
}

.ec-vfm-popup .ec-cta {
  display: block;
  width: 100%;
  background: #1A3F7A;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: center;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 14px;
  padding: 14px 0;
  text-decoration: none !important;
}

.ec-vfm-popup .ec-cta:hover,
.ec-vfm-popup .ec-cta:focus {
  background: #0f2d5e;
  color: #fff !important;
  text-decoration: none !important;
}

.ec-vfm-popup .ec-foot {
  color: #fff;
  text-align: center;
  font-size: 10px;
  margin: 7px 0 0;
}

@media (max-width: 560px) {
  .ec-vfm-popup,
  .ec-vfm-popup .ec-modal {
    width: 500px;
    max-width: calc(100vw - 24px);
    height: auto;
  }
  .ec-vfm-popup .ec-inner {
    height: auto;
    min-height: 0;
    gap: 0;
    padding: 22px 24px 20px;
  }
  .ec-vfm-popup .ec-logo { margin-bottom: 11px; }
  .ec-vfm-popup .ec-logo img { height: 32px; }
  .ec-vfm-popup .ec-eyebrow { margin-bottom: 6px; }
  .ec-vfm-popup .ec-headline { font-size: 20px; margin-bottom: 12px; }
  .ec-vfm-popup .ec-divider { margin: 11px 0; }
  .ec-vfm-popup .prices-row { gap: 14px; margin: 11px 0 13px; }
  .ec-vfm-popup .ec-price-box { padding: 8px 14px; }
  .ec-vfm-popup .ec-note { font-size: 11px; }
  .ec-vfm-popup .ec-cta { font-size: 13px; padding: 13px 0; }
  .ec-vfm-popup .ec-foot { font-size: 10px; margin-top: 6px; }
}

@media (max-width: 390px) {
  .ec-vfm-popup,
  .ec-vfm-popup .ec-modal {
    width: 360px;
    max-width: calc(100vw - 20px);
    height: auto;
  }
  .ec-vfm-popup .ec-inner { padding: 18px 16px 16px; }
  .ec-vfm-popup .ec-logo { margin-bottom: 10px; }
  .ec-vfm-popup .ec-logo img { height: 26px; }
  .ec-vfm-popup .ec-eyebrow { font-size: 9px; margin-bottom: 5px; }
  .ec-vfm-popup .ec-headline { font-size: 15px; margin-bottom: 10px; }
  .ec-vfm-popup .ec-divider { margin: 9px 0; }
  .ec-vfm-popup .prices-row { display: block; margin: 0; }
  .ec-vfm-popup .ec-price-box { padding: 8px 14px; margin-bottom: 11px; align-self: center; }
  .ec-vfm-popup .ec-price-amount { font-size: 19px; }
  .ec-vfm-popup .ec-note { display: none; }
  .ec-vfm-popup .ec-cta { font-size: 12px; padding: 12px 0; }
  .ec-vfm-popup .ec-foot { font-size: 10px; margin-top: 6px; }
}