/* Основные стили для шаблона научной организации */
:root {
    --primary-color: #1a5276;
    --secondary-color: #2e86c1;
    --accent-color: #3498db;
    --text-color: #333;
    --background-color: #fff;
    --header-text-color: #fff;
    --footer-text-color: #fff;
    --header-background-color: #1a5276;
    --footer-background-color: #1a5276;
    --navigation-background-color: #2e86c1;
    --light-gray: #f5f5f5;
    --dark-gray: #777;
}

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

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    transition-property: none
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
	margin: 0;
    font-optical-sizing: auto;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
	/* padding-top: 60px; */
    
}
.category-15 h1,h2{
	color:#264a8a;

}
.category-15 h1{
	color:#264a8a;
line-height: 1.3;
margin-bottom: 1.3rem;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
    position: relative;
}

.category-15 h1:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #e74c3c;
}

.pdf-viewer-container p {
	display:none;
}

/* Таблица на всю ширину контейнера */
.com-content-category.category-list {
    width: 100%;
    max-width: 100%;
}

.com-content-category__articles {
    width: 100%;
}

.com-content-category__table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    table-layout: fixed; /* Для равномерного распределения ширины */
}

/* Ячейки таблицы */
.com-content-category__table th.list-title {
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Контейнер для выравнивания */
.content-category {
    width: 100%;
}

/* Чередование строк */
.cat-list-row0 {
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.cat-list-row1 {
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.cat-list-row0:hover,
.cat-list-row1:hover {
    background-color: #e3f2fd;
    transform: translateX(5px);
}

/* Стили для заголовков материалов */
.list-title {
    padding: 18px 20px !important;
    
}

.list-title a {
    color: #264a8a !important;
    text-decoration: none !important;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 5px 0;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 25px;
}

.list-title a:before {
    content: "▶";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #3498db;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.list-title a:hover {
    color: #e74c3c !important;
    padding-left: 30px;
}

.list-title a:hover:before {
    color: #e74c3c;
    left: 5px;
}

/* Стили для страницы категории "Информация" */
.com-content-category.category-list {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.content-category h1 {
    color: #264a8a;
    font-weight: 700;
    margin-bottom: 1.3rem;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
    position: relative;
}

.content-category h1:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #e74c3c;
}

.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 {
    margin-bottom: .5rem;
    line-height: 1.2;
	font-family: 'Roboto', sans-serif;
    font-weight: 700;

}


.h2::after{
	position: absolute;
  left: 0;
  bottom: 0;
  height: 0.125em;
  width: 6em;
  content: '';
  text-align: left;
  font-weight: bold!important;  
background: #2E69C3;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0,0,0,.1)
}

/* Основной контейнер для ограничения ширины */
.container {
    width: 100%;
	max-width:1230px;
    padding: 0 15px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Контейнеры внутри основных секций */
.site-header > .container,
.main-navigation > .container,
.site-footer > .container {
    width: 100%;
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 15px;
	box-sizing: border-box;
}

/* Шапка */
.site-header {
    background-color: var(--header-background-color);
    color: var(--header-text-color);
    padding: 20px 0;
    position: relative;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
}

.header-content {
    display: flex;
	flex-wrap:wrap;
    align-items: center;
    position: relative;
    z-index: 0;
	gap:20px;
	width:100%;
	justify-content:space-between;
}



/* Третий блок занимает всю ширину */
.kontakti {
 text-align:right;
             font-size: 14px;
            opacity: 0.9;
}



.logo img {
    max-height: 100px;
    /* margin-right: 20px; */
}

.logo-mini {
	display:none;
}

.organization-name {
    display: flex;
    flex-direction: column;
	margin-right:auto;
	width:300px;
}

.organization-name h1 {
    font-size: 36px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin: 0;
            background: linear-gradient(45deg, #264A8A, #a8d8ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
			
}

.subtitle {
            font-size: 14px;
            opacity: 0.9;
            margin-top: 2px;
            border-left: 3px solid #264a8a;
            padding-left: 10px;
        }

        .small-label {
            font-size: 14px;
            opacity: 0.8;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 2px;
        }



.tagline {
    font-style: italic;
    opacity: 0.9;
    color: var(--header-text-color);
}

/* Навигация с горизонтальным меню */
.main-navigation {
    background-color: var(--navigation-background-color);
    position: sticky;
    top: 0;
    z-index: 1;
    transition: all 0.3s ease;
	height: 60px; /* Добавьте фиксированную высоту */
    display: flex;
    align-items: center; /* Выравнивание по центру */
	justify-content: space-between;
}

/* Дополнительные стили для улучшенного sticky-эффекта */
.main-navigation.sticky {
    box-shadow: 0 3px 5px -1px rgba(0, 0, 0, .2), 0 6px 10px 0 rgba(0, 0, 0, .14), 0 6px 18px 0 rgba(0, 0, 0, .12);
}

.main-navigation:not(.sticky) + * {
        margin-top: 0;
    }
}

.main-navigation .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 100%;
	position: relative;
    z-index: 1;
	overflow: hidden; /* Скрываем стандартный скролл */
}

/* Стили для модуля меню */
.main-navigation ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 0;
    text-transform: uppercase;
    height: 100%;
    justify-content: flex-start;
    overflow-x: auto; /* Включаем горизонтальный скролл */
    overflow-y: hidden;
    scrollbar-width: none; /* Тонкий скролл для Firefox */
	-ms-overflow-style: none; /* Полностью скрываем скролл в IE/Edge */
    -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
    scroll-behavior: smooth; /* Плавная прокрутка */
}

.main-navigation ul::-webkit-scrollbar {
    height: 3px;
}

.main-navigation ul::-webkit-scrollbar-track {
    background: transparent;
}

.main-navigation ul::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}

.main-navigation ul::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.3);
}
/* Стили для пунктов меню с учетом скролла */
.main-navigation ul li {
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Запрещаем сжатие пунктов */
}

