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


.google-sans-<uniquifier> {
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "GRAD" 0;
}

.pt-sans-regular {
  font-family: "PT Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.pt-sans-bold {
  font-family: "PT Sans", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.pt-sans-regular-italic {
  font-family: "PT Sans", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.pt-sans-bold-italic {
  font-family: "PT Sans", sans-serif;
  font-weight: 700;
  font-style: italic;
}


.merriweather-<uniquifier> {
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}


html,
body {
	margin: 0;
	padding: 0;
}

body {
	font-family: "PT Sans", sans-serif;
	font-size: 16px;
	line-height: 1.4;
	color: #222;
	background: #f5f5f5;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

h1, h2, h3, h4 {
	font-family: "Merriweather", serif;
}

.site-wrap {
	width: 100%;
}

.site-container {
	max-width: 1260px;
	margin: 0 auto;
	padding: 0 15px;
}

.site-header,
.home-block,
.site-footer {
	width: 100%;
}

.site-header {
	background: #ffffff;
	border-bottom: 1px solid #ddd;
	padding: 0px 0;
}

.home-block {
	padding: 2px 0;
}

.site-footer {
	background: #ffffff;
	border-top: 1px solid #ddd;
	padding: 25px 0;
	margin-top: 20px;
}

/* Общий внешний вид блоков */
.news-main,
.news-side-a,
.news-side-b,
.full-row,
.component-box,
.content-bottom-box,
.content-sidebar,
.footer-brand,
.footer-menu,
.footer-extra {
	background: #fff;
	border: 1px solid #dcdcdc;
	padding: 15px;
}

.header-menu,
.header-search,
.header-lang {

}

.content-bottom-box {
	margin-top: 20px;
}

.pos-title {
	font-size: 14px;
	font-weight: bold;
	color: #666;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px dashed #ccc;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* HEADER */
.header-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: stretch;
	    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 60%, #f7f7f7 100%);
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.04);
	font-family: "Google Sans", sans-serif;
}

.header-menu {
	flex: 0 0 calc(75% - 40px);
}

.header-search {
	flex: 0 0 calc(15% - 10px);
}

.header-lang {
	flex: 0 0 calc(10% - 10px);
}

/* Демо-меню */


.header-menu li {
	margin: 0;
	padding: 0;
}

.header-search form,
.header-lang .lang-switch-demo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
}

.header-search input[type="text"] {
	width: 100%;
	height: 40px;
	padding: 0 10px;
	border: 1px solid #ccc;
}

.header-lang .lang-switch-demo a {
	display: inline-block;
	padding: 8px 10px;
	border: 1px solid #ccc;
	background: #fafafa;
	margin: 0 3px;
}

/* NEWS TOP */
.news-top-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	padding: 20px 0px;
}

.news-main {
	flex: 0 0 calc(50% - 10px);
}

.news-side-a {
	flex: 0 0 calc(25% - 10px);
}

.news-side-b {
	flex: 0 0 calc(24% - 10px);
}

.news-side-a .nspArt h4.nspHeader {
	font-size: 18px;
}

.news-side-b .nspArt h4.nspHeader {
	font-size: 15px;
}
.news-side-a .nspCol1, .news-side-b .nspCol1 {
	margin-bottom: 20px;
}

/* FULL WIDTH BLOCKS */
.full-row {
	width: 100%;
}

/* CONTENT LAYOUT */
.content-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: flex-start;
}

.content-main {
	flex: 0 0 calc(70% - 10px);
}

.content-sidebar {
	flex: 0 0 calc(30% - 10px);
}

/* FOOTER */
.footer-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.footer-brand {
	flex: 0 0 calc(40% - 14px);
}

.footer-menu {
	flex: 0 0 calc(30% - 13px);
}

.footer-extra {
	flex: 0 0 calc(30% - 13px);
}

.footer-copy {
	margin-top: 12px;
	font-size: 14px;
	color: #666;
}

/* MOBILE */
@media (max-width: 768px) {
	.header-menu,
	.news-main,
	.news-side-a,
	.news-side-b,
	.full-row,
	.content-main,
	.content-sidebar,
	.footer-brand,
	.footer-menu,
	.footer-extra {
		flex: 0 0 100%;
		width: 100%;
	}

	.header-search,
	.header-lang {
		flex: 0 0 calc(50% - 10px);
	}

	.header-menu ul {
		flex-direction: column;
		gap: 10px;
	}

	.site-header,
	.home-block,
	.site-footer {
		padding-top: 15px;
		padding-bottom: 15px;
	}
}

