/* ==========================================================================
   Over Ons — About page styles
   ========================================================================== */

/* Intro section (first section with image + heading + text + sticky sidebar) */
.about-intro {
  padding-top: 150px;
  padding-bottom: 4%;
  background-color: var(--color-bg-main);
  background-image: url('../assets/images/background_line.png');
  background-size: initial;
  background-repeat: repeat-x;
  background-position: left bottom;
}

.about-intro__row {
  display: flex;
  gap: 0;
  align-items: flex-start;
}

.about-intro__col-main {
  width: 57.8%;
  margin-right: 5.5%;
  flex-shrink: 0;
}

.about-intro__col-side {
  width: 36.7%;
  flex-shrink: 0;
}

.about-intro__col-side img {
  position: sticky;
  top: 80px;
  width: 100%;
  height: auto;
  display: block;
}

.about-intro__col-main img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin-bottom: 30px;
}

/* About headings */
.about-intro h1,
.about-person h1 {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 400;
  line-height: 1.1em;
  color: var(--color-heading);
  margin-bottom: 20px;
}

.about-intro h1 em,
.about-person h1 em {
  font-style: italic;
  font-weight: 400;
}

/* Body text */
.about-intro p,
.about-person p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7em;
  color: var(--color-body);
  margin-bottom: 1em;
}

.about-intro p:last-child,
.about-person p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Person Sections — Gerlinde & Rozanne
   ========================================================================== */

.about-person {
  padding: 4% 0;
}

.about-person--alt {
  background-color: var(--color-bg-alt);
  background-image: url('../assets/images/background_line_licht.png');
  background-size: initial;
  background-repeat: repeat-x;
  background-position: left bottom;
}

.about-person--main {
  background-color: var(--color-bg-main);
}

.about-person__row {
  display: flex;
  gap: 0;
  align-items: flex-start;
}

/* Image left, text right */
.about-person__col-img {
  width: 36.7%;
  margin-right: 5.5%;
  flex-shrink: 0;
}

.about-person__col-text {
  width: 57.8%;
  flex-shrink: 0;
}

/* Text left, image right (reversed) */
.about-person__row--reversed .about-person__col-text {
  width: 57.8%;
  margin-right: 5.5%;
}

.about-person__row--reversed .about-person__col-img {
  width: 36.7%;
  margin-right: 0;
}

.about-person__col-img img {
  position: sticky;
  top: 80px;
  width: 100%;
  height: auto;
  display: block;
}

/* Signature lines */
.about-person p strong {
  font-weight: 700;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media only screen and (max-width: 980px) {
  .about-intro__col-side img,
  .about-person__col-img img {
    position: static;
  }
}

@media only screen and (max-width: 768px) {
  .about-intro {
    padding-top: 100px;
    padding-bottom: 20px;
  }

  .about-intro h1,
  .about-person h1 {
    font-size: 40px;
  }

  .about-person {
    padding: 30px 0;
  }

  .about-intro__row,
  .about-person__row {
    flex-direction: column;
  }

  .about-intro__col-main,
  .about-intro__col-side,
  .about-person__col-img,
  .about-person__col-text,
  .about-person__row--reversed .about-person__col-text,
  .about-person__row--reversed .about-person__col-img {
    width: 100%;
    margin-right: 0;
  }

  .about-person__col-img {
    margin-bottom: 30px;
  }

  .about-person__row--reversed .about-person__col-text {
    order: 0;
    margin-bottom: 30px;
  }
}