.main-navigation ul li a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 400;
    height: 100%;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    white-space: nowrap; /* Запрещаем перенос текста */
}

/* Анимированная полоска */
.main-navigation ul li a::before {
 content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

/* Индикатор подменю */
.main-navigation ul li.parent > a::after {
content: "▼";
    margin-left: 0.5rem;
    font-size: 0.5rem;
    vertical-align: middle;
    position: static; /* или relative */

}

/* Ховер-эффект - полоска расширяется от центра к краям */
.main-navigation ul li a:hover::before,
.main-navigation ul li a:focus::before {
    width: 80%; /* Можно настроить ширину (80%, 90%, 100%) */
}

/* Для активного пункта меню */
.main-navigation ul li.current > a::before {
    width: 80%;
    background: #fff; /* Можно изменить цвет для активного пункта */
}

/* Выпадающие меню */
 .main-navigation ul ul {
    position: absolute;
    left: 0;
    top: 100%;
	width: 100%;
	background: white;
	text-decoration: none;
    list-style: none;
    margin: 0;
    padding: 0;
	display:grid;
	grid-template-columns:repeat(4, 1fr);
	gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    z-index: 999;	
	align-items: center;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 400;
    height: 100%;
	transition: all 0.3s ease;
	letter-spacing: 0.5px; 
			text-shadow: 0 1px 2px rgba(0,0,0,0.3);
	
	
} 

.main-navigation ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);

}

.main-navigation ul ul li {
    position: relative;

}

 .main-navigation ul ul a {
    display: block;
    padding: 12px 20px;
    color: #264A8A;
    text-decoration: none;
	align-items: center;
    font-size: 16px;
    font-weight: 300;
    text-transform: none; /* Убираем uppercase */
    transition: all 0.2s ease;
    white-space: nowrap; /* Запрещаем перенос текста */
} 

/* Ховер эффект для подменю */
.main-navigation ul ul a:hover {
    background-color: #f8f9fa;
    padding-left: 25px; /* Легкий сдвиг при ховере */
}

/* Убираем полоску для подменю */
.main-navigation ul ul a::before {
    display: none;
}

.main-navigation ul ul ul {
    left: 100%;
    top: 0;
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
}



/* Баннер */
.banner {
    width: 100%;
    background: var(--primary-color);
    color: var(--header-text-color);
    padding: 0px 0;
}

/* Верхние блоки */
.top-a, .top-b {
    width: 100%;
    padding: 0px 0;
  /*   background: var(--light-gray); */
	background:white;
}

.top-a .container, .top-b .container {
    width: 100%;
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Принудительное горизонтальное отображение хлебных крошек */
.breadcrumbs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
}

.breadcrumb {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    padding: 15px !important;
    margin: 0 !important;
    list-style: none !important;
	color:#264A8A;
}

