/* --- ПЕРЕМЕННЫЕ И СБРОС --- */
:root {
    --primary-blue: #1e5a87;
    --accent-orange: #ff9900;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-radius: 8px;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1400px;
    width: 95%;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- TOP BAR --- */
.top-bar {
    background: #fff;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    color: var(--text-light);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.socials a {
    margin-left: 10px;
    color: var(--primary-blue);
    font-size: 14px;
}

/* --- HEADER --- */
.header {
    background: var(--white);
    padding: 15px 0;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo img {
    height: 70px;
    width: auto;
}
.school-title h2 {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 2px;
}
.school-title h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}
.btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-dark {
    background: var(--primary-blue);
    color: white;
}
.btn-orange {
    background: var(--accent-orange);
    color: white;
}
.lang-switch span {
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    color: #ccc;
    margin-left: 5px;
}
.lang-switch span.active {
    color: var(--primary-blue);
}

/* ========== НАВИГАЦИЯ ========== */
.main-nav {
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav .container {
    padding: 0;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul.level_0 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.main-nav ul.level_0 > li {
    position: relative;
    margin: 0;
}

.main-nav ul.level_0 > li > a {
    display: block;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #1e5a87;
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.main-nav ul.level_0 > li > a:hover,
.main-nav ul.level_0 > li.parent > a:hover {
    color: #ff9900;
    border-bottom-color: #ff9900;
}

.main-nav ul.level_0 > li.parent > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 10px;
    vertical-align: middle;
}

.main-nav ul.level_0 > li > ul.level_1 {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-top: 3px solid #ff9900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0;
}

.main-nav ul.level_0 > li:hover > ul.level_1 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav ul.level_1 > li {
    border-bottom: 1px solid #f0f0f0;
}

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

.main-nav ul.level_1 > li > a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.main-nav ul.level_1 > li > a:hover {
    background: #f8f9fa;
    color: #ff9900;
    padding-left: 25px;
}

.main-nav ul.level_1 > li.parent > a::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    margin-top: 2px;
}

.main-nav ul.level_1 > li > ul.level_2 {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 250px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-top: 3px solid #ff9900;
    opacity: 0;
    visibility: hidden;
    transform: translateX(0);
    transition: all 0.3s ease;
    margin-left: 0;
}

.main-nav ul.level_1 > li:hover > ul.level_2 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.main-nav ul.level_2 > li > a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.main-nav ul.level_2 > li > a:hover {
    background: #f8f9fa;
    color: #ff9900;
    padding-left: 25px;
}

.main-nav ul.level_0 > li.active > a,
.main-nav ul.level_0 > li.parent_active > a {
    color: #ff9900;
    border-bottom-color: #ff9900;
}

/* Принудительное позиционирование подменю */
.main-nav .level_0 > .parent {
    position: relative !important;
}

.main-nav .level_0 > .parent > .level_1 {
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    margin-top: 0 !important;
}

.main-nav,
.main-nav .container,
.main-nav ul,
.main-nav li {
    position: static;
    overflow: visible !important;
}

.main-nav ul.level_0 {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    position: relative !important;
}

.main-nav ul.level_0 > li {
    position: relative !important;
    display: block !important;
}

.main-nav ul.level_0 > li > ul.level_1 {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    min-width: 250px !important;
    background: #fff !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15) !important;
    border-top: 3px solid #ff9900 !important;
    z-index: 1000 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

.main-nav ul.level_0 > li:hover > ul.level_1 {
    opacity: 1 !important;
    visibility: visible !important;
}

.main-nav ul.level_1 > li {
    position: relative !important;
    display: block !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.main-nav ul.level_1 > li > ul.level_2 {
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    right: auto !important;
    min-width: 250px !important;
    background: #fff !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15) !important;
    border-top: 3px solid #ff9900 !important;
    z-index: 1000 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

.main-nav ul.level_1 > li:hover > ul.level_2 {
    opacity: 1 !important;
    visibility: visible !important;
}

/* HERO SLIDER */
.hero-slider-wrapper {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #ddd;
    margin-bottom: 0;
}

.hero-slider {
    height: 100%;
    position: relative;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

.slide-content {
    position: relative;
    z-index: 5;
    color: white;
    text-align: center;
    padding: 20px;
    max-width: 800px;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* Индикаторы слайдера */
.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px 0;
    background: var(--bg-light);
}

.controls label {
    width: 16px;
    height: 16px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(30, 90, 135, 0.2);
}

.controls label:hover,
.controls label.active {
    background: #ff9900;
    border-color: #ff9900;
    transform: scale(1.3);
}

/* --- MAIN CONTENT --- */
.main-content {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* ========== REGION 2 ========== */
#region2 .sect {
    margin: 0;
}

#region2 .sect > h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* ========== GRID: ДВЕ КОЛОНКИ ========== */
#region2 .main-grid {
    display: grid;
    grid-template-columns: 1fr 350px; /* Левая колонка + фиксированная правая 350px */
    gap: 30px;
    align-items: start; /* Колонки НЕ растягиваются */
}

/* ========== ЛЕВАЯ КОЛОНКА ========== */
#region2 .left-column {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Отступ между приветствием и популярными разделами */
}

/* Приветственное слово */
#region2 .welcome-speech .wr-sect {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

#region2 .speech-img {
    flex-shrink: 0;
    width: 250px;
    border-radius: 8px;
    overflow: hidden;
}

#region2 .speech-img img {
    width: 100%;
    height: auto;
    display: block;
}

#region2 .speech {
    flex: 1;
    text-align: justify;
    line-height: 1.6;
}

#region2 .speech h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

#region2 .speech a {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-orange) !important;
    font-weight: bold;
    text-decoration: none;
}

