

@font-face {
	font-family: "Metrika";  
	src: url("fonts/Metrika.otf") format("opentype"); 
	font-style: normal; 
	font-weight: normal;
 }
 
@font-face {
	font-family: "GillSansLightC";  
	src: url("fonts/GillSansLightC.ttf") format("truetype"); 
	font-style: normal; 
	font-weight: normal;
 }
 
 * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "GillSansLightC";
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'GillSansLightC';
}
h1,h2,h5{
	font-family: "Metrika";  
}

.color-2{
	color:rgb(199,208,219);
}	

.poem-container {
	position: relative;
	width: 100%;
	max-width: 1200px; /* Ограничение по ширине */
	padding: 20px;
	text-align: left;
	font-family: "Metrika", cursive;
	color: #fff; /* Белый цвет текста для контраста */
	z-index: 1;
}

.poem-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('img/big-main.jpg'); /* Замените на ссылку на ваше изображение */
	background-size: cover;
	background-position: center;
	filter: brightness(50%); /* Затемнение изображения */
	z-index: -1; /* Помещаем картинку за текстом */
}

.line {
	font-size: 1.5em;
	margin-bottom: 10px;
	overflow: hidden;
	white-space: nowrap;
	/*  display: inline-block;*/
	display: block; /* Строки теперь блочные */
	animation: typing 5s steps(40, end) forwards;
}

@keyframes typing {
	from { width: 0; }
	to { width: 100%; }
}

header {			
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	/* background: rgba(255, 255, 255, 0.8);*/
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
	z-index: 1000;
	transition: background 0.3s, color 0.3s;
	font-size: 20px;
	color: #696767;
	letter-spacing: 0.01em;	
}

header.scrolled {
	background: rgb(39,59,79);
	color: white;
	padding: 0 20px;
}

.logo {
	display: block;
	width:10vw;
	transition: opacity 0.3s;
	/*height: 270px;*/
	position: absolute; top: 30px; left: 27%; z-index: 1100;
}

.logo.hidden {
	opacity: 0;
}

.logo-scrolled{
	/*height:80px;*/
	width: 150px;
	left: 17%;
}

nav {
	display: flex;
	gap: 20px;
	padding:30px 0;
}

.nav-scrolled{
	padding:20px 0;
}

nav a {
	text-decoration: none;
	color: #fff;
	transition: color 0.3s;
	font-family: "Metrika";  
}

nav a:hover {
	text-decoration: underline;	
	transition: color 0.3s;
}

.menu {	
	order: 1; margin-left: auto;
}

.menu-toggler {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	order: 2;
}

.menu-toggler div {
	width: 20px;
	height: 3px;
	background: RGB(255,255,255);
	transition: background 0.3s;
}

.wide-section {
	width: 100%;
	/*height:907px;*/
	/* background: url('../img/Pobeda80_main.jpg') center/cover no-repeat;*/
	position: relative;
	min-height:260px;
	height: 100vh;	
}

.wide-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgb(39,59,79);
	/*background: url('../img/rgb-berezy-slova-sinie.png') left top no-repeat;
	 /*filter: brightness(50%); 
	background-size: cover;
	z-index: -1; /* Отправляем фон назад */
	/*animation: zoomInOut 60s infinite; /* Анимация масштабирования */
}
	.vertical-img{
		height:100%;
		width:15%;
		position:absolute;
		top:0;
		left:3%;
		background: url('../img/rgb-berezy-slova-sinie.png') center/cover no-repeat;
		
	}
.title-container{
	position:absolute;
	top:0;
	right:0;
	z-index:10;
	height:100%;
	display:flex;
	justify-content: flex-end;
	align-items: flex-end; 
}
.title{
	color:#fff;	
	font-size:6.1vw;/*100px*/
	padding-right:30px;
	padding-bottom:50px;
	text-align:right;
	line-height:1;
	white-space: nowrap; /* не переносить строки */
	font-family: "Metrika";  
}

