.cta_banner_module {
  padding: clamp(3rem, 7vw, 7rem) 0;
  overflow: hidden;
}

.cta_banner_module .wrap {
  max-width: var(--ib-container);
  margin: 0 auto;
}

.cta_banner_module__card {
  position: relative;
  display: grid;
  grid-template-columns: 35% 35% 30%;
  align-items: center;
  gap: 2rem;
  min-height: 220px;
  padding: clamp(2rem, 4vw, 3rem);
  background: #dd604e;
  border-radius: 28px;
  isolation: isolate;
  animation: ctaBannerFadeUp 0.7s ease both;
}

.cta_banner_module__content {
  max-width: 440px;
  color: #fff;
  z-index: 2;
}

.cta_banner_module__heading {
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1.05;
  font-weight: 600;
}

.cta_banner_module__text {
  color: #fff;
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 500;
}

.cta_banner_module__text p {
  margin: 0;
}

.cta_banner_module__button_wrap {
  position: relative;
  z-index: 3;
  padding-top: 3.5rem;
}

.cta_banner_module__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: .7rem 3rem;
  background: #2a2b4b;
  color: #fff;
  border-radius: 7px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cta_banner_module__button:hover,
.cta_banner_module__button:focus {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  background: #fff;
  color: #2a2b4b;
}

.cta_banner_module__image_wrap {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 470px;
  height: 420px;
  overflow: hidden;
  -webkit-mask-image: url(/wp-content/uploads/2026/03/mask_squared.png);
  mask-image: url(/wp-content/uploads/2026/03/mask_squared.png);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.cta_banner_module__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Creates the red clipped area behind/around the image */
.cta_banner_module__image_wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: -1;
}

@keyframes ctaBannerFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .cta_banner_module__card {
    grid-template-columns: 1fr;
    padding: 2rem;
    text-align: center;
  }

  .cta_banner_module__content {
    max-width: none;
  }

  .cta_banner_module__button {
    min-width: 220px;
  }

  .cta_banner_module__button_wrap{
    padding-top: 0;
  }

  .cta_banner_module__image_wrap {
    position: relative;
    right: auto;
    top: auto;
    width: min(100%, 420px);
    height: 300px;
    margin: 1rem auto -4rem;
    transform: none;
  }
}

@media (max-width: 640px) {
  .cta_banner_module {
    padding: 1rem;
  }

  .cta_banner_module__card {
    border-radius: 22px;
  }

  .cta_banner_module__button {
    width: 100%;
    min-width: 0;
  }

  .cta_banner_module__image_wrap {
    height: 240px;
    margin-bottom: 1px;
  }
}