#region2 .speech a:hover {
    text-decoration: underline;
}

/*==============================*/
/* Популярные разделы */
#region2 .wrapper {
    margin: 0;
}

.popular-menu ul.level_0 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-menu ul.level_0 li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    height: 100px; /* ФИКСИРОВАННАЯ ВЫСОТА для всех элементов */
    box-sizing: border-box;
}

.popular-menu ul.level_0 li a span {
    display: block;
    line-height: 1.3; /* Межстрочный интервал для переноса текста */
}

.popular-menu ul.level_0 li a::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 22px;
    color: var(--accent-orange);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 153, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

/* Иконки для каждого элемента */
.popular-menu ul.level_0 li a[href*="1541"]::before { content: '\f1d8'; } /* Электронное обращение */
.popular-menu ul.level_0 li a[href*="2841"]::before { content: '\f073'; } /* Шестой школьный день */
.popular-menu ul.level_0 li a[href*="2981"]::before { content: '\f030'; } /* Фото-видео галерея */
.popular-menu ul.level_0 li a[href*="3171"]::before { content: '\f5cd'; } /* Приём в 1 класс */
.popular-menu ul.level_0 li a[href*="7271"]::before { content: '\f19d'; } /* Образовательный процесс */
.popular-menu ul.level_0 li a[href*="6601"]::before { content: '\f279'; } /* Интерактивная карта - ИСПРАВЛЕНО */

.popular-menu ul.level_0 li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 90, 135, 0.15);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.popular-menu ul.level_0 li a:hover::before {
    background: var(--accent-orange);
    color: #fff;
}

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

    .popular-menu ul.level_0 li a {
        height: 90px; /* Чуть меньше на планшетах */
    }
}

@media (max-width: 576px) {
    .popular-menu ul.level_0 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .popular-menu ul.level_0 li a {
        height: auto; /* На мобильных авто-высота */
        min-height: 80px;
        padding: 15px 20px;
    }

    .popular-menu ul.level_0 li a::before {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}
/*======================================*/
/* ========== ПРАВАЯ КОЛОНКА ========== */
#region2 .right-column {
    /* Правая колонка фиксированной ширины (350px из grid-template-columns) */
}

#region2 .pay-attention {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    max-height: 622px;
}

#region2 .title-warning {
    background: var(--primary-blue);
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

#region2 .owl-carousel-с {
    flex: 1;
    overflow-y: auto; /* ВЕРТИКАЛЬНЫЙ СКРОЛЛ */
    overflow-x: hidden;
    padding: 15px;
}

#region2 .owl-carousel-с .owl-stage-outer,
#region2 .owl-carousel-с .owl-stage {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
    padding-right: 5px;
    transform: none !important;
    width: 100% !important;
}