@keyframes zoomInOut {
	0% {
		background-size: 100%; /* Начальный размер */
	}
	50% {
		background-size: 130%; /* Увеличиваем размер */
	}
	100% {
		background-size: 100%; /* Возвращаемся к начальному размеру */
	}
}
	
iframe {
	width: 100%;
	height: 35vw;/*600px*/
	border: none;
}
	
.video-title {
	margin-top: 10px;
	font-size: 18px;
	font-weight: bold;
	color: rgb(39,59,79);
	font-family: "Metrika";
}
	
.adaptive-block {
    display: flex; /* Для выравнивания элементов по горизонтали */
    justify-content: space-between; /* Разделить элементы по краям space-between*/
	/* align-items: center;  Выравнивание по вертикали */
    padding: 60px 16% 0;
	flex-wrap: wrap;
    background-color: rgb(199,208,219); /* Цвет фона */    
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Лёгкая тень */
}

.title span{
	font-size:3.3vw;
	font-family: "Metrika";
}

.pb{
	padding-bottom:60px;
}
#kon-n{
	background-color: rgb(199,208,219); /* Цвет фона */    
}
/* Стили для заголовка */
.block-title {    
    color: RGB(39,59,79);
    margin: 0; /* Убрать отступы */
	font-family: "Metrika";  
	font-size: 46px;
    line-height: 1.1;
    font-weight: 800 !important;    
    text-transform: uppercase;
}

/* Стили для кнопки-ссылки */
.block-button {
    /*display: inline-block;*/
    padding: 10px 20px;
    font-size: 16px;
    background-color: RGB(39,59,79);
	color:white;
    text-decoration: none; /* Убрать подчёркивание */
    border-radius:  5px;	
    transition: background-color 0.3s ease;	
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: 'GillSansLightC';
}

/* Эффект при наведении на кнопку */
.block-button:hover {
    color: RGB(39,59,79);
	background-color:rgb(199,208,219);
}

.block-button-1 {
    /*display: inline-block;*/
    padding: 10px 20px;
    font-size: 16px;
    background-color: RGB(199,208,219);
	color:RGB(39,59,79);
    text-decoration: none; /* Убрать подчёркивание */
    border-radius:  5px;	
    transition: background-color 0.3s ease;	
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: 'GillSansLightC';
}

/* Эффект при наведении на кнопку */
.block-button-1:hover {
    color: RGB(199,208,219);
	background-color:RGB(39,59,79);
}
.news-card {	
    background-color: #fff;
    border-radius: 15px; /* Закругленные углы */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Тень */
    overflow: hidden; /* Чтобы содержимое не выходило за границы */
    text-align: center;
	margin:10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
	 flex: 0 0 calc(33.333% - 20px); /* Фиксированная ширина с учетом отступов */
    box-sizing: border-box; /* Учитываем padding и border в общей ширине */
	display: flex;
    flex-direction: column; /* Столбец: изображение сверху, текст снизу */

}

.flex-grown-yes {
	flex: 1 1 411px; 
	max-width:627px;
}

.flex-grown-no  {
	flex: 0 1 411px;
}

.news-card:hover {
    transform: translateY(-5px); /* Поднимаем карточку при наведении */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Увеличиваем тень */
}

.news-image {
    width: 100%; /* Изображение заполняет карточку */
    height: 230px; /* Фиксированная высота изображения */
    object-fit: cover; /* Обрезка изображения с сохранением пропорций */
    border-bottom: 1px solid #ddd; /* Разделительная линия */
}
.news-content {
    padding: 15px;
    display: flex;
    flex-direction: column; /* Упорядочить текстовые элементы */    
    justify-content: space-between; /* Разделить заголовок и дату */	
}

.news-title {
    font-size: 1.2rem;/*1.2rem*/
    font-weight: bold;
    margin: 15px 10px 5px;
    color: #333;
	font-family: "Metrika";
}

.news-date {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
	font-family: 'GillSansLightC';
}
/*-------------------КОНКУРСЫ---------------------------*/
.hero-section {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 300px; /* Увеличенная высота */
}

