.about-us {
  color: #fff;
  height: auto;
  padding: 0 0 5em;
  width: 100vw;
  opacity: 0;
}

.about-us__top {
  width: 100vw;
  height: 45vh;
  background-image: url(https://test.g-angle.ph/wp-content/uploads/2025/02/DSCF1697-scaled.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.about-us__overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(112, 98, 85, 0.107), #0c34509f);
}

.about-us__overlay .header {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
  margin: 0 auto;
  padding: 3em 0 0 0;
}

.about-us__header-subs {
  font-family: "PT Sans Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.5em;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 1em 0;
  color: #000;
}

.about-us__desc {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 4em;
  background: #fffbfb;
}

.about-us__desc-wrapper {
  width: 90%;
  max-width: 70em;
  margin: 0 auto;
  padding: 5em 0;
  gap: 1em;
  display: flex;
  flex-direction: column;
  font-family: "Microsoft Phagspa", sans-serif;
}

.about-us__row-desc {
  line-height: 1.8em;
  font-size: 1.2em;
  color: #000;
  text-align: center;
}

.details {
  padding: 2em 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

/* .details__banner-img {
  background-image: url("../assets/images/about/employees-7.jpg");
  background-repeat: no-repeat;
  width: 85%;
  height: 25em;
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.648);
} */

.details__banner-imgs  {
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0px 10px 14px 0px black;
  opacity: 0;
  transform: translateX(-20px);
}

.details__banner-imgs .top-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 3fr;
}

.details__banner-imgs .top-grid .details__banner-item {
  width: 100%;
  height: 8em;
}

.details__banner-imgs .top-grid .details__banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.details__banner-imgs .top-grid .details__banner-item.a img {
  object-position: right;
}

.details__banner-imgs .mid-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 3fr 2fr;
}

.details__banner-imgs .mid-grid .mid-left-grid {
  display: grid;
  gap: 10px;
}

.details__banner-imgs .mid-grid .mid-left-grid .details__banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.details__banner-imgs .mid-grid .mid-left-grid .c {
  grid-column: 1 / 3;
}

.details__banner-imgs .mid-grid .mid-left-grid .e {
  grid-column: 1;
}

.details__banner-imgs .mid-grid .mid-left-grid .f {
  grid-column: 2;
}

.details__banner-imgs .mid-grid .mid-left-grid .details__banner-item {
  width: 100%;
  height: 8em;
}

.details__banner-imgs .mid-grid .mid-right-grid {
    display: grid;
    grid-template-columns: 1fr;
}

/* .details__banner-imgs .mid-grid .mid-right-grid .details__banner-item {
  width: 100%;
  height: 20em;
} */

.details__banner-imgs .mid-grid .mid-right-grid .details__banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
}

.details__desc {
  list-style: none;
  padding: 0.5em;
  width: 80%;
  opacity: 0;
}

.details__desc-item {
  font-family: "Microsoft Phagspa", sans-serif;  display: grid;
  grid-template-columns: repeat(1, 1fr);
  padding: 3em 0;
  font-size: clamp(20px, 2vw, 1.2em);
}

.details__desc-title {
  color: #da9a40;
  font-weight: 600;
}

.details__desc-border {
  height: 4px;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.844) 7%,
    rgba(255, 255, 255, 0) 100%
  );
}

.team-showcase {
  display: flex;
  flex-direction: column;
  width: 100vw;
  overflow-x: hidden;
  margin-top: 4em;
}

.team-showcase__portraits {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 60%;
  opacity: 0;
    transform: translateY(20px);
}

.team-showcase__portraits-header {
  font-family: "Muro", sans-serif;
  letter-spacing: 2px;
  font-weight: 500;
  font-size: clamp(2em, 6vw, 4em);
  color: #fff;
  text-align: center;
}

.team-showcase__portraits-items {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 80%;
  max-width: 70em;
  gap: 7em;
  padding: 7em;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.team-showcase__portraits-items .top {
  grid-area: top;
}

.team-showcase__portraits-items .top img {
  left: -1px;
  bottom: -.5em;
  width: 17.5em;
  height: auto;
}

.team-showcase__portraits-items .bottom1 {
  grid-area: bottom1;
}

.team-showcase__portraits-items .bottom1 img {
  left: -2.23em;
  bottom: -10px;
  width: 19em;
  height: auto;
}

.team-showcase__portraits-items .bottom2 {
  grid-area: bottom2;
}

.team-showcase__portraits-items .bottom2 img {
  left: -38px;
  width: 19em;
  height: auto;
  bottom: -4px;
}

.team-showcase__portraits-items .bottom3 {
  grid-area: bottom3;
}

.team-showcase__portraits-items .bottom3 img {
  left: -.25em;
  width: 17.3em;
  height: auto;
  bottom: -8px;
}

.team-showcase__portraits-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;

}

.team-showcase__portraits-item-img {
  width: 16em;
  height: 20em;
  position: relative;
}

.team-showcase__portraits-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
}

.team-showcase__portraits-item-title {
  font-family: "Microsoft Phagspa", sans-serif;  font-weight: 700;
  font-size: 1.3em;
  margin-top: 1em;
  color: #fff;
}

.team-showcase__portraits-item-subs {
  font-family: 'PT Sans Narrow', sans-serif;
  font-weight: 500;
  font-size: 1.2em;
  color: #fff;
  text-align: center;
}

.team-showcase__groups {
  height: 40vh;
  display: flex;
  justify-content: end;
  align-items: end;
  gap: 1em;
  /* background: linear-gradient(rgba(0, 0, 0, -2.463), rgb(0, 0, 0)); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  opacity: 0;
}

.team-showcase__groups .swiper-container {
  width: 100%;
  height: 100%;
  -webkit-mask: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);
  mask: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);
}

.team-showcase__groups .swiper-container .swiper-wrapper .swiper-slide {
  width: auto;
}

.team-showcase__groups-item {
  max-width: 25em;
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
}

.team-showcase__groups-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 1em;
}

@media screen and (min-width: 864px) {
  .about-us__top {
    height: 45vh;
  }

    .about-us__overlay .header {
      padding: 8em 0 0 0;
    }

  .team-showcase__portraits-items {
    display: grid;
    grid-template-areas:
      ". top ."
      "bottom1 bottom2 bottom3";
    margin-top: 3em;
  }

  .team-showcase__groups {
    height: 40vh;
  }

  .team-showcase__groups .swiper-container {
    height: 100%;
  }

  .details {
    flex-direction: row;
    gap: 4em;
  }

  .details__desc-item {
    grid-template-columns: 1fr 2fr;
  }

  .details__banner-img {
    width: 45%;
    height: 70vh;
  }

  .details__banner-imgs .mid-grid .mid-left-grid .details__banner-item {
      width: 100%;
      height: 15em;
  }

  .details__banner-imgs .top-grid .details__banner-item {
      width: 100%;
      height: 15em;
  }

}

/* @media screen and (min-width: 1024px) {
  .about-us__content {
    flex-direction: row;
  }

  .about-us__wrapper {
    width: 50%;
    padding: 0 2em;
  }

  .about-us__banner-img {
    width: 50em;
    height: 40em;
  }
  .about-us__banner-img img {
    width: 100%;
    height: 110%;
    object-fit: cover;
    object-position: 50% 0%;
    top: -5%;
  }
} */
