/**
 * People Bio List — split layout: scrollable names + bio panel.
 * Visual defaults are CSS variables; override via Elementor Style tab.
 */

.adama-people-bio {
  --adama-bg: #0c0c0c;
  --adama-text: #ffffff;
  --adama-muted: #9d9d9d;
  --adama-accent: #c4a06a;
  --adama-list-w: 280px;
  .adama-people-bio__sidebar {
    width: 100%;
  }
  
  .adama-people-bio.has-list-overflow .adama-people-bio__list-wrap::after {
    display: none;
  }
  --adama-list-h: 420px;
  --adama-photo-size: 300px;
  --adama-gap: 48px;
  --adama-item-gap: 4px;
  --adama-grayscale: 1;

  position: relative;
  width: 100%;
  background: var(--adama-bg);
  color: var(--adama-text);
}

.adama-people-bio--color {
  --adama-grayscale: 0;
}

.adama-people-bio *,
.adama-people-bio *::before,
.adama-people-bio *::after {
  box-sizing: border-box;
}

.adama-people-bio__heading {
  position: relative;
  display: inline-block;
  margin: 0 0 28px;
  color: var(--adama-text);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.adama-people-bio__heading span {
  position: relative;
  z-index: 1;
}


.adama-people-bio__body {
  display: grid;
  grid-template-columns: minmax(200px, var(--adama-list-w)) minmax(0, 1fr);
  gap: 8px var(--adama-gap);
  align-items: start;
}

.adama-people-bio__sidebar {
  min-width: 0;
}

.adama-people-bio__list-wrap {
  position: relative;
}

.adama-people-bio__select,
.adama-people-bio__select-label {
  display: none;
}

.adama-people-bio__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--adama-item-gap);
  max-height: var(--adama-list-h);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  outline: none;
}

.adama-people-bio__list::-webkit-scrollbar {
  display: none;
}

.adama-people-bio__items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.adama-people-bio.has-list-overflow .adama-people-bio__list-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--adama-bg));
  pointer-events: none;
  z-index: 1;
}

.adama-people-bio__item {
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 7px 16px 8px;
  border: 0;
  background: transparent;
  color: var(--adama-muted);
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.adama-people-bio__item:hover {
  color: var(--adama-text);
}

.adama-people-bio__item.is-active,.adama-people-bio__item:hover {
  background-color: var(--adama-accent);
  color: var(--adama-text);
  cursor: default;
  width: 100%;
  border-radius: 0;
}

.adama-people-bio__item:focus-visible {
  outline: 0;
 
}

.adama-people-bio__scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 18px auto 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: transparent;
  color: var(--adama-text);
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.15s ease, border-color 0.2s ease;
}

.adama-people-bio__scroll:hover {
  border-color: #fff;
}

.adama-people-bio__scroll:active {
  transform: scale(0.94);
}

.adama-people-bio__scroll.is-hidden,
.adama-people-bio__scroll[hidden] {
  opacity: 0;
  pointer-events: none;
}

.adama-people-bio__scroll svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.adama-people-bio__main {
  min-width: 0;
  min-height: var(--adama-photo-size);
}

.adama-people-bio__panel {
  display: none;
  align-items: flex-start;
  gap: var(--adama-gap);
}

.adama-people-bio__panel.is-active {
  display: flex;
  animation: adamaPeopleBioIn 0.4s ease;
}

.adama-people-bio__panel.is-active.is-instant {
  animation: none;
}

@keyframes adamaPeopleBioIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.adama-people-bio__photo {
  flex: 0 0 var(--adama-photo-size);
  width: var(--adama-photo-size);
  height: var(--adama-photo-size);
  overflow: hidden;
  background: #1a1a1a;
}

.adama-people-bio__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(var(--adama-grayscale));
}