.left-block {
	background: url('../img/kon1.jpg') no-repeat center center; /* Замените на вашу картинку */
	background-size: cover;
	color: white;
	padding: 40px;
	text-align: center;
}

.right-block {
    background: url('../img/tur-otkrytki952.png') no-repeat center center;
    background-size: contain; /* картинка полностью влезает */
    width: 100%; /* занимает всю доступную ширину */
    aspect-ratio: 953 / 304; /* сохраняет пропорции картинки */
}

.overlay {
	background-color: rgba(0, 0, 0, 0.5); /* Темный наложенный слой для читаемости текста */
	padding: 40px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.btn-custom {
	border: 2px solid white;
	color: white;
	background: none;
	transition: all 0.3s;
}

.btn-custom:hover {
	background-color: white;
	color: #002F6C;
}

.event-date {
	font-size: 1.2rem;
	margin-top: 20px;
	font-weight: bold;
	color: #fff; 
	
}
/*-------------------КОНКУРСЫ-КОНЕЦ--------------------------*/
/*-------------------АКЦИИ--------------------------*/
section.akcii {
	/* background: url('../img/example-vistavki-kollections.jpg') no-repeat center center !important;
	/*background-size: cover !important;*/
	color: white;
	padding: 50px 0;
	background: linear-gradient(to bottom, rgb(39,59,79) 40%, rgb(199,208,219) 40%);
	/*background: #333 !important; */ /*Задайте фон, чтобы проверить */	  
	min-height: 700px !important; /* Убедитесь, что задана высота */
}

.akcii h2{
	padding-top:40px;
	font-size:48px;
}

.akcii.card {
	border: none !important;
	box-shadow: none; 
	transition: transform 0.3s ease, box-shadow 0.3s ease; /* Переход для плавного эффекта */
}

.card:hover {
	transform: translateY(-10px); /* Поднятие карточки при наведении */
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Добавление тени при наведении */
}

.card-title {
	font-size: 1.2rem;
	font-weight: bold;
	margin-top: 15px;
	color: #000;
}

.card-text {
	font-size: 1rem;
	color: #6c757d;
}

.read-more {
	color: rgb(39,59,79);
	font-weight: bold;
	text-transform: uppercase;
	font-size: 0.9rem;
}
/*-------------------АКЦИи-КОНЕЦ--------------------------*/
/*----------------------КОЛЛЕКЦИИ-------------------*/
.charity-block {
	background-color: #f9f9f9;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	padding: 20px;
}

.charity-block img {
	max-width: 100%;
	border-radius: 10px;
}

.btn-read-more {
	background-color: #007bff;
	color: white;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
}
/*----------------------КОЛЛЕКЦИИ-КОНЕЦ------------------*/
/*----------------------ИЗДАНИЯ-------------------*/
.mw-1300{
	max-width:1300px !important;
}

.over-visible{
	overflow:visible;
}

.news-card-boot {
	border: 6px solid #BFE2FF;
	border-radius: 25px;
	padding: 20px;
	display: flex;
	align-items: center;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 8px 22px rgba(0,0,0,0.1);
	position: relative;
	/*overflow: hidden;*/
	transition: all .3s; 
	
}

.news-card-boot img {
	max-width: 240px;
	flex:1;
	position: absolute;
	top: 10px;
	left: -100px;
	z-index: 100;
	transition: all .3s;			
	flex-shrink: 0;
	
	box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
	border-radius: 25px;
	/*transform: translateX(-80px) scale(0);*/
	
}

.news-card-boot .content-boot {
	margin-left: 160px; /* Отступ, чтобы текст не перекрывал картинку */
	flex-grow: 1;
	z-index: 2;
	flex:2;
}
.news-card-boot h5 {
	color: #0056b3;
	font-weight: bold;
}
.news-card-boot .date {
	font-size: 14px;
	color: #999;
}
.news-card-boot .btn-primary {
	background-color: #007bff;
	border: none;
	border-radius: 8px;
	padding: 10px 20px;
	font-size: 14px;
}
.news-card-boot .btn-primary:hover {
	background-color: #0056b3;
}
/*----------------------ИЗДАНИЯ-КОНЕЦ------------------*/	
.parallax-container {
	position: relative;
	height: 400px; /* Высота блока */
    background-attachment: fixed; /* Параллакс-эффект */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding:50px 0;
	background-color: #f5f5f5; /* Цвет фона */
}

/* Текстовое содержимое */
.content {
	color: white;
	text-align: center;
	background: rgba(0, 0, 0, 0.5); /* Прозрачный фон для текста */
	padding: 20px;
	border-radius: 10px;
	max-width: 68%;
	/*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Тень для текста */
}

/* Стиль для цитаты */
blockquote {
	font-size: 2vw;/*1.8rem*/
	line-height: 1.5;
	font-family: "GillSansLightC";
	font-style: italic;
	margin: 0;
	/*text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Тень для букв */
}

/* Автор цитаты */
cite {
	display: block;
	font-size: 1rem;
	font-style: normal;
	margin-top: 10px;
	opacity: 0.8;
}

.swiper-container {
	width: 100%;
	/*height: 24vw; /* Высота карусели 450px 24vw*/
	height:auto;
	overflow: hidden; /* Скрываем всё за пределами */
	
   
}
.swiper-outer-container {
    padding: 0 40px; /* Отступы для стрелок */
    position: relative;
    width: 100%;
    box-sizing: border-box;
}
.swiper-button-next,
.swiper-button-prev {
	position: absolute; /* Убедитесь, что стрелки позиционируются относительно контейнера */
	top: 50%;
	transform: translateY(-50%);
	z-index: 10; /* Убедитесь, что стрелки находятся над другими элементами */
	color: rgb(39,59,79);
	width: 44px;
	height: 44px;
	/*background: rgba(0, 0, 0, 0.5);*/
	border-radius: 50%;  
	/*margin-left: -40px; /* Увеличить отступы, если они перекрывают текст */
    /*margin-right: -40px;*/
	cursor: pointer;
}
.swiper-wrapper {
    align-items: center;
}
.swiper-button-prev {
    left: 0px; /* Отступ от левого края */
}

.swiper-button-next {
    right: 0px; /* Отступ от правого края */
}
/* Пагинация */
.swiper-pagination {
	position: absolute;
	bottom: -10px;
	left: 0;
	right: 0;
	text-align: center;
	z-index: 10; /* Пагинация должна быть поверх других элементов */
}
.swiper-pagination-bullet-active{
	background-color: rgb(39,59,79);
}
#kol .swiper-pagination-bullet-active{
	background-color: RGB(199,208,219);
}

