.gtranslate, .gt_switcher_wrapper {
    display: none !important;
}

/* Общие стили */
:root {
    --brad-regular: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html, body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

body {
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: 100px; /* Учтена высота шапки */
}

/* SVG-фон страницы */
.svg-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    z-index: -1;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    padding-top: 20px; /* Добавляем отступ сверху для всего контента */
}

/* Шапка */
header {
    box-shadow: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.top-bar {
    padding: 10px 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.top-bar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%; /* Растягиваем на всю ширину */
    background: linear-gradient(90deg, #FFD700, #FFC107);
    height:60px;
    z-index: 1000;
    transform: none !important; /* Переопределяем transform для фиксации */
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); /* Тень */
}

.top-bar.scrolled {
    transform: translateY(-100%); /* Скрываем на десктопе при скролле */
}

.top-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px; /* Ограничиваем содержимое контейнером */
    margin: 0 auto;
    padding: 0 15px;
    border-radius: 10px;
}
.wp-video {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%; /* Или задайте нужную высоту контейнера */
}

/* Остальные стили для .header-left, .logo, .location, .phone, .nav-bar, .menu-btn и т.д. из вашего CSS */
.header-left {
    display: flex;
    align-items: center;
    gap: 30px; /* Расстояние между логотипом и info-container */
}

.info-container {
    display: flex;
    flex-direction: column;
}

.location {
    display: flex;
    align-items: center;
    color: #1a1a1a;
    font-size: 12px; /* Уменьшенный шрифт для гармонии */
}

.location i {
    margin-right: 8px;
    color: #1f9f27;
    font-size: 14px;
}

.phone-numbers {
    display: flex;
    align-items: center;
    color: #1a1a1a;
    font-size: 12px; /* Уменьшенный шрифт для гармонии */
}

.phone-numbers i {
    margin-right: 6px;
    color: #FF6F61;
    font-size: 11px;
}

.phone-numbers span a {
    color: #1a1a1a;
    text-decoration: none;
}

.phone-numbers span a:hover {
    color: #FF9999;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.flag-icon {
    display: flex;
    align-items: center;
    gap: 8px; /* Расстояние между флагами */
}

.flag-icon img {
    width: 20px;
    height: 15px;
    vertical-align: middle;
    transition: transform 0.3s ease; /* Плавное увеличение при наведении */
}

.flag-icon img:hover {
    transform: scale(1.2); /* Эффект наведения */
}

.logo img {
    height: 40px;
    width: auto;
}

.location {
    display: flex;
    align-items: center;
    color: #555;
    font-size: 14px;
}

.phone {
    display: flex;
    align-items: center;
    color: #555;
    font-size: 12px;
}

.phone i {
    margin-right: 8px;
    color: #FF6F61;
    font-size: 12px;
}

.phone a {
    color: #555;
    text-decoration: none;
}

.phone a:hover {
    color: #FF6F61;
}


.nav-bar a,.nav-bar a:hover {
    color: #fff;
	font-size:18px;
}

.nav-bar {
    background: transparent;
}

.nav-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    height: 60px;
    border-radius: 10px;
    background: linear-gradient(90deg, #FFD700, #FFC107);
    transition: max-width 0.3s ease, border-radius 0.3s ease, position 0.3s ease, top 0.3s ease, left 0.3s ease, right 0.3s ease;
}

.nav-bar .container.fixed {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1200px; /* Ограничиваем ширину навигации */
    width: 100%;
    border-radius: 0;
    background: linear-gradient(90deg, #FFD700, #FFC107);
    z-index: 1001;
}

.menu-btn {
    font-size: 24px;
    color: #FFFFFF;
    cursor: pointer;
    background: #ffc107;
    border-radius: 38px;
    padding: 8px;
    transition: background 0.3s, color 0.3s;
}

.menu-btn:hover {
    color: #ffc107;
    background: #FFFFFF;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s, transform 0.3s;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Поиск */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-btn {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s;
}

.search-btn:hover {
    color: #FF9999;
}

.search-overlay {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    background: transparent;
    z-index: 1999;
    cursor: pointer;
}

.search-overlay.active {
    display: block;
}

.search-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #FFFFFF;
    padding: 10px 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s ease-out;
}

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

.search-form .input-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    z-index: 2002;
}

.search-form input[type="text"] {
    padding: 10px 15px 10px 40px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    width: 100%;
    outline: none;
}

.search-form .submit-search {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s;
}

.search-form .submit-search:hover {
    color: #FF9999;
}

.search-form .close-search {
    position: absolute;
    top: 15px;
    right: 25px;
    background: none;
    border: none;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 2001;
}

.search-form .close-search:hover {
    color: #FF9999;
}

.search-form::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: width 0.5s ease-out, height 0.5s ease-out;
}

.search-form.active::before {
    width: 200vw;
    height: 200vw;
}

/* Десктопная версия формы поиска */
@media (min-width: 769px) {
    .search-form {
        max-width: 1200px;
        left: 50%;
        transform: translateX(-50%) scale(0.8);
        padding: 10px 15px;
    }

    .search-form.active {
        transform: translateX(-50%) scale(1);
    }

    .search-form .input-container {
        margin-left: 50px;
        max-width: calc(100% - 100px);
    }
}

/* Сетка для разделов сайта */
.site-sections {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.site-section {
    opacity: 0; /* Начальная прозрачность */
    transform: translateY(20px); /* Начальное смещение вниз */
    transition: opacity 0.6s ease, transform 0.6s ease; /* Плавный переход */
}

.site-section.fade-in {
    animation: fadeIn 0.6s ease forwards; /* Применяем анимацию fadeIn */
}

.site-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    aspect-ratio: 1 / 1; /* Делаем блоки квадратными */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.site-section a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 15px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.site-section a:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.site-section a img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Изображение заполняет блок, сохраняя пропорции */
    object-position: center; /* Центрируем изображение */
    display: block;
}

/* SVG-фоны для разделов */
.sidebar-home {
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 50"><rect width="100%" height="100%" fill="url(%23grad1)"/><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23FF9999;stop-opacity:0.8"/><stop offset="100%" style="stop-color:%23FF6F61;stop-opacity:0.8"/></linearGradient></defs><g opacity="0.5"><circle cx="50" cy="25" r="15" fill="%23FFD700"/></g></svg>');
}

.sidebar-structure {
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 50"><rect width="100%" height="100%" fill="url(%23grad2)"/><defs><linearGradient id="grad2" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2387CEEB;stop-opacity:0.8"/><stop offset="100%" style="stop-color:%2398FB98;stop-opacity:0.8"/></linearGradient></defs><g opacity="0.5"><path d="M50 35 l10 -20 l10 20 l-20 0 z" fill="%23FF9999"/></g></svg>');
}

