/* =============== ОСНОВНЫЕ СТИЛИ =============== */
:root {
    --primary: #ff8b8b;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--white);
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.container {
    width: 98%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =============== НАВБАР =============== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}
.logo img {
    height: 50px;
}
.menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    display: none;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
    padding: 10px;
    border: 1px solid white;
    border-radius: 14px;
}
.nav-links a:hover {
    opacity: 0.8;
}

.mobile-menu {
    display: none;
}

.mobile-menu-close {
    display: none;
}

/* =============== СЕКЦИЯ БАНЕРОВ =============== */
.banners-section {
    position: relative;
    width: 100%;
    height: 94vh;
    overflow: hidden;
}

.banners-swiper {
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(15px);
    transform: scale(1.1);
    z-index: 1;
}

.banner-content {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 2;
    overflow: hidden;
}

.banner-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 60px 40px 60px 60px; /* Уменьшил правый отступ */
}

.banner-main-img {
    max-width: 98%;
    max-height: 92%;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.banner-right {
    flex: 1;
    padding: 80px 100px 80px 40px; /* Уменьшил левый отступ */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ТИП БАНЕРА - ОЧЕНЬ КРУПНЫЙ */
.banner-subtitle {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 11px 36px;
    border-radius: 30px;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

/* ЗАГОЛОВОК - ГИГАНТСКИЙ */
.banner-title {
    font-size: 40px;
    font-weight: 900;
    color: #222;
    margin-bottom: 30px;
    line-height: 1.05;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ОПИСАНИЕ - КРУПНОЕ */
.banner-text {
    font-size: 24px;
    color: #353535;
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: 620px;
}

/* МЕТА (дата + возраст) */
.banner-meta {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
    font-weight: 800;
    color: #333;
    font-size: 28px;
}

.banner-date svg,
.banner-age::before {
    font-size: 32px;
}

/* КНОПКА - ОГРОМНАЯ */
.banner-btn {
    width: fit-content;
    padding: 32px 72px;
    font-size: 28px !important;
    border-radius: 28px!important;
    font-weight: 800;
    letter-spacing: -0.5px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
    transition: all 0.25s;
}

.banner-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.6);
}

/* СТРЕЛКИ БАНЕРОВ - ОГРОМНЫЕ */
.swiper-button-prev::after,
.swiper-button-next::after {
    display: none;
}

.banners-prev,
.banners-next,
.gallery-next,
.gallery-prev,
.news-arrow.left,
.news-arrow.right {
    background: rgba(255, 107, 107, 0.4);
    width: 36px !important;
    height: 72px !important;
    border-radius: 20px !important;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.banners-prev:hover,
.banners-next:hover,
.gallery-next:hover,
.gallery-prev:hover,
.news-arrow.left:hover,
.news-arrow.right:hover {
    background: rgba(255, 107, 107, 0.7);
    transform: scale(1.1) translateX(0);
}

.banners-prev svg,
.banners-next svg,
.gallery-next svg,
.gallery-prev svg,
.news-arrow.left svg,
.news-arrow.right svg {
    width: 36px;
    height: 36px;
    fill: white;
    stroke: white;
    stroke-width: 2.5;
}

/* ПАГИНАЦИЯ - ЧЕТКИЕ ТОЧКИ */
.banners-pagination {
    bottom: 60px;
    z-index: 10;
}

.banners-pagination .swiper-pagination-bullet {
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.75); /* Было 0.5 → стало 0.75 */
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.banners-pagination .swiper-pagination-bullet-active {
    background: white;
    width: 48px;
    border-radius: 9px;
    opacity: 1;
    transform: scale(1.1);
}

/* =============== СЕКЦИЯ МЕРОПРИЯТИЙ =============== */
.events-section {
    padding: 20px 2vw;
    background-color: white;
}

.events-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* =============== КАРТОЧКИ =============== */
.event-card {
    border: 1px solid var(--primary);
    border-radius: 14px;
    overflow: hidden;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.2);
}

.event-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    border-bottom: 1px solid #f0f0f0;
}

.event-card-content {
    padding: 14px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.3;
    flex-grow: 1;
    border-bottom: 1px solid #f0f0f0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 14px;
    margin-top: auto;
}

.event-date {
    font-weight: 600;
    color: #444;
    font-size: 20px;
}

.banner-time,
.event-time,
.event-item-time {
    font-weight: 500;
    color: #555;
    margin-left: 4px;
}

.banner-time::before,
.event-time::before,
.event-item-time::before {
    display: none;
    color: var(--primary);
    margin-right: 2px;
}

.btn-share {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-share:hover {
    background: rgba(255, 139, 139, 0.15);
    transform: scale(1.1);
}

.btn-share svg {
    display: block;
}

/* Уведомление о копировании */
.share-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.3s ease;
    white-space: nowrap;
}

.share-toast.show {
    transform: translateX(-50%) translateY(0);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
    font-size: 16px;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #e55a5a;
    transform: scale(1.03);
}

/* =============== СЕКЦИЯ "О НАС" =============== */
.about-section {
    position: relative;
    padding: 100px 0;
    color: white;
    overflow: hidden;
    background-size: cover;       /* Только свойства размера */
    background-position: center;  /* Позиционирование */
    background-repeat: no-repeat; /* Не повторять */
    z-index: 1;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.about-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.8) 100%);
    z-index: -1;
}

