.airsea-newsletter {
  align-items: center;
  background:
    radial-gradient(circle at 28% 18%, rgba(235, 88, 46, 0.22), transparent 32%),
    radial-gradient(circle at 76% 72%, rgba(29, 147, 184, 0.26), transparent 34%),
    rgba(7, 21, 31, 0.78);
  backdrop-filter: blur(7px);
  bottom: 0;
  display: none;
  justify-content: center;
  left: 0;
  padding: 24px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10000002;
}

.airsea-newsletter.is-visible {
  display: flex;
}

.airsea-newsletter__dialog {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(2, 12, 20, 0.42);
  color: #17313c;
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) minmax(340px, 1fr);
  max-width: 860px;
  min-height: 460px;
  overflow: hidden;
  position: relative;
  width: min(100%, 860px);
}

.airsea-newsletter__visual {
  background:
    linear-gradient(180deg, rgba(7, 39, 53, 0.08), rgba(7, 39, 53, 0.78)),
    url("/themes/custom/turmet/images/default-page-header.jpg") center/cover;
  min-height: 460px;
  position: relative;
}

.airsea-newsletter__visual::after {
  background:
    linear-gradient(135deg, transparent 0 44%, rgba(255, 255, 255, 0.2) 44% 45%, transparent 45%),
    linear-gradient(45deg, rgba(236, 87, 47, 0.86), rgba(48, 162, 197, 0.72));
  border-radius: 999px;
  bottom: 34px;
  content: "";
  height: 96px;
  left: 34px;
  opacity: 0.92;
  position: absolute;
  width: 96px;
}

.airsea-newsletter__eyebrow {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  color: #0c536a;
  font-size: 12px;
  font-weight: 800;
  left: 28px;
  letter-spacing: 0;
  padding: 9px 15px;
  position: absolute;
  text-transform: uppercase;
  top: 28px;
}

.airsea-newsletter__content {
  align-self: center;
  padding: 58px 62px 52px;
  position: relative;
  text-align: left;
}

.airsea-newsletter__close {
  align-items: center;
  background: #f5f0ea;
  border: 1px solid rgba(23, 49, 60, 0.08);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(23, 49, 60, 0.12);
  color: #17313c;
  border: 0;
  cursor: pointer;
  display: flex;
  font-size: 26px;
  font-weight: 300;
  height: 44px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 44px;
}

.airsea-newsletter__close:hover,
.airsea-newsletter__close:focus {
  background: #ec572f;
  color: #ffffff;
}

.airsea-newsletter__logo {
  display: block;
  filter: none;
  height: auto;
  margin: 0 0 18px;
  max-width: 310px;
  opacity: 1;
  width: 86%;
}

.airsea-newsletter__kicker {
  color: #ec572f;
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 13px;
  text-transform: uppercase;
}

.airsea-newsletter h2 {
  color: #102d38;
  font-size: clamp(31px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0 0 18px;
  max-width: 410px;
}

.airsea-newsletter p {
  color: #58707b;
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 27px;
  max-width: 420px;
}

.airsea-newsletter label {
  color: #17313c;
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.airsea-newsletter__field {
  align-items: stretch;
  background: #f7fbfd;
  border: 1px solid #d4e3e8;
  border-radius: 999px;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) 104px;
  max-width: 430px;
  padding: 6px;
}

.airsea-newsletter input[type="email"] {
  background: transparent;
  border: 0;
  color: #24313a;
  height: 46px;
  margin: 0;
  min-width: 0;
  padding: 0 18px;
  text-align: left;
  width: 100%;
}

.airsea-newsletter input[type="email"]:focus {
  outline: 0;
}

.airsea-newsletter__submit {
  background: #ec572f;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(236, 87, 47, 0.24);
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  height: 46px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  width: 100%;
}

.airsea-newsletter__submit:hover,
.airsea-newsletter__submit:focus {
  background: #d94821;
}

.airsea-newsletter small {
  color: #7b8b91;
  display: block;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 12px;
}

.airsea-newsletter__message {
  color: #173847;
  font-size: 14px;
  margin-top: 14px;
  min-height: 22px;
}

.airsea-newsletter__message.is-error {
  color: #b4371d;
}

.airsea-newsletter__message.is-success {
  color: #176d47;
}

@media (max-width: 640px) {
  .airsea-newsletter {
    padding: 16px;
  }

  .airsea-newsletter__dialog {
    display: block;
    border-radius: 18px;
    min-height: 0;
  }

  .airsea-newsletter__visual {
    min-height: 150px;
  }

  .airsea-newsletter__visual::after {
    bottom: 18px;
    height: 58px;
    left: 22px;
    width: 58px;
  }

  .airsea-newsletter__content {
    padding: 34px 24px 28px;
  }

  .airsea-newsletter h2 {
    font-size: 29px;
  }

  .airsea-newsletter__field {
    border-radius: 18px;
    display: block;
    padding: 8px;
  }

  .airsea-newsletter__submit {
    margin-top: 6px;
  }
}