@keyframes adama-heading-brush-reveal {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.adama-people-bio__bio {
  color: var(--adama-text);
  font-size: 15px;
  line-height: 1.7;
}

.adama-people-bio__more-wrap {
  margin-top: 22px;
}


.adama-people-bio__more-btn {
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;

    padding: 14px 34px;
    font-size: 15px;
    color: var(--adama-text);

    transition:
        opacity 0.4s ease,
        transform 0.4s ease,
        color 0.3s ease;

    z-index: 1;
}


.adama-people-bio__more-btn {
  position: relative;
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;

  padding: 14px 34px;
  font-size: 15px;
  color: var(--adama-text);

  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    color 0.3s ease;

  z-index: 1;
}


/* Golden brush shape */
.adama-people-bio__more-btn::before {
  content: "";
  position: absolute;
  inset: -6px -10px;

  background-color: var(--adama-accent);

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20width%3D%22206%22%20height%3D%2249%22%20viewBox%3D%220%200%20206%2049%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M3.2008%2016.7539L150.011%203.07361L199.393%200.00397494C199.393%200.00397494%20204.093%20-0.11536%20205.064%201.13636C205.064%201.13636%20203.191%203.66167%20199.126%205.22687L202.076%206.87381C202.076%206.87381%20201.455%2010.7069%20193.142%2013.2654L198.334%2013.7796L197.919%2016.335L193.938%2017.3816L195.067%2019.4484L194.778%2021.2321L200.501%2020.259L198.429%2022.2222L199.557%2024.2891L185.973%2025.0375L186.165%2027.4267L199.225%2026.3384C199.225%2026.3384%20197.361%2027.024%20198.124%2029.5534C198.124%2029.5534%20190.728%2028.7818%20185.848%2029.7403C184.067%2030.0899%20182.61%2030.6739%20181.994%2031.6089L186.414%2031.4335C186.414%2031.4335%20185.553%2034.9576%20174.984%2033.3698C174.984%2033.3698%20168.866%2033.206%20162.54%2034.32C156.215%2035.4339%20112.11%2038.4991%20112.11%2038.4991L39.7356%2048.0526L40.3896%2045.8063C40.3896%2045.8063%2041.9819%2043.225%2036.2284%2042.5986C30.4749%2041.9722%2029.8098%2035.2573%2029.8098%2035.2573L33.1251%2036.4416C33.1251%2036.4416%2034.5618%2033.0325%2036.5738%2035.0145C38.5999%2036.9992%2044.6063%2032.3999%2044.6063%2032.3999C44.6063%2032.3999%2044.3339%2030.5041%2037.4349%2031.4905C37.4349%2031.4905%2029.6096%2032.8273%2030.1058%2029.7659C30.6021%2026.7045%2031.0163%2024.1491%2031.0163%2024.1491C31.0163%2024.1491%2031.1497%2021.5377%2025.5005%2023.8445C19.8512%2026.1513%2022.9233%2019.8951%2022.9233%2019.8951C22.9233%2019.8951%2018.1902%2018.4277%2011.529%2019.7358C4.8677%2021.0439%202.56652%2020.8456%202.56652%2020.8456C2.56652%2020.8456%20-0.798091%2021.7541%200.177671%2019.3108C1.15343%2016.8675%203.2008%2016.7539%203.2008%2016.7539Z%22%20fill%3D%22%23000%22/%3E%3C/svg%3E");

  mask-image: url("data:image/svg+xml,%3Csvg%20width%3D%22206%22%20height%3D%2249%22%20viewBox%3D%220%200%20206%2049%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M3.2008%2016.7539L150.011%203.07361L199.393%200.00397494C199.393%200.00397494%20204.093%20-0.11536%20205.064%201.13636C205.064%201.13636%20203.191%203.66167%20199.126%205.22687L202.076%206.87381C202.076%206.87381%20201.455%2010.7069%20193.142%2013.2654L198.334%2013.7796L197.919%2016.335L193.938%2017.3816L195.067%2019.4484L194.778%2021.2321L200.501%2020.259L198.429%2022.2222L199.557%2024.2891L185.973%2025.0375L186.165%2027.4267L199.225%2026.3384C199.225%2026.3384%20197.361%2027.024%20198.124%2029.5534C198.124%2029.5534%20190.728%2028.7818%20185.848%2029.7403C184.067%2030.0899%20182.61%2030.6739%20181.994%2031.6089L186.414%2031.4335C186.414%2031.4335%20185.553%2034.9576%20174.984%2033.3698C174.984%2033.3698%20168.866%2033.206%20162.54%2034.32C156.215%2035.4339%20112.11%2038.4991%20112.11%2038.4991L39.7356%2048.0526L40.3896%2045.8063C40.3896%2045.8063%2041.9819%2043.225%2036.2284%2042.5986C30.4749%2041.9722%2029.8098%2035.2573%2029.8098%2035.2573L33.1251%2036.4416C33.1251%2036.4416%2034.5618%2033.0325%2036.5738%2035.0145C38.5999%2036.9992%2044.6063%2032.3999%2044.6063%2032.3999C44.6063%2032.3999%2044.3339%2030.5041%2037.4349%2031.4905C37.4349%2031.4905%2029.6096%2032.8273%2030.1058%2029.7659C30.6021%2026.7045%2031.0163%2024.1491%2031.0163%2024.1491C31.0163%2024.1491%2031.1497%2021.5377%2025.5005%2023.8445C19.8512%2026.1513%2022.9233%2019.8951%2022.9233%2019.8951C22.9233%2019.8951%2018.1902%2018.4277%2011.529%2019.7358C4.8677%2021.0439%2022.56652%2020.8456%202.56652%2020.8456C2.56652%2020.8456%20-0.798091%2021.7541%200.177671%2019.3108C1.15343%2016.8675%203.2008%2016.7539%203.2008%2016.7539Z%22%20fill%3D%22%23000%22/%3E%3C/svg%3E");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;

  z-index: 0;
}


/* Dark cover */
.adama-people-bio__more-btn::after {
  content: "";
  position: absolute;
  inset: -6px -10px;

  background: var(--adama-bg);

  z-index: 0;

  transform: translateX(0%);
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);

  will-change: transform;
}


