/* ================================
   EXDS Modals
================================ */

.exds-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.exds-modal.is-open {
  display: flex;
}

.exds-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(8px);
}

.exds-modal__box {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
  max-height: 88vh;
  overflow-y: auto;
  background:
    radial-gradient(circle at top right, rgba(183,25,48,0.16), transparent 36%),
    #070707;
  border: 1px solid rgba(183,25,48,0.5);
  box-shadow: 0 28px 90px rgba(0,0,0,0.72);
  padding: clamp(30px, 4vw, 54px);
  color: #ffffff;
}

.exds-modal__close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.exds-modal__close:hover {
  background: #B71930;
  border-color: #B71930;
}

.exds-modal__eyebrow {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #B71930;
  margin: 0 0 12px;
}

.exds-modal h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0 0 26px;
}

/* WPForms styling */

.exds-modal .wpforms-container {
  margin: 0 !important;
}

.exds-form .wpforms-field {
  padding: 0 0 18px !important;
}

.exds-form .wpforms-field-label {
  font-family: "Bebas Neue", "Oswald", sans-serif !important;
  font-size: 14px !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.86) !important;
  margin-bottom: 8px !important;
}

.exds-form input,
.exds-form textarea,
.exds-form select {
  width: 100% !important;
  background: rgba(255,255,255,0.045) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  color: #ffffff !important;
  font-family: "Manrope", "Inter", sans-serif !important;
  font-size: 15px !important;
  padding: 15px 16px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.exds-form input:focus,
.exds-form textarea:focus,
.exds-form select:focus {
  border-color: #B71930 !important;
  outline: none !important;
  box-shadow: 0 0 0 1px rgba(183,25,48,0.4) !important;
}

.exds-form textarea {
  min-height: 130px !important;
}

.exds-form-submit,
.exds-modal .wpforms-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 180px !important;
  background: #B71930 !important;
  border: 1px solid #B71930 !important;
  color: #ffffff !important;
  font-family: "Bebas Neue", "Oswald", sans-serif !important;
  font-size: 16px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 17px 34px !important;
  border-radius: 0 !important;
  cursor: pointer !important;
}

.exds-form-submit:hover,
.exds-modal .wpforms-submit:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #000000 !important;
}

body.exds-modal-open {
  overflow: hidden;
}

/* Fix WPForms select/dropdown clipping */
.exds-form select,
.exds-modal .wpforms-field-select select {
  height: 54px !important;
  min-height: 54px !important;
  line-height: 54px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: block !important;
  appearance: auto !important;
}

/* WPForms confirmation message */
.exds-modal .wpforms-confirmation-container-full,
.exds-modal .wpforms-confirmation-scroll {
  background: rgba(183,25,48,0.12) !important;
  border: 1px solid rgba(183,25,48,0.55) !important;
  color: rgba(255,255,255,0.88) !important;
  font-family: "Manrope", "Inter", sans-serif !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  padding: 22px 24px !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

/* ================================
   Bio Modal
================================ */

.exds-modal__box--bio {
  width: min(100%, 860px);
}

.exds-bio-content {
  margin-top: 28px;
}

.exds-bio-content p {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.78;
  color: rgba(255,255,255,0.76);
  margin: 0 0 20px;
}

.exds-bio-content p:last-child {
  margin-bottom: 0;
  color: #ffffff;
  font-weight: 600;
}

.exds-bio-content strong {
  color: #ffffff;
  font-weight: 700;
}