.sidebar-sitemap {
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 50"><rect width="100%" height="100%" fill="url(%23grad3)"/><defs><linearGradient id="grad3" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23FFD700;stop-opacity:0.8"/><stop offset="100%" style="stop-color:%23FF9999;stop-opacity:0.8"/></linearGradient></defs><g opacity="0.5"><rect x="40" y="20" width="20" height="20" rx="5" fill="%2387CEEB"/></g></svg>');
}

.sidebar-nutrition {
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 50"><rect width="100%" height="100%" fill="url(%23grad4)"/><defs><linearGradient id="grad4" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2398FB98;stop-opacity:0.8"/><stop offset="100%" style="stop-color:%23FF6F61;stop-opacity:0.8"/></linearGradient></defs><g opacity="0.5"><path d="M50 30 c-10 -10 -20 0 -20 10 c0 15 20 15 20 15 c0 0 20 0 20 -15 c0 -10 -10 -20 -20 -10 z" fill="%23FFD700"/></g></svg>');
}

.sidebar-anticorruption {
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 50"><rect width="100%" height="100%" fill="url(%23grad5)"/><defs><linearGradient id="grad5" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23FF6F61;stop-opacity:0.8"/><stop offset="100%" style="stop-color:%2387CEEB;stop-opacity:0.8"/></linearGradient></defs><g opacity="0.5"><path d="M50 35 l20 -60 l60 40 l-60 40 l-20 -60 l-60 40 l60 40 l-20 -60 l-60 -40 l60 -40 z" fill="%23FFD700"/></g></svg>');
}

.sidebar-rating {
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 50"><rect width="100%" height="100%" fill="url(%23grad6)"/><defs><linearGradient id="grad6" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2398FB98;stop-opacity:0.8"/><stop offset="100%" style="stop-color:%23FFD700;stop-opacity:0.8"/></linearGradient></defs><g opacity="0.5"><path d="M50 30 c-30 0 -50 -20 -50 -40 c0 -30 30 -40 50 -40 c20 0 50 10 50 40 c-20 0 -40 20 -50 40 z" fill="%23FF9999"/></g></svg>');
}

.sidebar-assistance {
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 50"><rect width="100%" height="100%" fill="url(%23grad7)"/><defs><linearGradient id="grad7" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23FF9999;stop-opacity:0.8"/><stop offset="100%" style="stop-color:%2398FB98;stop-opacity:0.8"/></linearGradient></defs><g opacity="0.5"><circle cx="50" cy="25" r="20" fill="%2387CEEB"/></g></svg>');
}

.sidebar-appeals {
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 50"><rect width="100%" height="100%" fill="url(%23grad8)"/><defs><linearGradient id="grad8" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23FFD700;stop-opacity:0.8"/><stop offset="100%" style="stop-color:%2387CEEB;stop-opacity:0.8"/></linearGradient></defs><g opacity="0.5"><rect x="40" y="20" width="20" height="20" rx="5" fill="%23FF6F61"/></g></svg>');
}

.sidebar-instagram {
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 50"><rect width="100%" height="100%" fill="url(%23grad9)"/><defs><linearGradient id="grad9" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2387CEEB;stop-opacity:0.8"/><stop offset="100%" style="stop-color:%23FF6F61;stop-opacity:0.8"/></linearGradient></defs><g opacity="0.5"><rect x="40" y="20" width="40" height="20" rx="5" fill="%23FFD700"/></g></svg>');
}

.sidebar-feedback {
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 50"><rect width="100%" height="100%" fill="url(%23grad10)"/><defs><linearGradient id="grad10" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23FF6F61;stop-opacity:0.8"/><stop offset="100%" style="stop-color:%23FFD700;stop-opacity:0.8"/></linearGradient></defs><g opacity="0.5"><path d="M50 40 l-30 50 l60 0 l-30 -50 l0 -20 a15 15 0 0 1 30 0 z" fill="%2398FB98"/></g></svg>');
}

.sidebar-contact {
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 50"><rect width="100%" height="100%" fill="url(%23grad11)"/><defs><linearGradient id="grad11" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2398FB98;stop-opacity:0.8"/><stop offset="100%" style="stop-color:%23FF9999;stop-opacity:0.8"/></linearGradient></defs><g opacity="0.5"><path d="M50 30 a40 20 0 0 1 80 0 h-20 v20 h-40 v-20 h-20 z" fill="%23FF6F61"/></g></svg>');
}

/* Стили для гиперссылок */
a {
    color: #FF6F61;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: #FF9999;
    text-decoration: none;
    transform: scale(1.05);
}