/* ========== MAIN MENU ========== */

.main-menu,
.main-menu ul,
.main-menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	position: relative;
	justify-content: flex-start;
}

.main-menu > .menu-item > a {
	background: transparent;
}

.main-menu > .menu-item {
	position: relative;
}

.main-menu > .menu-item > a,
.main-menu > .menu-item > span.separator,
.main-menu > .menu-item > span.nav-header {
	display: flex;
	align-items: center;
	padding: 30px 18px;
	font-size: 16px;
	line-height: 1.2;
	color: #222;
	text-decoration: none;
	white-space: nowrap;
	text-align: left;
	transition: 0.2s;
}

.main-menu > .menu-item > a:hover,
.main-menu > .menu-item > span.separator:hover,
.main-menu > .menu-item > span.nav-header:hover {
	background: #f3f3f3;
}

.main-menu > .menu-item.is-current > a,
.main-menu > .menu-item.is-active > a {
	background: #e9e9e9;
	font-weight: 700;
}

/* Десктоп-стрелка */
.main-menu .has-submenu > a::after,
.main-menu .has-submenu > span.separator::after,
.main-menu .has-submenu > span.nav-header::after {
	content: "";
	display: inline-block;
	margin-left: 8px;
	width: 6px;
	height: 6px;
	border-right: 1px solid #444;
	border-bottom: 1px solid #444;
	transform: rotate(45deg);
}

/* ========== SUBMENU LEVEL 2 ========== */

.main-menu .submenu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	min-width: 240px;
	background: #fff;
	border: 1px solid #ddd;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	display: none;
}

.main-menu .submenu .menu-item {
	position: relative;
}

.main-menu .submenu .menu-item > a,
.main-menu .submenu .menu-item > span.separator,
.main-menu .submenu .menu-item > span.nav-header {
	display: flex;
	align-items: center;
	padding: 12px 16px;
	font-size: 15px;
	line-height: 1.3;
	color: #222;
	text-decoration: none;
	background: #fff;
	border-bottom: 1px solid #f1f1f1;
	transition: 0.2s;
	text-align: left;
}

.main-menu .submenu .menu-item:last-child > a,
.main-menu .submenu .menu-item:last-child > span.separator,
.main-menu .submenu .menu-item:last-child > span.nav-header {
	border-bottom: 0;
	padding: 12px 44px 12px 24px;
}

.main-menu .submenu .menu-item > a:hover,
.main-menu .submenu .menu-item > span.separator:hover,
.main-menu .submenu .menu-item > span.nav-header:hover {
	background: #f7f7f7;
}

.main-menu .submenu .menu-item.is-current > a,
.main-menu .submenu .menu-item.is-active > a {
	background: #efefef;
	font-weight: 700;
}

/* ========== SUBMENU LEVEL 3 ========== */

.main-menu .submenu .submenu {
	top: 0;
	left: 100%;
}

.main-menu .menu-item:hover > .submenu {
	display: block;
}

.main-menu .submenu .has-submenu > a::after,
.main-menu .submenu .has-submenu > span.separator::after,
.main-menu .submenu .has-submenu > span.nav-header::after {
	transform: rotate(-45deg);
	margin-left: 10px;
	flex: 0 0 auto;
}

/* ========== BURGER BUTTON ======== */

.menu-toggle {
	display: none;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid #ccc;
	background: #fff;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
}

.menu-toggle-line {
	display: block;
	width: 22px;
	height: 2px;
	background: #222;
}

.header-menu-inner {
	width: 100%;
}

/* ========== MOBILE ========== */

