/* ========================
           Секция "Наша команда" (Team Slider Section)
               ======================== */
            .team-slider-section {
                padding: 6rem 0;
                background-color: #ffffff;
                position: relative;
                overflow: hidden;
            }
        
            /* Декоративные волны/градиент на фоне слева, как на макете */
            .team-slider-section::before {
                content: '';
                position: absolute;
                top: 0;
                left: -10%;
                width: 50%;
                height: 100%;
                background-image: radial-gradient(circle at 0% 50%, rgba(0,0,0,0.02) 0%, transparent 60%);
                z-index: 0;
                pointer-events: none;
            }
        
            .team-content-left {
                position: relative;
                z-index: 2;
                padding-right: 2rem;
            }
        
            /* Золотистая иконка весов юриста */
            .team-slider-icon {
                width: 70px;
                height: auto;
                margin-bottom: 1.5rem;
                object-fit: contain;
            }
        
            .team-slider-title {
                font-size: clamp(2rem, 4vw, 2.5rem);
                font-weight: 700;
                color: #000;
                margin-bottom: 1rem;
                letter-spacing: -0.5px;
            }
        
            .team-slider-text {
                font-size: 1.05rem;
                line-height: 1.6;
                color: #111;
                font-weight: 500;
                margin-bottom: 2.5rem;
                max-width: 90%;
            }
        
            .btn-team-slider {
                background-color: #315341; /* Темно-зеленый */
                color: #ffffff;
                font-weight: 600;
                font-size: 0.95rem;
                padding: 0.9rem 1.5rem;
                border-radius: 6px;
                border: none;
                transition: all 0.3s ease;
                text-decoration: none;
                display: inline-block;
            }
        
            .btn-team-slider:hover {
                background-color: #233b2e;
                color: #ffffff;
            }
        
            /* Правая колонка: Темно-зеленый бокс со скруглениями, в котором крутится Swiper */
            .team-slider-box {
                background-color: #315341;
                border-radius: 20px;
                padding: 3rem 2rem;
                position: relative;
                z-index: 2;
            }
        
            /* Карточки сотрудников */
            .team-card {
                display: flex;
                flex-direction: column;
            }
        
            .team-card-img-wrapper {
                background-color: #eae9ea; /* Светло-серый фон портрета */
                border-radius: 16px;
                overflow: hidden;
                margin-bottom: 1.5rem;
                aspect-ratio: 9 / 16;
                display: flex;
                align-items: center;
                justify-content: center;
            }
        
            .team-card-img-wrapper img {
                width: 100%;
                height: 100%;
                object-position: center bottom;
            }

            .team-card-img-wrapper img.team-photo--cropped {
                object-fit: cover;
            }
        
            .team-card-name {
                color: #ffffff;
                font-size: 1.15rem;
                font-weight: 700;
                margin-bottom: 0.4rem;
                line-height: 1.3;
            }
        
            .team-card-role {
                color: rgba(255, 255, 255, 0.7);
                font-size: 0.8rem;
                font-weight: 400;
                line-height: 1.4;
            }
        
            /* Настройка курсора "руки" для перетаскивания */
            .teamSwiper {
                cursor: grab;
                overflow: hidden;
            }
            
            .teamSwiper:active {
                cursor: grabbing;
            }

            .team-slider-controls {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 1.25rem;
                margin-top: 1.75rem;
            }

            .team-slider-nav {
                background: transparent;
                border: none;
                color: #ffffff;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 0;
                transition: color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
            }

            .team-slider-nav:hover {
                color: #ca9c5e;
                transform: scale(1.08);
            }

            .team-slider-nav.swiper-button-disabled {
                opacity: 0.35;
                cursor: default;
                transform: none;
            }

            .team-slider-nav svg {
                width: 28px;
                height: 28px;
            }

            .team-pagination {
                position: static !important;
                width: auto !important;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-wrap: wrap;
                gap: 0;
            }

            .team-pagination .swiper-pagination-bullet {
                background: rgba(255, 255, 255, 0.4);
                opacity: 1;
                width: 7px;
                height: 7px;
                margin: 0 5px !important;
                transition: all 0.3s ease;
            }

            .team-pagination .swiper-pagination-bullet-active {
                background: #ca9c5e;
                width: 9px;
                height: 9px;
            }
        
            /* Адаптив под планшеты и мобилки */
            @media (max-width: 991px) {
                .team-content-left {
                    padding-right: calc(var(--bs-gutter-x) * .5);
                    margin-bottom: 3rem;
                    text-align: center;
                }
                .team-slider-text {
                    max-width: 100%;
                }
                .team-slider-box {
                    padding: 2rem 1.5rem;
                }
                .team-slider-icon {
                    margin-left: auto;
                    margin-right: auto;
                }
            }

            @media (max-width: 575.98px) {
                .team-slider-box {
                    padding-right: 1rem;
                    padding-left: 1.25rem;
                }

                .teamSwiper {
                    margin-right: -0.25rem;
                }
            }

/* ========================