/* Секции */
.section {
    padding: 40px 0;
    text-align: center;
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Стили для анимации затухания */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(2px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    color: #FF6F61;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

h2.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

p {
    font-size: 16px;
    color: #555;
    margin: 0 auto 5px;
}

.btn {
    background: linear-gradient(90deg, #FF9999, #FF6F61);
    color: #FFFFFF;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: scale(1.05);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(255, 105, 97, 0.4);
    text-decoration: none;
}

.headmaster {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.headmaster img {
    max-width: 200px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-post {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: left;
}

.blog-post p {
    font-size: 16px;
    color: #555;
    margin: 0 30px 15px 30px;
    text-align: justify;
}

.blog-post img {
    display: block;
    border-radius: 5px;
}

/* Адаптивность для блога */
@media (max-width: 768px) {
    .blog-post p {
        max-width: 100%;
        margin: 0 0 15px 0;
    }

    .blog-post img {
        max-width: 100%;
        margin: 10px 0;
    }
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-left {
        align-items: flex-start;
        gap: 10px; /* Вертикальное расположение на мобильных */
    }

    .logo img {
        height: 30px;
    }

    .info-container {
        gap: 0px;
    }

    .location {
        font-size: 10px;
    }

    .location i {
        font-size: 11px;
    }

    .phone-numbers {
        font-size: 11px;
    }

    .phone-numbers i {
       font-size: 10px;
    }

    .flag-icon {
        display: flex; /* Включаем отображение флагов на мобильных */
        gap: 0px; /* Уменьшенный отступ для трех флагов */
        align-items: center;
    }

    .flag-icon img {
        width: 16px; /* Еще немного уменьшаем размер флагов для компактности */
        height: 12px;
    }

    .header-right {
        gap: 0px; /* Уменьшенный отступ между флагами и кнопкой меню */
        align-items: center;
    }

    .menu-btn {
        width: 34px; /* Слегка уменьшаем кнопку меню для баланса */
        height: 34px;
        padding: 0;
    }

    .header-right {
        gap: 10px;
    }

    .menu-btn {
        width: 40px;
        height: 40px;
        background: #ffc107;
        padding: 0;
    }

    header .container {
        max-width: 100%;
    }

    .nav-bar .container {
        display: none;
    }

    nav {
        display: none;
    }
	
    .top-bar {
        background-color: #ffe509 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Мягкая тень снизу */
        transition: box-shadow 0.3s ease, background-color 0.3s ease, transform 0.3s ease;

    }

    .top-bar.fixed {
	    background: #000;
        background-color: #fff !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); /* Усиленная тень при фиксированном положении */
        transform: none !important;
    }
	
}

/* Обновленная секция контактов */
.contact {
    background: #eff1fe;
    padding: 20px;
    border-radius: 2vw;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900" preserveAspectRatio="xMidYMid slice"><g opacity="0.2"><path fill="%23939df2" d="M200 300c-20 0-40 10-50 30-10 20-10 40 0 60 10 20 30 30 50 30s40-10 50-30c10-20 10-40 0-60-10-20-30-30-50-30zm240 150c-20 0-40 10-50 30-10 20-10 40 0 60 10 20 30 30 50 30s40-10 50-30c10-20 10-40 0-60-10-20-30-30-50-30zm300-100c-20 0-40 10-50 30-10 20-10 40 0 60 10 20 30 30 50 30s40-10 50-30c10-20 10-40 0-60-10-20-30-30-50-30zm240 200c-20 0-40 10-50 30-10 20-10 40 0 60 10 20 30 30 50 30s40-10 50-30c10-20 10-40 0-60-10-20-30-30-50-30zm300-150c-20 0-40 10-50 30-10 20-10 40 0 60 10 20 30 30 50 30s40-10 50-30c10-20 10-40 0-60-10-20-30-30-50-30z"/></g></svg>');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
    max-width: 1200px;
}

.map-container {
    flex: 0 0 60%;
    min-width: 250px;
    max-width: 720px;
    box-sizing: border-box;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

.contact-info {
    flex: 0 0 40%;
    min-width: 250px;
    padding: 0;
    margin-left: 20px;
    box-sizing: border-box;
}

.contact-info p {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 500;
    line-height: 1.8;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.contact-info p i {
    margin-right: 12px;
    color: #FF6F61;
    font-size: 18px;
}

.contact-info .social-label {
    font-size: 16px;
    color: #FF6F61;
    font-weight: 600;
    margin: 20px 0 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Социальные ссылки */
.social-links {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.instagram-btn, .telegram-btn {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

.telegram-btn {
    background: linear-gradient(45deg, #0088cc, #00a2e8);
}

.instagram-btn i, .telegram-btn i {
    font-size: 20px;
    color: #FFFFFF;
}

.instagram-btn:hover, .telegram-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Обновленный стиль для воспитателей */
.staff-carousel {
    /*padding: 20px 0; */
    background: transparent;
}

.carousel-title {
    color: #FF6F61;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.wrapper {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 10px;
    user-select: none;
    cursor: grab;
}

.carousel-container:active {
    cursor: grabbing;
}

.staff-carousel-content {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease;
    width: fit-content;
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 220px;
    height: 300px;
    max-width: 220px;
}

.staff-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 220px;
    width: 100%;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.staff-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #FF6F61;
}

.staff-info {
    padding: 15px;
    text-align: center;
}

.staff-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.staff-info p {
    font-size: 14px;
    color: #555;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Обновленный стиль для футера */
footer {
    background: transparent;
    padding: 10px 0px 20px 0px;
    text-align: center;
}

.footer-carousel {
    position: relative;
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    overflow: hidden;
    user-select: none;
    cursor: grab;
}

.footer-carousel:active {
    cursor: grabbing;
}

.footer-carousel-content {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease;
    width: fit-content;
    will-change: transform;
}

.carousel-item {
    flex: 0 0 155px;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: #FFFFFF;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.carousel-item a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Кнопка "Вверх" */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(90deg, #FF9999, #FF6F61);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1000;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Анимации появления */
[onScrollDisplay_JS], h2, .site-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
[onScrollDisplay_JS].visible, h2.fade-in, .site-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}


/* Стили для секции get-consultation */
.get-consultation {
    margin-bottom: 20px;
    margin-top: 20px;
}

.get-consultation__container {
    width: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 10px;
    color: #333;
    padding: 23px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background-color: rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.get-consultation__title {
    text-align: left;
    max-width: 80%;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    color: #FF6F61;
}

.get-consultation__content p {
    font-size: 16px;
    color: #555;
    max-width: 50%;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    position: relative;
}

.get-consultation__content p::after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

.get-consultation__person {
    position: absolute;
    width: 33%;
    height: 87%;
    right: 0;
    bottom: 0;
    border-radius: 10px;
}

.get-consultation__person .person-info {
    width: 180px;
    position: absolute;
    top: 70px;
    left: -110px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 10px;
}

.get-consultation__person .person-info p {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    text-align: right;
    margin-bottom: 10px;
    color: #333;
}

.get-consultation__person .person-info span {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    text-align: right;
    color: #555;
}

.get-consultation__person .person-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    pointer-events: none;
}

/* Стили для контейнера виджета Elfsight */
.elfsight-app-b39a9c20-eead-4c9e-8d31-90c86c50c312 {
    margin-bottom: 20px !important;
    border-radius: 12px !important;
    overflow: hidden;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .site-sections {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .carousel-title {
    font-size: 24px;
    }

    .site-sections {
        grid-template-columns: 1fr;
    }

    .site-section {
        aspect-ratio: 1 / 1;
    }

    .site-section a {
        font-size: 16px;
        padding: 10px;
    }

    .contact {
        border-radius: 4vw;
    }

    .contact-container {
        flex-direction: column;
        align-items: stretch;
    }

    .map-container, .contact-info {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .map-container {
        order: 1;
    }

    .contact-info {
        order: 2;
        margin-left: 0;
    }

    .map-container iframe {
        height: 250px;
    }

    .contact-info {
        margin: 20px 0px 0px 0px;
    }

    .social-links {
        justify-content: center;
        flex-wrap: nowrap;
    }

    .social-links .btn:not(.instagram-btn):not(.telegram-btn) {
        width: auto;
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 25px;
    }

    .instagram-btn, .telegram-btn {
        width: 35px;
        height: 35px;
    }

    .instagram-btn i, .telegram-btn i {
        font-size: 18px;
    }

    .section.contact h2 {
        font-size: 24px;
    }

    .container {
        max-width: 100%;
    }

    .search-form {
        padding: 10px;
    }

    .search-form .input-container {
        margin-left: 0;
        max-width: calc(100% - 50px);
    }

    .search-form .close-search {
        right: 15px;
        top: 15px;
        display: block;
        opacity: 1;
        visibility: visible;
        z-index: 2001;
        font-size: 18px;
        padding: 5px;
    }

    .slider {
        height: 200px;
        margin-bottom: 20px;
    }

    .slide {
        flex: 0 0 100%;
    }

    .headmaster {
        flex-direction: column;
        text-align: center;
    }

    .modal-content {
        width: 90%;
        border-radius: 15px;
    }

    .wrapper {
        max-width: 100%;
    }

    .carousel-container {
        padding: 0 10px;
    }

    .carousel-slide {
        flex: 0 0 160px;
        height: 250px;
        max-width: 160px;
    }

    .staff-card {
        max-width: 160px;
    }

    .staff-card img {
        height: 150px;
    }

    .staff-info h3 {
        font-size: 14px;
    }

    .staff-info p {
        font-size: 12px;
    }

    .footer-carousel {
        padding: 0 10px;
    }

    .carousel-item {
        flex: 0 0 155px;
        width: 155px;
        height: 53px;
    }

    footer {
        margin: 0px 15px 0px 15px;
    }

    .footer-carousel-content {
        gap: 16px;
    }

    /* Адаптивность для get-consultation */
    .get-consultation {
        margin-bottom: 30px;
    }

    .get-consultation__container {
        padding: 20px;
        min-height: 600px;
        border-radius: 10px;
        overflow: hidden;
        padding-bottom: 100px;
    }

    .get-consultation__title {
        margin-bottom: 30px;
        max-width: 100%;
        text-align: center;
        font-size: 17px;
    }

    .get-consultation__content p {
        max-width: 100%;
        text-align: justify;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
    }


    .bottom-person {
        padding-bottom: 230px;
    }

    .get-consultation__content p::after {
        content: "";
        display: block;
        clear: both;
        visibility: hidden;
    }

    .get-consultation__person {
        width: 65%;
        height: auto;
        max-height: 43%;
        left: auto;
        right: 0;
        bottom: 0;  
    }

    .get-consultation__person .person-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        top: 0;
        left: -20px;
        right: auto;
        bottom: auto;

    }

    .get-consultation__person .person-info {
        top: auto;
        left: -95px;
        right: auto;
        bottom: 170px;
        width: 145px; 
    }

    .get-consultation__person .person-info p {
        font-size: 16px;
        line-height: 1.4;
    }

    .get-consultation__person .person-info span {
        font-size: 14px;
        line-height: 1.4;
    }
	
}


/* Модальное меню */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, #FFD700, #FFC107);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content ul {
    list-style: none;
    margin-top: 15px;
}

.modal-content ul li {
    margin: 10px 0;
}

.modal-content ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s, transform 0.3s;
}

.modal-content ul li a:hover {
    color: #FF9999;
    transform: scale(1.1);
    text-decoration: none;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    color: #FFFFFF;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.close-btn:hover {
    color: #FF9999;
}

[onScrollDisplay_JS] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[onScrollDisplay_JS].visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 0.6s ease forwards;
}



#cookie_notification{
  display: flex;
  opacity: 0;
  justify-content: space-between;
  position: fixed;
  bottom: 0;
  left: 50%;
  width: 46.875vw;
  max-width: 90%;
  transform: translateX(-50%) translatey(100%);
  padding: 1vw;
  background-color: white;
  border-radius: 8px;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
  z-index: 50;
  transition: 0.4s;
  z-index: 9999;
}

#cookie_notification.show{
	opacity: 0.9;
	bottom: 0.5vw;
	transform: translateX(-50%) translatey(0);
}

#cookie_notification p{
  margin: 5px 0 0 0;
  text-align: left;
  line-height: 1.5;
  /*color: $color_text;*/
}

#cookie_notification .btn-primary {
    font-size: 0.7291666667vw;
    max-width: 100%;
    padding: 0.46875vw 1.510416667vw;
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    white-space: normal;
    color: #000;
    border: 1px solid #ef9625;
    border-radius: 2vw;
    background: #fff;
	cursor: pointer;
    border-radius: 2vw;
}


@media (max-width: 699px) {

	#cookie_notification{
		width: 100%;
		padding: 1vw 2vw;
		align-items: center;
		margin-bottom: 3rem;
	}
	#cookie_notification p{
		font-size: 2.5vw;
    	width: 70%;
	}
	#cookie_notification .btn-primary{
		width: 25%;
		height: auto;
		padding: 3vw 0;
		font-size: 3vw;
	}
	#cookie_notification.show{
	bottom: -8vw;
	}
}

/* Base Styling */

.phone-call {
 
  height:32px;
  line-height:32px;
  font-size:14px;
  font-weight:bold;
  color:#333333;
  margin:33px 0 33px 2px;
}
.phone-call svg {
  width:18px;
  height:18px;
  float:left;
  margin-top:6px;
  margin-right:0px;
}
.phone-call svg path {
  fill:#f03454;
}
.phone-call svg path:nth-child(2) {
  -webkit-animation: header-phone-call 1s infinite cubic-bezier(.1, .57, .5, 1);
  animation: header-phone-call 1s infinite cubic-bezier(.1, .57, .5, 1);
}
.phone-call svg path:nth-child(3) {
  -webkit-animation:header-phone-call2 1s infinite cubic-bezier(.1, .57, .5, 1);
  animation:header-phone-call2 1s infinite cubic-bezier(.1, .57, .5, 1);
}




/* Animate phone-call */

@-webkit-keyframes header-phone-call {
  0%,30% {opacity:0; -webkit-transform:translate3d(-20px, 20px, 0); transform:translate3d(-20px, 20px, 0)}
  80% {opacity:1; -webkit-transform:translate3d(0, 0, 0); transform:translate3d(0, 0, 0)}
  100%{opacity:0}}
@keyframes header-phone-call {
  0%,30%{opacity:0; -webkit-transform:translate3d(-20px, 20px, 0); transform:translate3d(-20px, 20px, 0)}
  80%{opacity:1; -webkit-transform:translate3d(0, 0, 0); transform:translate3d(0, 0, 0)}
  100%{opacity:0}}
@-webkit-keyframes header-phone-call2 {
  0%{opacity:0; -webkit-transform:translate3d(-20px, 20px, 0); transform:translate3d(-20px, 20px, 0)}
  70%,90%{opacity:1; -webkit-transform:translate3d(0, 0, 0); transform:translate3d(0, 0, 0)}
  100%{opacity:0}}
@keyframes header-phone-call2 {
  0%{opacity:0; -webkit-transform:translate3d(-20px, 20px, 0); transform:translate3d(-20px, 20px, 0)}
  70%,90%{opacity:1; -webkit-transform:translate3d(0, 0, 0); transform:translate3d(0, 0, 0)}
  100%{opacity:0}}


.nav-container {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 1100px; /* Ограничение ширины */
    margin: 0 auto; /* Центрирование */
}

/* Скрытие на мобильных устройствах */
@media (max-width: 768px) {
    .nav-container {
        display: none !important;
    }
}

.nav-menu-wrapper {
    flex-grow: 1;
    overflow-x: hidden;
    white-space: nowrap;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
    mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: transform 0.3s ease;
    will-change: transform;
}
/* Navigation Items */
.nav-menu li.nav-item {
    flex: 0 0 auto;
    margin: 0 5px;
}

.nav-menu li.nav-item a {
    display: inline-block;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s, transform 0.3s, color 0.3s;
    white-space: nowrap;
}

.nav-menu li.nav-item a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #FFFFFF;
}