.swiper-slide {
    
    margin-right: 15px; /* Отступ между слайдами */
}
.wide-block {
	display: flex;
	height: 100%;
  
}

.tabs-header {
    display: flex;
	width:100%;
    justify-content: center;
    background-color: rgb(199,208,219);
    border-bottom: 2px solid rgb(39,59,79);
   
	
    }
	
.tab {
    padding: 1rem 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1.1rem;
    color: #555;
	flex: 1;
    text-align: center;
	font-family:"Metrika";
    }
	
.tab.active {
    color: rgb(199,208,219);
    background-color: rgb(39,59,79);
    font-weight: bold;
    border-radius: 8px 8px 0 0;
	font-family:"Metrika";
    }
	
.tab:hover {
    background-color: #v8ddfh;
  }
  
.tabs-content {
    padding: 20px 0;
    display: none;
}
.tabs-content.active {
    display: flex;
}
    
.text-section {
	flex: 1;
	background: white;
	padding-top: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-left: 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	text-align:center;
	font-family: "GillSansLightC";
}

.image-section {
	flex: 1;
	background-size: cover;
	background-position: center;
}

.countdown-overlay {
	/* background: rgba(0, 0, 0, 0.7);*/
	padding: 40px;
	text-align: center;
	color: white;
	border-radius: 15px;
	position: relative; /* Чтобы текст отображался поверх затемнения */
	z-index: 2;
}

