.page-hero {
  position: relative;
  display: block;
  width: 100vw;
  height: 41.5em;
  overflow: hidden;
}

.page-hero .hero-image {
  display: block;
  width: auto;
  height: 100%;
  object-fit: cover;
  object-position: 10% 20%;
}

@media screen and (min-width: 40em) {
  .page-hero .hero-image {
    width: 100%;
    object-fit: cover;
    object-position: 50% 50%;
  }
}

.page-hero .hero-overlay {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  justify-content: left;
}

.page-hero .page-title {
  position: relative;
  display: inline-flex;
  flex-flow: column;
  text-align: center;
  font-size: clamp(36px, 4.167vw, 60px);
  font-weight: 700;
  color: var(--color-text-white);
  margin-left: 1em;
  margin-bottom: 2em;
}

.page-hero .page-title small {
  font-size: clamp(14px, 1.389vw, 20px);
  font-weight: 500;
  padding-bottom: 0.5em;
  color: #FFF;
  text-align: left;
}

.page-hero .page-title::after {
  content: "";
  display: block;
  position: absolute;
  width: 52px;
  height: 52px;
  top: -0.625em;
  right: -2em;
  background-image: url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.689 17.213c0 2.266 1.822 4.103 4.069 4.103H42.5v1.368H22.758c-2.247 0-4.069 1.837-4.069 4.103V44h-1.356V26.787c0-2.266-1.822-4.103-4.069-4.103H1.5v-1.368h11.764c2.247 0 4.069-1.837 4.069-4.102V0h1.356v17.213Z' fill='%23C6A75E'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
}

@media screen and (min-width: 40em) {
  .page-hero .hero-overlay {
    align-items: center;
  }

  .page-hero .page-title {
    margin-left: 4em;
    margin-bottom: 0;
  }

  .page-hero .page-title::after {
    width: 62px;
    height: 62px;
    top: -0.25em;
    right: -1.5em;
  }
}

.grid-container {
  padding-top: 0.5em;
  padding-bottom: 0;
}

@media screen and (min-width: 40em) {
  .grid-container {
    padding-top: 1.5em;
    padding-bottom: 1em;
  }
}

.section-caption {
  display: flex;
  flex-flow: column-reverse;
  margin-top: 1em;
  margin-bottom: 1.5em;
}

.section-caption h3 {
  display: block;
  font-weight: 700;
  font-size: clamp(24px, 2.778vw, 40px);
  padding-top: 1em;
  border-top: 1px solid var(--color-border);
}

.section-header {
  position: relative;
  display: block;
  padding-left: 1em;
  font-weight: 700;
  font-size: clamp(10px, 1.111vw, 16px);
}

.section-header::before {
  content: "";
  position: absolute;
  display: block;
  width: 6px;
  height: 6px;
  left: 0;
  top: 50%;
  margin-top: -3px;
  background-color: var(--color-darkblue);
  border-radius: 50% 50%;
}

@media screen and (min-width: 40em) {
  .section-content {
    padding-top: 1.5em;
  }

  .section-caption {
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border);
  }

  .section-header {
    display: inline-block;
    border-bottom: 0;
  }

  .section-caption h3 {
    display: inline-block;
    padding-top: 0;
    border-top: 0;
  }
}

.card {
  border-radius: 0.5em;
}

.post-image > img {
  object-position: center;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

#message .section-body .card {
  display: flex;
  flex-flow: column;
  padding: 1em 1em;
  margin-bottom: 1.5em;
}

#message .post-image {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  flex: none;
}

#message .post-content {
  display: flex;
  flex-flow: column;
  padding: 1.5em 0 0 0;
  font-size: clamp(14px, 3vw, 18px);
}

#message .post-caption {
  font-weight: 700;
  padding-bottom: 1em;
}

#message .post-body {
  flex-grow: 1;
  font-weight: 400;
}

#message .post-footer {
  display: flex;
  flex-flow: column;
  align-items: flex-end;
  border-top: 1px solid var(--color-border);
  padding-top: 1em;
  font-weight: 400;
}

@media screen and (min-width: 40em) {
  #message .section-body .card {
    flex-flow: row;
    margin-bottom: 1em;
  }

  #message .post-image {
    width: 35em;
    max-width: 50%;
    aspect-ratio: 3/4;
    margin: 1em 1em;
  }

  #message .post-content {
    padding: 1.5em 1em 1em 2em;
  }
}

#schoolEnvironment .section-body.card {
  display: flex;
  flex-flow: column;
  background-color: var(--color-darkblue);
  padding: 1em 1em;
}

#schoolEnvironment .section-body .card {
  display: flex;
  flex-flow: column;
  align-items: center;
  padding: 1em 1em;
}

#schoolEnvironment .post-image {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  flex: none;
}

#schoolEnvironment .post-content {
  display: flex;
  flex-flow: column;
  margin-top: 1em;
  font-size: clamp(14px, 3vw, 18px);
}

#schoolEnvironment .post-caption {
  font-weight: 700;
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid var(--color-border);
}

@media screen and (min-width: 40em) {
  #schoolEnvironment .section-body.card {
    padding: 1.75em 1.5em;
  }

  #schoolEnvironment .section-body .card {
    flex-flow: row;
    padding: 1.75em 1.75em;
  }

  #schoolEnvironment .post-image {
    display: inline-block;
    width: 34.375em;
    max-width: 50%;
    aspect-ratio: 16/10;
    flex: none;
  }

  #schoolEnvironment .post-content {
    margin-top: 0;
    padding-left: 1.5em;
  }
}