/* Кастомные стили фронта  */
.hero__btn-secondary {
  background-color: #fff;
}

/* Адаптив hero для мобильной версии — кнопки одна под одну */
@media (max-width: 47.99875em) {
  .hero__bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btn_block {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px;
    width: 100%;
  }

  .hero-btn_block .btn,
  .hero-btn_block .btn-secondary {
    width: 100%;
    justify-content: center;
    max-width: none;
  }
}

.home_our_team {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
    width: 100%;
}

a.person_card {
    text-decoration: none;
    color: inherit;
}

.person_card {
    position: relative;
    width: 297px;
    height: 364px;
    padding: 32px 23px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 42px;
    overflow: hidden;
    background-image:
        linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 100%),
        url("/dist/assets/img/1771338975075.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.4s ease;
}

/* лёгкий премиальный hover */
.person_card:hover {
    transform: translateY(-6px);
}

.person_info {
    color: #fff;
    z-index: 2;
}

.person_name {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
    font-family: var(--font-family);
}

.person_position {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
}

.person_linkedin {
    position: absolute;
    bottom: 32px;
    right: 23px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    backdrop-filter: blur(6px);
    transition: 0.3s ease;
}

.person_linkedin:hover {
    background: rgba(0,0,0,0.75);
}

.person_linkedin--empty {
    visibility: hidden;
}

.about__team-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    font-family: var(--font-family);
}

/* Team carousel */
.team-carousel {
    position: relative;
    overflow: hidden;
    padding-bottom: 3rem;
    width: 100%;
}

.team-carousel .swiper-slide {
    height: auto;
}

.team-carousel .person_card {
    width: 100%;
    min-height: 320px;
}

.team-carousel__prev,
.team-carousel__next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    color: #fff;
    backdrop-filter: blur(6px);
}

.team-carousel__prev::after,
.team-carousel__next::after {
    font-size: 18px;
}

.team-carousel__prev:hover,
.team-carousel__next:hover {
    background: rgba(0,0,0,0.7);
}

.team-carousel__pagination .swiper-pagination-bullet {
    background: rgba(255,255,255,0.5);
}

.team-carousel__pagination .swiper-pagination-bullet-active {
    background: #fff;
}

@media (max-width: 47.99875em) {
    .team-carousel .person_card {
        min-height: 280px;
    }

    .team-carousel__prev,
    .team-carousel__next {
        width: 36px;
        height: 36px;
    }
}