#countdown {
	display: flex;
	justify-content: center;
	gap: 20px;
}

.time-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	background: rgba(255, 255, 255, 0.1); /* Прозрачный белый фон */
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.time-box span {
	font-size: 48px;
	font-weight: bold;
}

.time-box small {
	font-size: 16px;
	text-transform: uppercase;
	margin-top: 5px;
	letter-spacing: 1px;
}

.bg-dark-overlay-70::before{
	background: rgba(0, 0, 0, 0.7);
	content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
     z-index: 1; /* Позволяет затемнению находиться ниже текста */
   
}
.full-width-image {
	width: 100%;
	background-color: rgb(199,208,219); /* Цвет фона */
	height: 300px; /* Высота равна высоте экрана */
	display: flex;
	justify-content: center;
	align-items: center;
}

.full-width-image::before {
	content: '';
	width: 100%;
	height: 100%;
	background: url('../img/Signature_of_Sergei_Yesenin.png') no-repeat center center/contain;
	/*background: url('../img/Pobeda80_georges_ribbon.png') no-repeat center center;
	background-size: contain; /* Масштабируем изображение с сохранением пропорций */
}

.bg-full{
	width: 100%;
	min-height:300px; 
	overflow:visible; 
	background-color: #f5f5f5;
	background: url('../img/kol-bg-full-1.jpg') no-repeat center center/cover; 
}

.bg-full-overlay {  
	width: 100%;
	min-height:300px; 
	background-color: rgba(0, 0, 0, 0.7);
	display: flex; 
	justify-content: center; 
	align-items: center;
}

.social-block {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	background: #fff; /* Фон блока */
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Лёгкая тень */
	border-radius: 10px; /* Скруглённые углы */
	margin: 20px auto;
	max-width: 800px; /* Максимальная ширина блока */
}

.social-text h2 {
	color: #e53935; /* Красный цвет для заголовка */
	margin: 0;
	font-size: 24px;
}

.social-text p {
	margin: 5px 0 0;
	color: #333; /* Цвет для описания */
	font-size: 20px;
}

.social-icons {
	display: flex;
	gap: 15px; /* Расстояние между иконками */
}

.icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-size: cover;
	background-position: center;
}

.icon.vk {
	background: url('../img/socseti/vk-min.png') no-repeat;
	background-size: contain;
}

.icon.youtube {
	background: url('../img/socseti/youtube-min.png') no-repeat;
	background-size: contain;
}

.icon.telegram {
	background: url('../img/socseti/tg-min.png') no-repeat;
	background-size: contain;
}

.icon.dzen {
	background: url('../img/socseti/dzen-min.png') no-repeat;
	background-size: contain;
}

.prl{
	padding: 0 40px;
}

.pt {
	padding-top:90px;
}

