/* ==========================================================================
   about.css — About page
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Who we are
   -------------------------------------------------------------------------- */

.about-intro {
  text-align: left;
  z-index: 2;
}

.about-intro__inner {
  max-width: 100%;
  align-items: center;
}

.about-intro__box {
  max-width: 55rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-intro__eyebrow {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-muted);
}

.about-intro__display {
  font-weight: 700;
  font-size: 3rem;
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 2rem;
}

.about-intro__text {
  font-size: 1.2rem;
  max-width: 55rem;
  line-height: 2;
  color: var(--color-body);
}

@media (max-width: 991px) {
  .about-intro__text {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .about-intro__box {
    text-align: left;
    align-items: center;
  }

  .about-intro__display {
    font-size: 2rem;
    text-align: center;
  }

  .about-intro__text {
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   2. Commitment to sustainability
   -------------------------------------------------------------------------- */

.commitment {
  width: 100%;
  display: block;
  text-align: center;
}

.commitment__inner {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  padding: 75px 0 150px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.commitment__panel {
  max-width: 50rem;
  width: 50%;
  align-self: stretch;
  padding: 50px 30px;
  background-color: var(--color-orange);
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: right;
}

.commitment__title {
  color: var(--color-white);
  text-align: center;
}

.commitment__text {
  color: var(--color-white);
  max-width: 35rem;
  text-align: center;
}

.commitment__list {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.commitment__item {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.commitment__item-title {
  color: var(--color-navy);
  font-weight: 600;
  font-size: 1.5rem;
}

.commitment__item-text {
  text-align: left;
}

@media (max-width: 767px) {
  .commitment__inner {
    flex-direction: column;
  }

  .commitment__panel {
    width: 100%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .commitment__list {
    width: 100%;
    gap: 20px;
    padding-top: 50px;
  }
}

/* --------------------------------------------------------------------------
   3. Our leaders
   -------------------------------------------------------------------------- */

.leaders {
  text-align: left;
}

.leaders__inner {
  padding-bottom: 250px;
}

.leaders__heading {
  color: var(--color-navy);
  margin-bottom: 50px;
  display: none;
}

.leaders__grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  width: 100%;
}

.leader {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.leader__img {
  border-radius: 20px;
}

.leader__name {
  position: absolute;
  bottom: 0;
  top: 105%;
  left: 0;
  right: 0;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.leader__title {
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

.leader__role {
  color: var(--color-muted-dark);
  text-transform: uppercase;
}

.leaders__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-orange);
  border-radius: 20px;
}

.leaders__card-title {
  color: var(--color-white);
}

@media (max-width: 767px) {
  .leaders__inner {
    padding-top: 0;
    padding-bottom: 75px;
    display: grid;
    align-items: stretch;
    grid-template-columns: repeat(1, minmax(200px, 1fr));
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }

  .leaders__heading {
    display: block;
    margin-bottom: 20px;
    text-align: center;
  }

  .leaders__grid {
    display: flex;
    flex-direction: column;
  }

  .leader:last-of-type {
    text-align: left;
    align-items: center;
  }

  .leader__name {
    position: relative;
    top: 0;
    text-align: center;
    align-items: center;
  }

  .leaders__card {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   4. Closing statement
   -------------------------------------------------------------------------- */

.closing {
  width: 100%;
  display: block;
  background-color: var(--color-navy);
  text-align: left;
  min-height: 60vh;
  height: 60vh;
}

.closing__inner {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  min-height: inherit;
  padding: 0 20px 0 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.closing__media {
  width: 50%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.closing__image {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.closing__body {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: right;
}

.closing__text {
  font-size: 2.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--color-white);
  text-align: left;
  max-width: 30rem;
}

@media (max-width: 1120px) {
  .closing__text {
    max-width: 25rem;
  }
}

@media (max-width: 991px) {
  .closing__text {
    max-width: 20rem;
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .closing__inner {
    padding-right: 0;
    flex-direction: column;
  }

  .closing__media {
    width: 100%;
    height: 50%;
    margin-right: 20px;
    border-bottom-right-radius: 50px;
  }

  .closing__body {
    width: 100%;
    height: 50%;
    justify-content: center;
  }

  .closing__text {
    font-size: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 479px) {
  .closing {
    height: 50vh;
    min-height: 50vh;
  }
}
