
/* --- ПЕРЕМЕННЫЕ И ШРИФТЫ --- */
:root {
    --primary-green: #43A047; 
    --text-dark: #333333;
    --text-gray: #777777;
    --bg-light: #FFFFFF;
    --bg-gray: #F9F9F9;
    --player-height: 80px;
    --border-radius: 20px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    
    background-color: var(--bg-light); 
    background-image: url('../img/main-bg.svg'); 
    background-size: cover;
    background-attachment: fixed; 
    
    line-height: 1.5;
    padding-bottom: var(--player-height);
}

h1, h2, h3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-green);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.btn:hover {
    background-color: #2E7D32;
}

/* =========================================
   ШАПКА (HEADER) - ПОЛНЫЙ КОД
   ========================================= */

.header {
    padding: 15px 0;
    background: #fff;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Контейнер шапки (Общие правила) */
.header .container {
    display: flex;
    align-items: center; /* ВАЖНО: Выравнивает Лого и Бургер по одной линии */
    justify-content: flex-start; /* По умолчанию слева направо */
    gap: 20px;
    height: 50px; /* Фиксируем высоту контейнера, чтобы ничего не прыгало */
}

/* Логотип */
.logo {
    display: flex; /* Чтобы картинка внутри не давала отступов */
    align-items: center;
    flex-shrink: 0;
    z-index: 1003;
}

.logo img {
    height: 50px; /* Размер лого */
    width: auto;
    display: block;
}

/* Обертка меню (Десктоп) */
.header-menu {
    display: flex;
    align-items: center;
    flex-grow: 1; /* Занимает всё место */
    justify-content: flex-end; /* Язык справа */
}

/* Навигация (Десктоп) */
.nav {
    margin: 0 auto; /* Центрируем меню */
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__link {
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark);
    transition: color 0.2s;
    white-space: nowrap; /* Текст не переносится */
}

.nav__link:hover, .nav__link.active {
    color: var(--primary-green);
}

/* Переключатель языка */
.lang-switcher {
    display: flex;
    gap: 10px;
    font-weight: 600;
    flex-shrink: 0;
}
.lang-item { 
    text-decoration: none;
    color: var(--text-gray); 
    transition: color 0.2s; 
}
.lang-item.active, .lang-item:hover { color: var(--primary-green); }
.lang-divider { color: #ccc; }

/* Бургер (Скрыт на ПК) */
.burger-btn {
    display: none;
}

/* --- МОБИЛЬНОЕ МЕНЮ (ФИНАЛЬНЫЙ ФИКС) --- */
@media (max-width: 900px) {
    
    /* 1. КОНТЕЙНЕР: Жестко в одну линию */
    .header .container {
        display: flex !important;
        flex-direction: row !important;     /* Строго горизонт */
        justify-content: space-between !important; /* По краям */
        align-items: center !important;     /* Центр по вертикали */
        flex-wrap: nowrap !important;       /* ЗАПРЕТ ПЕРЕНОСА */
        gap: 0; /* Убираем лишние отступы между элементами */
    }

    /* 2. ЛОГОТИП */
    .logo {
        flex-shrink: 0; /* Запрещаем сжиматься */
        z-index: 1003;
        display: flex;
        align-items: center;
    }
    
    /* Убедимся, что картинка логотипа не огромная */
    .logo img {
        height: 40px; /* Чуть меньше на мобилках, чтобы влезало */
        width: auto;
    }

    /* 3. КНОПКА БУРГЕР (Исправленная область клика) */
    .burger-btn {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        
        /* Увеличиваем область клика (стандарт UX) */
        width: 44px; 
        height: 44px; 
        
        position: relative;
        z-index: 1002;
        padding: 0;
        margin: 0;
        
        /* Центрируем полоски внутри квадрата кнопки */
        display: flex;
        align-items: center; 
        justify-content: center;
    }

    /* Сами полоски */
    .burger-btn span {
        display: block;
        width: 24px; /* Ширина полосок */
        height: 3px;
        background-color: var(--text-dark);
        position: absolute;
        left: 10px; /* (44 - 24) / 2 = 10px отступа слева для центровки */
        border-radius: 2px;
        transition: all 0.3s ease;
        
        /* ВАЖНО: Клик проходит сквозь полоски прямо в кнопку */
        pointer-events: none; 
    }

    /* Позиционирование полосок относительно центра */
    .burger-btn span:nth-child(1) { top: 12px; }
    .burger-btn span:nth-child(2) { top: 20px; }
    .burger-btn span:nth-child(3) { top: 28px; }

    /* Анимация крестика */
    .burger-btn.active span:nth-child(1) {
        top: 20px;
        transform: rotate(45deg);
    }
    .burger-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .burger-btn.active span:nth-child(3) {
        top: 20px;
        transform: rotate(-45deg);
    }

    /* 4. ВЫПАДАЮЩЕЕ МЕНЮ */
    .header-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #fff;
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
        transition: right 0.4s ease;
        z-index: 1001;
        margin: 0;
    }

    .header-menu.open {
        right: 0;
    }

    /* Ссылки внутри */
    .nav {
        margin: 0 0 40px 0;
        width: 100%;
    }

    .nav__list {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        width: 100%;
    }

    .nav__link {
        font-size: 1.5rem;
        font-weight: 700;
        display: block;
    }

    .lang-switcher {
        font-size: 1.3rem;
        justify-content: center;
    }
}

/* --- HERO SECTION (Главный экран) --- */
.hero-section {
    padding: 60px 0 80px; 
    text-align: center;
    background-color: transparent; 
}

.hero-section h1 {
    font-size: 3.5rem; 
    color: var(--primary-green);
    text-transform: uppercase;
    margin-bottom: 5px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem; 
    color: #999; 
    font-weight: 500;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 80%; 
    max-width: 900px; 
    height: auto;
    object-fit: contain;
    
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); 
}

