.eventure-footer {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background: #000;
  color: #eed8d8;
  overflow: hidden;
}

/* Main black footer card */
.eventure-footer__card {
  --eventure-footer-overlap: 40px;
  position: relative;
  max-width: 1390px;
  margin: -40px auto 0;
  padding: 88px 78px 70px;
  background: #000;
  border-radius: 24px 24px 0 0;
}

.eventure-footer__card::before {
  content: "";
  position: absolute;
  inset: -300px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 30% 45%,
      rgba(170, 20, 128, 0.55),
      transparent 34%
    ),
    radial-gradient(
      circle at 65% 55%,
      rgba(181, 113, 162, 0.45),
      transparent 36%
    ),
    radial-gradient(circle at 50% 70%, rgba(170, 20, 128, 0.3), transparent 40%);
  filter: blur(28px);
  opacity: 0.95;
  /* The glow extends 300px beyond the card; fade from the visible footer edge. */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent calc(300px + var(--eventure-footer-overlap)),
    #000 calc(540px + var(--eventure-footer-overlap))
  );
  mask-image: linear-gradient(
    to bottom,
    transparent calc(300px + var(--eventure-footer-overlap)),
    #000 calc(540px + var(--eventure-footer-overlap))
  );
}

.eventure-footer__inner {
  position: relative;
  z-index: 1;
}

.eventure-footer__decor {
  z-index: 1;
}

/* Layout */
.eventure-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 515px) repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "logo logo logo socials"
    "newsletter menu1 menu2 menu3"
    "certs certs copyright copyright";
  column-gap: 70px;
  --eventure-footer-row-gap: 70px;
  row-gap: var(--eventure-footer-row-gap);
  align-items: start;
}

.eventure-footer__inner::after {
  content: "";
  position: absolute;
  grid-row: certs;
  grid-column: 1 / -1;
  top: calc(var(--eventure-footer-row-gap) / -2);
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    #b571a2 0 2px,
    transparent 2px 4px
  );
  pointer-events: none;
}

.eventure-footer__brand {
  grid-area: logo;
}

.eventure-footer__newsletter {
  grid-area: newsletter;
  min-width: 0;
}

.eventure-footer__menus {
  display: contents;
}

.eventure-footer__menu-col:nth-child(1) {
  grid-area: menu1;
}

.eventure-footer__menu-col:nth-child(2) {
  grid-area: menu2;
}

.eventure-footer__menu-col:nth-child(3) {
  grid-area: menu3;
}

.eventure-footer__certs {
  grid-area: certs;
}

.eventure-footer__socials {
  grid-area: socials;
}

.eventure-footer__copyright {
  grid-area: copyright;
}

/* Logo */
.eventure-footer__logo {
  display: block;
  width: 90px;
  height: 111px;
}

.eventure-footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Newsletter */
.eventure-footer__newsletter-text {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  margin: 0 0 30px;
  font-family: "Didact Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 27.6px;
  color: #eed8d8;
}

.eventure-footer__newsletter-note {
  max-width: 368px;
  margin-top: 20px;
  font-family: "Didact Gothic", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: #eed8d8;
  white-space: normal;
  overflow-wrap: anywhere;
}

.eventure-footer__newsletter-note p {
  margin: 0 0 0.75em;
}

.eventure-footer__newsletter-note > :last-child {
  margin-bottom: 0;
}

.eventure-footer__newsletter-note a {
  color: inherit;
  text-decoration: underline;
}

.eventure-footer__mailchimp {
  width: min(368px, 100%);
  min-width: 0;
}

.eventure-footer__signup-field {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 60px;
  padding: 9px 10px 9px 24px;
  border: 2px solid #1b1b1b29;
  border-radius: 16px;
  background: #e2c0d833;
}

.eventure-footer__mailchimp #mce-EMAIL {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: "Didact Gothic", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.08px;
  color: #eed8d8;
}

.eventure-footer__mailchimp #mce-EMAIL::placeholder {
  color: #eed8d8;
  opacity: 1;
}

.eventure-footer__mailchimp #mc-embedded-subscribe {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #3f1639;
  color: #b571a2;
  cursor: pointer;
}

.eventure-footer__signup-field:focus-within {
  outline: none;
  box-shadow: none;
}

.eventure-footer__mailchimp #mce-EMAIL:focus {
  border: 0;
  outline: none;
  box-shadow: none;
}

.eventure-footer__mailchimp #mc-embedded-subscribe:focus-visible {
  outline: 2px solid #eed8d8;
  outline-offset: 2px;
}

/* Menus */
h3.eventure-footer__menu-title {
  margin: 0 0 20px;
  font-family: "Didact Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0;
  vertical-align: middle;
  color: #fff;
}

.eventure-footer__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.eventure-footer__menu li {
  margin: 0 0 12px;
}

ul.eventure-footer__menu li::before {
  content: none;
}

.eventure-footer__menu a {
  font-family: "Didact Gothic", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 23.8px;
  color: #eed8d8;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.eventure-footer__menu a:hover {
  opacity: 0.7;
}

/* Certification images */
.eventure-footer__certs {
  display: flex;
  align-items: center;
  gap: 88px;
  padding-top: 42px;
}

.eventure-footer__cert {
  position: relative;
  flex: 0 1 120px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  height: auto;
}

.eventure-footer__cert--with-text {
  width: 120px;
}

.eventure-footer__cert-text {
  display: block;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  margin: 0;
  font-family: "Didact Gothic", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  color: #eed8d8;
}