.nav-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #FFFFFF;
    font-size: 16px;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    z-index: 10;
    box-sizing: border-box;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.nav-arrow-left {
    margin-right: 10px;
}

.nav-arrow-right {
    margin-left: 10px;
}

.nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Адаптивные изменения max-width */
@media (max-width: 1200px) {
    .nav-container {
        max-width: 1000px; /* Уменьшаем ширину для экранов до 1200px */
    }
}

@media (max-width: 1024px) {
    .nav-container {
        max-width: 900px; /* Уменьшаем ширину для экранов до 1024px */
    }
}

@media (max-width: 900px) {
    .nav-container {
        max-width: 800px; /* Уменьшаем ширину для экранов до 900px */
    }
}

/* Скрытие на мобильных устройствах (как в исходном коде) */
@media (max-width: 768px) {
    .nav-container {
        display: none !important;
    }
}

/* Стили для галереи */
.gallery-slider {
    padding-top: 20px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.gallery-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-content {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    height: 400px;
}

.gallery-slide {
    flex: 0 0 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    opacity: 0;
    transform: rotateY(90deg);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-slide.active {
    opacity: 1;
    transform: rotateY(0deg);
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slide-caption {
    position: absolute;
    bottom: 0; /* Внизу слайда */
    left: 0; /* На всю ширину */
    width: 100%; /* Полная ширина экрана */
    color: #FFFFFF; /* Белый текст */
    background: rgba(50, 50, 50, 0.7); /* Полупрозрачный тёмно-серый фон */
    padding: 7px; /* Упрощённый отступ */
    border-bottom-left-radius: 10px; /* Закруглённые нижние углы */
    border-bottom-right-radius: 10px;
    font-size: clamp(20px, 3vw, 24px); /* Увеличенный шрифт */
    font-weight: 600;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 8px rgba(0, 0, 0, 0.3); /* Тень для контрастности */
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2); /* Тень, направленная вверх */
    box-sizing: border-box; /* Учёт отступов */
    transform: translateY(20px); /* Начальное смещение для анимации снизу */
}

.gallery-slide.active .slide-caption {
    opacity: 1;
    transform: translateY(0); /* Появление снизу */
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #FF6F61;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, color 0.3s;
    z-index: 10;
}

.gallery-arrow:hover {
    background: #FF6F61;
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.1);
}

.gallery-arrow-left {
    left: 10px;
}

.gallery-arrow-right {
    right: 10px;
}

.gallery-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Анимации для переходов */
.gallery-slide.flip-in {
    animation: flipInY 0.5s ease forwards;
}

.gallery-slide.flip-out {
    animation: flipOutY 0.5s ease forwards;
}

@keyframes flipInY {
    from {
        opacity: 0;
        transform: rotateY(90deg);
    }
    to {
        opacity: 1;
        transform: rotateY(0deg);
    }
}

@keyframes flipOutY {
    from {
        opacity: 1;
        transform: rotateY(0deg);
    }
    to {
        opacity: 0;
        transform: rotateY(-90deg);
    }
}

/* Адаптивность для галереи */
@media (max-width: 768px) {

.gallery-slider {
    padding-top: 60px;

}

    .gallery-content {
        height: 250px;
    }

    .gallery-slide img {
        border-radius: 10px;
    }

    .slide-caption {
        font-size: clamp(16px, 2.5vw, 18px); /* Увеличенный шрифт для планшетов */
        padding: 7px;
        border-bottom-left-radius: 8px; /* Меньший радиус для планшетов */
        border-bottom-right-radius: 8px;
        text-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.5), 0 0 6px rgba(0, 0, 0, 0.3);
        box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.2);
    }

    .gallery-arrow {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .gallery-arrow-left {
        left: 5px;
    }

    .gallery-arrow-right {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .gallery-content {
        height: 200px;
    }

    .slide-caption {
        font-size: clamp(14px, 2.2vw, 16px); /* Увеличенный шрифт для мобильных */
        padding: 6px;
        border-bottom-left-radius: 6px; /* Меньший радиус для мобильных */
        border-bottom-right-radius: 6px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 4px rgba(0, 0, 0, 0.3);
        box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
    }

    .gallery-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}


/* Стили для галереи групп */
.group-gallery {
    padding-bottom: 20px;
    background: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    padding: 0 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid #FF6F61;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #FFFFFF;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-overlay p {color: #FFFFFF;
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Адаптивность */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 10px;
    }

    .gallery-item img {
        height: 150px;
    }

    .gallery-overlay h3 {
        font-size: 14px;
    }

    .gallery-overlay p {
        font-size: 12px;
    }
}
/* Стили для модального окна */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow-y: auto;
    opacity: 0; /* Начальное состояние - полностью прозрачное */
    transition: opacity 0.3s ease; /* Плавный переход для opacity */
}

