/* Practical guest answers: native disclosure controls and a clear booking handoff. */
.ely-guest-information {
  width: min(calc(100% - (2 * var(--ely-gutter))), 1080px);
  margin: 0 auto clamp(3rem, 7vw, 6rem);
  color: #25292d;
}

.ely-guest-information__intro {
  max-width: 65ch;
  margin-block-end: 2rem;
}

.ely-guest-information h2 {
  margin-block: 0 1rem;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.25;
}

.ely-guest-information p {
  margin-block: 0;
  font-size: 1rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.ely-guest-information__questions {
  border-block-start: 1px solid #bcc3c8;
}

.ely-guest-information__item {
  border-block-end: 1px solid #bcc3c8;
}

.ely-guest-information__item summary {
  padding-block: 1.25rem;
  padding-inline: 0.25rem;
  color: #25292d;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.ely-guest-information__answer {
  max-width: 80ch;
  padding-block: 0 1.5rem;
  padding-inline: 0.25rem;
}

.ely-guest-information__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-block-start: 2rem;
}

.ely-guest-information__actions .ely-guest-information__booking {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.3rem;
  color: #fff;
  background: #293138;
  border: 1px solid #293138;
  font-size: 0.95rem;
  line-height: 1.5;
  text-decoration: none;
  text-align: center;
}

.ely-guest-information__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: #293138;
  font-size: 0.95rem;
  line-height: 1.6;
  text-underline-offset: 0.25em;
}

.ely-guest-information__actions .ely-guest-information__booking:hover {
  color: #fff;
  background: #14191e;
}

.ely-guest-information__link:hover {
  text-decoration-thickness: 2px;
}

.ely-guest-information :is(a, summary):focus-visible {
  outline: 3px solid #293138;
  outline-offset: 4px;
}

.ely-guest-information .ely-booking-handoff {
  max-width: 100%;
}

.ely-guest-information .ely-booking-language-disclosure {
  color: #3f474d;
  font-size: 0.8rem;
}

@media (max-width: 600px) {
  .ely-guest-information__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .ely-guest-information__actions .ely-guest-information__booking {
    width: 100%;
  }
}

@media (forced-colors: active) {
  .ely-guest-information__actions .ely-guest-information__booking {
    color: ButtonText;
    background: ButtonFace;
    border-color: ButtonText;
  }

  .ely-guest-information :is(a, summary):focus-visible {
    outline-color: Highlight;
  }
}