.about-content {
    margin-left: 50%;
    margin-right: 5%;
}

.about-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 700;
}

.about-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
    margin-bottom: 15px;
}

/* =============== СЕКЦИЯ НОВОСТЕЙ =============== */
.news-section {
    padding: 60px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.news-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

/* Горизонтальный контейнер для свайпа */
.news-slider-container {
    position: relative;
    padding: 0 80px; /* Место для стрелок + шире на ПК */
    max-width: 100%;
    margin: 0 auto;
}

/* Стрелки навигации */
.news-arrow {
    position: absolute;
    top: 50%;
    width: 48px;
    height: 96px;
    background: rgba(255, 107, 107, 0.35);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
    user-select: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.news-arrow:hover {
    background: rgba(255, 107, 107, 0.65);
}

.news-arrow.left {
    left: 20px;
}

.news-arrow.right {
    right: 20px;
}

.news-arrow svg {
    width: 24px;
    height: 24px;
    fill: white;
    stroke: white;
    stroke-width: 1.5;
}

/* Слайдер */
.news-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 15px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.news-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.news-swiper {
    width: 320px !important;
}

/* Карточка новости */
.news-card {
    border: 1px solid var(--primary);
    border-radius: 14px;
    overflow: hidden;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 auto;
    width: 320px;
    display: flex;
    flex-direction: column;
    height: 476px;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.25);
}

.news-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    border-bottom: 1px solid #f0f0f0;
}

.news-card-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.3;
    flex-grow: 1;
    border-bottom: 1px solid #f0f0f0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
    margin-top: auto;
}

.news-date {
    font-weight: 600;
    color: #444;
    font-size: 20px;
}

