#alertModal .modal__overlay {
  padding: 16px;
  overflow-y: auto;
}

#alertModal .modal__container {
  width: 932px;
  height: 454px;
  max-width: calc(100% - 32px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 0;
  background-color: #fef3d6;
  box-shadow: none;
}

#alertModal .modal__container__inner,
#alertModal .voter-modal__layout {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 454px;
}

#alertModal .voter-modal__content {
  position: absolute;
  top: 74px;
  left: 54.812px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  width: 384.968px;
}

#alertModal .voter-modal__copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  width: 100%;
}

#alertModal .modal-heading {
  width: 347.925px;
  margin: 0;
  color: #52242E;
  font-family: "Kameron", serif;
  font-size: 47.212px;
  font-weight: 500;
  line-height: 1;
  word-break: break-word;
}

#alertModal .modal-text {
  width: 100%;
  margin: 0;
  color: #52242E;
  font-family: "Montserrat", sans-serif;
  font-size: 21.754px;
  font-weight: 400;
  line-height: 1.56;
  letter-spacing: -0.2175px;
}

#alertModal .voter-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
  width: 267px;
}

#alertModal .voter-modal__button.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 267px;
  min-height: 48px;
  padding: 7px 21px;
  border: 0;
  background-color: #5CB39B;
  background-image: none;
  box-shadow: none;
  color: #fff;
  font-family: "Kameron", serif;
  font-size: 21.754px;
  font-weight: 500;
  line-height: 1.56;
  letter-spacing: -0.2175px;
  white-space: nowrap;
}

#alertModal .voter-modal__button.btn:hover {
  background-color: rgb(29.342521946%, 62.9319878579%, 53.665928296%);
  color: #fff;
}

#alertModal .voter-modal__button.btn:focus {
  outline: 2px solid #52242E;
  outline-offset: 3px;
}

#alertModal .voter-modal__disclaimer {
  width: 100%;
  margin: 0;
  color: #52242E;
  font-family: "Montserrat", sans-serif;
  font-size: 10.505px;
  font-weight: 400;
  line-height: 1.27975;
  letter-spacing: -0.105px;
  text-transform: uppercase;
}

#alertModal .voter-modal__artwork {
  position: absolute;
  top: 34px;
  left: 556px;
  display: block;
  width: 309px;
  height: 382px;
  overflow: hidden;
}

#alertModal .voter-modal__artwork img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

#alertModal .voter-modal__close {
  position: absolute;
  z-index: 2;
  top: 19px;
  right: 15px;
  display: block;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

#alertModal .voter-modal__close img {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#alertModal .voter-modal__close:focus {
  outline: 2px solid #52242E;
  outline-offset: 3px;
}

@media (max-width: 991px), (max-height: 485px) {
  #alertModal .modal__container {
    width: 600px;
    height: auto;
    padding: 56px 24px 24px;
  }

  #alertModal .modal__container__inner,
  #alertModal .voter-modal__layout {
    min-height: 0;
    height: auto;
  }

  #alertModal .voter-modal__layout,
  #alertModal .voter-modal__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  #alertModal .voter-modal__content,
  #alertModal .voter-modal__artwork {
    position: static;
  }

  #alertModal .voter-modal__content {
    width: 100%;
  }

  #alertModal .modal-heading {
    width: 100%;
    font-size: clamp(36px, 7vw, 47.212px);
    line-height: 1.05;
  }

  #alertModal .modal-text {
    font-size: clamp(18px, 3.5vw, 21.754px);
    line-height: 1.5;
  }

  #alertModal .voter-modal__actions,
  #alertModal .voter-modal__button.btn {
    width: min(267px, 100%);
  }

  #alertModal .voter-modal__button.btn {
    font-size: clamp(17px, 5.5vw, 21.754px);
    white-space: nowrap;
  }

  #alertModal .voter-modal__artwork {
    width: min(309px, 100%);
    height: auto;
    aspect-ratio: 309/382;
    margin: 0 auto;
  }

  #alertModal .voter-modal__close {
    top: 16px;
    right: 16px;
  }
}

