/* #region People */
.leadership__structure {
  background: #f8f9fa;
}

.leadership__structure--container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 15px;
}

.leadership__structure--item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #364153;
  font-size: 16px;
  text-transform: uppercase;
  padding: 12px 24px;
  background-color: #fff;
  border-radius: 16px;
}

.leadership__container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto 36px;
}

.leadership__title {
  font-size: 30px;
  font-weight: 400;
  line-height: 100%;
  text-transform: uppercase;
  color: #070707;
  margin-top: 50px;
  margin-bottom: 30px;
}

.leaders {
  width: 100%;
}
.leaders__grid {
  display: grid;
  gap: 28px;
}
.leaders__grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.leaders__grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.leaders__grid--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.leaders__grid--cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.leader-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.leader-card__media {
  aspect-ratio: 2 / 0;
  overflow: hidden;
  border-radius: 14px;
}
.leader-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.leader-card__title {
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  margin-bottom: 12px;
}
.leader-card__subtitle {
  line-height: 100%;
  font-size: 14px;
  color: #4a5565;
}

.coaches {
  padding-bottom: 120px;
}

.team__wrapper {
  margin-top: 48px;
}

@media (max-width: 1200px) {
  .leadership__structure--container {
    flex-wrap: wrap;
  }
}

@media (max-width: 1399px) {
  .leadership__container {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .coaches {
    padding-bottom: 80px;
  }
  .leaders__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leadership__structure--container {
    justify-content: start;
  }
}
@media (max-width: 520px) {
  .leaders__grid {
    grid-template-columns: 1fr;
  }
}

.people-tabs__panel[hidden] {
  display: none;
}
.people-tabs__panel.is-active {
  display: block;
}

.leadership__structure--item[aria-selected="true"] {
  border: 1px solid #070707;
  outline: none;
}

/* === Org structure (таб 2) === */
.org {
  max-width: 1400px;
  margin: 0 auto 36px;
}
.org__title,
.org__section-title {
  font-size: 30px;
  text-transform: uppercase;
  color: #070707;
  font-weight: 400;
  line-height: 100%;
  margin: 10px 0 24px;
}
.org__section {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 8px;
  margin-bottom: 24px;
}
.org__row {
  display: grid;
  gap: 10px;
  margin: 10px 0;
}
.org__row--1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.org__row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.org__row--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.org__cell {
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 12px;
  text-align: center;
  padding: 18px 10px;
}
.org__role {
  font-size: 12px;
  text-transform: uppercase;
  color: #7a8699;
  margin-bottom: 6px;
}
.org__name {
  font-weight: 600;
  color: #3c4977;
}

@media (max-width: 1024px) {
  .org__row--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .org__row--3,
  .org__row--5 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .org__title {
    font-size: 18px;
  }
}

/* #endregion */

/* #region Scroll to Top */
.scrolltop {
  position: fixed;
  right: clamp(12px, 2vw, 20px);
  bottom: clamp(12px, 2vw, 20px);
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 9999;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.scrolltop.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scrolltop__svg {
  width: 100%;
  height: 100%;
}
.scrolltop__track,
.scrolltop__bar {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
}
.scrolltop__track {
  stroke: #e5e7eb;
}
.scrolltop__bar {
  stroke: #ffd700;
  transition: stroke-dashoffset 0.08s linear;
}

.scrolltop__chevron {
  position: absolute;
  width: 10px;
  height: 10px;
  transform: translateY(1px) rotate(45deg);
  border-top: 2px solid #ffd700;
  border-left: 2px solid #ffd700;
}
.scrolltop:focus-visible {
  outline: 2px solid #ffd700;
  outline-offset: 3px;
}

@media (prefers-color-scheme: dark) {
  .scrolltop__track {
    stroke: #2a2f3a;
  }
  .scrolltop__bar {
    stroke: #ffd700;
  }
  .scrolltop__chevron {
    border-color: #ffd700;
  }
}

@media (max-width: 480px) {
  .scrolltop {
    width: 50px;
    height: 50px;
  }
}
/* #endregion */