.partners-container {
	display: flex;
	justify-content:space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

.partner-item {
	display: block;
	max-width: 150px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.partner-item img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.partner-item:hover {
	transform: scale(1.1);
	opacity: 0.9;
}

.doc-link{
	display: flex;
    align-items: center; /* Центрирование по вертикали */
    gap: 10px; /* Отступ между изображением и текстом */
    text-decoration: none; /* Убирает подчеркивание */
    color: black; /* Цвет текста */
	margin-bottom:10px;
}

.doc-link:hover{
	text-decoration:underline;
	color:#e53935;
}

.doc-img {
    width: 24px; /* Установите размер иконки */
    
}
.a-link {
    text-decoration: none;
    color:inherit;
}

.header-color{
	color: RGB(39,59,79);
}

.year{
	font-size: 24px;
	color: #e53935; /* Цвет заголовка */
	margin-bottom: 20px;
}

.grid-container {
	display: flex;
	flex-wrap: wrap;  
	justify-content:space-between;
}

.grid-item {
	width: 187px; 
	box-sizing: border-box;
	text-align: left;
}

.grid-item:hover {
    transform: translateY(-5px); /* Поднимаем карточку при наведении */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Увеличиваем тень */
}

.grid-item img {
	max-width: 100%;
	height: auto;  
}

.grid-item p {
	margin: 10px 0 0;
	font-size: 14px;
	color: #333;
}

.flex-container {
	display: flex;
	flex-direction: column; /* Расположение элементов друг под другом */
	gap: 20px; /* Отступы между блоками */
	padding: 20px;
	padding: 60px 16% 0;	
    background-color: #f5f5f5; /* Цвет фона */
}

.flex-item {
	display: flex;
	flex-direction: row; /* Картинка слева, описание справа */
	align-items: flex-start; /* Выравнивание по верхнему краю */
	gap: 20px; /* Расстояние между картинкой и текстом */
	/* border: 1px solid #ddd;
	border-radius: 8px;
	background: #f9f9f9;*/
	padding: 15px 0;
	width:600px;
}

.flex-item img {
	max-width: 150px; /* Ограничение по ширине */
	height: auto; /* Поддержание пропорций */
	border-radius: 8px;
	object-fit: cover; /* Учитывать разные размеры картинок */
}

.description {
	flex: 1; /* Заполняет оставшееся пространство */
}

.description h3 {
	margin: 0;
	font-size: 18px;
	color: #333;
}

.description p {
	margin: 10px 0;
	font-size: 16px;
	color: rgb(39,59,79);
	font-family:"Metrika";
}

.btn {
	display: inline-block;
	padding: 10px 15px;
	background-color: #e53935; /* Цвет кнопки */
	color: white;
	text-decoration: none;
	border-radius: 5px;
	font-size: 16px;
}

.btn:hover {
	background-color: #b02c24; /* Цвет кнопки при наведении */
}

.content-kol {
      /*display: flex;
      /*flex-wrap: wrap;
      align-items: flex-start;
      gap: 20px;*/
      margin: 20px;
}

.img-left {
      max-width: 200px;
      height: auto;
      border-radius: 10px;
	  float:left;
	  margin-right:15px;
}

   
.text {
	margin-bottom:10px;
	font-size:18px;
	line-height: 1.6;
	min-width: 250px;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    justify-content: flex-start; /* Центрирование изображений */
}
	
.gallery img {
    width: 200px;
    height: 310px;
    border-radius: 8px;
    cursor: pointer;
}
		
.img-right{
	max-width: 250px;
    height: auto;
    border-radius: 10px;
	float:right;
	margin-left:15px;
}	
	
.cust-height{
	height:353px;
}	
			
.block-title-3{color: RGB(39,59,79);
    margin: 0; /* Убрать отступы */
	font-family: "Metrika";	
	font-size: 26px;
    line-height: 1.1;
    font-weight: 400 !important;    
    text-transform: uppercase;
}

footer {
    /*position: fixed;*/
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: RGB(39,59,79);
    color: #fff;
    text-align: center;
    padding: 15px 0;
    z-index: 1000; 	
}

footer a {
	color:white;
	text-decoration: none;
}
.parallax-quote-section {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-image: url('../img/78db8fbd-1649-46dc-b5f4-b2001c771ad7.jfif');*/
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}
.parallax-quote-section {
    position: relative;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}



/* Добавляем затемнение фона */
.parallax-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Уровень затемнения (0.5 = 50%) */
    z-index: 0;
}

.quote-container {
    max-width: 800px;
    padding: 20px;
    /*background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;*/
	z-index: 1; /* Поднимаем текст над затемнённым фоном */
}

.quote-text {
    font-size: 2.5rem;
    font-style: italic;
    margin-bottom: 20px;
}

.quote-author {
    font-size: 1.5rem;
    font-weight: bold;
}
.poster-section {
  background: rgb(199, 208, 219);
  padding: 60px 20px;
  font-family: Arial, sans-serif;
}

.poster-container {
  max-width: 900px;
  margin: 0 auto;
}

.poster-title {
  font-size: 40px;
  font-weight: bold;
  color: rgb(39, 59, 79);
  margin-bottom: 30px;
  
}

.poster-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.poster-item {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  
}

.poster-item:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* Левая плашка даты */
.poster-date {
  background: rgb(39, 59, 79);
  color: #fff;
  font-weight: bold;
  font-size: 22px; 
  padding: 20px;
  flex-basis: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Средний блок с текстом */
.poster-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1; /* занимает всё доступное место между датой и кнопкой */
}

.poster-name {
  font-size: 18px;
  font-weight: bold;
  color: #222;
  font-family: "Metrika";
}

.poster-place {
  font-size: 15px;
  color: #555;
  margin-top: 4px;
}

.poster-time {
  font-size: 14px;
  color: #777;
  margin-top: 2px;
}

/* Правая кнопка */
.poster-button {
  display: inline-block;
  background: rgb(39, 59, 79);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease;
  white-space: nowrap;
  margin-right: 20px;
}

.poster-button:hover {
  background: rgb(199, 208, 219);
  color:rgb(39, 59, 79);
}
.search-result {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 10px;
  background: #f9f9f9;
  display:flex;
  gap:10px;
  width:30vw;
	margin-right:auto;
	margin-left:auto;
}

.wrap{
	display:flex;
	flex-direction:column;
}

.search-result a {
  text-decoration: none;
  color: rgb(39, 59, 79);
  font-weight: bold;
  font-family: "Metrika";
}

.search-result a:hover {
  text-decoration: underline;
}

.search-result .page-info {
  font-size: 0.85em;
  color: #555;
}

.search-result .description {
  font-size: 0.9em;
  color: #333;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* оставить только 2 строки */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-result .img-info {
  width:7%;
  float:right;
  height: auto; /* сохраняем пропорции */
  object-fit: contain; /* или contain — зависит от задачи */
}
#searchInput{
	width:30vw;
	padding:10px;
	margin:0 auto;}
	