/* АДАПТИВ для Hero */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-image img {
        width: 100%; 
    }
}

/* --- ABOUT SECTION (О Радио) --- */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.about-image {
    flex: 1;
}
.about-image img {
    border-radius: var(--border-radius);
    width: 100%;
    object-fit: cover;
}
.about-content {
    flex: 1;
}
.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.about-text {
    margin-bottom: 40px;
    color: var(--text-gray);
}
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.feature-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.feature-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.feature-item p {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
}

/* --- NEWS SECTION (Новости) --- */
.news-section {
    padding: 80px 0;
    background-color: transparent; 
}

.section-title {
    text-align: center;
    font-size: 2.5rem; 
    margin-bottom: 60px; 
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    /* Свойства ссылки */
    display: flex;       /* Делаем флексом, чтобы выстроить структуру вертикально */
    flex-direction: column; 
    width: 100%;         /* Растягиваем на всю ширину ячейки сетки */
    height: 100%;        /* Чтобы все карточки были одной высоты */
    text-decoration: none;
    color: inherit;
    
    /* Оформление */
    background: #fff;
    border-radius: 15px; /* Вернули скругление */
    overflow: visible;    /* Обрезаем все лишнее */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    position: relative;
    margin-top: 40px;    /* Место для кружочка с датой */
    text-align: center;
}

.news-card:hover {
    transform: translateY(-5px);
}


