.about-us-section {
    padding: 60px 0;
    /* background-color: #f8f9fa; /* Если фон страницы не белый */
}

.about-us-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr; /* Левая колонка шире правой */
    gap: 40px; /* Пространство между колонками */
    align-items: flex-start; /* Выравниваем по верху */
}

.about-us-image-slider {
    position: relative; /* Для позиционирования бейджа и стрелок */
    border-radius: 12px;
    overflow: hidden; /* Обрезает изображение по скругленным углам */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.main-slide-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover; /* Для корректного заполнения, если пропорции не совпадают */
}

.slider-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.1); /* Полупрозрачный темный фон */
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
    z-index: 10;
}
/* Если будете использовать иконки в бейдже (например, лавры из Font Awesome) */
.slider-badge .badge-icon {
    /* Стили для иконок лавров */
    /* font-size: 1.2em; margin: 0 5px; color: #d4af37; (пример) */
}


.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8); /* Полупрозрачный белый фон */
    border: none;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.slider-nav:hover {
    background-color: #fff;
    color: var(--primary-color); /* Зеленый при наведении */
}

.slider-nav.prev {
    left: 15px;
}

.slider-nav.next {
    right: 15px;
}

.about-us-text-content h2 {
    font-size: 2em; /* Размер заголовка */
    font-weight: 500;
    line-height: 1.3;
    color: #333;
    margin-top: 0;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.highlight-green {
    padding: 0.05em 0.2em;
    border-radius: 3px;
    color: var(--primary-color); /* Убедимся, что цвет текста не меняется */
}

.description-text {
    font-size: 1em;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.details-link {
    display: inline-block;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 3px;
    border-bottom: 2px solid var(--primary-color); /* Зеленое подчеркивание */
    transition: color 0.3s ease, border-color 0.3s ease;
    margin-bottom: 30px;
}

.details-link:hover {
    color: var(--primary-color);
    border-bottom-color: #333;
}

.social-subscribe-text {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 15px;
}

.social-icons-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    gap: 12px; /* Пространство между иконками */
}

.social-icons-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #f0f0f0; /* Светло-серый фон кружка */
    color: #555; /* Цвет иконки внутри кружка */
    border-radius: 50%;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.social-icons-list li a:hover {
    background-color: var(--primary-color); /* Зеленый фон при наведении */
    color: #fff;
}

.team-image-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.team-image-container img {
    display: block;
    width: 100%;
    height: auto;
}

/* Адаптивность */
@media (max-width: 992px) {
    .about-us-grid {
        grid-template-columns: 1fr; /* Одна колонка */
    }
    .about-us-image-slider {
        margin-bottom: 30px; /* Отступ, когда текстовый блок идет ниже */
        /* Можно задать max-height для слайдера, чтобы он не был слишком высоким */
        /* max-height: 500px; */
    }
    .main-slide-image {
        /* Если задан max-height для слайдера, то и для картинки нужно */
        /* max-height: 500px; */
    }
    .about-us-text-content h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .about-us-text-content h2 {
        font-size: 1.6em;
    }
    .about-us-image-slider {
        /* Для мобильных можно сделать слайдер не таким высоким */
        /* max-height: 400px; */
    }
}
.about-us-section {
    padding: 60px 0;
}

.about-us-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 40px;
    /* КЛЮЧЕВОЕ ИЗМЕНЕНИЕ: выравниваем по верху, т.к. высоту будем задавать JS */
    align-items: start;
}

/* --- Левая колонка: Слайдер --- */
.about-us-image-slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    /* Высота будет установлена через JS */
    height: auto;
}

/* Новые стили для обертки и слайдов */
.about-slider-wrapper {
    display: flex;
    height: 100%; /* Заполняет всю высоту родителя .about-us-image-slider */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-slide {
    flex: 0 0 100%;
    height: 100%;
}

.about-slide img {
    display: block;
    width: 100%;
    height: 100%; /* Растягивает картинку на всю высоту слайда */
    object-fit: cover; /* Идеально для подгонки, обрезая лишнее */
}

/* Улучшенный стиль для бейджа */
.slider-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.slider-badge img {
    height: 65px;
    width: auto;
}
.slider-badge span {
    font-size: 0.8em;
    font-weight: 500;
    line-height: 1.2;
}

/* Ваши стили для .slider-nav, .about-us-text-content и т.д. можно оставить, они отличные */
/* ... (остальные ваши стили) ... */



/* Адаптивность */
@media (max-width: 992px) {
    .about-us-grid {
        grid-template-columns: 1fr;
    }
    .about-us-image-slider {
        /* На мобильных устройствах высота будет автоматической, JS ее сбросит */
        height: auto;
        /* Можно задать соотношение сторон, чтобы не было слишком высоким */
        aspect-ratio: 4 / 3;
        margin-bottom: 30px;
    }
}
