/*==================== ABOUT PAGE STYLES ======================*/
:root {
  --about-card-bg: light-dark(#141414, #f4f4f4);
  --about-panel-bg: light-dark(#0d0d0d, #f7f7f7);
}

/*-------------------- ICONS --------------------*/
/* style.css sets `color` on every element, which breaks `currentColor` inside SVG */
svg,
svg * {
  color: inherit;
}

/*-------------------- INTRO + MISSION --------------------*/
:where(.page-about) .about-img {
  width: 100%;
  height: auto;
  object-position: center;
}
:where(.page-about) .mission-img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  object-position: center;
}

:where(.page-about) .mission-card {
  background-color: var(--about-card-bg);
  border: 1px solid var(--color-golden);
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 16px;
}
:where(.page-about) .mission-icon {
  min-width: 78px;
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-golden);
}

/*-------------------- LEADERSHIP TEAM --------------------*/
:where(.page-about) .team-card {
  height: 100%;
  padding: 32px 24px;
  border: 1px solid var(--border-color-light);
  transition: 0.3s ease;
}
:where(.page-about) .team-card:hover {
  border-color: var(--color-golden);
}
:where(.page-about) .team-photo {
  width: 130px;
  height: 160px;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 20px;
  background-color: var(--about-panel-bg);
}
:where(.page-about) .team-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-golden);
  transition: 0.3s ease;
}
:where(.page-about) .team-link:hover {
  gap: 14px;
}

/*-------------------- FAQ --------------------*/
:where(.page-about) .faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
:where(.page-about) .faq-item {
  border: 1px solid var(--color-golden);
  padding: 20px;
}
:where(.page-about) .faq-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0;
  background-color: transparent;
  border: 0;
  text-align: left;
  outline: none !important;
  box-shadow: none !important;
}
:where(.page-about) .faq-toggle {
  min-width: 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-golden);
}
:where(.page-about) .faq-toggle-bar {
  transform-origin: center;
  transition: 0.3s ease;
}
/* open = minus: drop the vertical stroke of the plus */
:where(.page-about) .faq-item.active .faq-toggle-bar {
  opacity: 0;
  transform: rotate(90deg);
}
:where(.page-about) .faq-body {
  display: none;
  padding-top: 9px;
}
:where(.page-about) .faq-item.active .faq-body {
  display: block;
}
:where(.page-about) .faq-body p {
  color: var(--color-white);
}

/*-------------------- MEDIA QUERY --------------------*/
@media screen and (max-width: 1200px) {
  :where(.page-about) .mission-img {
    height: 560px;
  }
}
@media screen and (max-width: 991px) {
  :where(.page-about) .mission-img {
    height: 420px;
  }
  :where(.page-about) .mission-card {
    padding: 20px;
    gap: 18px;
  }
}
@media screen and (max-width: 767px) {
  :where(.page-about) .mission-img {
    height: 260px;
  }
  :where(.page-about) .mission-icon {
    min-width: 60px;
    width: 60px;
    height: 60px;
  }
  :where(.page-about) .team-photo {
    width: 150px;
    height: 150px;
  }
  :where(.page-about) .faq-item {
    padding: 16px;
  }
  :where(.page-about) .faq-head {
    gap: 16px;
  }
}

:where(.page-about) .admedia-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
}

@media (min-width: 576px) {
  :where(.page-about) .admedia-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  :where(.page-about) .admedia-team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  :where(.page-about) .admedia-team-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 2rem 0.5rem;
  }
}

:where(.page-about) .admedia-team-grid .team-card img.team-photo {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

/*.admedia-team-grid .team-card h3 {*/
/*  font-size: 0.85rem;*/
/*  line-height: 1.1;*/
/*}*/

:where(.page-about) .admedia-team-grid .team-card .team-role {
  /*font-size: 0.75rem;*/
  white-space: pre-wrap;
  line-height: 1.2;
  color: #ffffff;
}

:where(.page-about) .admedia-team-grid .team-card .team-email {
  /*font-size: 0.75rem;*/
  color: #ffffff;
  text-decoration: none;
  margin-top: 0.25rem;
}