.breadcrumb-item {
    display: flex !important;
    align-items: center !important;
    float: none !important;
    display: inline-block !important;

}

.pathway {
			font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    color: #333;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "→" !important;
    padding: 0 10px !important;
    color: #6c757d !important;
	

}

/* Основной контейнер с сеткой */
.main-container {
    display: grid;
   gap: 10px; 
    margin: 0 auto;
    align-items: start;
    padding: 0 15px;
	/* justify-content: center; */
 
}

/* Левая колонка */
.sidebar-left {
    grid-column: 1;
	/* margin-right: 10px;	 */
}

.sidebar-left ul li a {
    color:#264A8A;
	text-decoration:none;
	font-size:16px;
	font-weight:400;
	line-height: 1.3;
	
}

/* Основной контент */
.main-content {
    grid-column: 2;
    background-color: var(--background-color);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
	width:100%;
	max-width:1230px;
	margin:0 auto;
	margin-bottom: 15px;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    z-index: 0;
}

.main-content > * {
    position: relative;
    z-index: 0;
}

/* Правая колонка */
.sidebar-right {
    grid-column: 3;

}

/* Стили для модулей в боковых колонках */
.sidebar-left > *,
.sidebar-right > * {
    background-color: var(--background-color);
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
	list-style:none;
}

.sidebar-left > *:last-child,
.sidebar-right > *:last-child {
    margin-bottom: 0;
}

/* Блоки для модулей во всю ширину */
.fullwidth-module {
    width: 100%;
    padding: 0px 0;
    position: relative;
}

.fullwidth-module-1 {
    background: var(--light-gray);
    color: var(--header-text-color);
}

.fullwidth-module-2 {
/*     background: var(--light-gray);
    color: var(--text-color); */
}
.mod-custom custom{
	display:flex;
	justify-content:center;
	width:100%;
	max-width:1230px;
}
.fullwidth-module-3 {
     background: var(--dark-gray, #777);
    color: var(--header-text-color);
}

.fullwidth-module-4 {
    background: #ffffff;
    color: var(--header-text-color);
	display: grid;
	grid-template-rows: 1fr 1fr;
	grid-template-columns: 15px 1fr 15px;
	
    gap: 20px;
    margin: 30px auto;
    align-items: center;
	justify-content:center;
    	
}
.title-tile-slider{
	grid-column: 2;
	grid-row:1;
	justify-self:center;
	
	width: 100%;
	max-width:1200px;
}

/* Контейнер для ограничения содержимого внутри fullwidth модулей */
.fullwidth-module .module-container {
    width: 100%;
    position:relative;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Main top/bottom */
.main-top {
    color: var(--header-text-color);
	display: grid;
	grid-template-columns: 250px 1fr 250px;
    gap: 30px;
    /* margin: 30px auto; */
    align-items: start;
    background: #ffffff;
}
.main-bottom {
    color: var(--header-text-color);
/* 	display: grid; */
	/* grid-template-columns: 250px 1fr 250px;
    gap: 30px; */
	 width: 100%;
	/* max-width:1230px; */
    padding: 15px 0;
    margin: 0 auto;
    align-items: start;
    background: #F0F0F0;
	

}

.main-top .container, .main-bottom .container {
    grid-column:2;
	width: 100%;
    max-width: 1210px;
    margin: 0 auto;  
	position:relative;
}

/* Bottom blocks */
.bottom-a, .bottom-b {
    width: 100%;
    padding: 0px 0;
    background: var(--light-gray);
}

.bottom-a .container, .bottom-b .container {
    width: 100%;
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 15px;
}


/* Подвал */
.site-footer {
    background-color: var(--footer-background-color);
    color: var(--footer-text-color);
    padding: 40px 0 20px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
    position: relative;

	gap:10px;
}



.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section ul {
    text-decoration: none;
	list-style:none;
}

.footer-section a{
text-decoration: none;
	list-style:none;
	color:white;
	
}
.footer-section a:hover{
text-decoration: underline;
    color: white;
}

.footer-section h3 {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 5px;
    color: var(--footer-text-color);
}

.social-links a {
    display: inline-block;
    margin-right: 10px;
    color: var(--footer-text-color);
    text-decoration: none;
}

.social-links a:hover {
    text-decoration: underline;
    color: white;;
}
.social-links img {

object-fit: contain;
width:100px;
height:100px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    color: var(--footer-text-color);
}

/* Кнопка скролла вверх */
.scroll-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.position-bottom-right {
    bottom: 30px;
    right: 30px;
}

.scroll-to-top.position-bottom-left {
    bottom: 30px;
    left: 30px;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:active {
    transform: translateY(0);
}

.scroll-to-top:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Мобильное меню-оверлей */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: #264A8A;
    z-index: 10000;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
	scrollbar-width: none; /* Тонкий скролл для Firefox */
	-ms-overflow-style: none; /* Полностью скрываем скролл в IE/Edge */
    -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
    scroll-behavior: smooth; /* Плавная прокрутка */
}

.mobile-menu-overlay.active {
    left: 0;
}

.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 10px;
}

.mobile-menu-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

.mobile-menu-overlay .close-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.mobile-menu-overlay .close-menu:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-menu-overlay nav {
    padding: 10px 0;
    height: auto;
}

.mobile-menu-overlay ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block !important;
}