@media (max-width: 768px) {

	/* HEADER */
	.header-menu {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 10px;
		justify-content: flex-start;
	}

	.header-menu .pos-title {
		width: 100%;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.header-menu-inner {
		display: none;
		width: 100%;
	}

	.header-menu.is-open .header-menu-inner {
		display: block;
	}

	/* ===== MENU ===== */

	.main-menu {
		display: block;
		width: 100%;
	}

	.main-menu ul {
		display: block;
		width: 100%;
	}

	.main-menu li {
		display: block;
		width: 100%;
		position: relative;
	}

	.main-menu a,
	.main-menu span.separator,
	.main-menu span.nav-header {
		display: block;
		width: 100%;
		padding: 14px 50px 14px 12px;
		border-bottom: 1px solid #eee;
		text-align: left;
	}

	/* Подменю */
	.main-menu .submenu {
		position: static;
		top: auto;
		left: auto;
		display: none;
		width: 100%;
		min-width: 100%;
		border: 0;
		box-shadow: none;
		background: #fafafa;
	}

	.main-menu .submenu .submenu {
		position: static;
		top: auto;
		left: auto;
		width: 100%;
		min-width: 100%;
		background: #f5f5f5;
	}

	.main-menu .submenu a {
		padding: 12px 50px 12px 24px;
	}

	.main-menu .submenu .submenu a {
		padding-left: 36px;
		background: #f5f5f5;
	}

	/* Открытие */
	.menu-item.is-submenu-open > .submenu {
		display: block;
	}

	/* ===== СТРЕЛКА ===== */

	.submenu-toggle {
		position: absolute;
		top: 0;
		right: 0;
		width: 48px;
		height: 100%;
		border: 0;
		border-left: 1px solid #e5e5e5;
		background: transparent;
		cursor: pointer;
		z-index: 5;
	}

	.submenu-toggle::before {
		content: "";
		display: block;
		width: 8px;
		height: 8px;
		margin: 0 auto;
		border-right: 2px solid #444;
		border-bottom: 2px solid #444;
		transform: rotate(45deg);
	}

	.menu-item.is-submenu-open > .submenu-toggle::before {
		transform: rotate(225deg);
	}

	/* Убираем десктоп стрелки */
	.main-menu .has-submenu > a::after {
		display: none;
	}
}


.item-page>div table {
	width: 100%;
	border-collapse: collapse;
	margin: 18px 0;
	font-size: 15px;
	line-height: 1.5;
}

.item-page>div table th,
.item-page>div table td {
	padding: 10px 14px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #ececec;
}

.item-page>div table th {
	font-weight: 600;
	color: #222;
}

.item-page>div table tr:last-child td {
	border-bottom: none;
}

.item-page>div ul {
	margin: 18px 0;
	padding: 0;
	list-style: none;
}

.item-page>div ul li {
	position: relative;
	padding: 8px 0 8px 28px;
	line-height: 1.5;
	transition: color 0.2s ease, transform 0.2s ease;
}

.item-page>div ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 14px;
	width: 10px;
	height: 10px;
	border: 2px solid #b8c2cc;
	border-radius: 50%;
	background: #fff;
	box-sizing: border-box;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.item-page>div ul li::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 26px;
	bottom: -8px;
	width: 1px;
	background: #d9dfe5;
}

.item-page>div ul li:last-child::after {
	display: none;
}

.item-page>div ul li:hover {
	color: #222;
	transform: translateX(3px);
}

.item-page>div ul li:hover::before {
	border-color: #8fa1b3;
	background: #8fa1b3;
	transform: scale(1.08);
}

.published {
	margin-inline-start: 2px;
	font-size: 13px;
	font-weight: 300;
	font-style: italic;
}

.breadcrumbs {
	margin: 0 0 20px;
}

.breadcrumbs .breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: transparent;
}

.breadcrumbs .breadcrumb > li {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.4;
	color: #666;
}

/* Убираем пустой первый пункт с icon-location */
.breadcrumbs .breadcrumb > li:first-child {
	display: none;
}

/* Ссылки */
.breadcrumbs .breadcrumb a,
.breadcrumbs .breadcrumb .pathway {
	color: #2b2b2b;
	text-decoration: none;
	transition: color 0.2s ease;
}

.breadcrumbs .breadcrumb a:hover,
.breadcrumbs .breadcrumb .pathway:hover {
	color: #000;
	text-decoration: underline;
}

/* Разделитель */
.breadcrumbs .breadcrumb .divider {
	display: inline-flex;
	align-items: center;
	margin: 0 2px 0 8px;
	color: #999;
	font-size: 13px;
}

/* Активный последний пункт */
.breadcrumbs .breadcrumb li.active,
.breadcrumbs .breadcrumb li.active span[itemprop="name"] {
	color: #777;
	font-weight: 400;
}