.poster-info a{
	text-decoration:none;
	color:inherit;
}
.poster-info a:hover{
	cursor:pointer;
}
/* Адаптивность */
@media (max-width: 1300px){
	.search-result{
		width: 100%;
	}
	#searchInput{
		width: 100%;
	}
}
@media (max-width: 1200px) {
	.wide-section {
        background-size: cover; /* Масштабирует изображение для заполнения блока */
        background-position: center; /* Центрирует изображение */
		height: auto; /* Автоматическая высота */
		min-height: 700px; /* Минимальная высота для малых экранов */
	}
			
	.text-section h1 {
		font-size:30px;
		letter-spacing:1px;
	}
	.right-block {
    background: url('../img/cdghv56.png') no-repeat center center;
	aspect-ratio: 800 / 800; /* сохраняет пропорции картинки */
	background-size: contain; /* картинка полностью влезает */
    width: 100%; /* занимает всю доступную ширину */
}}
		
@media (max-width: 1024px) {
    .wide-section {
		height: auto; /* Автоматическая высота */
		min-height: 500px; /* Минимальная высота для малых экранов */
    }
	
	.text-section h1 {
		font-size:30px;
		letter-spacing:1px;
	}
	
	.text-section p {
		display:none;
	}	
	.cust-height{
		height:315px;
	}
	.quote-text {
        font-size: 2rem; /* Уменьшаем размер шрифта для планшетов */
    }
    .quote-author {
        font-size: 1.2rem;
    }
			
}
@media (max-width: 992px) {
    .news-card {
        flex: 0 0 calc(50% - 20px); /* 2 карточки в ряд на планшетах */
    }
	.search-result .img-info {
  width:20%;
}

	
}
@media (max-width: 768px) {
	.display-none-small-width{
		display:none;
	}
	#kol h1{
		font-size:20px;
	}
	.adaptive-block {   
		padding: 30px 8% 0;
		}
			
    header.scrolled {
        background: RGB(39,59,79);
        
		padding: 10px 20px;
	}
			
	section.akcii {     
		background: linear-gradient(to bottom, rgb(39,59,79) 20%, rgb(199,208,219) 20%);  
    }

	blockquote {
		font-size: 4vw;/*1.8rem*/
	}
	
	.img-fluid-50{
		width:50%;
	}
	
    nav {
        display: none;
    }
			
	nav a:hover {
		text-decoration: underline;
		color: white;
		transition: color 0.3s;
	}

	.menu-toggler {
		display: flex;
		padding-top:20px;	
		padding-left:5px;
		padding-right:5px;
	}
	
	.logo-scrolled{		
		width: 150px;
		top: -15px;		
	}
	
	.nav-scrolled {
    padding-top: 10px;
	}
	
	.logo {
	display: block;
	width: 100px;
	transition: opacity 0.3s;
	/*height: 270px;*/
	position: absolute; top: 30px; left: 21%; z-index: 1100;
	}

	.menu.active {
		display: flex;
		flex-direction:column;
		/*background: url('../img/bg-big.svg') top center repeat-y;
		background-size: cover;*/
		background-color:RGB(199,208,219);
		color:RGB(39,59,790);
		padding: 15px;
	}

	.menu-toggler div.active {
		background: RGB(255,255,255);;
	}
	
	.adaptive-block {
		flex-direction: column; /* Элементы становятся вертикальными */
	}

	.block-title {
		margin-bottom: 15px; /* Отступ между заголовком и кнопкой */
	}

	.block-button {
		width: 100%; /* Кнопка занимает всю ширину */
		max-width: 300px; /* Максимальная ширина кнопки */
	}
	
	.wide-section {
		height: auto; /* Автоматическая высота */
		min-height: 300px; /* Минимальная высота для малых экранов */
	}
			
	.text-section h1 {
		font-size:18px;
		letter-spacing:1px;
	}
	
	.wide-block{
		flex-direction:column;		
	}
			
	.cust-height{
		height:230px;		
	}
	
	.flex-grown-yes {
		min-width:411px;
	}
	
	.news-title {
		font-size: 1rem;
	}
	
	.tab{
		font-size: 0.8rem
	}
	.parallax-quote-section {
        height: 70vh; /* Уменьшаем высоту секции */
    }
    .quote-container {
        max-width: 90%; /* Уже контейнер для мобильных */
        padding: 15px;
    }
    .quote-text {
        font-size: 1.5rem; /* Ещё меньше для мобильных */
    }
    .quote-author {
        font-size: 1rem;
    }
	
}
@media (max-width: 700px) {
  .poster-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .poster-date {
    width: 100%;
    flex-basis: auto;
    font-size: 20px;
    justify-content: flex-start;
  }
  .poster-button {
    margin-top: 10px;
    margin-right: 0;
    align-self: flex-start;
  }
}
@media (max-width: 576px) {
    .news-card {
        flex: 0 0 calc(100% - 20px); /* 1 карточка на мобильных */
    }
	.quote-text {
        font-size: 1.2rem; /* Минимальный размер для маленьких экранов */
    }
    .parallax-background {
        background-attachment: scroll; /* Отключаем фиксированный фон для iOS */
    }
}
@media (max-width: 430px) {
	.flex-grown-yes {
		flex: 1 1 350px;
		}
		
	.flex-grown-yes {
		min-width:350px;
		}
		
	.flex-grown-yes {
		max-width:350px;
		}
		
	.cust-height{
			height:197px;			
		}
	
	/*.news-card{
		width:350px;
		}*/
	
	.news-title {
		font-size: 0.9rem;
		}
	.flex-item {
		flex-direction: column; /* При уменьшении экрана блоки становятся вертикальными */
		align-items: center;
		text-align: center;
		width:300px;
		}

	.flex-item img {
		max-width: 150px;
		margin-bottom: 15px;
		}
		
	.tabs-header{
		display:block;
		width:90%;		  
		}
		
	.block-title {
		font-size: 40px;
		}	   
}

@media (prefers-reduced-motion: reduce) {
    .parallax-background {
        background-attachment: scroll; /* Отключает параллакс для пользователей с настройкой "уменьшить движение" */
    }
}