        * { margin: 0; padding: 0; box-sizing: border-box; }
li {
    list-style: none;  /* Убирает точки */
    list-style-type: none; /* Дополнительно */
}		
        body { font-family: Arial, sans-serif; line-height: 1.4; color: #333; background: #f5f5f5; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 ; }
		h3{
			padding:1rem;
		}
		h2{
			border-bottom:solid 3px red;
			color:#bf2121;
			
		}
          .header {  
            padding: 0; 
            box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
            top: 0px;
			position: sticky;
            z-index: 200;
            width: 100%;
        }
        .header-top { 
            display: flex; 
            justify-content: space-between; 
            align-items: center;
        }
		#header_bg{
			height:45px;
			background-image:url('/img/cover.jpg');
			z-index:10;
			width:100%;
			max-width:1200px;
		}
        .header h1 { font-size: 1.5rem; color: #c00; z-index:200;}
        .hamburger { 
            display: none; 
            flex-direction: column; 
            cursor: pointer; 
            padding: 0.5rem;
            position: relative;
            z-index: 101;
        }
        .hamburger span { 
            width: 25px; 
            height: 3px; 
            background: white; 
            margin: 3px 0; 
            transition: 0.3s; 
            border-radius: 2px; 
        }
        .menu { display: flex; gap: 2rem; list-style: none;margin-right: 30px;}
        .menu li a, .menu-mobile li a { 
            text-decoration: none; 
            color: white; 
            font-weight: 500; 
            font-size: 0.95rem; 
            transition: color 0.3s; 
        }
        .menu li a:hover { color: #c00; }
        .menu-mobile { 
            display: none; 
            position: absolute; 
            top: 0; 
            left: 0; 
            right: 0; 
            background: #fff; 
            box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
            flex-direction: column; 
            gap: 0; 
            margin: 0 1% 1rem;
			background: linear-gradient(90deg, #667e9a 0%, #667e9a 50%, #5a6f88 100%);
			padding: 60px 1% 10px;
			border-bottom: solid 5px #cc0000;
        }
        .menu-mobile li { width: 100%; margin-bottom: 0.5rem; text-align:center;}
        .menu-mobile li a { 
            display: block; 
            padding: 0.8rem; 
			color:white;
			text-decoration:none;			
        }
		
        /* Swiper Слайдер */
        .news-slider-section { 
            margin: 2rem auto; 
            max-width: 1200px;
            position: relative;
            overflow: hidden;
        }	
		
        .news-swiper { 
            overflow: hidden;
            padding: 1rem 0;
        }

        .news-slide { 
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            padding: 1.5rem;
            
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: transform 0.3s;
        }

        .news-slide:hover {
            transform: translateY(-5px);
        }
        .news-title { 
            font-size: 1.3rem; 
            font-weight: bold; 
            margin-bottom: 0.5rem; 
            color: #c00; 
        }
        .news-text { 
            font-size: 1rem; 
            flex-grow: 1; 
        }
        
        /* Swiper Navigation */
        .swiper-button-next,
        .swiper-button-prev {
            background: rgba(255,255,255,0.9);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        .swiper-button-next:after,
        .swiper-button-prev:after {
            font-size: 20px;
            color: #333;
            font-weight: bold;
        }
        .swiper-button-next:hover,
        .swiper-button-prev:hover {
            background: #c00;
        }
        .swiper-button-next:hover:after,
        .swiper-button-prev:hover:after {
            color: #fff;
        }
        
        /* Swiper Pagination */
        .swiper-pagination-bullet {
            background: blue;
            width: 12px;
            height: 12px;
        }
        .swiper-pagination-bullet-active {
            background: #c00;
        }
		.swiper-pagination{
			height:40px;
			transform: translate3d(0, 2px, 0);
		}
		
		.news-slider-section {
			height:235px;
		}		
		.news-slide { 
			height: 200px;
		}
        .swiper-slide {
            width: 360px;
            height: auto;
        }	
        
        .video-section { 
            margin: 2rem auto; 
            padding: 1.5rem; 
            background: #fff; 
            border-radius: 8px; 
            box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
            max-width: 1200px; 
        }
        .video-section h2 { color: #c00; font-size: 1.5rem; border:none;}
        .video-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
            gap: 1rem; 
        }
        .video-item { text-align: left; }
        .video-title { font-weight: bold; margin-bottom: 0.5rem; }
        .video-time { color: #666; }
        .section-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
            gap: 1.5rem; 
            padding: 2rem 10px; 
            max-width: 1200px; 
            margin: 0 auto; 
        }
        .section-item { 
            background: #fff; 
            padding: 1.5rem; 
            padding: 0; 
            border-radius: 8px; 
        }
        .section-item h3 { color: #c00; padding:1rem;}
        .section-item p {padding: 0.5rem 1rem;}
        .footer { 
            color: #fff; 
            text-align: center; 
            padding: 2rem; 
            margin-top: 3rem; 
        }
		
		#card .section-item{
			background-color: #667e9a;
			background: linear-gradient(to right, #667e9a, #5a6f88, #667e9a);
		}
		#card h3, #card p{
			color:white;
		}
		
		.gradient-bg {
		/* Горизонтальный градиент */
		background: linear-gradient(90deg, #667e9a 0%, #667e9a 50%, #5a6f88 100%);
		
		/* Или более плавный вариант */
		/* background: linear-gradient(to right, #667e9a, #5a6f88, #667e9a); */
	}
        
        @media (max-width: 768px) { 
            .container { padding: 0 1%; }
            .hamburger { display: flex !important; }
            .menu { display: none !important; }
            .menu-mobile.active { display: flex !important; }
            .header-top { 
                flex-direction: row;
                justify-content: space-between;
            }
            .swiper-slide {
                width: 280px;
            }
            .news-slide {
                height: 220px;
            }
            .swiper-button-next,
            .swiper-button-prev {
                width: 42px;
                height: 42px;
            }
            .swiper-button-next:after,
            .swiper-button-prev:after {
                font-size: 16px;
            }
            .header h1 { font-size: 1.2rem; }
        }
		
		#vk_posts_list{
			background:white;
		}
		
		#vk_posts_list a {
			color:black;
			text-decoration:none;
			overflow:hidden;
		}
		
		#vk_posts_list a .post_video {
			border-radius: 6px;
			width: 100%;
			aspect-ratio: 16/9;
			display: block;
			overflow:hidden;
			position:relative;
		}
		#vk_posts_list span{
			display:block;
		}
		

		
		#vk_posts_list .post_video_h img{
			width:100%;
			margin-top:-9.5%;
		}
		
		
		#vk_posts_list .post_bg_blur{
			position: absolute;
			inset: 0;
			background-size: cover;
			filter: blur(20px);           /* ✅ Размытие */
			background-repeat: no-repeat;
			background-size: 300%;
			background-position: 50% 50%;
		}	
		#vk_posts_list a .post_video_v span {
			aspect-ratio: 9/16;
			overflow:hidden;
			max-height:100%;
			margin:0 auto;
			position:relative;
		}
			
		#vk_posts_list .post_video_v img{
			height:100%;
			margin-left:-68%;
		}	

		
		#vk_posts_list .post_img  span {
			width:100%;
			height:100%;
			background-position: center;
			
		}		
		#vk_posts_list a b{
			display: block;
			font-size:14px;
			padding: 4px 0;
		}
		#vk_posts_list a i{
			display: block;
			color:gray;
			font-style:normal;
			font-size:14px;
		}		
		
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;  /* ← Уменьшил gap */
    margin: 30px 0;
    padding: 16px;
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    flex-wrap: wrap;  /* Позволяет перенос строк */
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border: 2px solid #e0e6ed;
    background: #ffffff;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.page-btn:hover:not(.disabled) {
    border-color: #c00;
    color: #c00;
    background: rgba(204,0,0,0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(204,0,0,0.15);
}