/* Специальная карточка "Смотреть все" */
.see-all-card-wrapper {
    width: 320px !important;
}
.see-all-card {
    background: linear-gradient(135deg, #ff8b8b 0%, #ff6b6b 100%);
    border: none;
    min-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.see-all-content {
    text-align: center;
    padding: 25px 20px;
    color: white;
}

.see-all-icon {
    font-size: 48px;
    margin-bottom: 15px;
    line-height: 1;
}

.see-all-card h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.see-all-btn {
    background-color: white;
    color: #FF6B6B;
    padding: 14px 36px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.see-all-btn:hover {
    background-color: #f8f8f8;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* =============== ЗАГОЛОВОК СТРАНИЦЫ =============== */
.page-header-section {
    background: linear-gradient(135deg, var(--primary) 0%, #ff6b6b 100%);
    padding: 40px 0;
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* =============== СПИСОК НОВОСТЕЙ/МЕРОПРИЯТИЙ =============== */
.news-list-section,
.events-list-section {
    padding: 0;
    background-color: white;
}

/* =============== ЭЛЕМЕНТ НОВОСТИ/МЕРОПРИЯТИЯ =============== */
.news-item,
.event-item {
    margin-bottom: 60px;
    border: 1px solid var(--primary);
    border-radius: 14px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover,
.event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.15);
}

/* Галерея - ФИКСИРОВАННАЯ ВЫСОТА */
.news-gallery,
.event-gallery {
    position: relative;
    width: 100%;
    height: 450px;
    flex-shrink: 0;
    background: #f5f5f5;
    overflow: hidden; /* Обрезаем всё, что выходит за пределы */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Swiper slide для галереи - ФИКСИРОВАННЫЕ РАЗМЕРЫ */
.news-gallery .swiper-slide,
.event-gallery .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* ФОТО БЕЗ ОБРЕЗКИ И РАСТЯЖЕНИЯ */
.news-gallery img,
.event-gallery img {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
}

/* Стрелки галереи */
.gallery-arrow {
    position: absolute;
    cursor: pointer;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

/* Контент элемента */
.news-item-content,
.event-item-content {
    padding: 40px;
}

.news-item-title,
.event-item-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Мета-информация - ИНЛАЙН С ПЕРЕНОСОМ */
.news-item-meta,
.event-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.news-item-date,
.event-item-date,
.event-item-type,
.event-item-age {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #555;
    font-size: 18px;
}

.event-item-type {
    background: #e8f4fd;
    color: #1e88e5;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
}

.event-item-age {
    background: #fff8e1;
    color: #ff9800;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
}

/* Текст с ограничением строк */
.news-item-text-wrapper,
.event-item-text-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.news-item-text,
.event-item-text {
    font-size: 17px;
    color: #555;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 10; /* 10 строк на ПК */
    overflow: hidden;
}

.news-item-text.expanded,
.event-item-text.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
    display: block;
}

/* Место проведения мероприятия */
.event-venue {
    margin: 15px 0 25px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
    font-size: 16px;
    line-height: 1.5;
}

.event-venue strong {
    color: #333;
    margin-right: 8px;
}

/* Градиент для скрытия текста */
.text-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(transparent, white);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease, height 0.5s ease;
}

.news-item-text.expanded ~ .text-fade,
.event-item-text.expanded ~ .text-fade {
    opacity: 0;
    height: 0;
}

/* Кнопка развернуть */
.btn-expand {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 0;
    transition: color 0.2s;
}

.btn-expand:hover {
    color: #e55a5a;
}

.btn-expand svg.expand-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.btn-expand.expanded svg.expand-icon {
    transform: rotate(180deg);
}

/* Кнопки действий - УБРАЛ ДЛЯ НОВОСТЕЙ */
.event-item-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 17px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.event-item-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.3);
}

/* Статус завершённого мероприятия */
.event-status-badge {
    display: inline-block;
    background: #e0e0e0;
    color: #666;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
}

/* Подзаголовок секции */
.section-subtitle {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary);
}

/* Пустое содержимое */
.no-content {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    font-size: 22px;
}

/* =============== ФУТЕР =============== */
.footer {
    padding: 30px 0;
    background-color: var(--primary);
    color: white;
    text-align: center;
    margin-top: 50px;
}

/* =============== ОВЕРЛЕЙ МЕНЮ =============== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 998;
}
.overlay.show {
    opacity: 1;
    visibility: visible;
}

/* =============== МОБИЛЬНЫЕ СТИЛИ =============== */
@media screen and (max-width: 1000px) {
    *:hover {
        transform: none;
        box-shadow: none;
    }
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
    }

    .logo img {
        height: 35px;
    }
    
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100%;
        background: var(--primary);
        padding: 80px 30px 30px;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        overflow-y: auto;
    }
    .mobile-menu.active {
        right: 0;
    }
    .mobile-menu ul {
        list-style: none;
        padding: 0;
    }
    .mobile-menu ul li {
        margin-bottom: 5px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }
    .mobile-menu ul li:last-child {
        border-bottom: none;
    }
    .mobile-menu ul li a {
        color: white;
        text-decoration: none;
        font-size: 22px;
        font-weight: 600;
        display: block;
        padding: 15px 0;
        transition: all 0.3s;
        position: relative;
    }
    .mobile-menu ul li a:hover {
        padding-left: 10px;
        color: #fff;
        text-shadow: 0 0 10px rgba(255,255,255,0.5);
    }

    .mobile-menu-close {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 44px;
        font-weight: 300;
        color: white;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        padding: 0;
        line-height: 1;
    }
    
    .banners-section {
        height: 85vh; /* Чуть меньше высота */
    }
    .banner-bg {
        filter: none; /* Убираем размытие */
        transform: scale(1); /* Убираем увеличение */
    }
    .banner-content {
        flex-direction: column;
        justify-content: space-between;
        background: rgba(0, 0, 0, 0.4); /* Затемнение для читаемости текста */
        position: relative;
    }
    .banner-left {
        display: none; /* Скрываем отдельное фото, используем фон */
    }
    .banner-right {
        width: 100%;
        padding: 20px 20px 30px;
        justify-content: flex-end; /* Контент внизу */
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); /* Градиент снизу */
    }
    
    .banner-subtitle {
        position: absolute;
        top: 20px;
        left: 20px;
        margin-bottom: 0;
        padding: 8px 20px;
        font-size: 18px;
        z-index: 5;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }
    
    .banner-title {
        font-size: 24px;
        color: white; /* Белый текст на фото */
        text-shadow: 0 2px 4px rgba(0,0,0,0.8);
        margin-bottom: 10px;
    }

    .banner-text {
        font-size: 16px;
        color: #eee;
        margin-bottom: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    }

    .banner-meta {
        gap: 15px;
        margin-bottom: 15px;
        font-size: 16px;
        color: #ddd;
    }

    .banner-btn {
        width: 100%;
        padding: 15px !important;
        font-size: 18px !important;
        border-radius: 12px;
    }

    .banners-prev:hover,
    .banners-next:hover,
    .gallery-next:hover,
    .gallery-prev:hover,
    .news-arrow.left:hover,
    .news-arrow.right:hover {
        background: rgba(255, 107, 107, 0.4);
    }

    .banners-pagination {
        bottom: 30px;
    }

    /* Мероприятия на мобильных */
    .events-section {
        padding: 10px 0;
    }
    
    .events-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(166px, 1fr));
        gap: 5px;
    }

    .event-card-content {
        padding: 10px;
    }

    .event-card-content p {
        margin-bottom: 5px;
    }
    
    .event-card-img {
        height: 150px;
    }
    
    .event-card h3 {
        font-size: 18px;
    }
    
    .event-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-top: 5px;
    }

    .event-date {
        font-size: 16px;
        flex-direction: row;
    }
    
    .banner-time,
    .event-time,
    .event-item-time {
        display: inline !important;
        margin-left: 4px;
        margin-top: 4px;
    }
    .banner-time::before,
    .event-time::before,
    .event-item-time::before {
        display: none;
    }

    .event-card:hover {
        transform: none;
        box-shadow: none;
    }
    
    .btn-primary {
        width: 100%;
        text-align: center;
        border-radius: 10px;
        padding: 12px;
        font-size: 16px;
    }

    .about-section {
        padding: 80px 0;
    }
    
    .about-content {
        margin-left: 5%;
        margin-right: 5%;
    }

    .news-section {
        padding: 10px 0;
    }

    .news-section h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .news-slider-container {
        padding: 0 60px;
    }

    .news-arrow {
        width: 36px;
        height: 72px;
    }

    .news-arrow svg {
        width: 20px;
        height: 20px;
    }

    .news-arrow.left {
        left: 10px;
    }

    .news-arrow.right {
        right: 10px;
    }

    /* Карточки на мобильных */
    .news-slider {
        gap: 20px;
        padding: 10px 0;
    }

    .news-swiper {
        width: 250px !important;
    }

    .news-card {
        width: 250px;
        height: 436px;
    }

    .news-card-content {
        padding: 5px;
    }

    .news-card h3 {
        font-size: 19px;
        margin-bottom: 5px;
    }

    .news-card p {
        font-size: 14px;
        margin-bottom: 5px;
        -webkit-line-clamp: 3;
    }

    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding-top: 5px;
    }

    .news-date {
        font-size: 15px;
    }

    .news-card:hover {
        transform: none;
        box-shadow: none;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 16px;
    }

    /* Карточка "Смотреть все" на мобильных */
    .see-all-card {
        min-width: 250px;
    }

    .see-all-content {
        padding: 20px 15px;
    }

    .see-all-icon {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .see-all-card h3 {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .see-all-btn {
        padding: 12px 30px;
        font-size: 17px;
        border-radius: 13px;
    }

    .page-header-section {
        padding: 10px 0;
        margin-bottom: 5px;
    }
    
    .page-title {
        font-size: 36px;
    }

    .section-subtitle {
        padding-bottom: 5px;
    }
    
    .news-item,
    .event-item {
        margin-bottom: 15px;
    }

    .news-item:hover,
    .event-item:hover {
        transform: none;
        box-shadow: none;
    }
    
    .news-gallery,
    .event-gallery {
        height: 250px;
    }

    .news-gallery img,
    .event-gallery img {
        max-height: 250px;
    }

    .news-gallery .swiper-slide,
    .event-gallery .swiper-slide {
        height: 250px;
    }

    .news-item-content,
    .event-item-content {
        padding: 10px;
    }
    
    .news-item-title,
    .event-item-title {
        font-size: 26px;
        margin-bottom: 5px;
    }
    
    .news-item-meta,
    .event-item-meta {
        gap: 5px 5px;
        margin-bottom: 5px;
        padding-bottom: 5px;
    }
    
    .news-item-date,
    .event-item-date,
    .event-item-type,
    .event-item-age {
        font-size: 16px;
    }

    .event-item-date {
        display: inline-flex;
        align-items: baseline;
    }
    
    .event-item-type,
    .event-item-age {
        font-size: 14px;
        padding: 5px 14px;
    }
    
    .news-item-text,
    .event-item-text {
        font-size: 16px;
        -webkit-line-clamp: 5; /* 5 строк на мобилке */
    }
    
    .text-fade {
        height: 60px;
    }

    .event-venue {
        margin: 5px 0px;
    }
    
    .btn-expand {
        font-size: 15px;
    }
    
    .event-item-btn {
        padding: 12px 28px;
        font-size: 16px;
    }
    
    .section-subtitle {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .gallery-prev {
        left: 15px;
    }
    
    .gallery-next {
        right: 15px;
    }

    .footer {
        margin-top: 10px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

/* =============== ОЧЕНЬ УЗКИЕ ЭКРАНЫ (480px и меньше) =============== */
@media screen and (max-width: 480px) {
        .banner-title {
            font-size: 20px;
        }
        
        .banner-text {
            font-size: 16px;
            -webkit-line-clamp: 2;
        }
        
        .banner-meta {
            flex-direction: column;
            gap: 12px;
            font-size: 18px;
        }
        
        .banner-btn {
            padding: 5px auto!important;
            margin: 5px 5px !important;
            font-size: 16px !important;
        }
        
        .banner-subtitle {
            font-size: 18px;
            padding: 5px 10px;
            font-weight: 600;
        }
        
        .events-section h2 {
            font-size: 26px;
            margin-bottom: 10px;
        }

        .event-time {
            display: block;
            margin-top: 2px;
        }

        .about-section {
            padding: 60px 0;
        }
        
        .about-title {
            font-size: 1.5rem;
        }
        
        .about-desc {
            font-size: 1rem;
            line-height: 1.5;
        }

        .news-slider {
            gap: 5px;
        }

        .news-slider-container {
            padding: 0;
        }

        .news-arrow {
            width: 32px;
            height: 64px;
        }

        .news-arrow.left {
            left: 5px;
        }

        .news-arrow.right {
            right: 5px;
        }

        .news-swiper {
            width: 250px !important;
        }

        .news-card {
            width: 250px;
        }

        .see-all-card {
            min-width: 250px;
        }

        .see-all-card h3 {
            font-size: 20px;
        }

        .see-all-btn {
            padding: 11px 26px;
            font-size: 16px;
        }

        .page-header-section {
            padding: 15px 0;
        }
        
        .page-title {
            font-size: 28px;
        }
        
        .news-gallery,
        .event-gallery {
            height: 280px; /* Ещё меньше на узких экранах */
        }

        .news-gallery img,
        .event-gallery img {
            max-height: 280px;
        }

        .news-gallery .swiper-slide,
        .event-gallery .swiper-slide {
            height: 280px;
        }

        .news-item:hover,
        .event-item:hover {
            transform: none;
            box-shadow: none;
        }
        
        .news-item-content,
        .event-item-content {
            padding: 10px;
        }
        
        .news-item-title,
        .event-item-title {
            font-size: 22px;
            margin-bottom: 5px;
        }
        
        .news-item-meta,
        .event-item-meta {
            gap: 5px 5px;
            margin-bottom: 5px;
            padding-bottom: 5px;
        }
        
        .news-item-date,
        .event-item-date,
        .event-item-type,
        .event-item-age {
            font-size: 15px;
        }
        
        .news-item-text,
        .event-item-text {
            font-size: 15px;
            -webkit-line-clamp: 5;
        }

        .event-item-date {
            white-space: normal;
            flex-wrap: wrap; 
        }
        
        .text-fade {
            height: 50px;
        }
        
        .btn-expand {
            font-size: 14px;
        }
        
        .event-item-btn {
            width: 100%;
            text-align: center;
            padding: 14px;
            font-size: 16px;
        }
        
        .section-subtitle {
            font-size: 24px;
        }
        
        .gallery-arrow {
            width: 44px;
            height: 88px;
        }
        
        .gallery-arrow svg {
            width: 24px;
            height: 24px;
        }
}