.school-contact-us-page {
  width: 100%;
  max-width: none;
  padding: 0 !important;
  background: #fff;
}

.school-contact-hero {
  position: relative;
  overflow: hidden;
}

.school-contact-hero img {
  display: block;
  width: 100%;
  min-height: 200px;
  max-height: 400px;
  object-fit: cover;
  box-shadow: 18px 20px 22px #d3d3d3;
}

.school-contact-hero h1 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1rem;
  color: #fff;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  font-weight: 700;
  text-align: center;
  text-shadow: 1px 1px 2px #000;
}

.school-contact-content {
  width: min(1170px, calc(100% - 30px));
  margin: 0 auto;
  padding: 2.5rem 0 5rem;
  color: #45484b;
  line-height: 1.6;
}

.school-contact-content a {
  color: #3e809d;
}

.school-contact-intro {
  margin: 0 0 2rem;
  text-align: center;
}

.school-contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.school-contact-card {
  min-width: 0;
  padding: 1.5rem 1rem;
  border: 1px solid #e0e5e8;
  text-align: center;
}

.school-contact-card img {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto .75rem;
  padding: .65rem;
  border-radius: 50%;
  background: #3e809d;
}

.school-contact-card h2 {
  margin: 0 0 .5rem;
  color: #3e809d;
  font-size: 1.1rem;
  font-weight: 700;
}

.school-contact-card p {
  margin: 0;
  overflow-wrap: anywhere;
}

.school-contact-location > h2,
.school-contact-message > h2 {
  margin: 0 0 1.25rem;
  color: #3e809d;
  font-size: 1.6rem;
  font-weight: 700;
}

.school-contact-map {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

.school-contact-directions {
  margin: 1.5rem 0 3.5rem;
  border-top: 1px solid #dce2e5;
}

.school-contact-directions details {
  border-bottom: 1px solid #dce2e5;
}

.school-contact-directions summary {
  padding: 1rem .25rem;
  color: #3e809d;
  font-weight: 700;
  cursor: pointer;
}

.school-contact-directions details > :not(summary) {
  margin-right: .25rem;
  margin-left: .25rem;
}

.school-contact-directions h3 {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 700;
}

.school-contact-message {
  max-width: 760px;
}

.school-contact-message > p {
  margin: -.5rem 0 1.5rem;
}

.school-contact-form {
  display: grid;
  gap: 1.1rem;
}

.school-contact-form > label:not(.school-contact-consent):not(.school-contact-honeypot) {
  display: grid;
  gap: .35rem;
  margin: 0;
  font-weight: 600;
}

.school-contact-form > label:not(.school-contact-consent):not(.school-contact-honeypot) > span {
  color: #3e809d;
}

.school-contact-form input[type="text"],
.school-contact-form input[type="email"],
.school-contact-form select,
.school-contact-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .6rem .75rem;
  border: 1px solid #cbd4d9;
  border-radius: 2px;
  background: #fff;
  color: #343a40;
  font: inherit;
}

.school-contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.school-contact-form input:focus,
.school-contact-form select:focus,
.school-contact-form textarea:focus {
  border-color: #3e809d;
  outline: 2px solid rgba(62, 128, 157, .2);
  outline-offset: 1px;
}

.school-contact-consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 0;
  font-weight: 400;
}

.school-contact-consent input {
  flex: 0 0 auto;
  margin-top: .35rem;
}

.school-contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.school-contact-submit-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.school-contact-submit-row button {
  min-width: 150px;
  min-height: 46px;
  padding: .65rem 1.25rem;
  border: 0;
  background: #3e809d;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.school-contact-submit-row button:hover,
.school-contact-submit-row button:focus-visible {
  background: #326b83;
}

.school-contact-submit-row button:focus-visible {
  outline: 2px solid #1d4e64;
  outline-offset: 3px;
}

.school-contact-submit-row button:disabled {
  opacity: .7;
  cursor: wait;
}

.school-contact-submit-row p {
  flex: 1 1 260px;
  min-height: 1.5em;
  margin: 0;
  color: #286b3a;
}

.school-contact-submit-row p.school-contact-status-error {
  color: #b02a37;
}

@media (max-width: 767.98px) {
  .school-contact-content {
    padding: 2rem 0 3.5rem;
  }

  .school-contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 2.5rem;
  }

  .school-contact-card {
    padding: 1rem .65rem;
  }

  .school-contact-card img {
    width: 52px;
    height: 52px;
  }

  .school-contact-map {
    height: 320px;
  }

  .school-contact-directions {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 479.98px) {
  .school-contact-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .school-contact-card {
    padding: 1.25rem .75rem;
  }

  .school-contact-map {
    height: 260px;
  }
}
