

/* Start:/local/templates/ogonek/mobile.css?177124346310840*/
/* === МОБИЛЬНАЯ ВЕРСИЯ (mobile.css) === */
@media (max-width: 1100px) {

    /* 1. БАЗА */
    body {
        height: auto !important;
        overflow: auto !important;
        overflow-x: hidden !important;
        /* УБРАЛ padding-bottom: 80px, который создавал дырку */
        padding-bottom: 0 !important;
    }

    /* Скрываем лишнее из десктопа (жестко) */
    .director-block,
    .header-center-nav,
    .header-left-widget,
    .btn-primary,
    .btn-outline,
    .desktop-only {
        display: none !important;
    }

    /* Скрываем текстовый телефон в шапке */
    .top-header a[href^="tel"] {
        display: none !important;
    }

    /* 2. МЕНЮ (ШТОРКА СЛЕВА) */
    .app-container {
        display: block !important;
        height: auto !important;
    }

    .sidebar {
        position: fixed !important;
        top: 0 !important;
        left: -320px !important;
        width: 280px !important;
        height: 100vh !important;
        background-color: #ffffff !important;
        z-index: 9999 !important;
        padding: 30px 20px !important;
        transition: left 0.3s ease !important;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.2) !important;
        overflow-y: auto !important;
        display: block !important;
    }

    .app-container.mobile-open .sidebar {
        left: 0 !important;
    }

    .app-container.mobile-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        z-index: 9998;
    }

    /* 3. ШАПКА */
    .top-header {
        padding: 0 15px !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 900 !important;
        height: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
        background: rgba(255, 255, 255, 0.98) !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        font-size: 26px;
        color: var(--dark);
        border: none;
        background: transparent;
        width: 40px;
        height: 40px;
        padding: 0;
        z-index: 1002;
    }

    /* Логотип */
    .mobile-logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 1001 !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        top: 0 !important;
    }

    .mobile-logo a {
        display: block !important;
        border: none !important;
    }

    .mobile-logo img {
        height: 40px !important;
        width: auto !important;
        display: block !important;
    }

    .mobile-logo i {
        display: none !important;
    }

    /* Правые кнопки (Глаз и Трубка) */
    .header-right-actions {
        display: flex !important;
        gap: 10px !important;
        width: auto !important;
        justify-content: flex-end;
        align-items: center !important;
        z-index: 1002;
    }

    /* Стили для кнопок */
    .header-right-actions .icon-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        border: 1px solid #eee !important;
        background: #fff !important;
        border-radius: 50% !important;
        color: var(--primary) !important;
        font-size: 18px !important;
        text-decoration: none !important;
        cursor: pointer !important;
        padding: 0 !important;
    }

    .header-right-actions .icon-btn i {
        display: block !important;
        font-size: 18px !important;
    }

    /* Активная кнопка трубки */
    #mobilePhoneBtn.active {
        background: var(--accent) !important;
        color: white !important;
        border-color: var(--accent) !important;
    }

    /* 4. КОНТЕНТ */
    .main-content {
        padding: 15px 10px !important;
        height: auto !important;
        min-height: calc(100vh - 60px) !important;
        overflow: visible !important;
    }

    /* 5. ШТОРКА КОНТАКТОВ */
    .curtain-overlay {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 890;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        backdrop-filter: blur(2px);
    }

    .curtain-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-contact-curtain {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        z-index: 895;
        padding: 30px 20px 40px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 25px 25px;
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-contact-curtain.active {
        transform: translateY(0);
    }

    .curtain-label {
        font-size: 13px;
        color: #999;
        margin-bottom: 5px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
    }

    .curtain-phone {
        font-family: 'Nunito', sans-serif;
        font-size: 26px;
        font-weight: 800;
        color: var(--dark);
        text-decoration: none;
        display: block;
        margin-bottom: 5px;
    }

    .curtain-socials {
        display: flex;
        gap: 20px;
        width: 100%;
        justify-content: center;
    }

    .social-btn {
        width: 55px;
        height: 55px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        color: white;
        text-decoration: none;
        transition: transform 0.2s;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }

    .social-btn:active {
        transform: scale(0.9);
    }

    .btn-vk {
        background: #0077FF;
    }

    .btn-tg {
        background: #2AABEE;
    }

    .btn-wa {
        background: #25D366;
    }

    .btn-max {
        background: linear-gradient(135deg, #7450fe 0%, #21a4f1 100%);
    }

    .curtain-divider {
        width: 60px;
        height: 4px;
        background: #f0f0f0;
        border-radius: 10px;
        margin: 10px 0;
    }

    /* Остальной контент */
    .gos-section {
        flex-direction: column !important;
        text-align: center !important;
        gap: 20px !important;
        padding: 25px 20px !important;
    }

    .gos-btn-group,
    .gos-btn {
        width: 100% !important;
    }

    .news-grid,
    .news-list-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .news-img {
        height: 220px !important;
    }

    /* ФУТЕР (Прижимаем к низу без отступов) */
    .main-footer {
        margin: 0 -10px -20px !important;
        /* Растягиваем, чтобы компенсировать padding родителя */
        border-radius: 20px 20px 0 0 !important;
    }

    /* Поиск */
    .header-search-form {
        position: fixed !important;
        top: 65px !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
    }
}

/* === СТИЛИ ДЛЯ КНОПКИ ТЕЛЕФОНА === */
#mobilePhoneBtn {
    z-index: 1005 !important;
    cursor: pointer !important;
}

