/* Site-wide notice popup (tx_tmpl_noticepopup), red like the news teaser. */
.notice-popup {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.notice-popup::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.notice-popup__panel {
  position: relative;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 40px 48px 36px;
  background: rgb(229, 22, 48);
  color: #fff;
  font-family: "Titillium Web", Arial, sans-serif;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.notice-popup__close-form {
  position: absolute;
  top: 8px;
  right: 8px;
  margin: 0;
}

.notice-popup__close {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.notice-popup__close:hover,
.notice-popup__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.notice-popup__title {
  margin: 0 32px 16px 0;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.notice-popup__text,
.notice-popup__text p {
  color: #fff;
  font-size: 19px;
  line-height: 1.5;
}

.notice-popup__text p:last-child {
  margin-bottom: 0;
}

.notice-popup__text a {
  color: #fff;
  text-decoration: underline;
}

.notice-popup__action {
  margin: 24px 0 0;
}

.notice-popup__link,
.notice-popup__link:visited {
  display: inline-block;
  padding: 10px 22px;
  border: 2px solid #fff;
  background: #fff;
  color: rgb(229, 22, 48);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.notice-popup__link:hover,
.notice-popup__link:focus-visible {
  background: transparent;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 600px) {
  .notice-popup__panel {
    padding: 32px 20px 24px;
  }

  .notice-popup__title {
    font-size: 24px;
  }

  .notice-popup__text,
  .notice-popup__text p {
    font-size: 17px;
  }
}
