@font-face {
	font-family: 'Inter';
	src: url('../fonts/Inter-Bold.woff2') format('woff2'), url('../fonts/Inter-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Roboto';
	src: local("Roboto"),
	url('../fonts/RobotoRegular.woff2') format('woff2'),
	url('../fonts/RobotoRegular.woff') format('woff');
	font-display: swap;
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto';
	src: url('../fonts/RobotoMedium.woff2') format('woff2'),
	url('../fonts/RobotoMedium.woff') format('woff');
	font-display: swap;
	font-weight: 500;
	font-style: normal;
}

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

html, body {
	height: 100%;
}

.page-content {
	flex-direction: column;
	display: flex;
	overflow-x: hidden;
	min-height: 100%;
}

form, input, textarea, button {
	font-family: 'Roboto', sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

input[type="submit"],
input[type="button"] {
	appearance: none;
	-webkit-appearance: none;
}

button {
	border: 0;
	outline: 0;
}

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

b {
	font-weight: 900;
}

body {
	font-family: 'Roboto', sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	background-color: #ffffff;
	color: #000000;
}

a {
	text-decoration: none;
}

.container {
	max-width: 1440px;
	width: 100%;
	padding: 0 25px;
	margin: 0 auto;
	position: relative;
}

.start-frame {
	z-index: 10;
	width: 100%;
	margin: 0 auto;
	position: relative;
	padding: 15px 0;
	background-color: #011E38;
}

.start-frame .logo {
	position: relative;
	z-index: 20;
}

.start-frame .logo img {
	max-width: 225px;
}

.top-inners {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.main-menu {
	display: flex;
	align-items: center;
	gap: 8px;
	list-style-type: none;
}

.overlay {
	margin-left: auto;
	margin-right: 20px;
}

.main-menu li a {
	display: flex;
	align-items: center;
	position: relative;
	cursor: pointer;
	padding: 10px 16px;
	text-decoration: none;
	color: #FAFAFB;
	font-size: 20px;
	transition: color 0.3s ease-in-out;
}

.main-menu li a:hover {
	color: #0283F2;
}

.language_switcher {
	cursor: pointer;
	position: relative;
	width: fit-content;
	height: 38px;
	display: flex;
	align-items: center;
	background: #fff;
	margin-right: 20px;
	z-index: 20;
}

.language_switcher .current_lang {
	display: flex;
	align-items: center;
	padding: 10px;
	transition: all .3s;
	border-radius: 3px;
}

.language_switcher .flag {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1px solid #FFFFFF;
	background: #000;
	display: inline-flex;
	margin-right: 10px;
	position: relative;
	overflow: hidden;
	flex-shrink: 0;
}

.language_switcher .flag img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.language_switcher .custom-badge {
	font-size: 14px;
	line-height: 17px;
	color: #000;
}

.language_switcher .lang_list .item-part:hover .custom-badge {
	text-decoration: underline;
}

.language_switcher .current_lang .caret {
	margin-left: 60px;
	width: 0;
	height: 0;
	border-width: 3px 3px 0 3px;
	border-color: #000 transparent transparent transparent;
	border-style: solid;

}

.language_switcher .current_lang.active .caret {
	border-width: 0 3px 3px 3px;
	border-color: transparent transparent #000 transparent;
}

.language_switcher .lang_list {
	position: absolute;
	top: 46px;
	padding: 10px;
	background: #FFFFFF;
	box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
	border-radius: 3px;
	width: 100%;
}

.language_switcher .lang_list .item-part {
	display: flex;
	align-items: center;
}

.language_switcher .lang_list .item-part:not(:last-child) {
	margin-bottom: 10px;
}

.language_switcher .current_lang.active {
	background: #fff;
}

.language_switcher .current_lang.active .lang_name {
	color: #000;
}

.first-frame {
	background-image: url("../img/bg_top.webp");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	position: relative;
	z-index: 0;
	padding: 78px 0;
	min-height: 278px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

h1 {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 50px;
	color: #ffffff;
}

.first-frame:after {
	content: "";
	background-color: rgba(0, 14, 27, 0.54);
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: -1;
}

.buttons_block {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	position: relative;
	z-index: 15;
}

.buttons_block a {
	font-size: 16px;
	padding: 5px 20px;
	color: #fff;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 32px;
	transition: all .3s ease;
}

.buttons_block a.btn_outline {
	background: transparent;
	border: 1px solid #fff;
}

.buttons_block a:hover {
	opacity: .7;
}

.non_scroll {
	overflow: hidden;
}

.basic-wrapper .category {
	padding: 22px 0;
}

.upper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 22px;
	font-weight: 500;
}

h2 {
	font-size: 22px;
	font-weight: 500;
}

h3 {
	font-size: 20px;
	font-weight: 500;
}

.more-news {
	font-weight: 500;
	font-size: 17px;
	color: #276AA5;
	text-decoration: underline;
	transition: color 0.3s ease-in-out;
}

.more-news:hover {
	color: #043B6C;
}

.groups {
	margin-top: 22px;
	display: flex;
	align-items: stretch;
	gap: 22px;
	flex-wrap: wrap;
}

.element-card {
	width: calc(33% - 12px);
	text-decoration: none;
	color: #000000;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background-color: #F1F1F1;
	transition: all 0.3s ease-in-out;
}

.pic-brok {
	height: 205px;
	width: 100%;
}

.pic-brok img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.information {
	padding: 8px 15px;
	flex-direction: column;
	display: flex;
	align-items: flex-start;
	flex: 1;
	width: 100%;
}

.information .date {
	color: #6B6B6B;
	font-weight: 500;
	font-size: 17px;
}

.information h3 {
	display: block;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 12px 0;
}

.reading {
	margin-top: auto;
	color: #276AA5;
	font-weight: 500;
	font-size: 17px;
	text-decoration: underline;
	margin-left: auto;
	text-align: right;
	transition: color 0.3s ease-in-out;
}

.reading:hover {
	color: #043B6C;
}

.element-card:hover .reading {
	color: #043B6C;
}

.element-card:hover {
	box-shadow: 0px 0 10px rgba(0, 0, 0, 0.6);
}

.basic-wrapper {
	padding-bottom: 41px;
}

.end-zone {
	margin-top: auto;
	background-color: #011E38;
	padding: 20px 0;
}

.bottoms {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
}

.end-zone .logo img {
	max-width: 225px;
}

.end-zone .caption {
	font-size: 16px;
	font-weight: 500;
	color: #fff;
	margin-bottom: 30px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ffffff;
}

.final-links {
	list-style-type: none;
}

.final-links a {
	font-size: 16px;
	color: #fff;
	padding: 3px 0;
	display: flex;
	transition: color 0.3s ease-in-out;
}

.final-links a:hover {
	color: #0283F2;
}

.copyright {
	text-align: center;
	padding: 50px 0 0;
	font-size: 16px;
	color: #fff;
}

.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 21px;
	gap: 10px;
	list-style-type: none;
}

.pagination li.cur-page, .pagination li a {
	font-size: 22px;
	font-weight: 500;
	color: #6B6B6B;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 7px 10px;
	transition: color 0.3s ease-in-out;
}

.pagination li.cur-page {
	color: #000000;
}

.pagination li a:hover {
	color: #000000;
}

.parent {
	display: flex;
	align-items: flex-start;
	gap: 50px;
}

.opening {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	position: relative;
	z-index: 0;
	padding: 162px 0;
}

.opening:after {
	content: "";
	background-color: rgba(0, 14, 27, 0.7);
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: -1;
}

.panel {
	max-width: 800px;
}

.publication {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 24px;
	font-size: 22px;
	color: #ffffff;
	font-weight: 500;
}

.tags {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
}

.tags > * {
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2px 16px;
	background-color: #276AA5;
	color: #ffffff;
}

.author {
	display: flex;
	align-items: center;
	margin-top: 24px;
	gap: 24px;
	font-size: 22px;
	color: #ffffff;
	font-weight: 500;
}

.author img {
	width: 52px;
	height: 52px;
	object-fit: cover;
	flex-shrink: 0;
	border-radius: 50%;
}

.central-unit {
	padding: 22px 0;
}

.central-unit p, .central-unit h2, .central-unit h3, .central-unit h4 {
	margin-top: 21px;
}

.central-unit p {
	font-size: 18px;
}

.central-unit ul, .central-unit ol {
	margin-top: 21px;
	padding-left: 20px;
}

.central-unit ul li, .central-unit ol li {
	font-size: 18px;
}

.central-unit img {
	margin-top: 21px ;
}

.central-unit img.alignright {
	float: right;
	margin-left: 16px;
}

.central-unit img.alignleft {
	float: left;
	margin-right: 16px;
}

.central-unit img.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.central-unit table {
	border-collapse: collapse;
	margin-top: 21px;
}

.central-unit table tr td {
	padding: 10px;
	border: 1px solid #6B6B6B;
	font-size: 18px;
}

.central-unit > *:first-child {
	margin-top: 0;
}

.technical h1 {
	text-align: center;
	font-size: 22px;
	color: #000000;
}

.technical {
	padding: 35px 0 0;
}

.technical .central-unit .p {
	margin-top: 30px;
}

.warning {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 50px;
}

.main-menu li.menu-item-has-children {
    position: relative;
}

.main-menu li.menu-item-has-children .sub-menu {
    position: absolute;
    left: 0;
    top: 100%;
    display: none;
    z-index: 10;
    border-radius: 0 0 10px 10px;
    padding: 12px 23px;
    background: #011E38;
    overflow-y: auto;
    max-height: 270px;
    max-width: 260px;
    min-width: 220px;
    list-style-type: none;
}

.main-menu li.menu-item-has-children:hover .sub-menu{
    display: block;
}


@media screen and (max-width: 1200px) {
	.central-unit img.alignright,
	.central-unit img.alignleft {
		float: none;
		margin: 21px auto 0;
	}
}


@media screen and (max-width: 1023px) {
	#menu-toggle {
		display: flex;
		z-index: 99;
		margin: 0 20px;
		margin-left: auto;
	}

	#menu-toggle span {
		display: block;
		background: #ffffff;
		border-radius: 2px;
		transition: all .25s ease-in-out;
	}

	#menu-toggle #hamburger {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 35px;
		height: 32px;
		z-index: 15;
		position: relative;
	}

	#menu-toggle #hamburger span {
		width: 35px;
		height: 2px;
		position: relative;
		top: 0;
		right: 0;
		margin: 4px 0;
	}

	#menu-toggle.open #hamburger span:nth-child(1) {
		transform: rotate(-45deg) translate(-4px, 1px);
		margin: 0;
	}

	#menu-toggle.open #hamburger span:nth-child(3) {
		opacity: 0;
	}

	#menu-toggle.open #hamburger span:nth-child(2) {
		margin: 0;
		transform: rotate(45deg) translate(0px, 2px);
	}

	.overlay {
		position: fixed;
		background: #001E38;
		top: 60px;
		right: 0;
		bottom: 0;
		width: 100%;
		height: auto;
		transform: translateX(100%);
		-webkit-transition: all .4s ease-in-out;
		transition: all .4s ease-in-out;
		overflow: hidden;
		display: block;
		padding: 0;
		padding-top: 45px;
		margin: 0;
	}

	.scroll {
		width: 100%;
		height: 100%;
		display: flex;
		overflow: hidden;
		overflow-y: scroll;
		flex-direction: column;
		align-items: center;
		padding: 10px 30px 30px;
		position: relative;
	}

	.overlay.open {
		z-index: 15;
		transform: translateX(0);
		width: 100%;
	}

	.top-inners .language_switcher {
		margin-left: auto;
		margin-right: 20px;
	}

	.start-frame .logo img {
		max-width: 115px;
	}

	.start-frame {
		padding: 10px 0;
	}

	.element-card {
		width: calc(50% - 12px);
	}

	.end-zone .logo img {
		max-width: 150px;
	}

	.opening {
		padding: 100px 0;
	}

	.main-menu {
		align-items: center;
		flex-direction: column;
		gap: 4px;
		width:100%;
	}
	.main-menu li{
	    width:100%;
	}
	
	.main-menu li a {
	    justify-content: center;
	    width:100%;
	}
	
	.main-menu li.menu-item-has-children .sub-menu {
        position: static;
        left: 0;
        top: 100%;
        display: none;
        z-index: 10;
        padding: 10px;
        border-radius:0;
        background: transparent;
        overflow-y: auto;
        max-height: 100%;
        max-width: 100%;
        min-width: 100%;
        list-style-type: none;
    }
    
     .main-menu li.menu-item-has-children {
         padding: 0 30px;
     }
    
    .main-menu li.menu-item-has-children.active .sub-menu{
        display: block;
    }

    .menu-item-has-children .caret-menu {
        cursor: pointer;
        position: absolute;
        top: 15px;
        right: 0;
        background-image: url("../img/arrow_down.svg");
            width: 25px;
            height: 16px;
            background-repeat: no-repeat;
            background-size: cover;
    }
}