#mobilePhoneBtn.active {
    background: var(--accent) !important;
    color: white !important;
    border-color: var(--accent) !important;
}

#mobilePhoneBtn i {
    font-size: 18px !important;
}

/* === ЖЕСТКОЕ СКРЫТИЕ МОБИЛЬНЫХ ЭЛЕМЕНТОВ НА ПК === */
@media (min-width: 1101px) {

    .mobile-contact-curtain,
    .curtain-overlay,
    .mobile-only {
        display: none !important;
    }
}

/* === НИЖНЯЯ НАВИГАЦИЯ (APP BAR) === */

/* 1. Отступ для всего сайта, чтобы меню не перекрывало контент */
/* 1. Отступ удален по просьбе (меню будет перекрывать контент в самом низу, но без белой полосы) */

/* 2. Сама панель */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    /* Равномерное распределение */
    align-items: center;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    /* Легкая тень вверх */
    z-index: 9999;
    border-top: 1px solid #f5f5f5;

    /* Фикс для iPhone (чтобы не наезжало на домашнюю полоску) */
    padding-bottom: env(safe-area-inset-bottom);
    height: calc(65px + env(safe-area-inset-bottom));
}

/* 3. Элемент меню */
.bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #e56227;
    /* Цвет неактивной иконки (оранжевый) */
    font-size: 10px;
    /* Размер текста */
    font-weight: 600;
    width: 20%;
    /* 5 элементов = 20% ширины каждому */
    padding-top: 5px;
    transition: color 0.2s;
}

/* Иконка */
.bottom-item i {
    font-size: 20px;
    margin-bottom: 4px;
    transition: transform 0.2s;
}

/* 4. Активное состояние (текущий раздел) */
.bottom-item.active {
    color: var(--primary);
    /* Твой фирменный цвет */
}

.bottom-item.active i {
    transform: translateY(-2px);
    /* Чуть подпрыгивает */
}

/* Эффект нажатия */
.bottom-item:active {
    transform: scale(0.95);
}

/* Скрываем на десктопе (на всякий случай, хотя у тебя mobile.css и так для мобильных) */
@media (min-width: 1101px) {
    .mobile-bottom-bar {
        display: none !important;
    }

    body {
        padding-bottom: 0 !important;
    }
}
/* End */


/* Start:/local/templates/ogonek/bvi-fix.css?17665623292983*/
/* === СПЕЦИАЛЬНЫЕ СТИЛИ ДЛЯ ВЕРСИИ СЛАБОВИДЯЩИХ === */
/* Этот файл работает только когда к body добавлен класс .bvi-active */

