/* Scoped to the map added inside the existing Contact coordinates column. */
.sca-ap-map .sca-ap-map-choice { border: 1px solid #ddd2bf; border-radius: 10px; padding: 16px; font-size: 13px; line-height: 1.5; }
.sca-ap-map .sca-ap-map-choice p { margin: 0 0 12px; text-align: left !important; }
.sca-ap-map .sca-ap-map-choice .sca-button { font-size: 13px; padding: 10px 14px; min-height: 44px; }
.sca-ap-map .sca-ap-map-choice > a { display: block; margin-top: 10px; }
.sca-ap-map .sca-ap-map-withdraw { display: block; margin-top: 10px; background: none; border: 0; text-decoration: underline; color: inherit; cursor: pointer; min-height: 44px; }
.sca-ap-map [hidden] { display: none !important; }
.sca-contact .sca-contact__info .sca-ap-map {
  margin-top: 28px; min-width: 0; width: 100%; box-sizing: border-box;
}
.sca-contact .sca-ap-map h3 {
  font-family: var(--sca-serif, Georgia, serif); font-size: 26px;
  font-weight: 400; color: var(--sca-navy, #0d2d3f); margin: 0 0 14px;
}
.sca-contact .sca-ap-map iframe {
  display: block; box-sizing: border-box; width: 100%; max-width: 100%;
  height: clamp(130px, 14vw, 180px); border: 1px solid #ddd2bf;
  border-radius: 10px; background: #f6f2ea;
}
.sca-contact .sca-ap-map .sca-ap-directions {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; box-sizing: border-box; max-width: 100%;
  margin-top: 14px; padding: 11px 18px; font-size: 14px;
  text-align: center; text-decoration: none;
}
@media (max-width:600px) {
  .sca-contact .sca-ap-map iframe { height: 130px; }
  .sca-contact .sca-ap-map h3 { font-size: 24px; }
}

/* Fill the space below the form without adding another coloured panel. */
.sca-contact .sca-contact__form-wrap.sca-contact-has-options {
  display: flex; flex-direction: column; min-width: 0;
}
.sca-contact .sca-contact-has-options > form { flex: 0 0 auto; }
.sca-contact .sca-contact-options {
  flex: 0 0 auto; display: flex; flex-direction: column; justify-content: flex-start;
  gap: 20px; padding: 24px 0 0; background: transparent;
}
.sca-contact .sca-contact-options__title {
  margin: 0; font-size: 18px; line-height: 1.5; text-align: center !important;
  color: var(--sca-navy, #0d2d3f);
}
.sca-contact .sca-contact-options__buttons {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.sca-contact .sca-contact-options__buttons .sca-button {
  display: inline-flex; justify-content: center; align-items: center;
  flex: 1 1 140px; min-height: 44px; max-width: 240px; min-width: 0;
  padding: 12px 15px; box-sizing: border-box;
  font-size: 14px; line-height: 1.4; text-align: center;
  white-space: normal; text-decoration: none;
}
.sca-contact .sca-contact-options__note {
  margin: 0; font-size: 13px; line-height: 1.6; font-style: italic;
  text-align: center !important; color: var(--sca-navy, #0d2d3f);
}
@media (max-width:600px) {
  .sca-contact .sca-contact-options { padding-top: 28px; }
  .sca-contact .sca-contact-options__buttons { flex-direction: column; align-items: center; }
  .sca-contact .sca-contact-options__buttons .sca-button { flex: none; width: 100%; max-width: 280px; }
}

/* Shared introduction above the coordinates and form. */
.sca-contact .sca-contact-rearranged { align-items: start; row-gap: 24px; }
.sca-contact .sca-contact-intro { grid-column: 1 / -1; min-width: 0; padding: 12px 0 0 18px; }
.sca-contact .sca-contact-intro::before {
  content: ''; display: block; width: 42px; height: 2px;
  background: var(--sca-gold, #b88b43); margin-bottom: 20px;
}
.sca-contact .sca-contact-intro .sca-eyebrow {
  font: 400 30px/1.15 var(--sca-serif, Georgia, serif);
  color: var(--sca-ink, #122534); letter-spacing: 0; text-transform: uppercase; margin: 0 0 10px;
}
.sca-contact .sca-contact-intro h2 {
  font: 400 clamp(26px, 3vw, 36px)/1.2 var(--sca-serif, Georgia, serif);
  color: var(--sca-gold, #b88b43); text-transform: uppercase; margin: 0 0 16px;
}
.sca-contact .sca-contact-intro .sca-richtext { max-width: none; width: 100%; font-size: 16px; line-height: 1.65; }
.sca-contact .sca-contact-intro .sca-richtext p { margin: 0 0 10px; }
.sca-contact .sca-contact-rearranged > .sca-contact__info {
  padding: 30px 18px; border-top: 1px solid transparent; min-width: 0;
}
.sca-contact .sca-contact-rearranged > .sca-contact__info::before { display: none; }
.sca-contact .sca-contact-rearranged .sca-contact__details { margin-top: 0; }
.sca-contact .sca-contact-rearranged .sca-contact__details > div:first-child { padding-top: 0; }
.sca-contact .sca-contact-rearranged > .sca-contact__form-wrap { padding-top: 30px; align-self: start; }
@media (max-width:900px) {
  .sca-contact .sca-contact-rearranged { grid-template-columns: minmax(0,1fr); }
  .sca-contact .sca-contact-intro { padding-inline: 0; }
  .sca-contact .sca-contact-rearranged > .sca-contact__info { padding: 8px 0; }
}