.gallery-modal.active {
    display: flex;
    opacity: 1; /* При активации становится полностью видимым */
}

.gallery-modal-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
    border-radius: 0;
    opacity: 0; /* Начальная прозрачность для изображения */
    transition: opacity 0.3s ease; /* Плавный переход для изображения */
}

.gallery-modal.active .gallery-modal-image {
    opacity: 1; /* Изображение становится видимым при открытии */
}

.gallery-modal-caption {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 5px;
    max-width: 90%;
    z-index: 1002;
    opacity: 0; /* Начальная прозрачность для подписи */
    transition: opacity 0.3s ease; /* Плавный переход для подписи */
}

.gallery-modal.active .gallery-modal-caption {
    opacity: 1; /* Подпись становится видимой при открытии */
}

.gallery-modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: #FFFFFF;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease, opacity 0.3s ease; /* Переход для цвета и прозрачности */
    z-index: 1002;
    opacity: 0; /* Начальная прозрачность для кнопки закрытия */
}

.gallery-modal.active .gallery-modal-close {
    opacity: 1; /* Кнопка становится видимой при открытии */
}

.gallery-modal-close:hover {
    color: #FF6F61;
}

.gallery-modal-prev,
.gallery-modal-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #FFFFFF;
    font-size: 24px;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease, opacity 0.3s ease; /* Переход для фона и прозрачности */
    z-index: 1002;
    opacity: 0; /* Начальная прозрачность для кнопок */
}