/* 1. Ломаем структуру "приложения" и делаем обычный сайт */
body.bvi-active,
body.bvi-active .app-container,
body.bvi-active .main-content {
    height: auto !important;
    min-height: 100% !important;
    overflow: visible !important; /* Разрешаем обычную прокрутку */
    overflow-x: hidden !important;
    position: static !important;
    display: block !important; /* Убираем Grid/Flex фиксацию */
}

/* 2. Сайдбар (Меню) */
body.bvi-active .sidebar {
    position: relative !important; /* Отцепляем от левого края */
    width: 100% !important;        /* Растягиваем на всю ширину */
    height: auto !important;
    border-right: none !important;
    border-bottom: 2px solid #000 !important; /* Четкий разделитель */
    padding: 20px !important;
    z-index: 10 !important;
}

/* Скрываем картинку директора и лого в меню, чтобы не мешали (по желанию) */
body.bvi-active .director-block,
body.bvi-active .logo img {
    display: none !important;
}
/* Показываем текстовое название вместо лого */
body.bvi-active .logo:after {
    content: "Детский лагерь ОГОНЁК";
    font-size: 24px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

/* 3. Хедер (Шапка) */
body.bvi-active .top-header {
    position: relative !important; /* Убираем sticky/fixed */
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin-top: 0 !important;
    border-radius: 0 !important; /* Убираем скругления */
    box-shadow: none !important;
    border-bottom: 2px solid #000 !important;
    z-index: 5 !important;
    flex-wrap: wrap !important; /* Разрешаем перенос элементов */
    height: auto !important;
    padding: 20px !important;
}

/* 4. Панель BVI (настройки шрифта) */
/* Она должна быть всегда сверху и видна */
.bvi-panel, .bvi-body {
    position: relative !important;
    z-index: 99999 !important;
    width: 100% !important;
    top: 0 !important;
}

/* 5. Убираем "красоту", которая мешает чтению */
body.bvi-active .hero-slider-container {
    display: none !important; /* Баннеры часто мешают слабовидящим, лучше скрыть */
}

/* 6. Сетки делаем в одну колонку (для крупного шрифта) */
body.bvi-active .news-grid,
body.bvi-active .jobs-grid,
body.bvi-active .schedule-wrapper {
    grid-template-columns: 1fr !important;
}
/* End */


/* Start:/local/templates/ogonek/styles.css?176656232918090*/
/* --- styles.css (CLEANED) --- */

/* 1. ПЕРЕМЕННЫЕ И БАЗА */
:root {
    --primary: #28b197;
    /* Бирюзовый */
    --primary-dark: #1f8c77;
    --primary-light: #e0f5f1;
    --accent: #e76227;
    /* Оранжевый */
    --accent-hover: #d1521a;

    --dark: #2e2e35;
    --text-gray: #6b7280;
    --bg-body: #F3F6F9;
    --white: #ffffff;

    --radius-lg: 30px;
    --radius-md: 15px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--dark);
    height: 100vh;
    overflow: hidden;
    /* Скроллится только контент внутри */
}

/* 2. ГЛАВНАЯ СЕТКА (LAYOUT) */
.app-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    /* Сайдбар 320px, остальное контент */
    height: 100vh;
    transition: all 0.3s ease;
}

/* 3. САЙДБАР (ЛЕВОЕ МЕНЮ) */
.sidebar {
    background: var(--white);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 20;
    height: 100vh;
    overflow-y: auto;
}

.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

/* Стили логотипа */
.logo {
    margin-bottom: 30px;
    flex-shrink: 0;
    text-align: center;
}

.logo img {
    max-width: 100%;
    height: auto;
    max-height: 70px;
    display: block;
    margin-bottom: 8px;
}

/* СТИЛЬ ПОДПИСИ */
.logo-text {
    font-family: 'Nunito', sans-serif;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--dark);
    line-height: 1.3;
    letter-spacing: 0.5px;
    max-width: 200px;
    text-align: center;
    transition: color 0.3s;
}

.logo a:hover .logo-text {
    color: var(--primary);
}