@media screen and (max-width: 650px) {
	.buttons_block {
		flex-direction: column;
		gap: 15px;
		width: 100%;
		margin-top: 15px;
	}

	.buttons_block a {
		font-size: 14px;
		min-width: 150px;
		height: 35px;
	}

	.start-frame .logo img {
		max-width: 85px;
		margin-right: 6px;
	}

	#menu-toggle {
		margin: 0;
		margin-left: auto;
	}

	.top-inners .language_switcher {
		margin-right: 10px;
	}

	.language_switcher .current_lang .caret {
		margin-left: 20px;
	}

	h1 {
		font-size: 30px;
	}

	.first-frame {
		padding: 50px 0;
		background-image: url(../img/bg_top_m.webp);
		min-height: 210px;
	}

	h2 {
		font-size: 18px;
	}

	h3 {
		font-size: 18px;
	}

	.more-news {
		font-size: 16px;
	}

	.element-card {
		width: 100%;
		max-width: 450px;
	}

	.groups {
		align-items: center;
		flex-direction: column;
	}

	.information .date {
		font-size: 14px;
	}

	.information h3 {
		margin: 10px 0;
	}

	.reading {
		font-size: 14px;
	}

	.pic-brok {
		height: 170px;
	}

	.bottoms {
		align-items: center;
		justify-content: center;
		flex-wrap: wrap;
		flex-direction: column;
		gap: 25px;
	}

	.end-zone .caption {
		font-size: 16px;
		margin-bottom: 15px;
		padding-bottom: 5px;
	}

	.final-links a {
		font-size: 14px;
		padding: 5px 0;
	}

	.copyright {
		font-size: 14px;
	}

	.opening {
		padding: 17px 0;
	}

	.publication {
		gap: 18px;
		margin-top: 18px;
		font-size: 18px;
	}

	.tags > * {
		height: 27px;
	}

	.author {
		margin-top: 16px;
		font-size: 18px;
	}

	.author img {
		width: 42px;
		height: 42px;
	}

	.central-unit p {
		font-size: 16px;
	}

	.central-unit ul li, .central-unit ol li {
		font-size: 16px;
	}

	.central-unit table tr td {
		padding: 5px;
		font-size: 15px;
	}

	.basic-wrapper {
		padding-bottom: 20px;
	}

	.technical h1 {
		font-size: 18px;
	}

	.parent {
		align-items: center;
		flex-direction: column;
		gap: 20px;
	}

	.upper {
		font-size: 18px;
	}
}

@media screen and (max-width: 360px) {
	.central-unit table tr td {
		padding: 3px;
		font-size: 14px;
	}
}

.problem-button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 20px;
  font-weight: 500;
  border-radius: 9999px; /* Скругление как в хедере */
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: 40px; /* Отступ от картинки */
  position: relative;
  z-index: 1;
}

.problem-btn-wrapper {
  text-align: center;
  margin-top: 40px;
}