.mobile-menu-overlay ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-overlay ul li:last-child {
    border-bottom: none;
}

.mobile-menu-overlay ul li a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    border: none;
    width: 100%;
    text-align: left;
    transition: background 0.3s ease;
}

.mobile-menu-overlay ul li a:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-menu-overlay ul li a::before {
    display: none;
}

.mobile-menu-overlay ul ul {
    position: static;
    background: rgba(0,0,0,0.2);
    display: none;
    width: 100%;
    padding: 0;
}

.mobile-menu-overlay ul ul.show {
    display: block;
}

.mobile-menu-overlay ul ul li {
    border-bottom: none;
}

.mobile-menu-overlay ul ul a {
    padding-left: 30px;
    font-size: 14px;
}

.mobile-menu-overlay ul ul ul a {
    padding-left: 45px;
}

.menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.menu-backdrop.active {
    display: block;
}
@media (max-width:1230px){
	.vk-messages-module {
	margin:0 10px;
}
}

/* Адаптивность */
@media (max-width: 992px) {
	
	    .header-content {
        justify-content:center;
        text-align: center;
    }

.organization-name{
	margin-right: 0;
}


	
    .main-container {
/*         grid-template-columns: 200px 1fr 200px;*/
        gap: 0px; 
		max-width:960px;
    }
    .main-top, .main-bottom {

	max-width:960px;
	}
	
    
    .scroll-to-top {
        width: 44px;
        height: 44px;
    }
    

    

    
 
}

@media (max-width: 882px) {
	
	.kontakti{
	display:none;
	
}
	 .main-navigation ul {
        flex-direction: column;
        width: 100%;
        display: none;
        gap: 0;
    } 

   .main-navigation ul.show {
        display: flex;
    }
    
    .main-navigation ul li a {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		color:white;
    }
    
    .main-navigation ul ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.1);
        display: none;
        width: 100%;
    }
    
    .main-navigation ul ul.show {
        display: block;
    }
    
    .main-navigation ul ul a {
        padding-left: 30px;
    }
    
    .main-navigation ul ul ul a {
        padding-left: 45px;
    }
    
   
    .main-navigation ul li.parent > a::after {
        content: "›";
        float: right;
        font-size: 16px;
    }
	

.main-navigation .container > nav {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        background: none;
        border: 2px solid rgba(255,255,255,0.3);
        color: white;
        font-size: 20px;
        cursor: pointer;
        padding: 8px 12px;
        border-radius: 4px;
        align-items: center;
        justify-content: center;
        z-index: 10002;
        margin-right: 10px;
        height: 40px;
        width: 40px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover,
    .mobile-menu-toggle.active {
        background: rgba(255,255,255,0.1);
        border-color: rgba(255,255,255,0.5);
    }
    
    .main-navigation .container {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 0 15px;
        height: 60px;
    }

}