#region2 .owl-carousel-с .owl-item {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    flex: 0 0 auto;
}

#region2 .owl-carousel-с .owl-nav,
#region2 .owl-carousel-с .owl-dots {
    display: none !important;
}

#region2 .item-warning {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#region2 .item-warning:hover {
    border-color: var(--accent-orange);
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#region2 .item-warning img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
    background: #f9f9f9;
}

#region2 .item-warning p {
    margin: 0;
    font-size: 12px;
    line-height: 1.3;
    min-height: 36px;
}

#region2 .item-warning a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

#region2 .item-warning a:hover {
    color: var(--accent-orange);
}

#region2 .owl-carousel-с::-webkit-scrollbar {
    width: 6px;
}

#region2 .owl-carousel-с::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#region2 .owl-carousel-с::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 3px;
}

#region2 .owl-carousel-с::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 992px) {
    #region2 .main-grid {
        grid-template-columns: 1fr; /* Одна колонка на планшетах */
    }

    #region2 .right-column {
        order: -1; /* Правая колонка сверху на мобильных */
    }

    #region2 .pay-attention {
        max-height: 600px;
    }

    #region2 .welcome-speech .wr-sect {
        flex-direction: column;
        text-align: center;
    }

    #region2 .speech-img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    #region2 .speech {
        text-align: left;
    }

    .popular-menu ul.level_0 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #region2 .sect > h3 {
        font-size: 20px;
    }

    #region2 .speech-img {
        width: 100%;
    }
}

/* ========== REGION 3 - БЛОК НОВОСТЕЙ НА ВСЮ ШИРИНУ ========== */
#region3 {
    width: 100%;
    padding: 0 15px;
    margin: 40px auto;
    max-width: 1200px;
}

#region3 .news {
    width: 100%;
    margin-bottom: 40px;
}

#Tabs_24231.edu_by {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    overflow: hidden;
    width: 100%;
}

#Tabs_24231 input[type="hidden"] {
    display: none !important;
}

/* Шапка табов */
#Tabs_24231_header {
    display: flex;
    flex-wrap: nowrap;
    background: var(--bg-light);
    border-bottom: 2px solid #e5e5e5;
    padding: 0;
    margin: 0;
    width: 100%;
}

#Tabs_24231_header span {
    flex: 1 1 0;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-right: 1px solid #e5e5e5;
    border-bottom: 3px solid transparent;
    background: transparent;
    transition: all 0.25s ease;
    text-align: center;
    user-select: none;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 45px;
    line-height: 1.2;
}

#Tabs_24231_header span:last-child {
    border-right: none;
}

#Tabs_24231_header span:hover {
    color: var(--primary-blue);
}

#Tabs_24231_header span.ajax__tab_active,
#Tabs_24231_header span[style*="font-weight:bold"] {
    color: var(--primary-blue) !important;
    background: transparent !important;
    border-bottom-color: var(--accent-orange) !important;
}

#Tabs_24231_header span.ajax__tab_active:hover,
#Tabs_24231_header span[style*="font-weight:bold"]:hover {
    color: var(--accent-orange) !important;
    background: transparent !important;
}

#Tabs_24231_header span:not(.ajax__tab_active):not([style*="font-weight:bold"]) {
    border-bottom-color: transparent !important;
}

/* ========== СЕТКА НОВОСТЕЙ 2×4 ========== */
#Tabs_24231_body {
    padding: 20px 25px;
}

/* Контейнер для сетки - Новости учреждения */
#Tabs_24231_ctl00 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0;
}

/* Карточка новости учреждения */
.news.hot_news.excerpt {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
    margin: 0;
    padding: 0;
    grid-template-columns: none;
    gap: 0;
}

.news.hot_news.excerpt:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 90, 135, 0.15);
    border-color: var(--primary-blue);
}

/* Изображение */
.news.hot_news.excerpt .excerpt_preview {
    width: 100%;
    height: 160px;
    overflow: hidden;
    margin: 0;
    flex-shrink: 0;
}

.news.hot_news.excerpt .excerpt_preview a {
    display: block;
    width: 100%;
    height: 100%;
}

.news.hot_news.excerpt .excerpt_preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.news.hot_news.excerpt:hover .excerpt_preview img {
    transform: scale(1.08);
}

