/* Styles for src/pages/about.njk.
   Moved out of the template; the about-<tag>-<n> classes replace former
   inline style attributes. Give them meaningful names when you next edit them. */

@layer site {
  .about-section {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .about-image {
    width: 50vw;
  }

  .about-content {
    width: 50vw;
    padding: 80px 60px;
  }

  /* Stack on smaller displays */
  @media (max-width: 980px) {
    .about-section {
      flex-direction: column;
    }

    .about-section-reverse {
      flex-direction: column;
    }

    .about-image,
    .about-content {
      width: 100%;
    }

    .about-content {
      padding: 60px 40px;
    }
  }

  @media (max-width: 767px) {
    .about-content {
      padding: 40px 20px;
    }

    .about-content h2 {
      font-size: 36px;
    }

    .about-content .kicker {
      font-size: 22px;
    }
  }
}

/* Former inline styles: unlayered so they keep priority over the site
   stylesheets, as inline styles did. */
.about-section-1 {
  padding: 0;
}

.about-img-1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding: 0;
}

.about-h3-1 {
  color: var(--color-subheading);
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 800;
}

.about-h2-1 {
  color: var(--color-heading);
  margin-bottom: 30px;
  font-size: 50px;
  font-weight: 800;
}

.about-p-1 {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-p-2 {
  font-size: 16px;
  line-height: 1.8;
}

.about-section-2 {
  padding: 0;
  background-color: var(--color-bg-light);
}

.about-a-1 {
  color: var(--color-link);
}
