/* ========================
   Базовые настройки 
   ======================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #000;
    background-color: #fcfcfc;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* ========================
   Основной контент
   ======================== */
.login-main {
    margin-top: 135px;        
    padding-top: 0;
}

/* ========================
   Хлебные крошки
   ======================== */
.breadcrumbs {
    font-size: 18px;
    font-weight: 400;
    color: #929292;
    margin-bottom: 60px;
    padding-top: 0;
}

.breadcrumbs a {
    color: #929292;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #D90D26;
}

.breadcrumbs__sep {
    margin: 0 2px;
}

.breadcrumbs__current {
    color: #929292;
}

/* ========================
   Заголовок
   ======================== */
.license-hero__title {
    font-size: 50px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 30px;
    color: #000;
}

/* Слайдер лицензий */
.license-slider-section {
    margin-bottom: 80px;
}
.license-slider__header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}
.license-slider-clip {
    overflow: hidden;
    padding: 30px 10px;
    margin: -30px 0;
}
.license-slider {
    overflow: visible;
}
.license-slider__track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    will-change: transform;
}
.license-slide {
    flex-shrink: 0;
    width: min(500px, 65vw);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.license-slide:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}
.license-slide__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: #f5f5f5;
}
/* Стрелки (копия из instructors.css) */
.section-controls {
    display: flex;
    gap: 30px;
}
.section-arrow {
    width: 74px;
    height: 34px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: linear-gradient(-41deg, #D90D26, #E94055, #D90D26);
    border: none;
    padding: 0;
    position: relative;
    box-sizing: border-box;
}
.section-arrow.disabled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 5px;
    background: linear-gradient(-41deg, #D90D26, #E94055, #D90D26);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    z-index: -1;
}
.section-arrow.disabled {
    background: transparent;
    cursor: default;
    pointer-events: none;
}
.section-arrow__icon {
    display: block;
    width: 50px;
    height: auto;
    object-fit: contain;
}
.section-arrow--left .section-arrow__icon {
    transform: scaleX(-1);
}

/* ========================
   Адаптивность (мобильная версия)
   ======================== */
@media (max-width: 768px) {
    .section-controls {
        display: none;
    }

    body {
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }

    /* Контейнер и отступы */
    .container {
        max-width: 100%;
        padding: 0 16px;
        margin: 0 auto;
    }

    .login-main {
        margin-top: 83px;
        margin-bottom: 40px;
    }

    .breadcrumbs {
        font-size: 12px;
        margin-top: 0;
        margin-bottom: 30px;
    }

    .license-hero__title {
        font-size: 30px;
        margin-bottom: 15px;
    }

    /* Обёртка слайдера: центрирование, отступы для тени */
    .license-slider-clip {
        width: 328px;          
        margin: 0 auto;
        padding: 10px;
        overflow: hidden;
        margin-top: -30px;
        margin-bottom: 0;
    }

    /* Карточка слайда */
    .license-slide {
        width: 100%;
        max-width: 328px;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        transition: none;
    }
    .license-slide:hover {
        transform: none;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

    /* Трек слайдера */
    .license-slider__track {
        gap: 20px;
    }

    /* Точки слайдера (три статические точки) */
    .license-dots {
        display: flex;
        justify-content: center;
        gap: 7px;
        margin: 10px 0 30px;
    }
    .license-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #d9d9d9;
        cursor: pointer;
        transition: all 0.2s;
    }
    .license-dot.active {
        background: #b5b5b5;
        transform: scale(1.2);
    }

    /* Скрываем элементы только для десктопа */
    .desktop-only {
        display: none !important;
    }
}