.newsletter-modal {
  padding: 0.6250rem;
  position: relative;
}

@media screen and (min-width: 990px) {
  .newsletter-modal {
    padding: 1.5625rem;
  }
}

.newsletter-modal__close {
  height: 1.3750rem;
  padding: 0.2500rem 0.6250rem;
  position: absolute;
  top: 0.6250rem;
  right: 0.6250rem;
  /* top: 1.2500rem; */
  /* right: 1.2500rem; */
  border: 0;
  border-radius: 2.1875rem;
  background: var(--hh-color-brand-tertiary);
  font: var(--hh-button-font);
  line-height: 1.3750rem;
  color: var(--hh-color-night);
  cursor: pointer;
  z-index: 4;
  transition: transform 0.7s ease;
}

.newsletter-modal__close:hover {
  transform: scale(1.2);
}

@media screen and (min-width: 750px) {
  .newsletter-modal__close {
    height: 1.5625rem;
    top: 0.6250rem;
    right: 0.6250rem;
  }
}

.newsletter-modal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9375rem;
}

.newsletter-modal__media {
  display: none;
}

@media screen and (min-width: 750px) {
  .newsletter-modal__grid {
    align-items: center;
    grid-template-columns: 1fr 1fr;
    gap: 1.5625rem;
  }

  .newsletter-modal__media {
    display: block;
    height: 100%;
  }
}

.newsletter-modal__heading {
  margin: 0;
  margin-bottom: 0.3125rem;
}

.newsletter-modal__text {
  max-width: 18.7500rem;
}

.newsletter-form__input {
  border-color: var(--hh-color-neutral);
  --hh-font: var(--hh-body-small-font);
}

.newsletter-form__input.error {
  border-color: var(--hh-color-danger);
}
.newsletter-form__input.error input {
  outline-color: var(--hh-color-danger);
}

.newsletter-form__checkbox label {
  font: var(--hh-body-x-small-font);
  color: var(--hh-color-grey);
}
.newsletter-form__checkbox-link {
  text-decoration: underline;
  color: var(--hh-color-grey);
  transition: all 0.3s ease-in;
}
.newsletter-form__checkbox-link:hover {
  text-decoration-thickness: 0.1250rem;
}
.newsletter-form__checkbox.error .newsletter-form__checkbox-label::before {
  border-color: var(--hh-color-danger);
}

.newsletter-form__checkbox-label a {
  text-decoration: underline;
  color: var(--hh-color-grey);
  transition: all 0.3s ease-in;
}
.newsletter-form__checkbox-label a:hover {
  text-decoration-thickness: 0.1250rem;
}

.newsletter-form__submit {
  width: 100%;
  margin-top: 0.7500rem;
}

.newsletter-form__status {
  display: flex;
}

.newsletter-form__status small {
  /* text-transform: capitalize; */
}

.newsletter-modal__thank-you {
  padding: 1.5625rem;
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  background-color: var(--hh-color-reverse);
}

.newsletter-modal__thank-you .h5 {
  margin: 0;
  margin-bottom: 0.5000rem;
}

.newsletter-modal__thank-you .body-x-small {
  margin: 0;
  margin-bottom: 0.9375rem;
}

/* Phone input */

.newsletter-modal__form .iti {
  width: 100%;
}

.newsletter-form__input--phone {
  height: 2.9375rem;
  padding-top: 0.6250rem;
  padding-bottom: 0.6250rem;
  border: solid 1px var(--hh-color-neutral);
  width: 100%;
  font: var(--hh-font);
}

@media screen and (max-width: 749px) {
  .newsletter-form__input--phone  {    
    font-size: 1.0000rem;
  }
}

.newsletter-form__input--phone::placeholder {
  color: var(--hh-color-grey);
  font-size: 0.7500rem;
}

.newsletter-modal__form .iti--inline-dropdown .iti__dropdown-content {
  z-index: 4;
}

.newsletter-modal__form .iti--inline-dropdown .iti__search-input {
  padding: 0.6250rem;
  border-radius: 0;
  height: 2.5000rem;
}

.newsletter-modal__form .iti--inline-dropdown .iti__flag {
  display: block;
}
