.fixedBannerModalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 999998;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fixedBannerModalOverlay.hidden,
.fixedBannerModal.hidden {
  opacity: 0;
  visibility: hidden;
}

.fixedBannerModal {
  box-sizing: border-box;
  width: 500px;
  max-width: calc(100vw - 30px);
  border: 5px solid #0360ae;
  border-radius: 20px;
  padding: 0;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999999;
  overflow: hidden;
  background: #28564b;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fixedBannerModal::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #000;
  opacity: 0.14;
  pointer-events: none;
  z-index: 1;
}

.fixedBannerModalClose {
  position: absolute;
  top: 12px;
  right: 14px;
  /* width: 32px; */
  height: 32px;
  font-size: 0;
  line-height: 1;
  background: #091f1d;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
}

.fixedBannerModalClose::before,
.fixedBannerModalClose::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.fixedBannerModalClose::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.fixedBannerModalClose::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.fixedBannerModalImage {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 250px;
  background: url("/wp-content/uploads/banner_cta.webp") no-repeat center/cover;
}

.fixedBannerModalImage img {
  max-width: 310px;
  max-height: 210px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.fixedBannerModalContent {
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  background: #091f1d;
  padding: 28px 24px 30px;
}

.fixedBannerModalText p {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 400;
}

.fixedBannerModalText p:first-child {
  font-size: 25px;
  font-weight: 600;
}

.fixedBannerModalText ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #ffcc00;
  font-size: 18px;
  line-height: 1.25;
}

.fixedBannerModalButton {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 8px 40px;
  border-radius: 10px;
  background: #ffcc02;
  color: #0a1b4e;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s;
}

.fixedBannerModalButton:hover {
  background: #eacf64;
  color: #0a1b4e;
}

@media screen and (max-width: 600px) {
  .fixedBannerModal {
    width: 330px;
  }

  .fixedBannerModalClose {
    top: 7px;
    right: 8px;
  }

  .fixedBannerModalImage {
    height: 165px;
  }

  .fixedBannerModalImage img {
    max-width: 145px;
    max-height: 135px;
  }

  .fixedBannerModalContent {
    gap: 4px;
    padding: 18px 14px 20px;
  }

  .fixedBannerModalText p,
  .fixedBannerModalText ul {
    font-size: 14px;
    line-height: 1.2;
  }

  .fixedBannerModalText p:first-child {
    font-size: 19px;
  }

  .fixedBannerModalButton {
    min-height: 43px;
    padding: 8px 40px;
    font-size: 14px;
  }
}
