.c-popupBanner {
  position: fixed;
  z-index: 2147483000;
  right: 24px;
  bottom: 24px;
  width: min(360px, calc(100vw - 48px));
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.c-popupBanner[hidden],
.c-popupBanner.is-offscreen {
  display: none !important;
}

.c-popupBanner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.c-popupBanner.is-closing {
  pointer-events: none;
}

.c-popupBanner__inner {
  position: relative;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.22));
}

.c-popupBanner__link,
.c-popupBanner__visual,
.c-popupBanner__picture,
.c-popupBanner__image {
  display: block;
  width: 100%;
}

.c-popupBanner__link {
  transition: opacity 0.2s ease;
}

.c-popupBanner__link:hover {
  opacity: 0.88;
}

.c-popupBanner__image {
  height: auto;
}

.c-popupBanner__close {
  position: absolute;
  top: -13px;
  right: -13px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  appearance: none;
}

.c-popupBanner__close::before,
.c-popupBanner__close::after {
  position: absolute;
  width: 15px;
  height: 2px;
  background: #fff;
  content: "";
}

.c-popupBanner__close::before {
  transform: rotate(45deg);
}

.c-popupBanner__close::after {
  transform: rotate(-45deg);
}

.c-popupBanner__close:hover {
  background: #000;
}

.c-popupBanner__close:focus-visible {
  outline: 3px solid #1d73be;
  outline-offset: 2px;
}

@media screen and (min-width: 901px) {
  .c-popupBanner--mobileOnly {
    display: none !important;
  }
}

@media screen and (max-width: 900px) {
  .c-popupBanner {
    right: 12px;
    bottom: 12px;
    width: min(320px, calc(100vw - 24px));
  }

  .c-popupBanner--desktopOnly {
    display: none !important;
  }

  .c-popupBanner__close {
    top: -10px;
    right: -8px;
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c-popupBanner,
  .c-popupBanner__link {
    transition: none;
  }
}