/* Чтобы длинный последний пункт переносился нормально */
.breadcrumbs .breadcrumb li.active {
	flex-wrap: wrap;
}

/* Мобильная версия */
@media (max-width: 768px) {
	.breadcrumbs {
		margin-bottom: 15px;
	}

	.breadcrumbs .breadcrumb > li {
		font-size: 13px;
		line-height: 1.5;
	}

	.breadcrumbs .breadcrumb .divider {
		margin-left: 6px;
		margin-right: 2px;
	}
}

div.mod_search92 input[type="search"] {
	width: 100% !important;
}

/* ===== SEARCH BLOCK ===== */

.header-search form {
	display: flex;
	align-items: center;
	width: 100%;
	position: relative;
}

/* Инпут */
.header-search input[type="search"] {
	width: 100%;
	height: 36px;
	padding: 0 44px 0 14px;
	border: 1px solid #dcdcdc;
	border-radius: 6px;
	font-size: 14px;
	color: #222;
	background: #fff;
	outline: none;
	transition: all 0.2s ease;
	position: relative;
	top: 19px;
}

/* Фокус */
.header-search input[type="search"]:focus {
	border-color: #999;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

/* Плейсхолдер */
.header-search input::placeholder {
	color: #999;
}


/* Ховер */
.header-search input[type="search"]:hover {
	border-color: #bbb;
}

@media (max-width: 768px) {
	.header-search form {
		width: 100%;
	}

	.header-search input[type="search"] {
		height: 44px;
		font-size: 15px;
	}
}

/* ===== LANGUAGE SWITCHER ===== */

.header-lang .lang-block {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Пункты */
.header-lang .lang-block li {
	margin: 0;
	padding: 0;
}

/* Ссылки */
.header-lang .lang-block a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 36px;
	padding: 0 10px;
	font-size: 13px;
	font-weight: 600;
	color: #444;
	text-decoration: none;
	border: 1px solid #dcdcdc;
	border-radius: 6px;
	background: #fff;
	transition: all 0.2s ease;
}

/* Hover */
.header-lang .lang-block a:hover {
	background: #f5f5f5;
	border-color: #bbb;
	color: #000;
}

/* Активный язык */
.header-lang .lang-block li.lang-active a {
	background: #222;
	color: #fff;
	border-color: #222;
	cursor: default;
}

/* Убираем hover у активного */
.header-lang .lang-block li.lang-active a:hover {
	background: #222;
	color: #fff;
}

/* Немного spacing */
.header-lang {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

@media (max-width: 768px) {
	.header-lang {
		justify-content: center;
	}

	.header-lang .lang-block {
		justify-content: center;
		width: 100%;
	}

	.header-lang .lang-block a {
		width: 100%;
		height: 40px;
	}
}

.nspArt h4.nspHeader {
	padding: 10px 0px;
}

.nspInfo, .nspInfo1 {
	margin-block-start: 0.3em;
    margin-block-end: 0.3em;
}

.full-row .nspArtPage {
	display: flex;
}

.full-row .nspArtPage .nspCol4 {
	padding: 10px 15px !important;
}

.full-row .nspArt h4.nspHeader {
	font-size: 16px;
}

/* ===== CATEGORY LIST (JOOMLA) ===== */

.category.table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #e5e5e5;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
}

/* Убираем стандартный жирный Bootstrap */
.category.table-striped > tbody > tr:nth-child(odd),
.category.table-striped > tbody > tr:nth-child(even) {
	background: transparent;
}

/* Строки */
.category tbody tr {
	border-bottom: none;
}

/* Hover */
.category tbody tr:hover {
	background: #fafafa;
}

/* Ячейка */
.category td.list-title {
	padding: 12px 16px;
	margin-bottom: 6px;
	background: #fff;
	border: 1px solid #eeeeee7a;
	border-radius: 6px;
}

/* Ссылки */
.category td.list-title a {
	display: block;
	font-size: 15px;
	line-height: 1.4;
	color: #222;
	text-decoration: none;
	transition: all 0.2s ease;
}

/* Hover ссылка */
.category td.list-title a:hover {
	color: #000;
	text-decoration: underline;
}

/* Последняя строка без бордера */
.category tbody tr:last-child {
	border-bottom: none;
}

/* Убираем header (он тебе не нужен визуально) */
.category thead {
	display: none;
}

/* ===== ARTICLE NAV (ARROWS STYLE) ===== */

.pager.pagenav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 30px 0;
	padding: 0;
	list-style: none;
}

