/*
Theme Name: VFV Clone Theme
Author: Web Developer
Description: Тема в стиле портала volley.ru (точная копия новостей)
Version: 1.5
Text Domain: vfv-clone
*/

/* --- 1. ШРИФТЫ И ПЕРЕМЕННЫЕ --- */
/* Подключаем Roboto для максимального сходства с оригиналом */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

:root {
    --vfv-blue-header: #004c97; 
    --vfv-blue-title: #022047;  /* Очень темный синий для заголовков новостей */
    --vfv-red: #e30613;         
    --vfv-light-gray: #f5f6f8;  
    --vfv-text: #333333;        
}

* { box-sizing: border-box; }

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    color: var(--vfv-text);
    background-color: #ffffff; /* Белый фон страницы как на сайте */
    line-height: 1.6;
}

a { text-decoration: none; transition: all 0.2s ease; }

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

/* --- 3. ШАПКА САЙТА --- */
.site-header { background-color: var(--vfv-blue-header); color: #fff; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); }
.top-bar { border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding: 8px 0; font-size: 12px; }
.top-bar ul { list-style: none; display: flex; justify-content: flex-end; gap: 15px; margin: 0; padding: 0; }
.top-bar a { color: #e0e0e0; }
.top-bar a:hover { color: #fff; }
.header-main { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.main-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.main-nav a { color: #fff; font-weight: 700; text-transform: uppercase; font-size: 14px; }
.main-nav a:hover { color: #ccc; text-decoration: underline; }

/* --- 4. МАТЧ-ЦЕНТР --- */
.match-center-wrapper { background: var(--vfv-blue-header); padding: 30px 0; border-bottom: 5px solid var(--vfv-light-gray); }
.match-center-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; color:#fff; }
.match-center-header h2 { margin: 0; font-size: 24px; text-transform: uppercase; font-weight: 900; }
.matches-grid { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; }
.match-card { background: #fff; border-radius: 8px; min-width: 280px; padding: 15px; color: var(--vfv-text); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.match-league { font-size: 11px; color: #888; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; display: block; }
.match-teams { display: flex; flex-direction: column; gap: 8px; }
.team-row { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.match-date { margin-top: 15px; font-size: 12px; color: var(--vfv-red); font-weight: 700; text-align: center; }

/* --- 5. ГЛАВНЫЙ СЛАЙДЕР --- */
.vfv-hero-slider { display: flex; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); height: 450px; }
.slider-main-area { width: 65%; position: relative; background: #000; }
.slider-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.4s ease-in-out; z-index: 1; }
.slider-slide.active { opacity: 1; z-index: 2; }
.slide-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 60px 40px 30px; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%); color: #fff; }
.slide-cat { display: inline-block; background: var(--vfv-red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 4px; margin-bottom: 15px; text-transform: uppercase; }
.slide-title { margin: 0 0 10px 0; font-size: 26px; font-weight: 900; line-height: 1.3; text-transform: uppercase; }
.slide-title a { color: #fff; }
.slide-date { font-size: 14px; color: #bbb; }
.slider-nav-area { width: 35%; display: flex; flex-direction: column; background: #f9f9f9; }
.slider-nav-item { padding: 20px 25px; border-bottom: 1px solid #eaeaea; cursor: pointer; display: flex; flex-direction: column; justify-content: center; flex: 1; border-left: 4px solid transparent; color: var(--vfv-text); }
.slider-nav-item:hover, .slider-nav-item.active { background: #fff; border-left-color: var(--vfv-red); }
.slider-nav-item .nav-date { font-size: 12px; color: #888; margin-bottom: 5px; }
.slider-nav-item .nav-title { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.4; text-transform: uppercase; }

/* --- 6. ТОЧНАЯ КОПИЯ СЕТКИ НОВОСТЕЙ (КАК НА СКРИНШОТЕ) --- */
.news-section { padding: 50px 0 60px; }

/* Заголовок НОВОСТИ */
.vfv-section-title { 
    font-size: 28px; 
    font-weight: 900; 
    text-transform: uppercase; 
    color: var(--vfv-blue-title); 
    margin: 0 0 30px 0; 
}

/* Сетка 5 колонок */
.vfv-news-grid { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 25px; 
}

/* Сама карточка (БЕЗ ФОНА И ТЕНИ) */
.vfv-news-card { 
    display: flex; 
    flex-direction: column; 
    background: transparent; 
}

/* Квадратная картинка с закругленными углами */
.vfv-news-thumb { 
    width: 100%; 
    aspect-ratio: 1 / 1; /* Делает фото строго квадратным */
    border-radius: 8px; /* Закругления как на сайте */
    overflow: hidden; 
}

.vfv-news-thumb img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
    transition: transform 0.3s ease;
}

.vfv-news-card:hover .vfv-news-thumb img {
    transform: scale(1.05); /* Легкий зум фото при наведении */
}

/* Блок с текстом под фото */
.vfv-news-content { 
    padding: 12px 0 0 0; /* Отступ только сверху */
    display: flex; 
    flex-direction: column; 
}

/* Заголовок КАПСОМ */
.vfv-news-title { 
    font-size: 14px; 
    font-weight: 800; 
    color: var(--vfv-blue-title); 
    line-height: 1.35; 
    margin: 0 0 8px 0; 
    text-transform: uppercase; /* Строго заглавные буквы */
}

.vfv-news-card:hover .vfv-news-title {
    color: var(--vfv-red); /* При наведении заголовок краснеет */
}

/* Дата и категория (серые, мелкие) */
.vfv-news-meta { 
    font-size: 11px; 
    color: #999; /* Светло-серый цвет как на скриншоте */
    line-height: 1.4;
    text-transform: uppercase; /* На сайте рубрики часто тоже капсом или с большой буквы */
}

/* --- 7. ПОДВАЛ (FOOTER) --- */
.site-footer { background: var(--vfv-blue-header); color: #fff; padding: 60px 0 30px; border-top: 5px solid var(--vfv-red); }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.footer-nav a { color: #ccc; font-size: 14px; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 12px; color: #888; text-align: center; }

/* --- 8. АДАПТИВНОСТЬ --- */
@media (max-width: 1100px) {
    .vfv-news-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 900px) {
    .vfv-hero-slider { flex-direction: column; height: auto; }
    .slider-main-area { width: 100%; height: 350px; }
    .slider-nav-area { width: 100%; height: auto; display: grid; grid-template-columns: 1fr 1fr; }
    .slider-nav-item { border-left: none; border-bottom: 4px solid transparent; border-right: 1px solid #eaeaea; }
}

@media (max-width: 768px) {
    .header-main { flex-direction: column; gap: 20px; }
    .vfv-news-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 480px) {
    .vfv-news-grid { grid-template-columns: 1fr; }
    .slider-nav-area { grid-template-columns: 1fr; }
}

.match-teams { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}
.team-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-weight: 700; 
}
.team-info { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}
/* Этот код из предыдущего шага уже идеально подходит для SVG */
.team-logo { 
    width: 24px; 
    height: 24px; 
    object-fit: contain; 
}
.team-logo-placeholder { 
    width: 24px; 
    height: 24px; 
    background: #eaeaea; 
    border-radius: 50%; 
}
.team-score {
    font-size: 18px;
    font-weight: 900;
    color: var(--vfv-blue-title);
}

/* ==========================================================================
   РАСШИРЕННАЯ КАРТОЧКА МАТЧА (КАК НА СКРИНШОТЕ)
   ========================================================================== */
.detailed-matches-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.vfv-detailed-match {
    background: #fff;
    border-left: 8px solid var(--vfv-red);
    border-right: 8px solid var(--vfv-red);
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.dm-header {
    color: #888;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
}

.dm-body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

/* Команды */
.dm-team {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.dm-team-left {
    justify-content: flex-end;
}

.dm-team-right {
    justify-content: flex-start;
}

.dm-team-name {
    font-size: 24px;
    font-weight: 900;
    color: var(--vfv-blue-title);
}

.dm-team-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dm-team-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.dm-score-main {
    font-size: 52px;
    font-weight: 900;
    color: var(--vfv-blue-title);
    line-height: 1;
    margin: 0 10px;
}

/* Табло счетов по сетам (Точная стилизация как на скриншоте) */
.dm-sets-board {
    display: flex;
    flex-direction: column;
    margin: 0 15px;
}

.dm-sets-row {
    display: flex;
}

/* Горизонтальная разделительная линия под номерами сетов */
.dm-sets-nums {
    border-bottom: 1px solid #d9d9d9;
}

.dm-set-col {
    padding: 8px 14px;
    text-align: center;
    border-right: 1px solid #d9d9d9; /* Вертикальные линии */
    min-width: 55px; /* Задает одинаковую ширину колонкам */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Убираем крайнюю правую линию, чтобы сетка не закрывалась */
.dm-set-col:last-child {
    border-right: none;
}

/* Номера сетов (1, 2, 3...) */
.dm-sets-nums .dm-set-col span {
    color: #cc6633; /* Оранжево-медный цвет */
    font-size: 14px;
    font-weight: 800;
}

/* Сам счет (21:25, 18:25...) */
.dm-sets-scores .dm-set-col span {
    color: #55606e; /* Серо-синий цвет текста */
    font-size: 15px;
    font-weight: 600;
}

/* Кнопка внизу */
.dm-footer {
    margin-top: 25px;
}

.dm-btn {
    background: var(--vfv-red);
    color: #fff;
    padding: 10px 30px;
    border-radius: 25px; /* Овальная кнопка */
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    transition: background 0.3s ease;
    display: inline-block;
}

.dm-btn:hover {
    background: #b3000b;
    color: #fff;
}

/* Адаптивность для мобильных */
@media (max-width: 900px) {
    .dm-body {
        flex-direction: column;
        gap: 30px;
    }
    .dm-team-left {
        justify-content: center;
        flex-direction: row-reverse; /* Меняем порядок: Лого - Имя */
    }
    .dm-team-right {
        justify-content: center;
    }
    .dm-score-main {
        font-size: 40px;
    }
    .vfv-detailed-match {
        padding: 15px;
    }
}

/* ==========================================================================
   ПРОМО-БАННЕР ПОД ШАПКОЙ
   ========================================================================== */
.top-promo-banner {
    background-color: #ffffff;
    padding: 15px 0 5px 0; /* Отступы сверху и снизу баннера */
    text-align: center;
}

.promo-banner-link {
    display: block;
    overflow: hidden;
}

.promo-banner-link img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease; /* Плавная анимация */
}

/* Легкий эффект увеличения баннера при наведении мышки */
.promo-banner-link:hover img {
    transform: scale(1.01);
}

/* Адаптивность: на телефонах баннер будет автоматически сжиматься */
@media (max-width: 768px) {
    .top-promo-banner {
        padding: 10px 0;
    }
}

/* --- КРАСИВОЕ ВЫПАДАЮЩЕЕ ПОДМЕНЮ (ДРОПДАУН) --- */
.main-nav ul li { 
    position: relative; 
}

.main-nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--vfv-blue-header);
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px); /* Сдвиг для плавной анимации */
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-radius: 0 0 8px 8px; /* Закругления снизу */
    overflow: hidden;
}

/* Показываем подменю при наведении */
.main-nav ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav ul li ul li { 
    width: 100%; 
}

.main-nav ul li ul li a {
    padding: 14px 20px;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.05); /* Тонкий разделитель */
    font-size: 13px;
    font-weight: 600;
    text-transform: none; /* Оставляем нормальный регистр для подменю */
}

.main-nav ul li ul li:last-child a { 
    border-bottom: none; 
}

/* Эффект при наведении на пункт подменю */
.main-nav ul li ul li a:hover {
    background: var(--vfv-red);
    color: #fff;
    padding-left: 25px; /* Легкий сдвиг текста вправо */
}
/* --- ПРАВАЯ ЧАСТЬ СЛАЙДЕРА (ВКЛАДКИ НОВОСТИ / КАЛЕНДАРЬ) --- */
.slider-nav-area { 
    width: 35%;
    background: #fff; 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; /* Убирает общий уродливый скроллбар */
    border-left: 1px solid #f0f0f0;
}

/* Шапка вкладок */
.tabs-headers { 
    display: flex; 
    border-bottom: 1px solid #eaeaea; 
    background: #fff;
    flex-shrink: 0; /* Шапка не сжимается */
}

.tab-btn { 
    flex: 1; 
    padding: 18px 0; 
    text-align: center; 
    font-weight: 800; 
    font-size: 14px; 
    color: #999; 
    background: transparent; 
    border: none; 
    cursor: pointer; 
    border-bottom: 3px solid transparent; /* Более толстая полоска */
    transition: 0.3s ease; 
    text-transform: uppercase; 
    outline: none;
}

.tab-btn.active { 
    color: var(--vfv-blue-title); 
    border-bottom-color: var(--vfv-red); 
}

.tab-btn:hover { 
    color: var(--vfv-blue-title); 
}

/* Тело вкладок */
.tabs-body { 
    flex: 1; 
    position: relative;
    overflow: hidden; 
}

.tab-content { 
    display: none !important; /* Жестко скрываем неактивные табы */
    height: 100%; 
    width: 100%;
    overflow-y: auto; /* Скролл только внутри контента вкладки */
}

.tab-content.active { 
    display: flex !important; /* Показываем только активную */
    flex-direction: column; 
}

/* Красивый тонкий скроллбар для вкладок */
.tab-content::-webkit-scrollbar { width: 6px; }
.tab-content::-webkit-scrollbar-track { background: #f9f9f9; }
.tab-content::-webkit-scrollbar-thumb { background: #dcdcdc; border-radius: 10px; }
.tab-content::-webkit-scrollbar-thumb:hover { background: var(--vfv-red); }

/* Элементы новостей внутри вкладки */
.slider-nav-item { 
    padding: 20px 25px; 
    border-bottom: 1px solid #eaeaea; 
    cursor: pointer; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    border-left: 4px solid transparent; 
    color: var(--vfv-text); 
    flex-shrink: 0; /* Чтобы карточки не сжимались по высоте */
    transition: all 0.2s ease;
}

.slider-nav-item:hover, 
.slider-nav-item.active { 
    background: var(--vfv-light-gray); 
    border-left-color: var(--vfv-red); 
}

.slider-nav-item .nav-date { font-size: 12px; color: #888; margin-bottom: 8px; }
.slider-nav-item .nav-title { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.4; text-transform: uppercase; }

/* --- СТИЛИ САМОГО КАЛЕНДАРЯ --- */
#tab-calendar { padding: 15px; }
.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding: 0 10px; }
.cal-month-title { font-size: 16px; font-weight: 900; text-transform: uppercase; color: var(--vfv-blue-title); }
.cal-nav-btn { cursor: pointer; background: var(--vfv-light-gray); border: none; font-size: 18px; font-weight: bold; width: 32px; height: 32px; border-radius: 4px; color: var(--vfv-blue-title); transition: 0.2s; display: flex; align-items: center; justify-content: center; }
.cal-nav-btn:hover { background: var(--vfv-red); color: #fff; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.cal-day-name { font-size: 11px; font-weight: 700; color: #aaa; margin-bottom: 5px; text-transform: uppercase; }
.cal-day { font-size: 14px; font-weight: 600; padding: 10px 0; border-radius: 6px; color: var(--vfv-text); display: flex; justify-content: center; align-items: center; transition: 0.2s; position: relative;}
.cal-day.empty { background: transparent; }
.cal-day.today { font-weight: 900; text-decoration: underline; color: var(--vfv-blue-title); }

.cal-day.game-home { background: var(--vfv-red); color: #fff; box-shadow: 0 3px 8px rgba(227,6,19,0.3); cursor: pointer; font-weight: 800; }
.cal-day.game-away { background: var(--vfv-blue-header); color: #fff; box-shadow: 0 3px 8px rgba(0,76,151,0.3); cursor: pointer; font-weight: 800; }

.cal-legend { display: flex; justify-content: center; gap: 20px; font-size: 12px; font-weight: 600; border-top: 1px solid #eaeaea; padding-top: 15px; margin-top: auto; }
.leg-item { display: flex; align-items: center; gap: 6px; }
.leg-dot { width: 10px; height: 10px; border-radius: 50%; }
.leg-dot.home { background: var(--vfv-red); }
.leg-dot.away { background: var(--vfv-blue-header); }

/* ==========================================================================
   ПОДВАЛ САЙТА (FOOTER)
   ========================================================================== */
.site-footer {
    background-color: var(--vfv-blue-header); /* Темно-синий фон */
    color: #fff;
    padding: 70px 0 30px;
    border-top: 6px solid var(--vfv-red);
    font-family: 'Roboto', sans-serif;
}

/* Сетка: левая колонка шире остальных */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

/* Логотип и О нас */
.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    margin-bottom: 25px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
}

.footer-logo-text {
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.3;
}

.footer-legal-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Контакты */
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.contact-link {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.contact-link svg {
    width: 18px;
    height: 18px;
    color: var(--vfv-red);
}

.contact-link:hover {
    color: var(--vfv-red);
}

/* Заголовки виджетов */
.footer-widget-title {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 30px 0;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--vfv-red);
}

/* Меню навигации */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-menu li a:hover {
    color: #fff;
    transform: translateX(5px); /* Легкий сдвиг вправо при наведении */
}

/* Социальные сети */
.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 8px; /* Квадраты со скругленными углами */
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: all 0.3s ease;
}

.social-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.social-btn:hover {
    transform: translateY(-4px); /* Кнопка "подпрыгивает" */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-btn.vk:hover { background: #0077FF; color: #fff; } /* Фирменный цвет VK */
.social-btn.tg:hover { background: #229ED9; color: #fff; } /* Фирменный цвет TG */

/* Самый низ подвала */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-developer a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    transition: 0.3s;
}

.footer-developer a:hover {
    color: var(--vfv-red);
}

/* Адаптивность для телефонов и планшетов */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-about {
        grid-column: 1 / -1; /* Первая колонка занимает всю ширину на планшете */
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* ==========================================================================
   СТРАНИЦА: СОСТАВ КОМАНДЫ
   ========================================================================== */

/* Переключатели вкладок */
.team-page-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.team-tab-btn {
    background: transparent;
    border: 2px solid #eaeaea;
    color: var(--vfv-blue-title);
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-tab-btn:hover {
    border-color: var(--vfv-red);
}

.team-tab-btn.active {
    background: var(--vfv-red);
    border-color: var(--vfv-red);
    color: #fff;
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.3);
}

/* Контейнеры контента */
.team-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.team-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Сетка карточек */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Сама карточка */
.team-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.team-photo {
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: top center;
    background-color: #f5f5f5;
}

.team-info {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-name {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 900;
    color: var(--vfv-blue-title);
    text-transform: uppercase;
    line-height: 1.2;
}

.team-role {
    font-size: 14px;
    color: #888;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-stats {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eaeaea;
    padding-top: 15px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    font-weight: 800;
    color: var(--vfv-blue-title);
}

.stat-item span {
    font-size: 11px;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 3px;
}

/* Адаптивность для состава */
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .team-photo { height: 260px; }
}
@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
    .team-page-tabs { flex-direction: column; gap: 10px; }
}