.news-date {
    position: absolute;
    top: -40px; 
    left: 50%;  
    transform: translateX(-50%); 
    
    width: 80px;  
    height: 80px;
    
    background: rgba(220, 220, 220, 0.85); 
    backdrop-filter: blur(5px); 
    border-radius: 50%; 
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    z-index: 3; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.news-date span {
    font-size: 1.6rem; 
    font-weight: 700;
    line-height: 1;
    color: #333;
}
.news-date {
    font-size: 0.8rem; 
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
}

.news-img {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    border-radius: 20px; 
    display: block;
    margin-bottom: 20px; 
        border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.news-body {
    padding: 0; 
}

.news-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/* --- FOOTER (По макету) --- */
.site-footer {
    background-color: #fff;
    margin-top: 60px;
    width: 100%;
}

.footer-border-top,
.footer-border-bottom {
    width: 100%;
    height: 2px;
    background-color: var(--primary-green);
}

.footer-main {
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 100px; 
    gap: 30px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 15px;
}

.list-head {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.footer-list a {
    font-size: 0.9rem;
    color: var(--text-dark); 
    text-decoration: none;
    transition: color 0.2s;
}
.footer-list a:hover {
    color: var(--primary-green);
}

.social-col {
    display: flex;
    flex-direction: column; 
    align-items: flex-end; 
    gap: 15px;
}

.social-btn img {
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 50%;
    transition: transform 0.2s;
}
.social-btn:hover img {
    transform: scale(1.1);
}

.footer-bottom-gray {
    background-color: #EEEEEE; 
    padding: 30px 0;
    font-size: 0.8rem;
    color: #555;
}

.footer-bottom-content {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 40px; 
    flex-wrap: wrap;
}

.footer-bottom-content a {
    color: #555;
    text-decoration: none;
}
.footer-bottom-content a:hover {
    text-decoration: underline;
}

.copyright {
    color: #888;
}

/* Адаптив футера */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; 
    }
    .social-col {
        align-items: flex-start; 
        flex-direction: row; 
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* --- ПЛЕЕР  --- */
.audio-player-bar {
    position: fixed;
    bottom: 0; 
    left: 0;
    width: 100%;
    z-index: 9999;
    
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px); 
    border-top: 1px solid #e0e0e0; 
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05); 
    
    display: flex;
    justify-content: center;
    padding: 10px 0; 
}

.player-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; 
    width: 100%;
    max-width: 1200px; 
}


.audio-player-bar img {
    width: auto;
    display: block;
    max-width: none;
}

.ornament-outer {
    height: 45px !important; 
    opacity: 1; 
}

.player-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 5px;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
}
.player-icon-btn:hover {
    transform: scale(1.1);
}
.player-icon-btn img {
    height: 30px !important; 
    width: 30px !important;
}

.ornament-inner {
    height: 55px !important; 
}

.play-btn-custom {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    
    width: 60px !important; 
    height: 60px !important;
    
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    margin: 0 -5px; 
}

.flower-bg {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

.play-icon {
    position: relative;
    z-index: 2;
    font-size: 20px; 
    color: #FF0000;
    margin-left: 4px;
    line-height: 1;
}

/* АНИМАЦИЯ */
@keyframes pulse-flower {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.play-btn-custom.playing {
    animation: pulse-flower 2s infinite ease-in-out;
}

/* АДАПТИВ */
@media (max-width: 768px) {
    .ornament-outer { display: none; } 
}

@media (max-width: 500px) {
    .audio-player-bar { padding: 15px 0 20px; }
    .ornament-inner { height: 40px !important; }
    .play-btn-custom { width: 50px !important; height: 50px !important; }
    .player-icon-btn img { height: 24px !important; width: 24px !important; }
}
/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    .about-container {
        flex-direction: column;
    }
    .news-grid {
        grid-template-columns: 1fr; 
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
}
/* --- ГАЛЕРЕЯ ("СМОТРИМ") --- */
.gallery-section {
    padding: 60px 0;
    text-align: center;
    background-color: transparent;
}

.section-subtitle {
    color: var(--text-gray);
    margin-top: -40px;
    margin-bottom: 40px;
}

.gallery-tabs {
    margin-bottom: 50px; 
    display: flex;
    justify-content: center;
    gap: 30px;
}

.gallery-tab {
    background: none;
    border: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.gallery-tab.active {
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary-green);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 50px; 
}

.gallery-item {
    position: relative;
    margin-top: 30px; 
    text-align: center;
    overflow: visible; 
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 20px; 
    margin-bottom: 15px;
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
}

.gallery-caption {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
}

.gallery-date-badge {
    position: absolute;
    top: -35px; 
    left: 50%;
    transform: translateX(-50%); 
    
    width: 70px;
    height: 70px;
    
    background: rgba(220, 220, 220, 0.85); 
    backdrop-filter: blur(4px);
    border-radius: 50%;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    
    font-weight: 700;
    line-height: 1;
    color: #333;
}

.gallery-date-badge span {
    font-size: 0.7rem; 
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 2px;
    color: #555;

}

    /* --- ТАБЫ ГАЛЕРЕИ (ЛОГИКА) --- */


.gallery-content {
    display: none;
    animation: fadeIn 0.5s ease;
}


.gallery-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


.gallery-item {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}
.gallery-item:hover {
    transform: translateY(-5px);
}


.video-preview {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
}
.video-preview img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.gallery-item:hover .video-preview img {
    transform: scale(1.05); 
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-green);
    font-size: 24px;
    padding-left: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: background 0.3s, transform 0.3s;
}

.gallery-item:hover .play-overlay {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}



/* --- СЛАЙДЕР --- */

.guests-section {
    padding: 60px 0;
    width: 100%;
    overflow: hidden; 
    position: relative;
    background-color: transparent; 
}

.guests-slider {
    width: 100%;
    padding: 40px 0;
}

.guests-slider .swiper-slide {
    width: 850px; 
    max-width: 90%; 
    
    margin-left: auto;
    margin-right: auto;
    
    opacity: 0.4;
    transform: scale(0.9);
    transition: all 0.4s ease;
    
    flex-shrink: 0; 
    
    display: flex;
    justify-content: center;
}

.guests-slider .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    z-index: 20;
}