.gallery-modal.active .gallery-modal-prev,
.gallery-modal.active .gallery-modal-next {
    opacity: 1; /* Кнопки становятся видимыми при открытии */
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: #FF6F61;
}

.gallery-modal-prev {
    left: 20px;
}

.gallery-modal-next {
    right: 20px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .gallery-modal-image {
        width: 100%;
        height: auto;
        max-height: 90vh;
    }

    .gallery-modal-caption {
        font-size: 14px;
        padding: 8px 15px;
        bottom: 15px;
        max-width: 95%;
    }

    .gallery-modal-close {
        font-size: 24px;
        top: 15px;
        right: 15px;
    }

    .gallery-modal-prev,
    .gallery-modal-next {
        font-size: 20px;
        padding: 8px 12px;
    }
}

/* Стили для блока статистики */
#stats {
    padding: 0;
    border-radius: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
	text-align:center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    backdrop-filter: blur(10px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--card-accent) 50%, transparent);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.today::before { --card-accent: #FF6F61; }
.week::before { --card-accent: #FFD700; }
.month::before { --card-accent: #98FB98; }

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stat-number.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 768px) {
    #stats {
        padding-bottom: 10px;
        margin: 0;
    }

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

    .stat-card {
        padding: 20px 10px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }
}







/* Стили для блока опроса WP-Polls */
.wp-polls {
    background: rgba(255, 255, 255, 0.95); /* Полупрозрачный белый фон, как в .stat-card */
    border-radius: 10px; /* 10px */
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Тень, как в .site-section */
    max-width: 1171px; /* Ограничение ширины */
    margin: 20px auto; /* Центрирование */
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px); /* Эффект размытия */
    transition: opacity 0.6s ease, transform 0.6s ease; /* Анимация появления */
    transform: translateY(20px);
}

.wp-polls.fade-in {
    opacity: 1;
    transform: translateY(0); /* Анимация появления */
}

