/*
 * Team section — lean specimen (parity with Elementor nested-carousel 7947e85f / template 268)
 * Desktop: 4-up, gap 20. Tablet ≤1024: 2-up. Mobile ≤767: 1-up.
 * Portrait 192×192, 3px var(--color-blue) ring, radius 1000.
 */

.booth-team {
  --booth-team-per: 4;
  --team-gap: 20px;
  box-sizing: border-box;
  width: 100%;
  padding: 100px 0 110px;
  color: var(--color-ink);
  background: var(--color-white);
}

.booth-team *,
.booth-team *::before,
.booth-team *::after { box-sizing: border-box; }

.booth-team__inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.booth-team__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0 0 0;
}

.booth-team__title {
  flex: 0 1 50%;
  max-width: 389px;
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: 0;
  text-transform: capitalize;
  text-align: center;
  color: var(--color-ink);
}

.booth-team__intro {
  flex: 1 1 50%;
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
  text-align: center;
  color: var(--color-ink);
}

.booth-team__stage {
  width: 100%;
  padding: 20px 0 30px;
}

.booth-team__viewport {
  overflow: hidden;
  width: 100%;
}

.booth-team__track {
  display: flex;
  gap: var(--team-gap);
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 500ms ease;
  will-change: transform;
}

.booth-team__slide {
  flex: 0 0 calc((100% - (var(--booth-team-per) - 1) * var(--team-gap)) / var(--booth-team-per));
  max-width: calc((100% - (var(--booth-team-per) - 1) * var(--team-gap)) / var(--booth-team-per));
}

.booth-team__card {
  text-align: center;
}

.booth-team__portrait {
  width: min(192px, 100%);
  aspect-ratio: 1;
  height: auto;
  margin: 0 auto 12px;
  border-radius: 1000px;
  border: 3px solid var(--color-blue);
  overflow: hidden;
  background: #DCE5EA;
}

.booth-team__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}



.booth-team__meta {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
  text-align: center;
}

.booth-team__meta strong {
  font-weight: 700;
}

.booth-team__chrome {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: none;
  margin: 16px 0 0;
  position: relative;
  min-height: 40px;
}

.booth-team__progress {
  flex: 1 1 auto;
  min-width: 0;
  height: 4px;
  overflow: hidden;
  border-radius: 1000px;
  background: var(--color-wash);
}

.booth-team__progress-fill {
  width: 0;
  height: 100%;
  background: var(--color-blue);
  transition: width 0.25s ease;
}

.booth-team__arrows {
  display: inline-flex;
  gap: 8px;
  flex: 0 0 auto;
}

.booth-team__arrow {
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  border-radius: 50px;
  background: var(--color-blue);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.booth-team__arrow:hover,
.booth-team__arrow:focus-visible {
  background: #0051B5;
  outline: none;
}

@media (max-width: 1024px) {
  .booth-team {
    --booth-team-per: 2;
    padding: 70px 0;
  }

  .booth-team__head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .booth-team__title,
  .booth-team__intro {
    flex: 1 1 100%;
    max-width: none;
    width: 100%;
  }

  .booth-team__chrome {
    display: none;
  }

  .booth-team__viewport {
    overflow: visible;
  }

  .booth-team__track {
    flex-wrap: wrap;
    gap: 24px 16px;
    transform: none !important;
  }

  .booth-team__slide {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
}

@media (max-width: 767px) {
  .booth-team {
    --booth-team-per: 2;
  }

  .booth-team__portrait {
    width: 120px;
    height: 120px;
  }
}


/* Beat Elementor kit button styles on team controls */
.booth-team button.booth-team__arrow {
  box-shadow: none !important;
  min-height: 0 !important;
  width: 40px !important;
  height: 40px !important;
  padding: 8px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--color-blue) !important;
  color: var(--color-white) !important;
}

.booth-team__arrow svg {
  display: block;
  width: 24px;
  height: 24px;
}

@media (max-width: 767px) {
  .booth-team__arrow,
  .booth-team button.booth-team__arrow {
    width: 32px !important;
    height: 32px !important;
    padding: 4px !important;
  }
  .booth-team__arrow svg {
    width: 20px;
    height: 20px;
  }
}