/* Ссылки */
.pager.pagenav a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #444;
	text-decoration: none;
	position: relative;
	transition: color 0.2s ease;
}

/* Левый блок */
.pager.pagenav .previous a {
	justify-content: flex-start;
}

/* Правый блок */
.pager.pagenav .next a {
	justify-content: flex-end;
}

/* ===== СТРЕЛКИ ===== */

/* Влево */
.pager.pagenav .icon-chevron-left::before {
	content: "←";
	font-size: 14px;
}

/* Вправо */
.pager.pagenav .icon-chevron-right::before {
	content: "→";
	font-size: 14px;
}

/* Цвет стрелок */
.pager.pagenav .icon-chevron-left,
.pager.pagenav .icon-chevron-right {
	color: #888;
	transition: all 0.2s ease;
}

/* Hover эффект */
.pager.pagenav a:hover {
	color: #000;
}

/* Анимация */
.pager.pagenav .previous a:hover .icon-chevron-left {
	transform: translateX(-4px);
	color: #000;
}

.pager.pagenav .next a:hover .icon-chevron-right {
	transform: translateX(4px);
	color: #000;
}

/* Немного “воздуха” */
.pager.pagenav li {
	flex: 1;
}

/* ===== МЕЛКАЯ ТИПОГРАФИКА ===== */

.pager.pagenav a span:last-child {
	font-weight: 500;
}

li.next {text-align: right;}

@media (max-width: 768px) {
	.pager.pagenav {
		flex-direction: column;
		gap: 12px;
		align-items: flex-start;
	}

	.pager.pagenav .next {
		align-self: flex-end;
	}
}

.transport-block {
    background: #f6f6f8;
    padding: 20px 25px;
    border-radius: 12px;
}

.transport-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.transport-list a {
    display: inline-block;
    padding: 6px 12px;
    background: #eaeaf0;
    border-radius: 6px;
    text-decoration: none;
    color: #635b62;
    font-weight: 600;
    font-size: 15px;
    transition: 0.2s;
}

.transport-list a:hover {
	background: #d6d6db;
}

/* Пагинация */
.pagination-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin: 25px 0;
    padding: 0;

    list-style: none;
}

/* Убираем маркеры у всех li */
.pagination-list li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Общий стиль кнопок */
.pagination-list li a {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;
    padding: 0 12px;

    border-radius: 8px;
    background: #f4f4f4;
    color: #333;

    font-size: 15px;
    line-height: 1;
    text-decoration: none;

    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

/* Наведение */
.pagination-list li:not(.disabled):not(.active) a:hover {
    background: #e2e2e2;
    color: #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Активная страница */
.pagination-list li.active a {
    background: #333;
    color: #fff;
    cursor: default;
}

/* Неактивные кнопки */
.pagination-list li.disabled a {
    background: #eeeeee;
    color: #aaa;
    cursor: default;
    pointer-events: none;
}

/* Иконки Joomla */
.pagination-list .icon-first::before {
    content: "«";
}

.pagination-list .icon-previous::before {
    content: "‹";
}

.pagination-list .icon-next::before {
    content: "›";
}

.pagination-list .icon-last::before {
    content: "»";
}

.pagination-list [class^="icon-"]::before,
.pagination-list [class*=" icon-"]::before {
    font-size: 18px;
    line-height: 1;
}

/* На мобильных — компактнее */
@media (max-width: 480px) {
    .pagination-list {
        gap: 4px;
    }

    .pagination-list li a {
        min-width: 34px;
        height: 34px;
        padding: 0 9px;
        font-size: 14px;
    }
}

blockquote {
    margin: 24px 0;
    padding: 18px 22px;

    background: #f7f7f7;
    border-left: 4px solid #cfcfcf;
    border-radius: 0 8px 8px 0;

    color: #444;
    font-size: 16px;
    line-height: 1.65;
    font-style: italic;
}

blockquote p {
    margin: 0 0 10px;
}

blockquote p:last-child {
    margin-bottom: 0;
}