/* Homepage "About WaveLocal" section (components/section-about.php). Heading, photograph, copy, three points and one button.
 * Phones and tablets: heading, then photograph, then copy. Desktop (64rem and up): photograph on the left, text on the right,
 * vertically centred against it. The photograph frame has a fixed shape, so a replacement picture cannot shift the layout. */
.about-intro {
  position: relative;
  z-index: 1;
  padding: 0 1rem clamp(3.75rem, 7.82vw, 6.25rem);
}
.about-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "media"
    "body";
  row-gap: 1.5rem;
  margin: 0 auto;
  max-width: 80rem;
  width: 100%;
}
.about-intro__head {
  grid-area: head;
  text-align: left;
}
.about-intro__head .cs-title {
  margin: 0;
  max-width: none;
  text-wrap: balance;
}
.about-intro__media {
  grid-area: media;
  position: relative;
  overflow: hidden;
  border-radius: clamp(1rem, 10vw, 6.25rem);
  border-bottom-right-radius: 1rem;
  background-color: #0b2a4a;
  aspect-ratio: 4 / 3;
  width: 100%;
}
.about-intro__img {
  position: absolute;
  inset: 0;
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 5%; /* keeps the heads in view when the frame crops to 3:2 or 4:3 */
}
.about-intro__body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 34rem;
}
.about-intro__copy {
  margin-bottom: 1.5rem;
}
.about-intro__copy p {
  margin: 0 0 0.9rem;
  text-wrap: pretty;
  font-size: 1.0625rem;
  line-height: 1.65em;
  color: var(--bodyTextColor);
}
.about-intro__copy p:last-child {
  margin-bottom: 0;
}
.about-intro__points {
  margin: 0 0 1.75rem;
  padding: 0;
  width: 100%;
  list-style: none;
}
.about-intro__points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  border-top: 1px solid #e3e8ee;
  padding: 0.75rem 0;
  font-size: 1.0625rem;
  line-height: 1.3em;
  font-weight: 600;
  color: var(--headerColor);
}
.about-intro__points li:last-child {
  border-bottom: 1px solid #e3e8ee;
}
.about-intro__points img {
  flex: none;
  height: 1.5rem;
  width: 1.5rem;
}
@media only screen and (min-width: 40rem) {
  .about-intro__inner {
    row-gap: 2rem;
  }
  .about-intro__media {
    aspect-ratio: 3 / 2;
  }
  .about-intro__copy p {
    font-size: 1.125rem;
  }
}
@media only screen and (min-width: 64rem) {
  .about-intro__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas:
      "media ."
      "media head"
      "media body"
      "media .";
    column-gap: clamp(3rem, 6vw, 6rem);
    row-gap: 0;
  }
  .about-intro__head {
    padding-bottom: 1.75rem;
  }
  .about-intro__media {
    aspect-ratio: 4 / 5;
  }
  .about-intro__copy {
    margin-bottom: 1.75rem;
  }
}
html.dark-mode .about-intro__head .cs-title {
  color: #fff;
}
html.dark-mode .about-intro__copy p {
  color: rgba(255, 255, 255, 0.86);
}
html.dark-mode .about-intro__points li {
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}
html.dark-mode .about-intro__media {
  background-color: #0a1824;
}