/* Контент */
.news.hot_news.excerpt .excerpt_content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.news.hot_news.excerpt .date {
    display: inline-block;
    font-size: 11px;
    color: #fff;
    background: var(--accent-orange);
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: 0.3px;
    align-self: flex-start;
    margin: 0;
}

.news.hot_news.excerpt h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    min-height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news.hot_news.excerpt h4 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.news.hot_news.excerpt h4 a:hover {
    color: var(--primary-blue);
}

.news.hot_news.excerpt .excerpt_text {
    display: none;
}

/* Сетка для RSS новостей (Республика, Регион, Район) */
#Tabs_24231_ctl01 > ul.rss,
#Tabs_24231_ctl02 > ul.rss,
#Tabs_24231_ctl03 > ul.rss {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Карточка RSS новости */
ul.rss li {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
}

ul.rss li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 90, 135, 0.15);
    border-color: var(--primary-blue);
    background: #fff;
}

/* Дата как шапка карточки */
ul.rss .post-date {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #154769 100%);
    color: #fff;
    padding: 15px;
    text-align: center;
    width: 100%;
    margin: 0;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

ul.rss .post-date::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-orange);
}

ul.rss.republic .post-date {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #e68a00 100%);
}

ul.rss .post-date .month {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    display: block;
    margin-top: 0;
}

ul.rss .post-date .day {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin: 6px 0 2px;
    display: block;
}

ul.rss .post-date .year {
    font-size: 10px;
    opacity: 0.8;
    display: block;
}

ul.rss .title {
    padding: 15px;
    flex: 1;
    display: flex;
    align-items: center;
    margin: 0;
}

ul.rss .title a.r-more {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 54px;
}

ul.rss .title a.r-more::before {
    display: none;
}

ul.rss .title a.r-more:hover {
    color: var(--primary-blue);
}

/* Адаптивность */
@media (max-width: 1200px) {
    #Tabs_24231_ctl00,
    #Tabs_24231_ctl01 > ul.rss,
    #Tabs_24231_ctl02 > ul.rss,
    #Tabs_24231_ctl03 > ul.rss {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    #Tabs_24231_ctl00,
    #Tabs_24231_ctl01 > ul.rss,
    #Tabs_24231_ctl02 > ul.rss,
    #Tabs_24231_ctl03 > ul.rss {
        grid-template-columns: repeat(2, 1fr);
    }

    .news.hot_news.excerpt .excerpt_preview {
        height: 180px;
    }
}

@media (max-width: 576px) {
    #Tabs_24231_ctl00,
    #Tabs_24231_ctl01 > ul.rss,
    #Tabs_24231_ctl02 > ul.rss,
    #Tabs_24231_ctl03 > ul.rss {
        grid-template-columns: 1fr;
    }

    #Tabs_24231_body {
        padding: 15px;
    }

    .news.hot_news.excerpt .excerpt_preview {
        height: 200px;
    }
}



/* ========== OWL CAROUSEL ========== */
.owl-carousel {
    margin-bottom: 30px;
}

.owl-carousel .owl-item {
    padding: 5px;
}

.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.owl-carousel .owl-item:hover img {
    transform: scale(1.02);
}

.owl-carousel .owl-dots {
    margin-top: 20px;
    text-align: center;
}

.owl-carousel .owl-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
    border: none;
}

.owl-carousel .owl-dot.active {
    background: var(--primary-blue);
    transform: scale(1.3);
}

.owl-carousel .owl-dot:hover {
    background: var(--accent-orange);
}


/* ========== БАННЕРЫ В ФУТЕРЕ ========== */
.footer {
    background: #333;
    color: #aaa;
    padding: 20px 0;
    text-align: center;
}

.footer .kubik {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
}

.footer .rubik {
    display: flex;
    transition: transform 0.8s ease;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer .rubik li {
    flex: 0 0 140px;
    height: 55px;
    margin: 0 10px;
}

.footer .rubik li a.link-out {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.footer .rubik li img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Контакты в футере */
.footer-column {
    margin-bottom: 25px;
}

.footer-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-orange);
    display: inline-block;
}

.footer-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #aaa;
}

.contact-item i {
    color: var(--accent-orange);
    font-size: 16px;
}

