/* SKT per-page CSS: news */

/* from news.html */
body {
            font-family: 'Montserrat', sans-serif;
            background-color: #f8f9fa;
            padding-top: 85px; /* Под фиксированный навбар */
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* --- НАВИГАЦИЯ --- */
        .navbar-custom {
            background-color: #ffffff;
            transition: all 0.3s ease-in-out;
            padding-top: 0.8rem;
            padding-bottom: 0.8rem;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        }
        .logo-icon {
            width: 46px; height: 46px; border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
            font-weight: 800; font-size: 1rem; color: white;
            background: linear-gradient(135deg, #4b6fb8 0%, #c14545 100%);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }
        .logo-title { font-size: 1.1rem; font-weight: 800; line-height: 1.1; color: #0b4c9e; }
        .logo-subtitle { font-size: 0.7rem; font-weight: 500; color: #6c757d; }
        .nav-link { font-size: 0.95rem; font-weight: 600; color: #343a40 !important; transition: color 0.2s ease; }
        .nav-link:hover { color: #0b4c9e !important; }

        /* --- ГЛАВНЫЙ БАННЕР (ХЕДЕР) --- */
        .news-hero {
            background: linear-gradient(90deg, #0b4c9e 0%, #d6322b 100%);
            color: #ffffff;
            padding: 4rem 0;
            text-align: center;
            border-bottom: 4px solid #d6322b;
        }
        .news-hero-title {
            font-size: 3rem;
            font-weight: 800;
            letter-spacing: -1px;
            margin-bottom: 1rem;
        }
        .news-hero-subtitle {
            font-size: 1.1rem;
            font-weight: 500;
            opacity: 0.9;
        }

        /* --- СЕТКА НОВОСТЕЙ --- */
        .news-section {
            padding: 4rem 0 6rem 0;
            background-color: #f8f9fa;
            flex-grow: 1;
        }

        .news-card {
            background: #ffffff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            height: 100%;
            border: 1px solid #f1f5f9;
        }
        .news-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
            border-color: #e2e8f0;
        }

        /* Изображение карточки */
        .news-img-wrapper {
            position: relative;
            height: 220px;
            overflow: hidden;
            background-color: #e2e8f0; /* Заглушка, если нет фото */
        }
        .news-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .news-card:hover .news-img {
            transform: scale(1.05);
        }
        
        /* Тег категории (поверх фото) */
        .news-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            background: #d6322b;
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            z-index: 2;
        }
        .news-badge.badge-blue { background: #0b4c9e; }
        .news-badge.badge-dark { background: #1e293b; }

        /* Тело карточки */
        .news-body {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }
        .news-date {
            color: #64748b;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
        }
        .news-date i { margin-right: 0.4rem; font-size: 1rem; color: #a1a1aa; }
        
        .news-title {
            font-size: 1.25rem;
            font-weight: 800;
            color: #0f172a;
            margin-bottom: 1rem;
            line-height: 1.3;
        }
        .news-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
        .news-title a:hover { color: #0b4c9e; }
        
        .news-excerpt {
            color: #475569;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }
        
        .news-read-more {
            margin-top: auto;
            font-weight: 700;
            color: #0b4c9e;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            font-size: 0.9rem;
            transition: color 0.2s;
        }
        .news-read-more i { margin-left: 0.3rem; transition: transform 0.2s; }
        .news-read-more:hover { color: #d6322b; }
        .news-read-more:hover i { transform: translateX(4px); }

        /* Featured News (Главная новость) */
        .featured-news-card {
            background: #ffffff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            border: 1px solid #e2e8f0;
            margin-bottom: 3rem;
        }
        .featured-img { height: 100%; min-height: 350px; object-fit: cover; width: 100%; }

        @media (max-width: 992px) {
            .featured-img { min-height: 250px; }
        }
        @media (max-width: 768px) {
            .news-hero-title { font-size: 2.2rem; }
            .news-card { margin-bottom: 1rem; }
        }

        /* Пагинация ленты (pdoPage + Bootstrap) */
        .skt-news-page-link {
            color: #0b4c9e !important;
        }
        .page-item.active .skt-news-page-active {
            background-color: #0b4c9e;
            border-color: #0b4c9e;
            color: #fff !important;
        }
