/*
 * Original Design Specifications
 * Target: > 1800px
 * Test Resolution: 1920 x 1080
 */
:root {
  /* Highlight */
  --single-people-highlight-margin-y: 12rem;
  --single-people-highlight-content-padding: 6rem;
  --single-people-highlight-content-margin-y: 4.5rem;
  --single-people-highlight-image-width: 45rem;
  --single-people-highlight-max-width: 100rem;
  --single-people-highlight-flex-direction: row;
  --single-people-highlight-image-border-radius: 1.4rem;
  --single-people-highlight-content-border-radius: 0 1.4rem 1.4rem 0;
  --single-people-highlight-image-aspect-ratio: 0.8;

  /* Highlight Typography */
  --single-people-highlight-name-font-size: 6rem;
  --single-people-highlight-role-font-size: 2.6rem;
  --single-people-highlight-name-role-gap: 1.5rem;

  /* Highlight Key Info */
  --single-people-highlight-key-info-margin-top: 5rem;
  --single-people-highlight-key-info-grid-template-columns: 1fr 2.5fr;
  --single-people-highlight-key-info-gap: 2rem;
  --single-people-highlight-key-text-font-size: 2rem;
  --single-people-highlight-key-list-gap: 1.2rem;
  --single-people-highlight-key-list-icon-dimensions: 1.8rem;
  --single-people-highlight-key-list-icon-margin-bottom: 0.2rem;

  /* Back Button */
  --single-people-footer-back-button-margin-top: 6rem;
  --single-people-footer-back-button-margin-bottom: 0;
  --single-people-footer-back-button-justify-content: center;
}

/*
 * 2XL Media Query (1536px)
 * Target: 1799px > 1536px
 * Test Resolution: 1536 x 864
 */
@media screen and (max-width: 1799px) {
  :root {
    /* Highlight */
    --single-people-highlight-margin-y: 8rem;
    --single-people-highlight-content-padding: 5rem;
    --single-people-highlight-content-margin-y: 4rem;

    /* Highlight Typography */
    --single-people-highlight-name-font-size: 5.4rem;
    --single-people-highlight-role-font-size: 2.4rem;

    /* Highlight Key Info */
    --single-people-highlight-key-info-margin-top: 4.5rem;
    --single-people-highlight-key-info-gap: 1rem;
    --single-people-highlight-key-text-font-size: 1.9rem;
    --single-people-highlight-key-list-gap: 1.1rem;
    --single-people-highlight-key-list-icon-dimensions: 1.6rem;
    --single-people-highlight-key-list-icon-margin-bottom: 0.15rem;
  }
}

/*
 * XL Media Query (1280px)
 * Target: 1535px > 1280px
 * Test Resolution: 1280 x 720
 */
@media screen and (max-width: 1535px) {
  :root {
    /* Highlight */
    --single-people-highlight-margin-y: 7.5rem;
    --single-people-highlight-content-padding: 4.5rem;
    --single-people-highlight-content-margin-y: 3.5rem;
    --single-people-highlight-image-width: 35em;
    --single-people-highlight-max-width: 85rem;

    /* Highlight Typography */
    --single-people-highlight-name-font-size: 4.8rem;
    --single-people-highlight-role-font-size: 2rem;
    --single-people-highlight-name-role-gap: 0.8rem;

    /* Highlight Key Info */
    --single-people-highlight-key-info-margin-top: 4rem;
    --single-people-highlight-key-info-gap: 0.8rem;
    --single-people-highlight-key-text-font-size: 1.6rem;
    --single-people-highlight-key-list-gap: 1rem;
    --single-people-highlight-key-list-icon-dimensions: 1.5rem;
    --single-people-highlight-key-list-icon-margin-bottom: 0.1rem;
  }
}

/*
 * L Media Query (1024px)
 * Target: 1279px > 1024px
 * Test Resolution: 1024 x 768
 */
@media screen and (max-width: 1279px) {
  :root {
    /* Highlight */
    --single-people-highlight-margin-y: 6.5rem;
    --single-people-highlight-content-margin-y: 3rem;

    /* Highlight Typography */
    --single-people-highlight-name-font-size: 4.2rem;
    --single-people-highlight-role-font-size: 2rem;
    --single-people-highlight-name-role-gap: 1rem;

    /* Highlight Key Info */
    --single-people-highlight-key-info-margin-top: 3.5rem;
    --single-people-highlight-key-info-gap: 1rem;
    --single-people-highlight-key-text-font-size: 1.7rem;
    --single-people-highlight-key-list-gap: 0.9rem;
    --single-people-highlight-key-list-icon-dimensions: 1.4rem;
    --single-people-highlight-key-list-icon-margin-bottom: 0.1rem;

    /* Back Button */
    --single-people-footer-back-button-justify-content: flex-start;
  }
}

/*
 * M Media Query (768px)
 * Target: 1023px > 768px
 * Test Resolution: 768 x 1024
 */
