/* Over ons (page-templates/over-ons.php). */

/* The banner photo (field banner_image) is an <img> under a blue gradient,
   both stretched over the banner: the photo as a background with cover,
   anchored on the left. It has the corners of the blue banners but no blue
   background: the blue would show at the photo's rounded edges. */
.about-us-banner {
  isolation: isolate;
  position: relative;
  border-radius: var(--radius-banner);
  margin-top: var(--space-2);
  margin-left: var(--space-2);
  margin-right: var(--space-2);
  padding-top: 150px;
  padding-bottom: var(--space-20);
}

.about-banner-image,
.about-us-banner::before {
  z-index: -1;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.about-banner-image {
  z-index: -2;
  object-fit: cover;
  object-position: 0% 50%;
}

.about-us-banner::before {
  content: "";
  background-image: linear-gradient(280deg, var(--theme-blue), #fff0);
}

.about-details {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.about-details-wrap {
  gap: var(--space-8);
  padding: 0;
  grid-template-columns: 1fr 1fr;
}

.about-card {
  background-color: var(--theme-blue-tint);
  border-radius: var(--radius-lg);
  width: 100%;
  margin-bottom: var(--space-8);
  padding: 35px;
}

.about-card:hover {
  background-color: var(--white);
  box-shadow: 0 2px 16px 1px #0000000f;
}

.about-card.about-card-offset {
  margin-top: var(--space-8);
}

.about-card-heading {
  justify-content: space-between;
  align-items: flex-end;
  display: flex;
}

.about-card-content {
  padding-top: var(--space-4);
  font-weight: var(--font-weight-light);
  font-size: clamp(16px, 13.1831px + 0.7512vw, 24px);
  line-height: clamp(30px, 26.4789px + 0.939vw, 40px);
}

.about-card-title {
  color: var(--black);
  text-transform: uppercase;
  font-size: clamp(24px, 19.7746px + 1.1268vw, 36px);
}

.about-card-icon {
  background-color: #d95e000f;
  border-radius: 14px;
  width: 70px;
  height: 70px;
  padding: 18px;
}

.figures-section {
  background-color: var(--theme-blue-tint);
  margin-bottom: var(--space-16);
  padding: var(--space-12) var(--space-3);
}

.figures-list {
  gap: var(--space-2);
  color: var(--content-gray-80);
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  margin-top: var(--space-6);
  font-size: 24px;
  line-height: 40px;
  display: grid;
}

/* "In cijfers": centred, smaller than the other section titles. */
.section-title.figures-title {
  text-wrap: balance;
  text-align: center;
  margin-bottom: var(--space-16);
  font-size: clamp(24px, 18.3662px + 1.5023vw, 40px);
}

.figure-item {
  background-image: url("../../img/check-icon.svg");
  background-position: 0 9px;
  background-repeat: no-repeat;
  padding-left: var(--space-6);
  font-size: clamp(18px, 15.8873px + 0.5634vw, 24px);
}

@media screen and (min-width: 1440px) {
  .about-us-banner {
    padding-top: 200px;
    padding-bottom: 150px;
  }

  .about-details {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
  }

  .about-card-icon {
    width: 80px;
    height: 80px;
  }
}

@media screen and (min-width: 1920px) {
  .about-us-banner {
    padding-top: 250px;
    padding-bottom: 200px;
  }

  .about-details-wrap {
    gap: var(--space-10);
  }
}

@media screen and (max-width: 991px) {
  .about-details {
    padding-left: var(--space-2);
    padding-right: var(--space-2);
  }

  .section-title.figures-title {
    margin-bottom: var(--space-8);
  }

  .figures-section {
    margin-bottom: var(--space-12);
  }
}

@media screen and (max-width: 767px) {
  .about-us-banner {
    padding-top: var(--space-16);
    padding-bottom: var(--space-10);
  }

  .about-details-wrap {
    gap: 0;
    grid-template-columns: 1fr;
  }

  .about-card {
    padding: var(--space-4);
  }

  .about-card.about-card-offset {
    margin-top: 0;
  }

  .about-card-icon {
    width: 50px;
    height: 50px;
    padding: 12px;
  }

  .figures-list {
    display: block;
  }
}

@media screen and (max-width: 479px) {
  .about-card-content {
    padding-top: var(--space-2);
  }

  .about-card-icon {
    width: 45px;
    height: 45px;
  }

  .figure-item {
    display: block;
  }
}

@media screen and (min-width: 1440px) {
  .section-title.figures-title {
    font-size: clamp(40px, 10px + 2.0833vw, 50px);
  }
}