@media (max-width: 768px) {
    .footer-contact {
        flex-direction: column;
        gap: 10px;
    }
}


.banners-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.banners-nav button {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.banners-nav button.active {
    background: #fff;
    transform: scale(1.3);
}

.footer p {
    margin: 10px 0;
    font-size: 13px;
}

/*=====================================*/

/* ========== КАРУСЕЛЬ ГРАМОТ ========== */
.banners-new {
    position: relative;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 40px;
}

.banners-viewport {
    overflow: hidden;
    border-radius: 8px;
}

.banners-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.banners-item {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 8px;
    box-sizing: border-box;
}

.banners-item a.fancy {
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.banners-item a.fancy:hover {
    box-shadow: 0 6px 20px rgba(30, 90, 135, 0.18);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
}

.banners-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Стрелки */
.banners-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.banners-arrow:hover:not(:disabled) {
    background: var(--accent-orange);
    transform: translateY(-50%) scale(1.1);
}

.banners-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.banners-prev {
    left: 0;
}

.banners-next {
    right: 0;
}

/* Точки */
.banners-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.banners-dot {
    width: 10px;
    height: 10px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.banners-dot:hover {
    background: rgba(30, 90, 135, 0.3);
}

.banners-dot.active {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: scale(1.3);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .banners-item {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 992px) {
    .banners-new {
        padding: 0 35px;
    }
    .banners-item {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 768px) {
    .banners-new {
        padding: 0 30px;
        margin: 20px auto;
    }
    .banners-item {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 5px;
    }
    .banners-arrow {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .banners-new {
        padding: 0 25px;
    }
    .banners-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/*=====================================*/

/* ========== ПРОСТАЯ СТАТИСТИКА ========== */
.widget-statistics {
    margin: 30px auto;
    max-width: 800px;
}

.widget-statistics .widget-title {
    text-align: center;
    margin-bottom: 25px;
}

.widget-statistics .widget-title h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--bg-light);
    border-radius: 30px;
}

.statistics-simple {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-width: 200px;
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.stat-icon-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-icon-green {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.stat-icon-orange {
    background: linear-gradient(135deg, #fc466b 0%, #f5576c 100%);
}

.stat-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.stat-number {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.stat-desc {
    font-size: 12px;
    color: var(--text-light);
}

/* Адаптивность */
@media (max-width: 768px) {
    .statistics-simple {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stat-item {
        padding: 12px 20px;
        min-width: auto;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/*=====================================*/

/* ========== ФОТООТЧЕТЫ - ИСПРАВЛЕННАЯ ВЕРСИЯ ========== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 колонки */
    gap: 25px;
    margin: 25px auto;
    max-width: 1200px; /* Ограничение ширины */
    padding: 0 15px;
}

.photo-grid .item.foto-its {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.photo-grid .item.foto-its:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(30, 90, 135, 0.25);
    border-color: var(--primary-blue);
}

/* Картинка */
.photo-grid .item.foto-its > a {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 280px; /* Высота картинок */
    flex-shrink: 0;
}

.photo-grid .item.foto-its > a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.photo-grid .item.foto-its:hover > a img {
    transform: scale(1.1);
}

/* Оверлей */
.photo-grid .item.foto-its > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 90, 135, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.photo-grid .item.foto-its:hover > a::before {
    opacity: 1;
}

.photo-grid .item.foto-its > a::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 40px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.photo-grid .item.foto-its:hover > a::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Текст */
.photo-grid .text-its {
    padding: 20px;
    background: white;
    flex: 1;
    display: flex;
    align-items: center;
}

.photo-grid .text-its a {
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    display: block;
    width: 100%;
    transition: color 0.3s;
}

.photo-grid .text-its a:hover {
    color: var(--primary-blue);
}

.photo-grid .text-its span {
    display: block;
}

/* Заголовок фотоотчетов */
.photos-new {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 25px 0;
    text-align: center; /* По центру */
}

.photos-new a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.photos-new a:hover {
    color: var(--primary-blue);
}
/* Адаптивность заголовка */
@media (max-width: 768px) {
    .photos-new {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .photos-new a {
        padding: 8px 20px;
        font-size: 18px;
    }

    .photos-new a::before {
        font-size: 20px;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: 1fr; /* 1 колонка на мобильных */
        gap: 20px;
    }

    .photo-grid .item.foto-its > a {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .photo-grid .item.foto-its > a {
        height: 180px;
    }

    .photo-grid .text-its {
        padding: 15px;
    }

    .photo-grid .text-its a {
        font-size: 14px;
    }
}

/*=====================================*/

/* Вертикальная прокрутка */
.owl-carousel-с {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 500px;
}

.owl-carousel-с .item-warning {
    flex: 0 0 auto;
    margin-bottom: 15px;
    width: 100%;
}

/* Опционально: плавное затухание сверху и снизу (красивый эффект) */
.owl-carousel-с {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}
/*=====================================*/
/* ========== ССЫЛКА НА АРХИВ НОВОСТЕЙ ========== */
.news-g {
    text-align: center;
    margin: 30px 0 10px 0;
    padding: 0;
}

.news-g a {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 35px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

/* Иконка архива слева */
.news-g a::before {
    content: '\f187';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 22px;
    color: var(--accent-orange);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 153, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

/* Стрелка справа */
.news-g a::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 16px;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

/* Hover-эффекты как в популярных разделах */
.news-g a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 90, 135, 0.15);
    border-color: var(--primary-blue);
}

.news-g a:hover::before {
    background: var(--accent-orange);
    color: #fff;
}

.news-g a:hover::after {
    transform: translateX(6px);
    color: var(--accent-orange);
}

/* Адаптивность */
@media (max-width: 768px) {
    .news-g {
        margin: 25px 0 10px 0;
    }

    .news-g a {
        padding: 18px 30px;
        font-size: 14px;
    }

    .news-g a::before {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

/*=====================================*/

/* ========== ПОЛИТИКА COOKIE ========== */
.privacy-policy-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    max-width: 90%;
    width: 600px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.privacy-policy-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #eee;
}

.privacy-policy-text {
    flex: 1;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-dark);
}

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

.privacy-policy-text a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

.privacy-policy-btn {
    padding: 10px 25px;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.privacy-policy-btn:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 153, 0, 0.3);
}

@media (max-width: 768px) {
    .privacy-policy-content {
        flex-direction: column;
        text-align: center;
        padding: 18px 20px;
    }
    
    .privacy-policy-text {
        font-size: 12px;
    }
    
    .privacy-policy-btn {
        width: 100%;
    }
}

/*=====================================*/

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 992px) {
    #region2 .main-grid {
        grid-template-columns: 1fr;
    }

    #region2 .pay-attention {
        max-height: 600px;
    }

    #region2 .owl-carousel-с {
        max-height: 500px;
    }

    #region2 .welcome-speech .wr-sect {
        flex-direction: column;
        text-align: center;
    }

    #region2 .speech-img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    #region2 .speech {
        text-align: left;
    }

    .popular-menu ul.level_0 {
        grid-template-columns: 1fr;
    }

    .popular-menu ul.level_0 li a {

        padding: 15px 20px;
        font-size: 14px;
    }

    .gallery-carousel-wrapper > div {
        flex: 0 0 calc(33.333% - 10px);
    }

    .owl-carousel .owl-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .header-left {
        flex-direction: column;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    #Tabs_24231_header {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    #Tabs_24231_header span {
        font-size: 11px;
        min-width: 100px;
        height: 40px;
    }

    #Tabs_24231_body {
        padding: 15px;
    }

    .news.hot_news.excerpt {
        grid-template-columns: 120px 1fr;
        gap: 12px;
    }

    .news.hot_news.excerpt .excerpt_preview {
        width: 120px;
        height: 90px;
    }

    .news.hot_news.excerpt h4 {
        font-size: 15px;
    }

    ul.rss li {
        gap: 12px;
    }

    ul.rss .post-date {
        width: 58px;
    }

    ul.rss .post-date .day {
        font-size: 20px;
    }

    ul.rss .title a.r-more {
        font-size: 14px;
    }

    .gallery-carousel-wrapper > div {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .news.hot_news.excerpt {
        grid-template-columns: 1fr;
    }

    .news.hot_news.excerpt .excerpt_preview {
        width: 100%;
        height: 180px;
    }
}


/* Скрываем ВСЁ от Google Translate */
#goog-gt-tt,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-balloon-frame,
.goog-te-menu-frame,
.goog-te-menu-frame.skiptranslate,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-OiiCO,
.skiptranslate iframe,
#google_translate_element iframe {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}

body {
    top: 0px !important;
    position: static !important;
}

#google_translate_element { 
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 0;
    height: 0;
    overflow: hidden;
}

.goog-te-gadget,
.goog-logo-link,
.goog-te-gadget-icon,
.goog-te-combo {
    display: none !important;
}

/* Твои кнопки */
.lang-switch span {
    cursor: pointer;
    padding: 5px 10px;
    transition: all 0.3s;
    user-select: none;
}

.lang-switch span:hover {
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
}

.lang-switch span.active {
    background: #ff6b35;
    color: white;
    border-radius: 3px;
    font-weight: bold;
}

.lang-switch span.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* ========== БОЛЬШИЕ ЭКРАНЫ ========== */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    #region3 {
        max-width: 1400px;
    }
    .banners-new {
        max-width: 1400px;
    }
    .photo-grid {
        max-width: 1400px;
    }
    .widget-statistics {
        max-width: 1000px;
    }
    /* Увеличиваем правую колонку */
    #region2 .main-grid {
        grid-template-columns: 1fr 400px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    #region3 {
        max-width: 1600px;
    }
    .banners-new {
        max-width: 1600px;
    }
    .photo-grid {
        max-width: 1600px;
    }
    .widget-statistics {
        max-width: 1200px;
    }
    #region2 .main-grid {
        grid-template-columns: 1fr 450px;
    }
}

body {
    font-size: 125%; /* 125% от стандартных 16px = 20px */
}



/* ========== УВЕЛИЧЕННЫЕ ШРИФТЫ НА ГЛАВНОЙ СТРАНИЦЕ ========== */

/* Увеличиваем общий размер шрифта на главной */
body {
    font-size: 125%; /* 125% от стандартных 16px = 20px */
}

/* Увеличиваем эмблему */
.header .logo img {
    height: 100px; /* Было 70px */
    width: auto;
}

/* Увеличиваем текст "Государственное учреждение образования" */
.header .school-title h2 {
    font-size: 16px; /* Было 14px */
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 3px;
    line-height: 1.3;
}

/* Увеличиваем название гимназии */
.header .school-title h1 {
    font-size: 32px; /* Было 24px */
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
}

/* Увеличиваем заголовки секций на главной */
#region2 .sect > h3 {
    font-size: 28px; /* Было 24px */
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
}