.guest-card {
    display: flex; 
    text-decoration: none; 
    color: inherit; 
    
    width: 100%;
    background: #fff;
    border-radius: 20px;
    padding: 40px 50px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    box-sizing: border-box;
    transition: transform 0.3s;
}

.guest-card:hover {
    transform: translateY(-5px); 
}

.quote-link {
    color: var(--primary-green);
    font-size: 0.9rem;
    text-decoration: underline; 
    cursor: pointer;
}

.guest-quote-block { flex: 1; padding-right: 30px; }
.quote-icon { font-size: 4rem; color: var(--primary-green); line-height: 1; margin-bottom: 20px; font-family: serif; }
.quote-text { font-size: 1.5rem; font-weight: 700; line-height: 1.3; margin-bottom: 20px; }
.quote-link { color: var(--primary-green); text-decoration: underline; font-size: 0.9rem; }
.guest-profile { text-align: center; min-width: 200px; }
.guest-photo-wrapper { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; margin: 0 auto 15px; border: 5px solid #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.guest-photo { width: 100%; height: 100%; object-fit: cover; }
.guest-name { font-size: 1.1rem; font-weight: 700; }
.guest-role { font-size: 0.9rem; color: #777; }

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 10px;
}
.nav-arrow {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #D32F2F;
    cursor: pointer;
    transition: transform 0.2s;
}
.nav-arrow:hover { transform: scale(1.1); }
.slide-count { font-weight: 700; font-size: 1.2rem; }

/* АДАПТИВ */
@media (max-width: 900px) {
    .guests-slider .swiper-slide { width: 85vw; }
    .guest-card { padding: 30px; }
}
@media (max-width: 768px) {
    .guest-card { flex-direction: column-reverse; text-align: center; gap: 20px; }
    .guest-quote-block { padding-right: 0; }
}


/* --- КОНТАКТЫ И ФОРМА --- */
.contact-block-section {
    padding: 60px 0 100px; 
}
.social-icons-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}
.social-icon img {
    width: 40px;
    height: 40px;
    transition: transform 0.2s;
}
.social-icon:hover img {
    transform: scale(1.1);
}