/* Заголовок опроса */
.wp-polls p strong {
    font-size: 20px; /* Чуть меньше, чем h2 (28px) */
    font-weight: 600;
    color: #FF6F61; /* Основной цвет темы */
    margin-bottom: 15px;
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Список вариантов ответа (форма и результаты) */
.wp-polls-ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.wp-polls-ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Радиокнопки (для формы голосования) */
.wp-polls-ul input[type="radio"] {
    accent-color: #FF6F61; /* Цвет радиокнопки */
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.wp-polls-ul input[type="radio"]:hover {
    transform: scale(1.2); /* Эффект увеличения */
}

/* Лейблы вариантов ответа (форма) */
.wp-polls-ul label {
    font-size: 16px;
    color: #333; /* Цвет текста */
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.wp-polls-ul label:hover {
    color: #FF9999; /* Цвет при наведении */
}

/* Кнопка "Голос" */
.wp-polls .Buttons {
    background: linear-gradient(90deg, #FF9999, #FF6F61); /* Градиент, как в .btn */
    color: #FFFFFF;
    padding: 10px 25px;
    border: none;
    border-radius: 25px; /* Как в .btn */
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.wp-polls .Buttons:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 111, 97, 0.4);
}

.wp-polls .Buttons:active {
    transform: scale(0.95);
}

/* Ссылка "Просмотреть результаты" */
.wp-polls a[href="#ViewPollResults"] {
    color: #FF6F61;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}

.wp-polls a[href="#ViewPollResults"]:hover {
    color: #FF9999;
    transform: scale(1.05);
}

/* Индикатор загрузки */
.wp-polls-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

.wp-polls-loading img {
    width: 16px;
    height: 16px;
}

/* Стили для результатов опроса */
.wp-polls-ans {
    margin-top: 10px;
}

/* Варианты ответа в результатах */
.wp-polls-ul li {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Выравнивание текста слева для полос прогресса */
    justify-content: center;
    padding: 8px 0;
}

/* Текст варианта и проценты/голоса */
.wp-polls-ul li strong,
.wp-polls-ul li small {
    font-size: 14px;
    color: #333; /* Цвет текста, как в .blog-post-content */
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.wp-polls-ul li strong i {
    font-style: normal; /* Убираем курсив для выбранного варианта */
    color: #FF6F61; /* Выделяем выбранный вариант */
}

.wp-polls-ul li small {
    font-size: 12px;
    color: #666; /* Как в .stat-label */
}

/* Полоса прогресса */
.pollbar {
    background: linear-gradient(90deg, #FF9999, #FF6F61); /* Градиент, как в .btn */
    height: 8px;
    border-radius: 4px;
    transition: width 0.5s ease; /* Плавное изменение ширины */
    position: relative;
    overflow: hidden;
}

.pollbar[title*="Вы проголосовали"] {
    background: linear-gradient(90deg, #FFD700, #FFC107); /* Отличающийся градиент для выбранного варианта */
}

/* Текст "Всего проголосовавших" */
.wp-polls-ans p {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-top: 10px;
}

.wp-polls-ans p strong {
    color: #FF6F61; /* Выделяем число */
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .wp-polls {
        padding: 15px;
        max-width: 90%;
        margin: 15px auto;
    }

    .wp-polls p strong {
        font-size: 18px;
    }

    .wp-polls-ul label {
        font-size: 14px;
    }

    .wp-polls .Buttons {
        padding: 8px 20px;
        font-size: 12px;
    }

    .wp-polls a[href="#ViewPollResults"] {
        font-size: 12px;
    }

    .wp-polls-loading {display: none;
        font-size: 12px;
    }

    /* Адаптивность результатов */
    .wp-polls-ul li strong,
    .wp-polls-ul li small {
        font-size: 12px;
    }

    .wp-polls-ul li small {
        font-size: 10px;
    }

    .pollbar {
        height: 6px;
        border-radius: 3px;
    }

    .wp-polls-ans p {
        font-size: 12px;
    }
}








/* Учёт панели администратора */
body.admin-bar #wpadminbar {
    position: fixed;
    top: auto; /* Сбрасываем top */
    bottom: 0; /* Фиксируем внизу */
    z-index: 9999; /* Убедимся, что панель выше других элементов */
}



body.admin-bar .top-bar.fixed {
    top: 0; /* Шапка остаётся вверху */
    display: block; /* Убираем display: none */
}

@

/* Блок новостей */
.blog {
    padding: 20px 0;
}
.blog-post {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.blog-post-item {
    padding: 10px;
}
.blog-post-title {
    font-size: 20px;
    margin-bottom: 15px;
}
.blog-post-title a {
    color: #333;
    text-decoration: none;
}
.blog-post-title a:hover {
    color: #FF6F61;
}
.blog-post-meta {
    gap: 15px;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}
.sticky-label {
    background: #ffeb3b;
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 500;
}
.post-date {
    padding: 5px 10px;
    position: relative;
    padding-left: 30px; /* Отступ для иконки часов */
}
.post-date::before {
    content: '\f017'; /* Код иконки часов из Font Awesome */
    font-family: 'Font Awesome 5 Free'; /* Убедитесь, что Font Awesome подключён */
    font-weight: 900;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}
.post-categories .category-link {
    display: inline-block;
    color: #fd7168;
    text-decoration: none;
    padding: 5px 10px;
    margin-right: 5px;
    font-size: 14px;
    font-weight: 500;
}
.post-categories .category-link:hover {
    color: #fd7168;
}
.edit-link a {
    background: #4CAF50; /* Зелёный фон */
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
}
.edit-link a:hover {
    background: #45a049; /* Чуть темнее при наведении */
    color: #fff;
}
.blog-post-image {
    width: auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 15px;
    display: block;
}
.blog-post-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}
.blog-post-content p {
    margin: 0 0 10px;
}
.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 15px;
    display: block;
}
.blog-post-content video {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 15px;
    display: block;
}
.blog-post-content iframe {
    max-width: 100%;
    margin: 0 auto 15px;
    display: block;
}
/*  ИСХОДНАЯ кнопка + ЭФФЕКТ СТЕКЛА С ПЕРЕЛИВОМ */
.blog-post-link {
    display: inline-block;
    padding: 4px 6px;
    color: #fff;
    background: linear-gradient(145deg, rgb(249 77 60 / 90%), rgb(253 105 105 / 90%));
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    border-radius: 17px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(255, 111, 97, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3); 
}

/* ✅ ПЕРЕЛИВ - анимированный градиент */
.blog-post-link::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
    z-index: 0;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Контент поверх перелива */
.blog-post-link > * {
    position: relative;
    z-index: 1;
}

.blog-post-link:hover {
    transform: translateY(-2px);
    color: #fff;
    background: linear-gradient(145deg, rgba(255, 153, 153, 0.95), rgba(255, 111, 97, 0.95));
}

.blog-post-link:active {
    transform: scale(0.95);
    color: #fff;
}

/* Контейнер */
.blog-post-link-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    margin: 10px 0;
}

.blog-post-link-container::before,
.blog-post-link-container::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    background: #FF6F61;
    width: calc(50% - 100px);
}

.blog-post-link-container::before { left: 0; }
.blog-post-link-container::after { right: 0; }

.all-news {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    padding: 10px 25px;
    background: linear-gradient(90deg, #FF9999, #FF6F61);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}
.all-news:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #FFFFFF;
}
.blog-navigation {
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.blog-nav-button {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(90deg, #FF9999, #FF6F61);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}
.blog-nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #FFFFFF;
}

.blog-full {
    margin-bottom: 20px;
    margin-top: 20px;
}


/* Адаптивность */
@media (max-width: 768px) {
    .blog-post-item {
        padding: 10px;
    }
	.blog-full {
     margin-top: 60px;
     }
    .blog-post-image,
    .blog-post-content img,
    .blog-post-content video,
    .blog-post-content iframe {
        max-width: 100%;
        margin: 0 auto 10px;
    }
    .blog-post-title {
        font-size: 18px;
    }
    .blog-post-meta {
        flex-direction: column;
        gap: 10px;
    }
    .blog-post-link {
        font-size: 12px;
        padding: 8px 20px;
        backdrop-filter: blur(8px);
    }
    
    .blog-post-link-container::before,
    .blog-post-link-container::after {
        width: calc(50% - 80px);
    }
}


/* Формы Contact Form 7 */
.wpcf7-form {

}

.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 20px;
    position: relative;
}

.wpcf7-form-control-wrap label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text); /* #555 */
    margin-bottom: 8px;
}

.wpcf7-form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid #ddd;
    border-radius: 10px; /* 10px */
    background: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.wpcf7-form-control:focus {
    outline: none;
    border-color: #FF6F61;
    box-shadow: 0 0 8px rgba(255, 111, 97, 0.3);
    transform: translateY(-2px);
}

.wpcf7-text,
.wpcf7-email,
.wpcf7-tel {
    height: 48px;
}

.wpcf7-textarea {
    min-height: 120px;
    resize: vertical;
}

.wpcf7-select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path fill="%23555" d="M0 0h10L5 6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 30px;
}

/* Кнопка отправки */
.wpcf7-submit {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #FF9999, #FF6F61);
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 111, 97, 0.4);
}

.wpcf7-submit:active {
    transform: translateY(0);
}

/* Ошибки валидации */
.wpcf7-form-control.wpcf7-not-valid {
    border-color: #e74c3c;
}

.wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
    position: absolute;
    bottom: -25px;
    left: 0;
}

.wpcf7-response-output {
    margin-top: 20px;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 1rem;
}

.wpcf7-response-output.wpcf7-validation-errors,
.wpcf7-response-output.wpcf7-mail-sent-ng {
    background: #ffe6e6;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
    background: #e6ffe6;
    color: #2ecc71;
    border: 1px solid #2ecc71;
}
a.glink {padding: 4px;}
/* Адаптивность */
@media (max-width: 768px) {
	 a.glink {padding: 2px;}
	 
    .wpcf7-form {
 
    }
    .wpcf7-form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    .wpcf7-text,
    .wpcf7-email,
    .wpcf7-tel {
        height: 42px;
    }
    .wpcf7-textarea {
        min-height: 100px;
    }
    .wpcf7-submit {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    .wpcf7-not-valid-tip {
        font-size: 0.8rem;
        bottom: -20px;
    }
}

/* Кнопка BVI */

	.bvi-widget,
			.bvi-shortcode a,
			.bvi-widget a, 
			.bvi-shortcode {
    width: 20px;
    height: 20px;
    background: none;
    color: #222 !important;
	margin-top: 4px;
			}
	

.bvi-open {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    background: none;
	   color: #222 !important;
}

.bvi-open {
    background: transparent !important;
    border-radius: 50% !important;
}

.bvi-open a {
    color:#000;
}

.bvi-open:hover {
}

.bvi-open:active {
}

.bvi-icon {
    width: 16px;
    height: 16px;
    stroke: #555; 
    transition: stroke 0.3s ease;
}

.bvi-open:hover .bvi-icon {
    stroke: #fff;
}

/* Адаптивность */
@media (max-width: 768px) {
    .bvi-open {
        width: 26px;
        height: 26px;
    }
    .bvi-icon {
        width: 16px;
        height: 16px;
    }
}

/* Новости из RSS */
.news-feed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две колонки */
    gap: 30px;
}