.main-link-special {
    text-decoration: none;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--primary-light);
    color: var(--primary);
    margin-bottom: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(40, 177, 151, 0.15);
    transition: transform 0.2s;
}

.main-link-special:hover {
    transform: translateY(-2px);
}

/* Аккордеон меню */
.menu-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.accordion-item {
    border-bottom: 1px solid #f9f9f9;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 10px;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--dark);
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1.3;
}

.accordion-header:hover,
.accordion-header.active {
    color: var(--primary);
}

.accordion-header i {
    margin-top: 3px;
    font-size: 12px;
    color: var(--text-gray);
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-left: 15px;
}

.sub-nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 8px;
    display: block;
    transition: all 0.2s;
    line-height: 1.4;
    margin-bottom: 2px;
}

.sub-nav-link:hover {
    color: var(--accent);
    background: #fff5f0;
    padding-left: 15px;
}

/* Блок Директора */
.director-block {
    margin-top: 20px;
    background: #fff5f0;
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    border: 1px solid rgba(231, 98, 39, 0.1);
    flex-shrink: 0;
}

.director-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    white-space: nowrap;
}

.director-photo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 10px auto 10px;
    border: 3px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.director-name {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 2px;
    color: var(--dark);
    line-height: 1.3;
}

.director-role {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.director-btn {
    width: 100%;
    padding: 8px;
    background: var(--white);
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 50px;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s;
}

.director-btn:hover {
    background: var(--accent);
    color: white;
}


/* 4. ОСНОВНОЙ КОНТЕНТ */
.main-content {
    position: relative;
    overflow-y: auto;
    padding: 20px;
    background: var(--bg-body);
    padding-bottom: 0;
    /* Футер прижат */
}

/* 5. ХЕДЕР (HEADER) */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 15px;
    flex-wrap: nowrap;
    white-space: nowrap;
    height: 70px;
}

.header-left-widget {
    flex-shrink: 0;
}

.weather-widget {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    padding: 8px 14px;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
}

.header-center-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-nav-list {
    list-style: none;
    display: flex;
    gap: 5px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.top-nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 50px;
    transition: all 0.3s;
    white-space: nowrap;
}

.top-nav-link:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.top-nav-link.active {
    background-color: var(--primary);
    color: white;
}

.header-right-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.mobile-menu-btn {
    display: none;
    font-size: 20px;
    color: var(--dark);
    background: none;
    border: none;
    cursor: pointer;
}

.phone-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 800;
    font-size: 15px;
    white-space: nowrap;
    margin-left: 10px;
}

/* Кнопки */
.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #eee;
    background: white;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
}

.icon-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-family: 'Nunito', sans-serif;
    white-space: nowrap;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 98, 39, 0.25);
}


/* 6. СЛАЙДЕР БАННЕРОВ --- УДАЛЕНО (ПЕРЕНЕСЕНО В КОМПОНЕНТ) */


