/*-- -------------------------- -->
<---            About            -->
<--- -------------------------- -*/

/* Framed photo left / info panel right (stacks image-on-top on
   mobile), light-on-light on a flat parchment background. */
@media only screen and (min-width: 0rem) {
  #about {
    width: 100%;
    background-color: var(--parchment);
    padding: clamp(3.75rem, 7.82vw, 6.25rem) 1.5rem;
  }
  #about .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
  #about .cs-image-group {
    width: 100%;
    max-width: 26rem;
    aspect-ratio: 4 / 5;
    margin: 0 auto;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 1.5rem 3rem rgba(56, 47, 55, 0.18);
  }
  #about .cs-image-group img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  #about .cs-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #about .cs-topper {
    color: var(--accentTextDark);
  }
  #about .cs-title {
    font-family: var(--headingFont);
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2em;
    color: var(--navy);
    margin: 0 0 0.5rem;
  }
  #about .cs-role {
    font-family: var(--bodyFont);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--accentText);
    margin: 0 0 1.5rem;
  }
  #about .cs-text {
    font-family: var(--bodyFont);
    font-size: 1rem;
    line-height: 1.7em;
    color: var(--bodyTextColor);
    margin: 0 0 1.25rem;
  }
  #about .cs-text:last-of-type {
    margin-bottom: 2rem;
  }

  /* Accreditation bar -- text wordmarks standing in for real
     accrediting-body logos until Root & Rise's actual ones are
     supplied. */
  #about .cs-card-group {
    width: 100%;
    max-width: 26rem;
    margin: 0 0 2.25rem;
    padding: 0;
    display: flex;
    align-items: center;
  }
  #about .cs-item {
    flex: 1 1 0;
    list-style: none;
    padding: 0 1rem;
    text-align: center;
  }
  #about .cs-item:first-child {
    padding-left: 0;
  }
  #about .cs-item:last-child {
    padding-right: 0;
  }
  #about .cs-item:not(:first-child) {
    border-left: 1px solid rgba(13, 46, 41, 0.18);
  }
  #about .cs-item img {
    width: 100%;
    max-width: 5rem;
    height: auto;
    max-height: 2.75rem;
    object-fit: contain;
    margin: 0 auto;
  }
}

/* Desktop - 64rem: side-by-side row */
@media only screen and (min-width: 64rem) {
  #about .cs-container {
    flex-direction: row;
    align-items: center;
    gap: 4.5rem;
  }
  #about .cs-image-group {
    flex: 0 0 auto;
    width: 44%;
    max-width: 28rem;
    margin: 0;
  }
  #about .cs-content {
    flex: 1 1 auto;
  }
}