.news-feed-column {
    background: #ffffff; /* Белый фон */
    border: 1px solid #e0e0e0; /* Лёгкий бордер */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Тень */
    padding: 30px 15px 15px 15px; /* Увеличен верхний отступ для заголовка */
    position: relative; /* Для позиционирования заголовка */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-feed-column:hover {
    transform: translateY(-5px); /* Подъём при наведении */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.news-feed-source {
    font-size: 14px; /* Размер для акцента */
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    position: absolute;
    top: -12px; /* Выход за верхнюю границу */
    left: 50%;
    transform: translateX(-50%); /* Горизонтальное центрирование */
    background: #FF6F61; /* Фон, чтобы текст не перекрывался бордером */
    padding: 5px 20px 5px 20px; /* Отступы для читаемости */
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
	border-radius: 5px;
}

.news-feed-source.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0); /* Сохраняем центрирование */
}


.news-feed-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-feed-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.news-feed-link {
    display: flex;
    align-items: flex-start; /* Для переноса текста */
    gap: 0px;
    font-size: 0.8em; /* Требуемый размер шрифта */
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.news-feed-link:hover {
    color: #FF6F61;
    transform: translateX(5px);
}

.news-feed-date {
    font-weight: 500;
    color: #c58a02;
    white-space: nowrap;
    min-width: 63px;
}

.news-feed-title {
    font-weight: 600;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; /* Одна строка на десктопе */
    text-align: justify;
}

.news-feed-link:hover .news-feed-title {
    background: linear-gradient(90deg, #FF9999, #FF6F61);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Адаптивность */
@media (max-width: 768px) {
    .news-feed-grid {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
        gap: 20px;
    }
    .news-feed-column {
        padding: 25px 15px 15px 15px; /* Уменьшен верхний отступ */
        border: 1px solid #e0e0e0;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    }
    .news-feed-source {
        /* font-size: 12px;  Чуть меньше на мобильных */
        top: -10px; /* Меньший отступ на мобильных */
        padding: 0 8px;
		width: 75%;
    }
    .news-feed-source::after {
        width: 50px;
    }
    .news-feed-item {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    .news-feed-link {
        font-size: 0.75em;
        gap: 8px;
    }
    .news-feed-date {
        min-width: 60px;
    }
    .news-feed-title {
        white-space: normal; /* Перенос текста на мобильных */
        text-overflow: clip; /* Убираем многоточие */
        line-height: 1.4; /* Улучшает читаемость */
        text-align: justify;
    }
}



/* Стили для комментариев */
.page-comments {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-comments p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    color: inherit !important;
}

.comments-title {
    font-size: 1em;
    font-weight: 700;
    color: #FF6F61;
    margin-bottom: 15px;
    text-align: center;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.comment-item {
    margin-bottom: 10px;
    padding: 8px;
    border-bottom: 1px solid #fe817c;
}

.comment-author {
    font-weight: 600;
    color: #555; /* Серый цвет для всех пользователей */
    font-size: 0.75em;
}

.comment-admin .comment-author {
    color: #FF6F61; /* Красный цвет для администраторов */
    font-weight: 700;
}

.comment-content {
    font-size: 0.7em;
    color: #555;
    margin: 5px 0;
}

.comment-date {
    font-size: 0.65em;
    color: #888;
}

.no-comments {
    font-size: 0.7em;
    color: #666;
    text-align: center;
}

/* Стили для формы добавления комментария */
.comment-respond {
    margin-top: 20px;
    padding: 15px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.comment-reply-title {
    font-size: 1em;
    font-weight: 700;
    color: #FF6F61;
    margin-bottom: 15px;
    text-align: center;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Переопределение стилей для <p> и <div> внутри формы, чтобы избежать влияния .blog-post p */
.comment-form p,
.comment-form div {
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    color: inherit !important;
}

.comment-form-author,
.comment-form-comment,
.form-submit {
    display: flex;
    flex-direction: column;
}

.comment-form textarea,
.comment-form input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 0.7em;
    color: #555;
    background: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.comment-form textarea:focus,
.comment-form input[type="text"]:focus {
    border-color: #FF6F61;
    box-shadow: 0 0 5px rgba(255, 111, 97, 0.3);
    outline: none;
}

.comment-form label {
    font-size: 0.7em;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

.comment-form .required {
    color: #FF6F61;
    font-weight: bold;
}

.form-submit {
    align-items: flex-end;
}

.submit-comment {
    background: linear-gradient(90deg, #FF9999, #FF6F61);
    color: #ffffff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.7em;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.submit-comment:hover {
    background: linear-gradient(90deg, #FF6F61, #FF9999);
    transform: scale(1.05);
}

.submit-comment:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(255, 111, 97, 0.5);
}

/* Адаптивность */
@media (max-width: 768px) {
    .page-comments {
        padding: 10px;
    }
    .comments-title {
        font-size: 0.9em;
    }
    .comment-author {
        font-size: 0.7em;
    }
    .comment-content {
        font-size: 0.65em;
    }
    .comment-date {
        font-size: 0.6em;
    }
    .edit-post-link a {
        width: 20px;
        height: 20px;
    }
    .edit-icon {
        width: 14px;
        height: 14px;
    }
    .comment-respond {
        padding: 10px;
    }
    .comment-reply-title {
        font-size: 0.9em;
    }
    .comment-form textarea,
    .comment-form input[type="text"] {
        font-size: 0.65em;
        padding: 6px;
    }
    .comment-form label {
        font-size: 0.65em;
    }
    .submit-comment {
        font-size: 0.65em;
        padding: 6px 12px;
    }
}

@media (max-width: 363px) {
    .location {font-size: 9px;}
    .location i {font-size: 10px;}
	.staff-card {max-width: 145px;}
	.staff-carousel-content {gap: 13px;}
	.footer-carousel-content {gap: 14px;}
	a.glink {padding: 0px;}
	footer {margin: 0px 15px 0px 10px;}
}