/* Увеличиваем заголовок приветственного слова */
#region2 .speech h4 {
    font-size: 24px; /* Было 20px */
    margin-bottom: 18px;
    font-weight: 600;
}

/* Увеличиваем текст приветствия */
#region2 .speech {
    font-size: 16px; /* Было 14px */
    line-height: 1.7;
}

/* Увеличиваем заголовок "ОБРАТИТЕ ВНИМАНИЕ" */
#region2 .title-warning {
    font-size: 18px; /* Было 16px */
    padding: 18px 20px;
}

/* Увеличиваем текст в карточках "Обратите внимание" */
#region2 .item-warning p {
    font-size: 13px; /* Было 12px */
    line-height: 1.4;
    min-height: 40px;
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .header .logo img {
        height: 80px;
    }
    
    .header .school-title h2 {
        font-size: 14px;
    }
    
    .header .school-title h1 {
        font-size: 26px;
    }
    
    #region2 .sect > h3 {
        font-size: 24px;
    }
    
    #region2 .speech h4 {
        font-size: 20px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .header .logo img {
        height: 70px;
    }
    
    .header .school-title h2 {
        font-size: 13px;
    }
    
    .header .school-title h1 {
        font-size: 22px;
    }
    
    #region2 .sect > h3 {
        font-size: 22px;
    }
    
    #region2 .speech h4 {
        font-size: 18px;
    }
    
    #region2 .speech {
        font-size: 15px;
    }
}

/* Адаптивность для маленьких экранов */
@media (max-width: 480px) {
    .header .logo img {
        height: 60px;
    }
    
    .header .school-title h1 {
        font-size: 20px;
    }
    
    #region2 .sect > h3 {
        font-size: 20px;
    }
}