:root{
	--container: 1200px;
	--bg: #ffffff;
	--text: #1f2937;
	--muted: #6b7280;
	--line: #e5e7eb;
	--brand: #2f4773;
	--brand-2: #486daa;
	--surface: #f8fafc;
	--shadow: 0 10px 25px rgba(0,0,0,.08);
	--radius: 12px;
	--radius-sm: 10px;
	--gap: 16px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
	margin:0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.45;
}
img{max-width:100%; height:auto}
a{color: var(--brand-2); text-decoration:none}
a:hover{text-decoration:underline}

.pm-container{
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 16px;
}

/* Header (banner scrolls away; only search strip is sticky) */
.pm-header{
	position: relative;
	z-index: 40;
	background: transparent;
}
.pm-header__search-strip{
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}
.pm-header-banner{
	width: 100%;
	background: #0b1220;
}
.pm-header-banner__inner{
	position: relative;
	overflow: hidden;
	min-height: 220px;
	max-height: 380px;
	background: #0b1220;
}
.pm-header-banner__inner > img{
	display: block;
	width: 100%;
	height: 100%;
	min-height: 220px;
	max-height: 380px;
	object-fit: cover;
	object-position: center;
	-webkit-mask-image: linear-gradient(
		to right,
		transparent 0%,
		#000 14%,
		#000 86%,
		transparent 100%
	);
	mask-image: linear-gradient(
		to right,
		transparent 0%,
		#000 14%,
		#000 86%,
		transparent 100%
	);
}
.pm-header-banner__inner::before,
.pm-header-banner__inner::after{
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: clamp(56px, 22vw, 320px);
	z-index: 1;
	pointer-events: none;
}
.pm-header-banner__inner::before{
	left: 0;
	background: linear-gradient(
		to right,
		#0b1220 0%,
		rgba(11, 18, 32, 0.95) 18%,
		rgba(11, 18, 32, 0.55) 52%,
		transparent 100%
	);
}
.pm-header-banner__inner::after{
	right: 0;
	background: linear-gradient(
		to left,
		#0b1220 0%,
		rgba(11, 18, 32, 0.95) 18%,
		rgba(11, 18, 32, 0.55) 52%,
		transparent 100%
	);
}
.pm-header-banner__overlay{
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px clamp(20px, 5vw, 48px);
	background: linear-gradient(
		180deg,
		rgba(15, 23, 42, 0.35) 0%,
		rgba(15, 23, 42, 0.5) 45%,
		rgba(15, 23, 42, 0.65) 100%
	);
	text-align: center;
}
.pm-header-banner__row{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(12px, 3vw, 32px);
	width: 100%;
	max-width: 1100px;
}
.pm-header-banner__side--left,
.pm-header-banner__side--right{
	display: none;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
}
@media (min-width: 981px){
	.pm-header-banner__side--left,
	.pm-header-banner__side--right{
		display: flex;
	}
}
.pm-header-banner__logo-link,
.pm-header-banner__add-link{
	display: block;
	line-height: 0;
	transition: transform .15s ease, filter .15s ease;
}
.pm-header-banner__logo-link:hover,
.pm-header-banner__add-link:hover{
	transform: scale(1.03);
	filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
}
.pm-header-banner__logo-link img{
	display: block;
	width: auto;
	height: clamp(72px, 10vw, 120px);
}
.pm-header-banner__add-link img{
	display: block;
	width: auto;
	height: clamp(64px, 9vw, 100px);
}
.pm-header-banner__content{
	flex: 1;
	min-width: 0;
	max-width: 720px;
}
.pm-header-banner__title{
	margin: 0 0 12px;
	font-size: clamp(18px, 3.8vw, 36px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fde047;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}
.pm-header-banner__subtitle{
	margin: 0;
	font-size: clamp(12px, 2vw, 16px);
	line-height: 1.5;
	color: #ffffff;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}
.pm-header__inner{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap: 12px;
	padding: 10px 0;
}
.pm-header__inner--search{
	justify-content: center;
}
.pm-header__inner--search .pm-search{
	flex: 1;
	max-width: 640px;
}

.pm-aside__menu{
	display:flex;
	align-items:center;
	gap: 12px;
	width: 100%;
	position: relative;
	z-index: 2;
}
.pm-aside__menu-label{
	font-size: 15px;
	font-weight: 700;
	color: var(--brand);
	letter-spacing: .02em;
}

.pm-burger-btn{
	display:inline-flex;
	flex-direction: column;
	align-items:center;
	justify-content:center;
	gap: 5px;
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	padding: 0;
	border-radius: 12px;
	border: 1px solid rgba(72,109,170,.25);
	background: #fff;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
	box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.pm-burger-btn:hover{
	border-color: rgba(72,109,170,.45);
	background: #fff;
}
.pm-burger-btn span{
	display:block;
	flex-shrink: 0;
	width: 20px;
	height: 3px;
	background: var(--brand-2);
	border-radius: 999px;
	margin: 0;
}

.pm-burger-overlay{
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(15,23,42,.45);
	cursor: pointer;
}

.pm-burger-nav{
	position: fixed;
	top: 0;
	left: 0;
	width: min(300px, calc(100vw - 16px));
	max-height: min(420px, calc(100vh - 16px));
	height: auto;
	z-index: 1001;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .18s ease, visibility .18s ease;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
.pm-burger-nav.is-open{
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
.pm-burger-nav__inner{
	padding: 18px 16px;
}
.pm-burger-nav__title{
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 700;
	color: var(--brand);
}
.pm-burger-nav__group-label{
	display:block;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid var(--line);
	color: var(--muted);
	font-weight: 600;
	font-size: 14px;
}
.pm-burger-nav__links{
	list-style:none;
	padding:0;
	margin:0;
	display:flex;
	flex-direction:column;
	gap: 10px;
}
.pm-burger-nav__links > li > a{
	display:block;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid var(--line);
	text-decoration:none;
	color: var(--text);
	font-weight: 600;
}
.pm-burger-nav__links > li > a:hover{
	border-color: rgba(72,109,170,.45);
}

.pm-burger-nav__sub{
	list-style:none;
	margin: 8px 0 0;
	padding: 0 0 0 12px;
	display:flex;
	flex-direction:column;
	gap: 8px;
}
.pm-burger-nav__sub a{
	display:block;
	padding: 8px 10px;
	border-radius: 10px;
	border: 1px dashed rgba(72,109,170,.35);
	color: var(--brand-2) !important;
	background: rgba(72,109,170,.05);
	text-decoration:none;
	font-weight: 700;
}
.pm-burger-nav__sub a:hover{
	border-style: solid;
}

body.pm-burger-open{
	overflow: hidden;
}

/* Search (Bitrix template may render its own markup; we style defensively) */
.pm-search{
	flex: 1;
	max-width: 560px;
}
.pm-search form{display:flex; gap: 8px; width:100%}
.pm-search input[type="text"],
.pm-search input[type="search"]{
	width:100%;
	border:1px solid var(--line);
	border-radius: 999px;
	padding: 10px 14px;
	font-size: 14px;
	background: #fff;
	outline: none;
}
.pm-search input[type="text"]:focus,
.pm-search input[type="search"]:focus{
	border-color: rgba(72,109,170,.65);
	box-shadow: 0 0 0 4px rgba(72,109,170,.12);
}
.pm-search input[type="submit"],
.pm-search button{
	border:1px solid rgba(72,109,170,.25);
	background: var(--brand-2);
	color:#fff;
	border-radius: 999px;
	padding: 10px 14px;
	font-size: 14px;
	cursor:pointer;
	white-space: nowrap;
}
.pm-search input[type="submit"]:hover,
.pm-search button:hover{filter: brightness(.95)}
.pm-search .bx_search_container form{
	display:flex;
	gap: 8px;
	width:100%;
}
.pm-search .bx_search_container input[type="text"],
.pm-search .bx_search_container input[type="search"]{
	width:100%;
	border:1px solid var(--line);
	border-radius: 999px;
	padding: 10px 14px;
	font-size: 14px;
	background:#fff;
	outline:none;
}
.pm-search .bx_search_container button{
	border:1px solid rgba(72,109,170,.25);
	background: var(--brand-2);
	color:#fff;
	border-radius: 999px;
	padding: 10px 14px;
	font-size: 14px;
	cursor:pointer;
	white-space: nowrap;
}

/* Page sections (СВО tabs) */
.pm-page-head{
	margin-bottom: 18px;
}
.pm-page-head__title{
	margin: 0 0 12px;
	font-size: clamp(22px, 3vw, 28px);
	line-height: 1.2;
	color: var(--brand);
}
.pm-section-tabs{
	display:flex;
	flex-wrap:wrap;
	gap: 8px;
}
.pm-section-tabs__item{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height: 40px;
	padding: 8px 16px;
	border-radius: 999px;
	border:1px solid var(--line);
	background:#fff;
	color: var(--text);
	font-weight: 600;
	text-decoration:none;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.pm-section-tabs__item:hover{
	border-color: rgba(72,109,170,.45);
	color: var(--brand-2);
	text-decoration:none;
}
.pm-section-tabs__item.is-active{
	background: var(--brand-2);
	border-color: var(--brand-2);
	color:#fff;
}

div.title-search-result{
	border:1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	background:#fff;
	overflow:hidden;
}

/* Content */
.pm-main{padding: 18px 0 32px}
.pm-breadcrumb{margin: 8px 0 14px; color: var(--muted); font-size: 13px}
.pm-layout{
	display:grid;
	grid-template-columns: 260px 1fr;
	gap: 18px;
	align-items:start;
}
.pm-aside{
	position: sticky;
	top: 74px;
	align-self: start;
	border:1px solid var(--line);
	border-radius: var(--radius);
	padding: 14px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(0,0,0,.02);
	min-height: 80px;
}
.pm-content{
	min-width: 0;
}
.pm-card{
	border:1px solid var(--line);
	border-radius: var(--radius);
	background:#fff;
	box-shadow: 0 1px 0 rgba(0,0,0,.02);
	padding: 16px;
}

/* Footer */
.pm-footer{
	border-top:1px solid var(--line);
	background: var(--surface);
	padding: 20px 0;
	color: var(--text);
	font-size: 13px;
	line-height: 1.5;
}
.pm-footer__inner{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	justify-content:space-between;
	gap: 16px 24px;
}
.pm-footer__social{
	display:flex;
	align-items:center;
	gap: 8px;
	flex-shrink: 0;
}
.pm-footer__social img{
	display:block;
	border-radius: 6px;
}
.pm-footer__text{
	flex: 1 1 320px;
	text-align: center;
	color: #374151;
}
.pm-footer__text p{
	margin: 0 0 4px;
}
.pm-footer__text p:last-child{
	margin-bottom: 0;
}
.pm-footer__label{
	font-weight: 600;
	color: var(--text);
}
.pm-footer__sep{
	margin: 0 8px;
	color: var(--muted);
}
.pm-footer a{
	color: var(--brand-2);
	text-decoration: none;
}
.pm-footer a:hover{
	text-decoration: underline;
}
.pm-footer__widgets{
	flex-shrink: 0;
	min-width: 88px;
}
@media (max-width: 720px){
	.pm-footer__inner{
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.pm-footer__text{flex-basis: auto}
}

/* Back-to-top */
.pm-to-top{
	position: fixed;
	right: 16px;
	bottom: 16px;
	display:none;
	border:1px solid rgba(0,0,0,.08);
	background:#fff;
	box-shadow: var(--shadow);
	border-radius: 999px;
	padding: 10px 12px;
	cursor:pointer;
}
.pm-to-top:focus{outline: none; box-shadow: 0 0 0 4px rgba(72,109,170,.18), var(--shadow)}

/* Responsive */
@media (max-width: 980px){
	.pm-layout{grid-template-columns: 1fr}
	.pm-aside{
		position: static;
		min-height: 0;
	}
	.pm-search{max-width: none}
	.pm-header-banner__inner{
		min-height: 180px;
		max-height: 280px;
	}
	.pm-header-banner__inner > img{
		min-height: 180px;
		max-height: 280px;
		-webkit-mask-image: linear-gradient(
			to right,
			transparent 0%,
			#000 8%,
			#000 92%,
			transparent 100%
		);
		mask-image: linear-gradient(
			to right,
			transparent 0%,
			#000 8%,
			#000 92%,
			transparent 100%
		);
	}
	.pm-header-banner__inner::before,
	.pm-header-banner__inner::after{
		width: clamp(32px, 12vw, 120px);
	}
	.pm-header-banner__overlay{
		padding: 20px 14px;
	}
}

