/* Shared Get in touch banner for interior pages. */

#starting-tuition .home-contact-profile > figcaption { font-size: calc(10px + 1pt); white-space: nowrap; }
body main > #starting-tuition.home-start {
  box-sizing: border-box;
  margin-inline: auto;
  background: var(--navy, #2c3c50) !important;
  padding-block: clamp(15px, 1.875vw, 22.5px) !important;
  padding-inline: 0 !important;
  width: min(940px, calc((min(100%, 1240px) - 10%) * .84));
  margin-block: clamp(20px, 3vw, 40px) clamp(18px, 2.5vw, 32px);
  box-shadow: 0 0 0 100vmax var(--navy, #2c3c50);
  clip-path: inset(0 -100vmax);
}
body #starting-tuition .home-contact-columns {
  display: grid;
  grid-template-columns: 143px minmax(0, 1fr) 143px;
  justify-items: center;
  align-items: center;
  gap: clamp(18px, 3.75vw, 46.5px);
}
body #starting-tuition .home-contact-column { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; width: 100%; }
body #starting-tuition .home-contact-column > p a { color: inherit !important; font-weight: 400; text-decoration: underline !important; text-decoration-thickness: 1px; text-underline-offset: .15em; }
body #starting-tuition .home-contact-column > p,
body #starting-tuition .home-contact-profile > figcaption,
body #starting-tuition .home-contact-profile .home-contact-role {
  color: white !important;
}
body #starting-tuition .home-contact-columns > .btn {
  color: white !important;
  outline: 1px solid white;
  outline-offset: -1px;
}

body #starting-tuition.home-start .home-contact-column > p { text-align: left !important; }
body main > #starting-tuition {
  --home-conversation-heading-size: calc(clamp(24px, 3vw, 25px) + 5pt);
}
body #starting-tuition .home-contact-column > h2 {
  font-size: calc(var(--home-conversation-heading-size) - 1pt) !important;
  font: 400 calc(var(--home-conversation-heading-size) - 1pt)/1.25 Georgia, serif !important;
  color: white !important;
  margin: 0 0 12px !important;
  text-align: left !important;
}
body #starting-tuition.home-start .home-contact-column > p {
  font-family: Georgia, serif !important;
  font-weight: 400 !important;
  color: #fff !important;
  text-shadow: none;
  font-size: 16px !important;
  line-height: calc(1.5em + 2pt) !important;
  margin: 0 !important;
  max-width: none;
}
#starting-tuition .home-contact-profile { width: 143px; max-width: 100%; margin: 0; text-align: center; }
#starting-tuition .home-contact-portrait-link { display: block; }
#starting-tuition .home-contact-portrait { display: block; width: 100%; height: auto; }
#starting-tuition .home-contact-columns > .btn {
  display: block;
  box-sizing: border-box;
  width: min(128px, 100%);
  margin: 0;
  padding-inline: 8px;
  text-align: center;
}
.home-contact-profile > figcaption {
  margin-top: 3px;
  font: 400 calc(10px + 1pt)/1.6 Arial, sans-serif;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: #29465f;
}
.home-contact-profile .home-contact-role {
  display: block;
  text-transform: none;
  white-space: nowrap;
}
@media (max-width: 760px) {
  body #starting-tuition .home-contact-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }
  #starting-tuition .home-contact-columns > .btn { width: 170px; max-width: 100%; }
}
@media (max-width: 900px) {
  body main > #starting-tuition.home-start { width: 90%; }
}
@media (max-width: 650px) {
  body main > #starting-tuition.home-start { width: 86%; }
}
@media (max-width: 600px) {
  body main > #starting-tuition.home-start { width: min(86%, 360px); }
}
@media (min-width: 761px) {
  #starting-tuition .home-contact-profile { justify-self: start; }
  #starting-tuition .home-contact-columns > .btn { justify-self: end; }
}

/* Keep a smaller white gap between Related Pages and the consultation banner. */
main > section:has(+ #starting-tuition):has(.related-pages-banner) {
  padding-bottom: 32px !important;
}
main > section:has(+ #starting-tuition) .standard-enquiry-ending > .related-pages-banner {
  margin-bottom: 0 !important;
}