/* 7. БЛОК ГОСУСЛУГИ */
.gos-section {
    background: white;
    border-radius: var(--radius-md);
    padding: 30px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.gos-section::before {
    content: '';
    position: absolute;
    right: -20px;
    top: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 106, 183, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.gos-content {
    z-index: 1;
    max-width: 60%;
}

.gos-title {
    font-family: 'Nunito', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #0b4077;
    margin-bottom: 10px;
}

.gos-desc {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.gos-btn-group {
    display: flex;
    gap: 15px;
}

.gos-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s;
}

.gos-btn-blue {
    background: #0063b0;
    color: white;
}

.gos-btn-light {
    background: #f1f5f9;
    color: #0063b0;
}

.gos-btn:hover {
    transform: translateY(-2px);
}

.gos-logo {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 800;
    font-size: 12px;
    color: #0b4077;
    gap: 5px;
}


/* 8. БЛОК НОВОСТЕЙ */
.news-section {
    margin-bottom: 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 30px;
}

.section-title {
    font-family: 'Nunito', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
}

.link-more {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.news-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
}

.news-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
    line-height: 1.3;
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-link {
    text-decoration: none;
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}


/* 9. ФУТЕР */
.main-footer {
    background: var(--dark);
    color: white;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 50px 40px 20px;
    margin: 60px -20px -20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #a0a0a0;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-contacts p {
    margin-bottom: 10px;
    color: #ccc;
    font-size: 14px;
    display: flex;
    gap: 10px;
    align-items: start;
}

.footer-contacts i {
    color: var(--accent);
    margin-top: 3px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #666;
}


/* 10. АДАПТИВНОСТЬ */
@media (max-width: 1500px) {
    .app-container {
        grid-template-columns: 280px 1fr;
    }

    .top-nav-link,
    .btn {
        font-size: 13px;
    }

    /* Стили hero удалены */
}

@media (max-width: 1300px) {
    .header-left-widget {
        display: none;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .app-container {
        grid-template-columns: 0 1fr;
    }

    .header-center-nav,
    .btn-outline {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .app-container.mobile-open {
        grid-template-columns: 280px 1fr;
    }

    .gos-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .gos-content {
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* В конец styles.css */
.mobile-only {
    display: none !important;
}

@media (max-width: 1100px) {
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }
}

/* --- ГЛОБАЛЬНЫЕ КЛАССЫ ВИДИМОСТИ --- */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: flex !important;
}

@media (max-width: 1100px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }
}

/* ПРОМЕЖУТОЧНАЯ АДАПТИВНОСТЬ ХЕДЕРА */
@media (max-width: 1550px) {
    .top-header {
        padding: 10px 15px;
        gap: 10px;
    }

    .top-nav-link {
        padding: 10px 8px;
        font-size: 13px;
    }

    .btn {
        padding: 10px 15px;
        font-size: 13px;
    }

    .phone-link {
        font-size: 14px;
        margin-left: 5px !important;
    }

    .weather-widget {
        padding: 8px 10px;
        font-size: 12px;
    }
}

@media (max-width: 1380px) {
    .header-left-widget {
        display: none !important;
    }

    .header-center-nav {
        justify-content: flex-start;
        padding-left: 0;
    }
}

@media (max-width: 1250px) {
    .header-right-actions .btn-outline {
        display: none !important;
    }

    .top-nav-link {
        font-size: 12px;
        padding: 8px 5px;
    }

    .header-right-actions .icon-btn {
        display: none !important;
    }
}

/* --- ПОИСК В ХЕДЕРЕ --- */
.search-wrapper {
    position: relative;
}

.header-search-form {
    position: absolute;
    top: 50px;
    right: 0;
    width: 300px;
    background: white;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.header-search-form.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-search-input {
    border: none;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 10px;
    width: 100%;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    outline: none;
}

.header-search-submit {
    background: var(--primary);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}

.header-search-submit:hover {
    background: var(--primary-dark);
}

@media (max-width: 600px) {
    .header-search-form {
        position: fixed;
        top: 65px;
        left: 10px;
        right: 10px;
        width: auto;
    }
}

/* === ЖЕСТКОЕ СКРЫТИЕ МОБИЛЬНЫХ ЭЛЕМЕНТОВ НА ПК === */
@media (min-width: 1101px) {

    .mobile-contact-curtain,
    .curtain-overlay,
    .mobile-only {
        display: none !important;
    }
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    /* Скрыто по умолчанию */
    left: 20px;
    right: 20px;
    max-width: 400px;
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: bottom 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-banner.visible {
    bottom: 20px;
}

.cookie-text {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.cookie-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
    align-self: flex-end;
}

.cookie-btn:hover {
    background: var(--primary-dark);
}

@media (max-width: 600px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        max-width: none;
        bottom: -100%;
    }

    .cookie-banner.visible {
        bottom: 80px;
        /* Чтобы не перекрывать нижнее меню, если оно есть */
    }
}
/* End */
/* /local/templates/ogonek/mobile.css?177124346310840 */
/* /local/templates/ogonek/bvi-fix.css?17665623292983 */
/* /local/templates/ogonek/styles.css?176656232918090 */