.eventure-footer__cert img {
  width: 100%;
  max-width: 120px;
  height: 80px;
  object-fit: contain;
  display: block;
}

/* Socials */
.eventure-footer__socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  align-self: center;
}

.eventure-footer__socials a,
.eventure-footer__socials a:hover,
.eventure-footer__socials a:focus,
.eventure-footer__socials a:active {
  text-decoration: none;
}

.eventure-footer__socials a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: 0 0 32px;
  border-radius: 50%;
  background: #431D38;
}

.eventure-footer__socials a i {
  color: #fff;
  font-size: 16px;
  line-height: 1;
  transition: font-size 0.2s ease;
}

.eventure-footer__socials a:hover i,
.eventure-footer__socials a:focus-visible i {
  font-size: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .eventure-footer__socials a i {
    transition: none;
  }
}

.eventure-footer__socials img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

/* Copyright */
.eventure-footer__copyright {
  align-self: center;
  justify-self: end;
  font-family: "Didact Gothic", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20.4px;
  color: #eed8d8;
  white-space: nowrap;
}

/* Decorative magenta lines */
.eventure-footer__decor {
  position: absolute;
  width: 75px;
  height: 96px;
  background:
    linear-gradient(#aa1480, #aa1480) 0 0 / 75px 4px no-repeat,
    linear-gradient(#aa1480, #aa1480) 0 30px / 75px 4px no-repeat,
    linear-gradient(#aa1480, #aa1480) 0 60px / 75px 4px no-repeat,
    linear-gradient(#aa1480, #aa1480) 0 90px / 75px 4px no-repeat;
}

.eventure-footer__decor--left {
  left: -260px;
  top: 170px;
}

.eventure-footer__decor--right {
  right: -260px;
  top: 170px;
}

/* Bottom magenta bar */
.eventure-footer__bar {
  background: #aa1480;
  min-height: 40px;
  font-size: 12px;
}

.eventure-footer__bar * {
  font-size: inherit;
}

.eventure-footer__bar-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1522px;
  min-height: 40px;
  margin: 0 auto;
  padding: 8px 32px;
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-family: "Didact Gothic", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: #eed8d8;
}

.eventure-footer__bar-addresses,
.eventure-footer__bar-contact {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  gap: 28px;
}

.eventure-footer__bar a,
.eventure-footer__bar span {
  color: #eed8d8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: normal;
  overflow-wrap: anywhere;
  min-width: 0;
  max-width: 100%;
}

.eventure-footer__bar i {
  font-size: 12px;
  flex-shrink: 0;
  padding-right: 5px;
}

.eventure-footer__mobile-repeat-icon {
  display: none;
}

/* CTA button override */
.eventure-project-cta__button {
  width: 214px;
  height: 50px;
  padding: 16px;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid #aa1480;
  color: #f3cce7;
  background: #aa1480;
}

@media (min-width: 1200px) {
  .eventure-footer__mailchimp {
    width: 100%;
  }

  .eventure-footer__newsletter-note {
    max-width: 100%;
  }

  .eventure-footer__socials {
    gap: clamp(8px, calc(7.5vw - 82px), 26px);
    justify-content: flex-start;
  }
}

/* Tablet */
@media (max-width: 1199px) {
  .eventure-footer__card {
    --eventure-footer-overlap: 20px;
    margin-top: -20px;
    padding: 64px 40px;
  }

  .eventure-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "logo socials"
      "newsletter newsletter"
      "menu1 menu2"
      "menu3 menu3"
      "certs certs"
      "copyright copyright";
    column-gap: 48px;
    --eventure-footer-row-gap: 48px;
    row-gap: var(--eventure-footer-row-gap);
  }

  .eventure-footer__certs {
    gap: 42px;
    flex-wrap: wrap;
    min-width: 0;
  }

  .eventure-footer__copyright {
    justify-self: end;
    white-space: normal;
  }

  .eventure-footer__bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .eventure-footer__bar-addresses,
  .eventure-footer__bar-contact {
    flex-wrap: wrap;
  }

  .eventure-footer__decor {
    display: none;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .eventure-footer__mobile-repeat-icon {
    display: inline-block;
  }

  .eventure-footer__card {
    --eventure-footer-overlap: 0px;
    margin-top: 0;
    padding: 48px 22px;
    border-radius: 0;
  }

  .eventure-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "logo"
      "socials"
      "newsletter"
      "menu1"
      "menu2"
      "menu3"
      "certs"
      "copyright";
    --eventure-footer-row-gap: 36px;
    gap: var(--eventure-footer-row-gap);
  }

  .eventure-footer__logo {
    width: 74px;
    height: auto;
  }

  .eventure-footer__newsletter-text {
    font-size: 22px;
    line-height: 26px;
  }

  .eventure-footer__certs {
    gap: 28px;
    align-items: flex-end;
    padding-top: 0;
  }

  .eventure-footer__cert {
    flex: 0 0 120px;
    max-width: 100%;
  }

  .eventure-footer__cert-text {
    position: static;
    order: 0;
    transform: none;
    margin: 0 0 10px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .eventure-footer__socials {
    justify-content: flex-start;
  }

  .eventure-footer__copyright {
    justify-self: start;
    white-space: normal;
  }

  .eventure-footer__bar-inner {
    padding: 18px 22px;
  }

  .eventure-footer__bar-addresses,
  .eventure-footer__bar-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .eventure-footer__bar-addresses {
    width: 100%;
  }

  .eventure-footer__bar-addresses > * {
    min-width: 0;
  }

  .eventure-footer__bar-addresses span {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
  }
}
