/* =========================================================
   ATOM INSURANCE & COVERAGE CHECKER
   Page ID: 1214
   ========================================================= */


/* =========================================================
   PAGE
   ========================================================= */

.atom-insurance-checker {
  width: 100%;
  background: #ffffff;
  color: #25282b;
}

.atom-insurance-checker,
.atom-insurance-checker * {
  box-sizing: border-box;
}

.atom-insurance-checker__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 54px 28px 58px;
}

.atom-insurance-checker__eyebrow {
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #ef6c23;
}

.atom-insurance-checker__title {
  margin: 0 0 14px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #202326;
}


/* =========================================================
   INTRO
   ========================================================= */

.atom-insurance-intro {
  display: block;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 34px;
  padding: 0;
}

.atom-insurance-intro,
.atom-insurance-intro > * {
  box-sizing: border-box;
}

.atom-insurance-intro h2 {
  width: 100%;
  max-width: none;
  margin: 12px 0 10px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  color: #25282b;
}

.atom-insurance-intro p {
  width: 100%;
  max-width: none !important;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
  color: #4f5559;
}

.atom-insurance-intro p:last-child {
  margin-bottom: 0;
}

.widget:has(.atom-insurance-intro),
.so-panel:has(.atom-insurance-intro),
.panel-widget-style:has(.atom-insurance-intro) {
  width: 100% !important;
  max-width: none !important;
}


/* =========================================================
   COVERAGE SELECTOR
   ========================================================= */

.atom-insurance-coverage {
  margin: 0 0 26px;
}

.atom-insurance-coverage__heading {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #25282b;
}

.atom-insurance-coverage__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}


/*
 * Deliberately aggressive reset because the WordPress theme
 * also applies its own global button styles.
 */