.page-btn.active {
    border-color: #c00;
    background: linear-gradient(145deg, #c00, #a00);
    color: white;
    box-shadow: 0 4px 16px rgba(204,0,0,0.3);
    transform: translateY(-1px);
}

.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #e0e6ed;
    color: #94a3b8;
    box-shadow: none;
}

.page-btn.disabled:hover {
    transform: none;
    background: #ffffff;
    border-color: #e0e6ed;
}

/* Эллипсис */
.pagination span:not(.page-btn) {
    color: #94a3b8;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 12px;
}

/* Инфоблок пагинации */
.pagination-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 12px 20px;
    background: linear-gradient(145deg, #e3f2fd, #f0f8ff);
    border-radius: 12px;
    border-left: 4px solid #2196f3;
    color: #1976d2;
    font-weight: 500;
    font-size: 14px;
}

/* АДАПТИВ */
@media (max-width: 768px) {
    .pagination {
        gap: 6px;           /* Меньший отступ */
        padding: 12px;      /* Меньший padding */
        margin: 20px 0;
        /* ❌ УБРАЛ flex-direction: column ! */
        flex-wrap: wrap;    /* Переносит кнопки в строку/столбец автоматически */
        justify-content: center;
    }
    
    .page-btn {
        min-width: 38px;    /* Меньше кнопки */
        height: 38px;
        padding: 0 10px;
        font-size: 13px;
    }
}


@media (max-width: 480px) {
    .pagination {
        gap: 4px;
        padding: 10px;
        flex-wrap: wrap;
    }
    
    .page-btn {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 12px;
        white-space: nowrap; /* Не переносит текст */
    }
    
    /* Скрываем эллипсис на очень маленьких экранах */
    .pagination span:not(.page-btn) {
        display: none;
    }
}

@media (max-width: 360px) {
    .pagination {
        /* Только основные кнопки */
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .page-btn:not(.active):not(:hover) {
        font-size: 11px;
        padding: 0 6px;
        min-width: 32px;
    }
}

/* БАЗОВАЯ КНОПКА */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 24px;
            border: none;
            border-radius: 12px;
            font-weight: 600;
            font-size: 15px;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            position: relative;
            overflow: hidden;
            background: linear-gradient(145deg, #c00, #a00);
            color: white;
            box-shadow: 0 4px 16px rgba(204,0,0,0.3);			
        }
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        }
        /* АКТИВНАЯ */
        .btn:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }
        /* АНИМАЦИЯ БЛИК */
        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s;
        }

        .btn:hover::before {
            left: 100%;
        }
        /* АДАПТИВ */
        @media (max-width: 480px) {
            .btn {
                padding: 12px 20px;
                font-size: 14px;
                width: 100%;
                justify-content: center;
            }
        }	