.contact-info-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}
.info-item {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-wrapper {
    background: #fff;
    border: 2px solid var(--primary-green);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.contact-form-wrapper p {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.form-input, .form-textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f5f5f5;
}
.form-textarea {
    resize: none;
    height: 80px;
}
.form-btn {
    min-width: 150px;
}

.form-agreement {
    font-size: 0.75rem;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr; 
    }
    .guest-card {
        flex-direction: column-reverse; 
        text-align: center;
        gap: 20px;
    }
    .guest-quote-block {
        padding-right: 0;
    }
    .form-row {
        flex-direction: column;
    }
    .contact-info-row {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* --- СТРАНИЦА НОВОСТЕЙ --- */

.news-featured-section {
    padding: 60px 0;
    background-color: transparent;
}

.featured-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.featured-image {
    flex: 1; 
}

.featured-image img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.featured-text {
    flex: 1; 
    padding-top: 10px;
}

.featured-text h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.featured-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 25px;
    font-weight: 500;
}

.featured-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.featured-description p {
    margin-bottom: 20px;
}

.news-feed-section {
    padding-bottom: 80px;
}

.news-feed-section .section-title {
    margin-bottom: 60px;
}

/* АДАПТИВ НОВОСТЕЙ */
@media (max-width: 900px) {
    .featured-wrapper {
        flex-direction: column; 
    }
    
    .featured-text h1 {
        font-size: 1.8rem;
    }
}

/* --- СТРАНИЦА "О НАС" (ABOUT) --- */

.about-info-section {
    padding: 60px 0;
}

.about-info-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start; 
}

.about-info-image {
    flex: 1; 
}

.about-info-image img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;

    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-info-text {
    flex: 1; 
}

.about-info-text h1 {
    font-size: 2.5rem;
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.about-info-text .text-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
    font-size: 1.05rem;
}

.team-section {
    padding: 60px 0 100px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    text-align: center;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.member-photo {
    width: 200px; 
    height: 200px;
    border-radius: 50%; 
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.member-name {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.member-role {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

/* АДАПТИВНОСТЬ СТРАНИЦЫ О НАС */
@media (max-width: 900px) {
    .about-info-wrapper {
        flex-direction: column;
    }
    
    .team-grid {
        grid-template-columns: 1fr 1fr; 
    }
}

@media (max-width: 500px) {
    .team-grid {
        grid-template-columns: 1fr; 
    }
    
    .member-photo {
        width: 180px;
        height: 180px;
    }
}

/* --- СТРАНИЦА ОДНОЙ НОВОСТИ (SINGLE NEWS) --- */

.single-article-section {
    padding: 60px 0 80px;
    background: transparent;
}

.article-container {
    max-width: 850px !important; 
}

.article-h1 {
    text-align: center;
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 40px;
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
}

.article-main-image {
    width: 100%;
    margin-bottom: 40px;
}
.article-main-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-lead {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}
.article-body p {
    margin-bottom: 20px;
}

.article-footer-date {
    margin-top: 40px;
    font-weight: 600;
    color: #777;
    font-size: 1rem;
}


.related-news-section {
    padding-bottom: 80px;
}

.news-date.mod-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}
.news-date.mod-icon img {
    width: 30px;
    height: 30px;
}

.news-date.black-icon {
    background: #333; 
}
.news-date.black-icon img {
    filter: brightness(0) invert(1); 
}

.video-img-wrapper {
    position: relative;
}
.card-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-green);
    font-size: 20px;
    padding-left: 4px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* --- СТРАНИЦА ПЕРЕДАЧ (SHOWS) --- */

.shows-grid-section {
    padding: 60px 0;
    text-align: center;
}

.shows-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.show-card {
    text-align: center;
}

.show-img-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.show-img {
    width: 100%;
    border-radius: 20px;
    height: 250px; 
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.show-img-wrapper {
    position: relative;
    margin-bottom: 20px;
    z-index: 1; 
    overflow: visible; 
}

.show-icon-badge {
    position: absolute;
    top: -15px; 
    right: -15px;
    
    background: #dcdcdc; 
    
    border-radius: 50%;
    width: 60px; 
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 10; 
}

.show-icon-badge img {
    width: 35px; 
    height: 35px;
    opacity: 1;
}


.show-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.shows-more-link {
    margin-top: 40px;
}
.shows-more-link a {
    color: var(--text-gray);
    text-decoration: underline;
    font-size: 0.9rem;
}

.schedule-section {
    padding: 60px 0 100px;
}

.schedule-main-title {
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
}

.schedule-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.schedule-col {
    flex: 1; 
}

.schedule-day-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: lowercase; 
}

.schedule-list {
    margin-bottom: 40px;
}

.schedule-item {
    display: flex;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.5;
}

.sch-time {
    min-width: 120px; 
    color: var(--text-dark);
    font-weight: 500;
}

.sch-name {
    color: #444;
}

.btn-large {
    padding: 15px 50px;
    font-size: 1.2rem;
    border-radius: 10px;
}
.schedule-btn-wrapper {
    margin-top: 40px;
}


.show-card {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: transform 0.2s;
}
.show-card:hover {
    transform: translateY(-5px);
}

/* АДАПТИВНОСТЬ */
@media (max-width: 900px) {
    .shows-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
    .schedule-wrapper {
        flex-direction: column; 
        gap: 40px;
    }
}
@media (max-width: 600px) {
    .shows-grid {
        grid-template-columns: 1fr;
    }
}


/* --- СТРАНИЦА ОДНОЙ ПЕРЕДАЧИ --- */

.single-show-section {
    padding: 60px 0 100px;
}

.show-header-block {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.show-cover {
    flex: 0 0 400px; 
}
.show-cover img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.show-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
}
.show-description p { margin-bottom: 20px; }

.episode-player-wrapper {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.episode-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.episode-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ep-buttons {
    display: flex;
    gap: 15px;
}
.ep-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #ccc; 
    cursor: pointer;
}
.ep-btn.play {
    font-size: 30px;
    color: #aaa;
    border: 2px solid #eee;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ep-progress-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: #333;
}

.ep-progress-bar {
    flex: 1;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.ep-progress-fill {
    height: 100%;
    background-color: var(--primary-green); 
    border-radius: 3px;
}

.ep-progress-handle {
    position: absolute;
    top: 50%;
    left: 70%; 
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--primary-green);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.show-playlist {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 20px;
}

.show-playlist::before {
    content: '';
    position: absolute;
    top: 0;
    left: 9px; 
    width: 3px;
    height: 100%;
    background-color: var(--primary-green);
    z-index: 0;
}

.track-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.track-icon {
    color: var(--primary-green);
    font-size: 1.2rem;
    background: #fff; 
    padding: 5px 0;
}

.track-name {
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 150px;
    padding-top: 5px;
}

.track-desc {
    color: #666;
    padding-top: 5px;
    line-height: 1.4;
}

/* АДАПТИВ */
@media (max-width: 900px) {
    .show-header-block {
        flex-direction: column;
    }
    .show-cover { flex: auto; }
}


/* --- СТРАНИЦА КОНТАКТОВ (НОВЫЙ ДИЗАЙН) --- */

.contacts-split-section {
    padding: 80px 0 100px;
}

.contacts-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: stretch; 
    gap: 60px; 
    margin-bottom: 60px;
}

.contacts-info-side {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contacts-title {
    font-family: 'Nunito', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.contact-group {
    margin-bottom: 30px;
}

.contact-label {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 5px;
}

.contact-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.2s;
}
.contact-link:hover {
    color: var(--primary-green);
}

.large-link {
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.contact-socials-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.contact-socials-row .social-btn img {
    width: 45px;
    height: 45px;
    transition: transform 0.2s;
}
.contact-socials-row .social-btn:hover img {
    transform: scale(1.1);
}

.contacts-map-side {
    flex: 1; 
    min-height: 400px; 
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 900px) {
    .contacts-wrapper {
        flex-direction: column; 
        gap: 40px;
    }
    
    .contacts-info-side {
        flex: auto;
        text-align: center;
    }
    
    .contact-socials-row {
        justify-content: center;
    }

    .contacts-map-side {
        height: 350px; 
    }
}

/* --- СТРАНИЦА ГАЛЕРЕИ (GALLERY) --- */

.gallery-page-section {
    padding: 60px 0 100px;
    background: transparent;
    text-align: center;
}

.gallery-date-badge.star-badge {
    background: #333; 
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-date-badge.star-badge img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1); 
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}

.section-title-link {
    text-decoration: none;
    color: inherit; 
    display: inline-block; 
    transition: opacity 0.2s;
}

.section-title-link:hover {
    opacity: 0.7;
    cursor: pointer;
}

/* --- СТРАНИЦА ГОСТЯ (SINGLE GUEST) --- */

.guest-profile-section {
    padding: 60px 0 100px;
}

.guest-main-title {
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 50px;

    text-align: left; 
}

.guest-info-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 40px;
}

.guest-photo-large {
    flex: 0 0 350px; 
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.guest-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guest-text-content {
    flex: 1;
    padding-top: 20px;
}

.guest-quote-large {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 30px;
    color: var(--text-dark);
    font-family: 'Nunito', sans-serif;
}

.guest-bio p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.guest-extra-text {
    font-size: 1rem;
    color: #777;
    margin-bottom: 80px;
}

.guest-shows-block {
    text-align: center;
}

.guest-section-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.guest-show-card-wrapper {
    display: flex;
    justify-content: center;
}

.guest-show-card-wrapper .show-card {
    max-width: 400px; 
    width: 100%;
}

/* АДАПТИВ */
@media (max-width: 900px) {
    .guest-info-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .guest-main-title {
        text-align: center;
    }

    .guest-photo-large {
        width: 250px;
        height: 250px;
        flex: auto;
    }
    
    .guest-quote-large {
        font-size: 1.4rem;
    }
}

body.no-scroll {
    overflow: hidden;
}

/* Управление языками контента из Базы Данных */
body[data-lang="ru"] .lang-tat { display: none !important; }
body[data-lang="ru"] .lang-ru { display: inline-block !important; }

body[data-lang="tat"] .lang-ru { display: none !important; }
body[data-lang="tat"] .lang-tat { display: inline-block !important; }

/* Для блочных элементов (например, абзацев) возвращаем блок */
body[data-lang="ru"] div.lang-ru { display: block !important; }
body[data-lang="tat"] div.lang-tat { display: block !important; }

/* --- ПОЛЗУНОК ГРОМКОСТИ (ИЗЯЩНЫЙ) --- */
.volume-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Компактный белый контейнер */
.volume-slider-container {
    position: absolute;
    bottom: 45px; /* Выше иконки */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    border-radius: 12px;
    padding: 15px 0; /* Убрали боковые отступы */
    width: 36px;     /* Узкий контейнер */
    height: 110px;   /* Высота панели */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    
    display: flex;
    justify-content: center;
}

.volume-wrapper:hover .volume-slider-container {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Трек ползунка */
.volume-slider-track {
    position: relative;
    width: 6px;
    height: 100%;
    background: #e0e0e0; /* Серый фон */
    border-radius: 3px;
}

/* Зеленая заливка (растет снизу вверх) */
.volume-slider-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%; /* По умолчанию 100% громкости */
    background: var(--primary-green);
    border-radius: 3px;
    pointer-events: none; /* Не мешает кликам */
}


/* Скрываем стандартную полосу браузера */
.volume-slider::-webkit-slider-runnable-track {
    background: transparent;
}

/* Невидимый системный ползунок поверх всего */
.volume-slider {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    
    width: 80px; 
    height: 6px; /* Ширина трека */
    transform: rotate(-90deg);
    transform-origin: left center;
    left: 4px; /* ЧУТЬ СДВИНУЛИ ВПРАВО, чтобы отцентровать */
    top: 80px; 
    margin: 0;
    outline: none;
    cursor: pointer;
    z-index: 5;
}

/* Стилизуем зеленый кружок (Thumb) */
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px; /* Сделал чуть крупнее для удобства */
    height: 16px;
    border-radius: 50%;
    background: var(--primary-green);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    border: 2px solid #fff;
    margin-top: -5px; /* ЦЕНТРОВКА относительно высоты height: 6px */
}

/* Для Firefox (он иногда игнорирует webkit) */
.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-green);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    border: 2px solid #fff;
}