.atom-insurance-coverage__option,
.atom-insurance-coverage__option:hover,
.atom-insurance-coverage__option:focus {
  appearance: none;
  -webkit-appearance: none;

  display: flex;
  align-items: flex-start;
  width: 100%;
  min-height: 92px;

  margin: 0;
  padding: 18px;

  border: 1px solid #dde3e7;
  border-radius: 4px;

  background: #f7f8f8;
  background-image: none;

  color: #25282b;

  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: normal;
  text-align: left;
  text-decoration: none;
  text-transform: none;

  box-shadow: none;
  cursor: pointer;

  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.atom-insurance-coverage__option:hover {
  border-color: #c8cdd1;
  background: #ffffff;
  transform: translateY(-1px);
}

.atom-insurance-coverage__option:focus-visible {
  outline: none;
  border-color: #ef6c23;
  box-shadow: 0 0 0 3px rgba(239, 108, 35, 0.13);
}


/* SELECTED COVERAGE */

.atom-insurance-coverage__option.is-selected,
.atom-insurance-coverage__option.is-selected:hover,
.atom-insurance-coverage__option[aria-pressed="true"],
.atom-insurance-coverage__option[aria-pressed="true"]:hover {
  border-color: #ef6c23;
  background: #fff8f4;
  box-shadow: inset 0 0 0 1px #ef6c23;
}


/* ICON */

.atom-insurance-coverage__icon {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;
  margin: 1px 13px 0 0;

  border: 1px solid #d8dde0;
  border-radius: 50%;

  background: #ffffff;
  color: #ef6c23;

  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.atom-insurance-coverage__option.is-selected
.atom-insurance-coverage__icon,
.atom-insurance-coverage__option[aria-pressed="true"]
.atom-insurance-coverage__icon {
  border-color: #ef6c23;
  background: #ef6c23;
  color: #ffffff;
}


/* CARD COPY */

.atom-insurance-coverage__content {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.atom-insurance-coverage__content strong {
  display: block;
  margin: 0 0 4px;
  color: #202326;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: normal;
}

.atom-insurance-coverage__content > span {
  display: block;
  color: #6c7276;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: normal;
}


/* =========================================================
   SEARCH AREA
   ========================================================= */

.atom-insurance-search {
  margin-top: 0;
  padding: 28px;
  background: #292d31;
}

.atom-insurance-search__label {
  margin-bottom: 5px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

.atom-insurance-search__help {
  margin: 0 0 18px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #c5c8ca;
}


/*
 * Important:
 * The old display:flex declaration overrides the HTML
 * hidden attribute unless this is explicitly defined.
 */
.atom-insurance-search__field-wrap[hidden],
.atom-insurance-self-pay[hidden] {
  display: none !important;
}

.atom-insurance-search__field-wrap {
  display: flex;
  gap: 10px;
  max-width: 760px;
}

.atom-insurance-search__field {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 15px;

  border: 1px solid #d6d8d9;
  border-radius: 3px;

  background: #ffffff;
  color: #25282b;

  font-family: inherit;
  font-size: 14px;

  outline: none;
}

.atom-insurance-search__field:focus {
  border-color: #ef6c23;
  box-shadow: 0 0 0 2px rgba(239, 108, 35, 0.16);
}

.atom-insurance-search__button {
  height: 48px;
  padding: 0 20px;

  border: 0;
  border-radius: 3px;

  background: #ef6c23;
  color: #ffffff;

  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;

  cursor: pointer;
}

.atom-insurance-search__button:hover,
.atom-insurance-search__button:focus {
  background: #d85d18;
  color: #ffffff;
}


/* INACTIVE SEARCH STATE */

.atom-insurance-search--inactive {
  padding-top: 24px;
  padding-bottom: 24px;
}

.atom-insurance-search--inactive
.atom-insurance-search__label {
  font-size: 18px;
}

.atom-insurance-search--inactive
.atom-insurance-search__help {
  margin-bottom: 0;
}


/* =========================================================
   RESULTS
   ========================================================= */

.atom-insurance-result {
  display: none;
  max-width: 760px;
  margin-top: 16px;
  padding: 18px 20px;

  border-left: 3px solid #ef6c23;

  background: #ffffff;
}

.atom-insurance-result.is-visible {
  display: block;
}

.atom-insurance-result__eyebrow {
  margin-bottom: 5px;

  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.atom-insurance-result h3 {
  margin: 0 0 7px;

  color: #202326;

  font-size: 18px;
  line-height: 1.35;
}

.atom-insurance-result p {
  margin: 0;

  color: #565b5f;

  font-size: 12.5px;
  line-height: 1.6;
}

.atom-insurance-result--accepted {
  border-left-color: #4c8a62;
}

.atom-insurance-result--accepted
.atom-insurance-result__eyebrow {
  color: #4c8a62;
}

.atom-insurance-result--suggestion {
  border-left-color: #ef6c23;
}

.atom-insurance-result--suggestion
.atom-insurance-result__eyebrow {
  color: #d85d18;
}

.atom-insurance-result--unknown {
  border-left-color: #9a9da0;
}

.atom-insurance-result--unknown
.atom-insurance-result__eyebrow {
  color: #686d71;
}

.atom-insurance-result--more-info {
  border-left-color: #ef6c23;
}

.atom-insurance-result--more-info
.atom-insurance-result__eyebrow {
  color: #d85d18;
}


/* =========================================================
   SUGGESTIONS / CHOICES
   ========================================================= */

.atom-insurance-choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.atom-insurance-suggestion-button {
  margin-top: 12px;
  padding: 9px 13px;

  border: 1px solid #d9dad8;
  border-radius: 3px;

  background: #f5f5f3;
  color: #25282b;

  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;

  cursor: pointer;
}

.atom-insurance-suggestion-button:hover,
.atom-insurance-suggestion-button:focus {
  border-color: #ef6c23;
  background: #fff8f4;
  color: #25282b;
}

.atom-insurance-choice-button {
  margin-top: 0;
}


/* =========================================================
   BOOKING CTA
   ========================================================= */

.atom-insurance-booking-cta {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.atom-insurance-booking-cta h4 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.3;
  color: #202326;
}

.atom-insurance-booking-cta p {
  margin: 0 0 14px;
}

.atom-insurance-booking-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 11px 20px;

  border: 0;
  border-radius: 5px;

  background: #ef6c23;
  color: #ffffff !important;

  font-family: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;

  cursor: pointer;

  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    opacity 0.15s ease;
}

.atom-insurance-booking-button:hover,
.atom-insurance-booking-button:focus {
  background: #d85d18;
  color: #ffffff !important;
  opacity: 1;
  transform: translateY(-1px);
}


/* =========================================================
   SELF-PAY
   ========================================================= */

.atom-insurance-self-pay {
  margin-top: 0;
  padding: 28px;
  background: #292d31;
}

.atom-insurance-self-pay
.atom-insurance-result {
  margin-top: 0;
}


/* =========================================================
   VERIFICATION REQUEST FORM
   ========================================================= */

.atom-insurance-verification-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-top: 22px;
}

.atom-insurance-verification-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;

  color: #353a3e;
  font-size: 12.5px;
  font-weight: 650;
}

.atom-insurance-verification-form label span {
  font-weight: 400;
  opacity: 0.7;
}

.atom-insurance-verification-form input {
  width: 100%;
  padding: 12px 13px;

  border: 1px solid #cfd6dc;
  border-radius: 6px;

  background: #ffffff;
  color: #25282b;

  font: inherit;
}

.atom-insurance-verification-form input:focus {
  border-color: #ef6c23;
  outline: none;
  box-shadow: 0 0 0 2px rgba(239, 108, 35, 0.13);
}

.atom-insurance-verification-submit,
.atom-insurance-verification-message {
  grid-column: 1 / -1;
}

.atom-insurance-verification-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.atom-insurance-verification-message {
  min-height: 1.4em;
  font-size: 12px;
}


/* =========================================================
   FOOTER NOTE
   ========================================================= */

.atom-insurance-footer-note {
  max-width: 900px;
  margin-top: 14px;
}

.atom-insurance-footer-note p {
  margin: 0;

  color: #6a7074;

  font-size: 11px;
  line-height: 1.55;
}


/* =========================================================
   SCROLL STABILITY
   ========================================================= */

.atom-insurance-search,
.atom-insurance-result,
.atom-insurance-verification-form,
.atom-insurance-self-pay {
  overflow-anchor: none;
}

html:has(body.page-id-1214),
body.page-id-1214 {
  overscroll-behavior-y: none;
}


/*
 * Honeypot field:
 * visually hidden without enlarging document width.
 */
.atom-insurance-verification-form input[name="website"] {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  margin: -1px !important;
  padding: 0 !important;

  border: 0 !important;

  overflow: hidden !important;

  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;

  white-space: nowrap !important;

  left: auto !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 820px) {

  .atom-insurance-coverage__options {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

  .atom-insurance-checker__inner {
    padding: 42px 20px 46px;
  }

  .atom-insurance-checker__title {
    font-size: 28px;
  }

  .atom-insurance-intro {
    margin-bottom: 28px;
  }

  .atom-insurance-coverage {
    margin-bottom: 22px;
  }

  .atom-insurance-coverage__option {
    min-height: 0;
    padding: 16px;
  }

  .atom-insurance-search,
  .atom-insurance-self-pay {
    padding: 22px 18px;
  }

  .atom-insurance-search__label {
    font-size: 20px;
  }

  .atom-insurance-search__field-wrap {
    flex-direction: column;
  }

  .atom-insurance-search__button {
    width: 100%;
  }

  .atom-insurance-verification-form {
    grid-template-columns: 1fr;
  }

  .atom-insurance-choice-list {
    flex-direction: column;
  }

  .atom-insurance-choice-button,
  .atom-insurance-booking-button {
    width: 100%;
  }

}


@media (max-width: 480px) {

  .atom-insurance-coverage__icon {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    margin-right: 11px;
  }

  .atom-insurance-coverage__content strong {
    font-size: 13.5px;
  }

}