/* Reveal brush from LEFT → RIGHT */
.adama-people-bio__more-btn:hover::after,
.adama-people-bio__more-btn:focus-visible::after {
  transform: translateX(100%);
}


/* Button text */
.adama-people-bio__more-btn span {
  position: relative;
  z-index: 1;

  transition: color 0.3s ease;
}

.adama-people-bio__name {
	margin: 0 0 12px;
	color: #fff;
	font-size: 1.7rem;
	font-weight: 600;
	line-height: 1.2;
}
/* Text color when brush is revealed */
.adama-people-bio__more-btn:hover,
.adama-people-bio__more-btn:focus-visible {
  color: #111;
}


.adama-people-bio__more-btn span {
  position: relative;
  z-index: 1;
}

.adama-people-bio__more-btn:hover,
.adama-people-bio__more-btn:focus-visible {
  color: #111;
}

.adama-people-bio--no-results {
  padding: 40px 20px;
  color: #888;
  text-align: center;
}
.adama-people-bio__list {
  scroll-behavior: auto;
}
.adama-people-bio__sidebar {
  min-width: 0;
  width: fit-content;
  max-width: 100%;
}
@media (max-width: 1025px) {
  .adama-people-bio {
    --adama-photo-size: 240px;
    --adama-gap: 32px;
  }

  .adama-people-bio.adama-people-bio .adama-people-bio__body {
    grid-template-columns: 1fr;
  }

  .adama-people-bio__sidebar {
    width: 100%;
  }

  .adama-people-bio.has-list-overflow .adama-people-bio__list-wrap::after {
    display: none;
  }

  .adama-people-bio__list {
    display: none;
  }

  .adama-people-bio__select-label {
    display: block;
    margin-bottom: 8px;
    color: var(--adama-muted);
    font: inherit;
    font-size: 14px;
  }

  .adama-people-bio__select {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 12px 48px 12px 16px;
    border: 1px solid var(--adama-accent);
    border-radius: 3px;
    appearance: none;
    background-color: #171512;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m3.5 6 4.5 4 4.5-4' stroke='%23c4a06a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    color: var(--adama-text);
    font: inherit;
    font-size: 16px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  }

  .adama-people-bio__select:hover {
    border-color: var(--adama-text);
    background-color: #211e18;
  }

  .adama-people-bio__select:focus-visible {
    border-color: var(--adama-accent);
    outline: 2px solid var(--adama-accent);
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(196, 160, 106, 0.16);
  }

  .adama-people-bio__select option {
    background-color: #171512;
    color: var(--adama-text);
  }

  .adama-people-bio__scroll {
    display: none;
  }

  .adama-people-bio__panel.is-active {
    flex-direction: column;
  }

  .adama-people-bio__photo {
    flex-basis: auto;
    width: min(100%, var(--adama-photo-size));
    height: auto;
    aspect-ratio: 1;
  }
}