@media screen and (max-width: 1023px) {
  :root {
    /* Highlight */
    --single-people-highlight-margin-y: 3rem;
    --single-people-highlight-content-padding: 3rem;
    --single-people-highlight-content-margin-y: 2rem;
    --single-people-highlight-image-width: 25em;
    --single-people-highlight-max-width: none;

    /* Highlight Typography */
    --single-people-highlight-name-font-size: 3.6rem;
    --single-people-highlight-role-font-size: 1.8rem;
    --single-people-highlight-name-role-gap: 0.8rem;

    /* Highlight Key Info */
    --single-people-highlight-key-info-margin-top: 2.5rem;
    --single-people-highlight-key-info-gap: 0.8rem;
    --single-people-highlight-key-text-font-size: 1.4rem;
    --single-people-highlight-key-list-gap: 0.8rem;
    --single-people-highlight-key-list-icon-dimensions: 1.2rem;
    --single-people-highlight-key-list-icon-margin-bottom: 0.1rem;

    /* Highlight Typography */
    --single-people-highlight-name-font-size: 3.6rem;
    --single-people-highlight-role-font-size: 1.8rem;
    --single-people-highlight-name-role-gap: 0.8rem;
  }
}

/*
 * S Media Query (640px)
 * Target: < 767px
 * Test Resolution: 390 x 844
 */
@media screen and (max-width: 767px) {
  :root {
    /* Highlight */
    --single-people-highlight-flex-direction: column;
    --single-people-highlight-margin-y: 0;
    --single-people-highlight-image-width: 100%;
    --single-people-highlight-content-margin-y: 0;
    --single-people-highlight-image-border-radius: 1.4rem 1.4rem 0 0;
    --single-people-highlight-content-border-radius: 0 0 1.4rem 1.4rem;
    --single-people-highlight-content-padding: 2.5rem;
    --single-people-highlight-image-aspect-ratio: 0.94;

    /* Highlight Typography */
    --single-people-highlight-name-font-size: 2.4rem;
    --single-people-highlight-role-font-size: 1.5rem;

    /* Highlight Key Info */
    --single-people-highlight-key-info-margin-top: 2rem;
    --single-people-highlight-key-info-gap: 0.5rem;
    --single-people-highlight-key-list-gap: 1rem;

    /* Back Button */
    --single-people-footer-back-button-margin-top: 2rem;
    --single-people-footer-back-button-margin-bottom: 2rem;
    --single-people-footer-back-button-justify-content: center;
  }
}

.single-people-highlight {
  margin: var(--single-people-highlight-margin-y) auto;
  max-width: var(--single-people-highlight-max-width);
  display: flex;
  align-items: stretch;
  flex-direction: var(--single-people-highlight-flex-direction);
}

.single-people-highlight-image {
  display: block;
  width: var(--single-people-highlight-image-width);
  aspect-ratio: var(--single-people-highlight-image-aspect-ratio);
  object-fit: cover;
  border-radius: var(--single-people-highlight-image-border-radius);
}

.single-people-highlight-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--theme-color-placeholder);
  width: var(--single-people-highlight-image-width);
  aspect-ratio: var(--single-people-highlight-image-aspect-ratio);
  border-radius: var(--single-people-highlight-image-border-radius);
}

.single-people-highlight-image-placeholder-icon {
  width: 30%;
  height: 30%;
}

.single-people-highlight-image-placeholder-icon svg > path {
  fill: var(--theme-color-placeholder-secondary);
}

.single-people-highlight-content {
  flex: 1 1 auto;
  background-color: var(--theme-color-white);
  border-radius: var(--single-people-highlight-content-border-radius);
  padding: var(--single-people-highlight-content-padding);
  margin: var(--single-people-highlight-content-margin-y) 0;
}

.single-people-highlight-name {
  font-family: var(--typography-header-font-family);
  font-size: var(--single-people-highlight-name-font-size);
  font-weight: 500;
  line-height: 1.2;
}

.single-people-highlight-role {
  font-size: var(--single-people-highlight-role-font-size);
  line-height: 1.5;
}

.single-people-highlight-name + .single-people-highlight-role {
  margin-top: var(--single-people-highlight-name-role-gap);
}

.single-people-highlight-key-info {
  margin-top: var(--single-people-highlight-key-info-margin-top);
  display: grid;
  grid-template-columns: var(
    --single-people-highlight-key-info-grid-template-columns
  );
  gap: var(--single-people-highlight-key-info-gap);
}

.single-people-highlight-key-text {
  font-size: var(--single-people-highlight-key-text-font-size);
}

.single-people-highlight-key-list-link {
  display: flex;
  align-items: center;
  gap: var(--single-people-highlight-key-list-gap);
}

.single-people-highlight-key-list-icon {
  width: var(--single-people-highlight-key-list-icon-dimensions);
  height: var(--single-people-highlight-key-list-icon-dimensions);
  margin-bottom: var(--single-people-highlight-key-list-icon-margin-bottom);
  object-fit: contain;
}

.single-people-highlight-key-list-icon svg > path {
  fill: var(--theme-color-orange);
}

.single-people-footer-back-button-container {
  display: flex;
  justify-content: var(--single-people-footer-back-button-justify-content);
  margin-top: var(--single-people-footer-back-button-margin-top);
  margin-bottom: var(--single-people-footer-back-button-margin-bottom);
}
