/**
 * Стили для страниц сотрудников
 */

.vt-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Архив сотрудников ===== */
.vt-employees {
    padding: 40px 0 80px;
}

.vt-employees__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.vt-employees__breadcrumbs a {
    color: #1976d2;
    text-decoration: none;
    transition: color 0.2s;
}

.vt-employees__breadcrumbs a:hover {
    color: #1565c0;
}

.vt-employees__title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 40px 0;
    color: #212121;
}

/* Сетка карточек */
.vt-employees__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Карточка сотрудника */
.vt-employee-card {
    display: block;
    text-decoration: none;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.vt-employee-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.vt-employee-card__photo {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.vt-employee-card__photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vt-employee-card:hover .vt-employee-card__photo img {
    transform: scale(1.05);
}

.vt-employee-card__info {
    padding: 25px;
}

.vt-employee-card__name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #212121;
}

.vt-employee-card__position {
    font-size: 15px;
    color: #1976d2;
    margin: 0;
    font-weight: 500;
}

/* ===== Детальная страница сотрудника ===== */
.vt-employee-single {
    padding: 40px 0 80px;
}

.vt-employee-single__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    font-size: 14px;
    color: #666;
}

.vt-employee-single__breadcrumbs a {
    color: #1976d2;
    text-decoration: none;
    transition: color 0.2s;
}

.vt-employee-single__breadcrumbs a:hover {
    color: #1565c0;
}

/* Верхний блок: Фото + Информация */
.vt-employee-single__header {
    display: grid;
    grid-template-columns: 550px 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.vt-employee-single__photo {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.vt-employee-single__photo img {
    width: 100%;
    height: auto;
    display: block;
}

.vt-employee-single__info {
}

.vt-employee-single__name {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #212121;
}

.vt-employee-single__position {
    font-size: 22px;
    color: #1976d2;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.vt-employee-single__experience {
    background: #e3f2fd;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    color: #1565c0;
}

.vt-employee-single__description {
    font-size: 16px;
    line-height: 1.8;
    color: #424242;
    margin-bottom: 50px;
}

.vt-employee-single__description p {
    margin-bottom: 15px;
}

/* Слайдер наград */
.vt-employee-single__awards {
    margin-bottom: 60px;
}

.vt-employee-single__awards-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 30px 0;
    color: #1976d2;
}

.vt-awards-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.vt-awards-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.vt-awards-slider__slide {
    flex-shrink: 0;
    width: 300px;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.vt-awards-slider__slide:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.vt-awards-slider__slide img {
    width: 100%;
    height: 380px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.vt-awards-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: white;
    cursor: pointer;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
    z-index: 10;
    padding: 0;
}

.vt-awards-slider__btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.vt-awards-slider__btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4);
}

.vt-awards-slider__btn:active {
    transform: translateY(-50%) scale(0.95);
}

.vt-awards-slider__btn--prev {
    left: 10px;
}

.vt-awards-slider__btn--next {
    right: 10px;
}

/* Кнопка назад */
.vt-employee-single__back {
    margin-top: 40px;
}

.vt-btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.vt-btn--secondary {
    background: white;
    color: #1976d2;
    border: 2px solid #1976d2;
}

.vt-btn--secondary:hover {
    background: #1976d2;
    color: white;
}

/* Лайтбокс для наград */
.vt-awards-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

.vt-awards-lightbox--active {
    display: block;
}

.vt-awards-lightbox__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.vt-awards-lightbox__container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.vt-awards-lightbox__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.vt-awards-lightbox__content img {
    max-width: 100%;
    max-height: 90vh;
    height: auto;
    display: block;
}

.vt-awards-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #212121;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    padding: 0;
}

.vt-awards-lightbox__close:hover {
    background: white;
    transform: scale(1.1);
}

.vt-awards-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #212121;
    cursor: pointer;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    padding: 0;
}

.vt-awards-lightbox__nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.vt-awards-lightbox__nav svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.vt-awards-lightbox__prev {
    left: 20px;
}

.vt-awards-lightbox__next {
    right: 20px;
}

/* ===== Адаптив ===== */

/* Планшеты */
@media (max-width: 1024px) {
    /* Детальная страница */
    .vt-employee-single__header {
        grid-template-columns: 400px 1fr;
        gap: 40px;
    }

    /* Слайдер наград - 3 слайда */
    .vt-awards-slider__slide {
        width: 280px;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    /* Архив сотрудников */
    .vt-employees {
        padding: 30px 0 60px;
    }

    .vt-employees__title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .vt-employees__grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .vt-employee-card__info {
        padding: 20px;
    }

    /* Детальная страница */
    .vt-employee-single {
        padding: 30px 0 60px;
    }

    .vt-employee-single__breadcrumbs {
        margin-bottom: 30px;
        font-size: 13px;
    }

    .vt-employee-single__header {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .vt-employee-single__name {
        font-size: 32px;
    }

    .vt-employee-single__position {
        font-size: 18px;
    }

    .vt-employee-single__description {
        font-size: 15px;
    }

    /* Слайдер наград - 2 слайда */
    .vt-employee-single__awards {
        margin-bottom: 40px;
    }

    .vt-employee-single__awards-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .vt-awards-slider__slide {
        width: 240px;
    }

    .vt-awards-slider__slide img {
        height: 320px;
    }

    .vt-awards-slider__btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .vt-awards-slider__btn svg {
        width: 20px;
        height: 20px;
    }

    .vt-awards-slider__btn--prev {
        left: 5px;
    }

    .vt-awards-slider__btn--next {
        right: 5px;
    }

    /* Лайтбокс */
    .vt-awards-lightbox__container {
        padding: 20px;
    }

    .vt-awards-lightbox__close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        font-size: 24px;
    }

    .vt-awards-lightbox__nav {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .vt-awards-lightbox__nav svg {
        width: 20px;
        height: 20px;
    }

    .vt-awards-lightbox__prev {
        left: 10px;
    }

    .vt-awards-lightbox__next {
        right: 10px;
    }
}

/* Маленькие мобильные */
@media (max-width: 480px) {
    .vt-container {
        padding: 0 15px;
    }

    /* Архив сотрудников */
    .vt-employees__title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .vt-employees__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .vt-employee-card__info {
        padding: 15px;
    }

    .vt-employee-card__name {
        font-size: 18px;
    }

    .vt-employee-card__position {
        font-size: 14px;
    }

    /* Детальная страница */
    .vt-employee-single__header {
        gap: 20px;
        margin-bottom: 30px;
    }

    .vt-employee-single__name {
        font-size: 26px;
    }

    .vt-employee-single__position {
        font-size: 16px;
    }

    .vt-employee-single__description {
        font-size: 14px;
    }

    /* Слайдер наград - 1 слайд */
    .vt-employee-single__awards-title {
        font-size: 24px;
    }

    .vt-awards-slider__slide {
        width: calc(100vw - 70px);
        max-width: 280px;
    }

    .vt-awards-slider__slide img {
        height: 280px;
    }

    .vt-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}