@media (max-width: 768px) {

	
	.organization-name {
    flex-direction: column;
                gap: 10px;
				margin:auto;
				align-items:center;
				justify-content:center;
}

.organization-name h1 {
    font-size: 28px;
			
}

.logo {
   display:none; 	
}

    .main-container {
        grid-template-columns: 1fr;
        /* gap: 20px; */
		max-width:720px
    }
        .main-top, .main-bottom {
	grid-template-columns: 1fr;
    gap: 0px;
	max-width:720px;
	}
    .sidebar-left {
        grid-column: 1;
        order: 2;
    }
    
    .main-content {
        grid-column: 1;
        order: 1;
    }
    
    .sidebar-right {
        grid-column: 1;
        order: 3;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    
    .scroll-to-top {
        width: 40px;
        height: 40px;
    }
    
    .fullwidth-module {
        
    }
    
    .sidebar-left > *,
    .sidebar-right > * {
        margin-bottom: 15px;
    }
    
    .main-navigation {
        padding: 0;
    }
    
    .main-navigation ul li a {
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
	
	.breadcrumbs{
		display:none !important;
	}
	
    .main-container {
        gap: 0px;
        margin: 20px auto;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .site-header, .site-footer {
        padding: 15px 0;
    }
    
    .fullwidth-module {
       /*  padding: 20px 0; */
    }
    
    .sidebar-left > *,
    .sidebar-right > * {
        padding: 12px;
        margin-bottom: 12px;
    }

    .kontakti {
        display:none;
		}
		
.mobile-menu-overlay {
        width: 280px;
    }
}

@media (max-width: 360px) {

	
	    .mobile-menu-overlay {
        width: 100%;
    }
}

/* Для темной темы */
@media (prefers-color-scheme: dark) {
    .scroll-to-top {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .scroll-to-top:hover {
        background: #4a5568;
    }
}

/* Стили для категории новостей */
.news-filters {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.category-tag, .year-tag {
    display: inline-block;
    padding: 4px 12px;
    margin: 2px 4px 2px 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.year-tag.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Стили для изображений новостей */
.news-image-wrapper {
    margin-bottom: 15px;
}

.news-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.news-date {
    font-size: 24px;
    color: #6c757d;
    margin-bottom: 10px;
}

.news-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.news-title a {
    color: #333;
    text-decoration: none;
}

.news-title a:hover {
    color: #007bff;
}

.news-introtext {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.news-meta {
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.date-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-inputs .form-control {
    display: inline-block;
    width: auto;
}

/* Стили для категории новостей */
.news-filters {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.category-tag, .year-tag {
    display: inline-block;
    padding: 4px 12px;
    margin: 2px 4px 2px 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.year-tag.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Стили для категории новостей */
.allnews-filters {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.allnews-category-tag, .allnews-year-tag {
    display: inline-block;
    padding: 4px 12px;
    margin: 2px 4px 2px 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.allnews-year-tag.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.allnews-category-tag:hover, .allnews-year-tag:hover {
    background: #e9ecef;
}

.allnews-year-tag.active:hover {
    background: #0056b3;
}

/* Основные стили для категории новостей */
.allnews-category {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Название категории */
.allnews-category-name {
    color: #6c757d;
    font-size: 14px;
    font-style: italic;
    margin-top: 8px;
}

/* Стили для поиска с иконкой лупы и кнопкой Q */
.allnews-search-wrapper {
    position: relative;
    display: flex;
    width: 100%;
}

.allnews-search-input {
    width: 100%;
    padding: 8px 45px 8px 35px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.3s ease;
    border-right: none;
    border-radius: 4px 0 0 4px;
}

.allnews-search-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: none;
}

.allnews-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 2;
    pointer-events: none;
}

.allnews-search-icon svg {
    width: 16px;
    height: 16px;
}

.allnews-search-btn {
    padding: 8px 15px;
    background: #007bff;
    color: white;
    border: 1px solid #007bff;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.allnews-search-btn:hover {
    background: #0056b3;
    border-color: #0056b3;
}

/* При фокусе на поле ввода */
.allnews-search-input:focus {
    border-color: #007bff;
}

.allnews-search-input:focus + .allnews-search-btn {
    border-color: #007bff;
}

/* Сообщение о отсутствии результатов */
.allnews-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-size: 16px;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    margin: 20px 0;
}

.allnews-no-results p {
    margin: 0;
}

/* Список новостей */
.allnews-list {
    background: #fff;
}

.allnews-item {
    display: flex;
    align-items: flex-start;
    padding: 30px 0;
    border-bottom: 1px solid #e9ecef;
    gap: 30px;
}

.allnews-item:last-child {
    border-bottom: none;
}

/* Первая колонка - изображение */
.allnews-col-image {
    flex: 0 0 255px;
}

.allnews-image-wrapper {
    width: 255px;
    height: 170px;
    border-radius: 8px;
    overflow: hidden;
}

.allnews-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.allnews-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Заглушка для изображения с градиентом */
.allnews-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

/* Добавляем легкий узор для текстуры */
.allnews-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect width="20" height="20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    opacity: 0.3;
}

/* Иконка камеры в центре */
.allnews-image-placeholder::after {
    content: '📷';
    font-size: 24px;
    position: relative;
    z-index: 2;
}

/* Вторая колонка - дата и контент */
.allnews-col-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

/* Блок с датой */
.allnews-date-block {
    flex: 0 0 80px;
    text-align: center;
}

.allnews-date-day {
    font-size: 42px;
    font-weight: bold;
    color: #264a8a;
    line-height: 1;
    margin-bottom: 5px;
}

.allnews-date-month {
    font-size: 16px;
    color: #6c757d;
    text-transform: lowercase;
    line-height: 1.2;
}

/* Контент новости */
.allnews-content {
    flex: 1;
}

.allnews-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.allnews-title a {
    color: #264a8a;
    text-decoration: none;
}

.allnews-title a:hover {
    color: #007bff;
}

.allnews-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 16px;
}

.allnews-details {
    color: #6c757d;
    font-size: 14px;
}

/* Пагинация */
.allnews-pagination {
    margin-top: 40px;
    text-align: center;
}

/* Стили для пагинации */
.allnews-pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.allnews-page-item {
    display: inline-block;
}

.allnews-page-item .allnews-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    color: #264a8a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.allnews-page-item .allnews-page-link:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #0056b3;
}

.allnews-page-current .allnews-page-link {
    background: #264a8a;
    border-color: #264a8a;
    color: #fff;
    cursor: default;
}

.allnews-page-current .allnews-page-link:hover {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

.allnews-page-prev,
.allnews-page-next {
    font-weight: 600;
}
/* Адаптивность пагинации */
@media (max-width: 768px) {
	    .logo-mini {
        display: flex;
        padding-right: 15px;
        height: 60px;
        align-items: center;
    }

    .logo-mini-img {
        height: 40px; /* Фиксированная высота */
        max-height: 40px;
        width: auto;
        object-fit: contain;
    }

    .mobile-menu-toggle {
        display: flex !important;
        background: none;
        border: 2px solid rgba(255,255,255,0.3);
        color: white;
        font-size: 20px;
        cursor: pointer;
        padding: 8px 12px;
        border-radius: 4px;
        align-items: center;
        justify-content: center;
        z-index: 10002;
        margin-right: 10px;
        height: 40px;
        width: 40px;
    }

    .main-navigation .container {
        display: flex;
        justify-content: flex-start; /* Изменено с space-between */
        align-items: center;
        padding: 0 15px;
        height: 60px;
    }

    .main-navigation {
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
	
	
    .allnews-pagination-inner {
        gap: 5px;
    }
    
    .allnews-page-link {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
    
    .allnews-page-prev,
    .allnews-page-next {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .allnews-pagination-inner {
        gap: 3px;
    }
    
    .allnews-page-link {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 12px;
    }
    
    .allnews-page-prev span,
    .allnews-page-next span {
        display: none;
    }
    
    .allnews-page-prev::before {
        content: "←";
    }
    
    .allnews-page-next::after {
        content: "→";
    }
}

/* Адаптивность */
@media (max-width: 992px) {
    .allnews-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .allnews-col-image {
        flex: none;
        width: 100%;
    }
    
    .allnews-image-wrapper {
        width: 100%;
        max-width: 255px;
    }
    
    .allnews-col-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .allnews-category {
        padding: 15px;
    }
    
    .allnews-filters {
        padding: 20px;
    }
    
    .allnews-filters-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .allnews-filter-group {
        flex: none;
        margin-right: 0;
        width: 100%;
    }
    
    .allnews-categories-list,
    .allnews-years-list {
        width: 100%;
    }
    
    .allnews-col-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .allnews-date-block {
        flex: none;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .allnews-date-day {
        font-size: 32px;
        margin-bottom: 0;
    }
    
    .allnews-date-month {
        font-size: 14px;
    }
    
    .allnews-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .allnews-category-tag,
    .allnews-year-tag {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .allnews-date-input {
        width: 60px;
    }
    
    .allnews-image-wrapper {
        height: 140px;
    }
}