@import url("./guide-modal.css");

@font-face {
    font-family: 'Inter';
    src: url('./assets/font/Inter-VariableFont_opsz,wght.ttf'); 
}



:root {

	--bs-border-radius: 0.5rem;	 
	
}
* { box-sizing: border-box; }
html, body { padding: 0; margin: 0;}
html {font-family: 'Inter', Open Sans,lucida grande,Segoe UI,arial,verdana,lucida sans unicode,tahoma,sans-serif;}
body { background: #F3F3F3; color: #333;}
form { padding: 0; margin: 0;}
a { text-decoration: none; color: #0169B4;}
buttom, input[type=submit] { outline: none; background:inherit; border: 0;}


.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0169b4;
    --bs-btn-border-color: #0169b4;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #015999;
    --bs-btn-hover-border-color: #015490;
    --bs-btn-focus-shadow-rgb: 39,128,191;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #015490;
    --bs-btn-active-border-color: #014f87;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0169b4;
    --bs-btn-disabled-border-color: #0169b4
}

.btn {
	background: #fff;
	border: 2px solid #767676;
	padding: 7px 10px;
	border-radius: 8px;
	font-size: 18px;
	display: inline-block;
}
.btn-primary { background-color: #0169B4; color: #fff; border: 0; font-size: 16px; padding: 10px; }
.hide-mobile {
  display: none !important;
}
.hide-desktop {
  display: none !important;
}
.none_desctop { display: none !important;}

@media (max-width: 768px) {
	.none_desctop {display: inline-block !important;}
    .hide-desktop {display: block !important;}
}

.none_mobile { display: none !important;}

@media (min-width: 768px) {
	.none_mobile { display: inline-block !important;}
    .hide-mobile {display: block !important;}
}

@media (max-width: 768px) {
	h2 {
		font-size: 28px !important;
		letter-spacing: -1.31px !important;
		text-transform: none !important;
	}
}
/*-------------header---------------*/

header { position: absolute; top: 0; left: 0; right: 0; height: 162px; background: #fff; }

.__header_first_wrap { display: inline-block; width: 100%; border-bottom: 1px solid #BEBEBE; height: 89px;}
.__header_content { display: grid; align-items: center; grid-template-columns: 1fr 1fr 1fr; grid-template-areas: "logo seach btn"; gap: 20px; margin: 0 auto; padding: 0 20px; max-width: 1200px; height: 100%;}

.__header_content .logo-header { grid-area: logo; display: flex; align-items: center; gap: 10px; font-size: 16px; }

.__header_search {position: relative;}
.__header_search input[type=text] { width: 100%; border: 2px solid #0169B4; padding: 10px 35px 10px 15px; border-radius: 5px;}
.__header_search .__search_btn { position: absolute; right: 15px; top: 10px; width: 20px; height: 20px; background-image: url('./img/search_btn.svg'); background-repeat:no-repeat; background-position: center center;}
.__search_open {display: none;}
.__header_search button.clear {
    right: 11px;
    left: auto;
    display: none;
    position: absolute;
    align-items: center;
    font-size: 1.25rem;
    background: none;
    border: none;
    top: 0;
    height: 100%;
}
.__header_search button.clear.active {
    display: flex;
}
.icon-clear {
    fill: none;
    stroke: #0169B4;
    stroke-width: 2px;
    height: 1em;
    width: 1em;
}

.__header_btn { display: flex; justify-content: flex-end; }
.__header_btn .btn { color: #767676;display: flex;justify-content: center;align-items: center;}

.__header_second_wrap { display: flex; justify-content: space-between; padding: 10px 20px; margin: 0 auto; max-width: 1200px; }
.__header_second_wrap ul { display: flex; gap: 10px; margin: 0; padding: 0;}
.__header_second_wrap ul li { display: inline-block;}
.__header_second_wrap ul li a { display: inline-block; padding: 19px 18px; font-size: 16px; color: #000;} 
.__header_second_wrap ul li:first-child a { padding-left: 0;}

.__btn_head { display: flex; align-items: center; gap: 20px;}
/* --- Общие стили иконок --- */
.__btn_head .__icons { 
    display: inline-block; 
    width: 36px; 
    height: 36px; 
    background-repeat: no-repeat; 
    background-position: center center;
    cursor: pointer; /* Добавляем курсор-руку */
    transition: 0.2s; /* Плавность для ховера */
}

/* --- Иконка Звезды (по умолчанию) --- */
.__btn_head .__icons.__star {
    background-image: url('./img/star.svg');
}

.__icons.__file {
    background-image: url('./img/attach-file.svg');
}
.__icons.__submit {
    background-image: url('./img/svg/chevron-right.svg');
}

/* --- Иконка Звезды (АКТИВНАЯ - когда добавлено в избранное) --- */
/* Класс .active обычно добавляется JS-скриптом при клике */
.__btn_head .__icons.__star.active {
    /* Вариант А: Если есть закрашенная звезда, укажите путь к ней */
    /* background-image: url('./img/star_filled.svg'); */
    
    /* Вариант Б: Если картинки нет, используем CSS фильтр, чтобы окрасить текущую в синий */
    filter: sepia(100%) hue-rotate(190deg) saturate(500%);
}

/* --- Иконка Юзера --- */
.__btn_head .__icons.__user {
    background-image: url('./img/user.svg');
}

/* Ховер эффект (легкое затемнение при наведении) */
.__btn_head .__icons:hover {
    opacity: 0.7;
}
.__btn_head .btn { white-space: nowrap;}

.__top_line { padding: 40px 0;}

.hamburger {  display: none; grid-area: hamburger; align-self: center; justify-self: center; background-color:inherit; border: none; width: 40px; height: 40px; position:relative; padding: 0; cursor: pointer; transition-property: opacity, -webkit-filter; transition-property: opacity, filter; transition-property: opacity, filter, -webkit-filter; transition-duration: 0.15s; transition-timing-function: linear; font: inherit; color: inherit; text-transform: none; margin: 0; overflow: visible; outline: 0!important; }

.hamburger-box {width: 30px; height: 14px; display: inline-block; position: relative; }
.hamburger-box { -webkit-perspective: 80px; perspective: 80px;}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after { top:6px; left:0; width: 30px; height: 2px; background-color: #000; border-radius: 4px; position: absolute; transition-property: -webkit-transform; transition-property: transform; transition-property: transform, -webkit-transform; transition-duration: 0.15s; transition-timing-function: ease;}
.hamburger-inner::before, .hamburger-inner::after { content: ""; display: block;}
.hamburger-inner::before { top: -8px;}
.hamburger-inner::after { bottom: -8px; top:auto;}	


@media (max-width: 768px) {
	header { height:auto;}
	.__header_content { grid-template-areas: "logo btn search hamburger"; gap: 15px; }
	.logo-header { padding-right: 10px;}
	.hamburger { display: block;}
	.__header_second_wrap { display: none;}
	.__header_search { display: none; }
	.__search_open { display: block;top: auto; right: auto; width: 40px; height: 40px; background-size: 40px; grid-area: search;background-image: url('./img/search_btn.svg');
  background-repeat: no-repeat;
  background-position: center center;}
  .__header_search.active {position: absolute;top: 100%; left: 0;width: 100%;display: block;}
	
	.__header_btn .btn {  width: 40px; height: 40px; padding: 0; text-align: center;}
	.__header_btn .btn.__mibok_glaza { font-size: 20px; background-color: #1677DC; border-color: #1677DC; color: #fff; font-weight: bold; }
    .__top_line {padding: 0;}
}
@media (max-width: 420px) {
	.__header_content { gap: 4px; }
}
/*-------------content--------------*/
.container { margin: 0 auto; max-width: 1200px; padding: 0 20px;}

.inner_wrap { display: inline-block; width: 100%; min-height: 100vh; padding-top: 162px; padding-bottom: 50px;}

.__page_content { position: relative; display:inline-block; width: 100%; background: #fff; border-radius: 12px;}
.content_body p { font-size: 20px; color: #000;}
.content_body a { color: #0169B4;}
.content_body ul {}
.content_body ul li, .content_body ol li { padding-bottom: 20px;}
.content_body ul li p, .content_body ol li p { margin: 0;}

.__page_title { display: inline-block; width: 100%;}
.__page_title h1 { font-size: 40px; font-weight:500; color: #333333;}
.__page_title p { color: #333333; font-size: 18px; line-height: 125%;}
.__page_desc { padding-bottom: 30px;}

.__page_banner { position: relative; display: inline-block; width: 100%; margin: 0; max-height: 400px; min-height: 400px; overflow: hidden; border-radius: 12px;}
.__page_banner img { position: absolute; top: 50%; left: 50%; width: 100%; min-height: 400px; transform: translate(-50%, -50%);}

@media (max-width: 768px) {
	.inner_wrap {padding-top: 102px; }
	.__page_title h1 { font-size: 28px;}
	.__page_title p { font-size: 16px; }
}

.__action_grid_wrap {display: flex; flex-direction: column; background: #fff;  position:relative; width: 100%; padding: 18px 20px; top: -34px; border-radius: 12px; box-shadow: 0 3px 4px rgb(0 56 95 / 25%);}
.__action_grid_wrap h2, .__action_grid_wrap .__filter_title { margin: 0; padding-bottom: 20px; font-size: 28px; font-weight: normal; }
.__action_grid_wrap .__action_wrap { display: flex; gap: 10px; flex-wrap: wrap; box-shadow:none; top: 0; padding: 0; border-radius: 0;}

.__action_wrap { display: flex; overflow:hidden; background: #fff; gap: 10px; position:relative; width: 100%; padding: 18px 20px; top: -34px; border-radius: 12px; box-shadow: 0 3px 4px rgb(0 56 95 / 25%);}
.__action_wrap p { margin: 0; padding: 0;}
/*, .__action_wrap > div, */
.__action_wrap > a, .__action_wrap .custom-input__text { display: inline-block; cursor: pointer !important; padding: 5px 10px; font-size: 16px; border: 1px solid #767676; color: #333; border-radius: 4px; white-space:nowrap; order: 1;}
.__action_wrap > a.is_active, .__action_wrap > div.is_active { background: #0169B4; border-color: #0169B4; color: #fff;}
.__action_wrap > div.__search { padding-right: 40px; background-image: url('./img/search_btn.svg'); background-repeat: no-repeat; background-position: 90% 50%;}
.__action_wrap input[type=checkbox] { display: none;}
.__action_wrap label {cursor: pointer !important;}

.__action_wrap .form-check-input:checked[type=checkbox]+.form-check-label {background: #0169B4; border-color: #0169B4; color: #fff;order: 0;}

.__articles_page_wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; padding-bottom: 50px;}
.__articles_page_wrap .item { display:inline-block; width: 100%; padding: 20px; border-radius: 12px; box-shadow: 0 3px 4px rgb(0 56 95 / 25%);}
.__articles_page_wrap .item .__picture { position: relative; top: 0; left: 0; right: 0; height: 280px; overflow: hidden; border-radius: 12px; }
.__articles_page_wrap .item .__picture img {position: absolute; left: 50%; max-height: 200%; min-width: 100%; transform: translate(-50%, 0);}

.__articles_page_wrap .item .__articles_expr { display: flex; flex-direction: column; border-bottom: 1px solid #767676;  margin-bottom: 5px;}
.__articles_page_wrap .item .__articles_expr .__inf { display: flex; justify-content: space-between; padding: 20px 0; font-size: 14px; color: #767676;}
.__articles_page_wrap .item .__articles_expr .__inf .__like { cursor: pointer; text-transform:uppercase; padding-right: 25px; background-image: url('./img/heart.svg'); background-repeat: no-repeat; background-position: 100% 50%; }
.__articles_page_wrap .item .__articles_expr .__articles_title { margin: 0; padding: 0; padding-bottom: 20px;}
.__articles_page_wrap .item .__articles_expr .__articles_title h2 { font-size: 18px; font-weight: normal; margin: 0; padding: 0; color: #000; }
.__articles_page_wrap .item .__articles_expr .__articles_desc { 
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    white-space: wrap;
    width: 100%; 
    margin-bottom: 25px;
    overflow: hidden;
}
.__articles_page_wrap .item .__articles_expr .__articles_desc { color: #767676; font-size: 16px;}
.__articles_page_wrap .item .__articles_expr .__articles_desc p { margin: 0;}
.__articles_page_wrap .item .__articles_tags { padding: 0px 0;}
.__articles_page_wrap .item .__articles_tags > a { text-transform:uppercase; float: left; margin-right: 10px; margin-top: 10px; padding: 5px 10px; background: #1869A4; border-radius: 30px; color: #fff; font-size: 12px;}

@media (max-width: 768px) {
	.__articles_page_wrap {grid-template-columns: 1fr;padding: 20px;}
    .__action_grid_wrap .__action_wrap {
        flex-wrap: nowrap;
        overflow-x: scroll;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .__action_grid_wrap .__action_wrap::-webkit-scrollbar {
        display: none;
    }
    .__action_news {
        overflow-x: scroll;
        display: flex;
        position: relative;
        top: -34px;
        padding-bottom: 10px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .__action_news::-webkit-scrollbar {
        display: none;
    }
    .__news_tags_action_wrap {
        width: unset;
        overflow: visible;
        top: 0;
    }
    .__action_articles {
        overflow-x: scroll;
        display: flex;
        position: relative;
        top: -34px;
        padding-bottom: 10px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .__action_articles::-webkit-scrollbar {
        display: none;
    }
    .__articles_tags_action_wrap {
        width: unset;
        overflow: visible;
        top: 0;
    }
}

.__page_detail_wrap { display: grid; grid-template-columns: 1fr 300px; gap: 45px; padding-bottom: 50px;}
.__page_detail_content { display: grid; align-items: start; grid-template-columns: 1fr; gap: 30px;}
.__page_detail_content .__page_text p { line-height: 150%; font-size: 18px;}
.__page_detail_content .__page_text h1 { font-size: 28px;}

.__page_detail_structure { width: 100%;}

.__page_detail_structure > div p { color: #000; margin: 0; font-size: 18px; padding-bottom: 20px;}
.__page_detail_structure > div ul, .__page_detail_structure > div ol { margin: 0; padding-left: 20px; color: #0169B4;}
.__page_detail_structure > div ul li, .__page_detail_structure > div ol li { padding-bottom: 10px;}
.__page_detail_structure > div ul li a, .__page_detail_structure > div ol li a { color: #0169B4; }


@media (max-width: 768px) {
	.__page_detail_content {grid-template-columns: 1fr;}
	.__page_detail_structure { display: none;}
    .__page_detail_wrap {grid-template-columns: 1fr;}
}


.__docs_page_wrap { display: grid; grid-template-columns: 1fr; gap: 25px; padding-bottom: 50px;}
.__docs_page_wrap .item { background: #fff; display:inline-block; width: 100%; padding: 20px; border-radius: 12px; box-shadow: 0 3px 4px rgb(0 56 95 / 25%);}
.__docs_page_wrap .item .__docs_expr { display: flex; flex-direction: column; border-bottom: 1px solid #767676;  margin-bottom: 5px;}
.__docs_page_wrap .item .__docs_expr .__inf { display: flex; justify-content: space-between; padding: 20px 0; font-size: 14px; color: #767676;}

.__docs_page_wrap .item .__docs_btn { display: flex; gap: 8px; justify-content: flex-end;}
.__docs_page_wrap .item .__docs_btn span { cursor: pointer; display: inline-block; width: 44px; height: 44px; border: 1px solid #0169B4; border-radius: 8px; }
.__docs_page_wrap .item .__docs_btn > span.__like {background-image: url('./img/heart_medium.svg'); background-repeat: no-repeat; background-position: 50% 50%;}
.__docs_page_wrap .item .__docs_btn > span.__download {background-image: url('./img/download.svg'); background-repeat: no-repeat; background-position: 50% 50%;}

.__docs_page_wrap .item .__docs_expr .__inf .__like {  text-transform:uppercase; padding-right: 25px; background-image: url('./img/heart.svg'); background-repeat: no-repeat; background-position: 100% 50%; }

.__docs_page_wrap .item .__docs_expr .__docs_title { display: grid; grid-template-columns: 1fr 150px; margin: 0; padding: 0; padding-bottom: 20px;}
.__docs_page_wrap .item .__docs_expr .__docs_title a { font-size: 20px; line-height: 140%; font-weight: normal; margin: 0; padding: 0; color: #000; }


.__docs_page_wrap .item .__docs_expr .__news_desc { display:inline-block; width: 100%; padding-bottom: 20px;}
.__docs_page_wrap .item .__docs_expr .__news_desc p { color: #767676; margin: 0;}

.__docs_page_wrap .item .__docs_tags { padding: 0px 0;display: flex; flex-wrap: wrap;}
.__docs_page_wrap .item .__docs_tags > a { text-transform:uppercase; display: block; margin-right: 10px; margin-top: 10px; padding: 5px 10px; background: #1869A4; border-radius: 30px; color: #fff; font-size: 12px;}
.__docs_btn-mobile {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.__docs_doc-date {
    font-size: 14px;
    color: #767676;
}
@media (max-width: 768px) {
	.__docs_page_wrap .item .__docs_expr .__docs_title {grid-template-columns: 1fr;}
	.__docs_page_wrap .item .__docs_expr .__docs_title h2 {  font-size: 16px !important;}
	.__docs_page_wrap .item .__docs_tags > a { font-size: 10px;}
	
	.__page_content { padding-top: 20px;}
    .__docs_page_wrap .item .__docs_btn span {
        width: 36px; height: 36px;
    }
    /*.__page_desc-docs {display: none;}*/
}

.__docs_list_wrap { display: inline-block; width: 100%; padding: 20px 0;}
.__docs_list_wrap h2 { font-size: 40px; font-weight: normal;}
.__docs_list { display: grid; grid-template-columns: 1fr; gap: 20px; }
.__docs_list .item {  position: relative; display: flex; flex-direction: column; width: 100%; background: #fff; border-radius: 12px; text-align: left; box-shadow: 0 3px 4px rgb(0 56 95 / 25%); }
.__docs_list .item .__docs_expr { display: flex; flex-direction: column;}
.__docs_list .item .__docs_expr .__docs_title { display: grid; align-items: center; grid-template-columns: 1fr 150px; margin: 0; padding: 15px; }
.__docs_list .item .__docs_expr .__docs_title h2 { font-size: 20px; line-height: 140%; font-weight: normal; margin: 0; padding: 0; }

.__docs_list .item .__docs_btn { display: flex; gap: 20px; justify-content: flex-end;}
.__docs_list .item .__docs_btn > span { cursor: pointer; display: inline-block; width: 44px; height: 44px; padding: 5px; border: 1px solid #0169B4; border-radius: 8px; }
.__docs_list .item .__docs_btn > span.__like {background-image: url('./img/heart_medium.svg'); background-repeat: no-repeat; background-position: 50% 50%;}
.__docs_list .item .__docs_btn > span.__download {background-image: url('./img/download.svg'); background-repeat: no-repeat; background-position: 50% 50%;}

@media (max-width: 768px) {
	.__docs_list .item .__docs_expr .__docs_title {grid-template-columns: 1fr; gap: 20px;}
	.__docs_list .item .__docs_expr .__docs_title h2 { font-size: 16px !important;}
}

/*--------------slider---------------*/

.sSlider__slider { margin: -8px; padding: 8px}
.sSlider__slider  .swiper-wrapper { height:auto; align-items: stretch;}
.sSlider__slider .swiper-slide { height:auto;}
.slider-controls { align-items: center; display: flex; flex-wrap: wrap; justify-content: space-between}
.swiper-pagination { position: static; text-align: left; width: auto!important}
.swiper-pagination-bullet { height: 7px; margin: 0 8px!important; width: 7px}
.slider-buttons { display: flex;}
.slider-buttons>* { margin-top: 0; position: static}
.slider-buttons>:after { content: none}
.slider-buttons .icon { stroke: #0a0a0a; fill: none; height: 16px; width: 16px;}
.swiper-button-prev { margin-right: 16px}

/*--------------footer---------*/

footer { display: inline-block; width: 100%; background: #fff; padding: 30px 0 20px 0;}
footer a { font-size: 16px; color: #767676; font-weight: bold; letter-spacing: -2%;}

.footer_content { display: grid; grid-template-columns: 0.8fr 1fr 1fr 1fr; gap: 37px; padding: 50px 0; border-bottom: 1px solid #BEBEBE;}
.footer_content > div { display: flex; flex-direction: column; justify-content: space-between;}
.footer_content  .__footer_logo { display: flex; align-items: center; }

.footer_content ul { padding: 0; margin:0; }
.footer_content ul li { display:inline-block; width: 100%; padding: 5px 0; }
.footer_content ul li a { font-weight: normal;}
.footer_content ul li:first-child a { font-weight: bold; color: #000; text-transform: uppercase;}
.footer_content ul li:first-child { font-weight: bold; color: #000; text-transform: uppercase;}

.copyright { display: flex; align-items: center; justify-content: space-between; padding: 40px 0; color: #767676; }
.mobile-bottom-menu-wrap {
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.bottom-mob-menu ul {
    padding-bottom: 0 !important;
}
.bottom-mob-menu ul li {
    font-weight: bold; color: #000; text-transform: uppercase;
    padding-bottom: 25px;
}
.bottom-mob-menu ul li:last-child {
    padding-bottom: 0px;
}
.bottom-mob-menu ul li a {
    font-weight: bold; color: #000; text-transform: uppercase;
}
.bottom-mob-actions {
    display: flex;
    gap: 15px;
    flex-direction: column;
}
.bottom-mob-actions-title {
    text-transform: uppercase;
    color: #767676;
    font-weight: bold;
}
.bottom-mob-actions .btn {
    border: none;
    font-weight: normal;
    padding-left: 40px;
}

.bottom-mob-actions .btn._web {
    background-image: url('./img/web.svg');
    background-repeat: no-repeat;
    background-position: 10% center;
}

.bottom-mob-actions .btn._android {
    background-image: url('./img/android_icon.svg');
    background-repeat: no-repeat;
    background-position: 10% center;
}
.bottom-mob-actions .btn._tg {
    background-image: url('./img/tg.svg');
    background-repeat: no-repeat;
    background-position: 10% center;
}
.copyright-mobile {
    width: 100%;
    margin-bottom: 20px;
}
.copyright-actions {
    display: flex;
    justify-content: space-between;
}
.copyright-actions a {
    display: block;
    text-transform: uppercase;
}
.footer-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer-app {
    width: 100%;
}
.footer-app-title {
    font-weight: bold; color: #000; text-transform: uppercase;text-align: center;margin-top: 10px;
}
.footer-app-links {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    text-align: center;
}
.footer-app-links img {
    display: block;
    max-height: 65px;
}
.address-mobile {
    width: 100%;
}
@media (max-width: 768px) {
    footer {background: #F3F3F3;padding-top: 0;}
	.footer_content {grid-template-columns: 1fr; gap: 0; padding: 0 0 20px;}
	.footer_content ul { padding-bottom: 20px;}
	
	.__first_column { padding-bottom: 30px;}
	.__first_column .__contact { display: none;}
    .copyright {flex-direction: column;}

}

/* --- СТИЛИ ДЛЯ ВЫПАДАЮЩЕГО МЕНЮ --- */

/* 1. Родительский пункт */
.__header_second_wrap > ul > li.parent {
    position: relative; /* Якорь для позиционирования */
    padding-right: 20px; /* Место, чтобы не слипалось */
}

/* 2. Выпадающее меню (скрыто по умолчанию) */
.__header_second_wrap ul.submenu {
    display: none;       /* Скрываем */
    position: absolute;  /* Вырываем из потока */
    top: 100%;           /* Ровно под кнопкой */
    left: 0;
    
    /* СБРАСЫВАЕМ ВАШ ГЛАВНЫЙ FLEX */
    flex-direction: column !important; 
    gap: 0 !important;
    
    /* Оформление */
    background: #fff;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-top: 3px solid #0169B4; /* Синяя шапка */
    padding: 10px 0 !important;
    z-index: 1000;
}

/* 3. Показываем при наведении */
.__header_second_wrap li.parent:hover > ul.submenu {
    display: flex !important; /* Или block */
}

/* 4. Пункты внутри выпадающего меню */
.__header_second_wrap ul.submenu li {
    display: block !important;
    width: 100%;
}

.__header_second_wrap ul.submenu li a {
    display: block !important;
    padding: 10px 20px !important; /* Уменьшаем ваши большие отступы */
    font-size: 15px !important;
    white-space: nowrap;
    color: #333 !important;
    font-weight: normal !important;
}

.__header_second_wrap ul.submenu li a:hover {
    background-color: #f0f0f0;
    color: #0169B4 !important;
}

/* --- 2. Исправляем иконку скачивания (Download) --- */

/* Базовый стиль для всех иконок, если его нет */
.icon {
    display: inline-block;
    vertical-align: middle;
}

/* Конкретно для иконки скачивания */
.icon-download {
    width: 10px;   /* Размер как на скриншоте (довольно крупная) */
    height: 10px;
    fill: #000;    /* Черный цвет заливки */
    min-width: 10px; /* Чтобы не сжималась */
    margin-right: 15px; /* Отступ от текста */
}

/* 1. Делаем родительский контейнер относительным, 
   чтобы кнопка позиционировалась внутри него, а не улетала в угол экрана */
.search-input-text-wrap {
    position: relative; 
}

/* 2. Стили для самой кнопки очистки */
.search-input-text-wrap .clear {
    position: absolute; /* Позиционируем поверх инпута */
    top: -10px;
    right: 10px; /* Отступ справа для мобильных */
    height: 100%; /* Или 55px, как было в оригинале */
    
    display: none; /* Скрыта по умолчанию */
    align-items: center;
    justify-content: center;
    
    background: none !important; /* Убираем серый фон кнопки */
    border: none !important;     /* Убираем рамку кнопки */
    padding: 0;
    cursor: pointer;
    z-index: 5;
}

/* 3. Показываем кнопку, если есть класс active */
.search-input-text-wrap .clear.active {
    display: flex;
}

/* 4. Корректировка положения для десктопа (учитываем ширину кнопки "Найти") */
@media (min-width: 576px) {
    .search-input-text-wrap .clear {
        /* 145px взято из вашего старого кода, это чтобы кнопка не наезжала на "Найти" */
        right: 145px; 
    }
}

/* 5. ВАЖНО: Ограничиваем размер самого крестика (SVG) */
.search-input-text-wrap .clear .icon {
    width: 25px;  /* Установите нужный размер крестика */
    height: 25px;
    fill: #333;   /* Цвет крестика (черный/серый) */
}
/*Helper*/
.search-page select[name="where"]{
    display: none;
}

.hand-wave{
    animation: wave 1s infinite;
    transform-origin: 88% 30%;
}
 .search-popup-el-cnt{
    
}
div.search-popup-row {
    background: #f5f5f5!important;
}
 .search-popup{
    border: 0px solid transparent!important;
    background: #f5f5f5 !important;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.07);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    padding: 5px 10px!important;
}
@keyframes wave {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

.search-page input[type="submit"]{
    display: none;
}
.search-helper-btn{
    border: 0px;
    background: transparent;
}
.grey__block {
    background-color: rgba(243, 243, 243, 0.6);
    color: rgba(64, 65, 73, 1);
    font-size: 16px;
    border-radius: 10px;
    padding: 14px 12px;
    text-decoration: none;
}

#helper__block.show {
    display: flex;
    opacity: 1;
    animation: helper-fade-show .2s;
}

@keyframes helper-fade-show {
    0% {
        opacity: 0;
        display: none;
    }
    100% {
        opacity: 1;
        display: flex;
    }
}
#helper__block .container{
    height: 100%;
}
/* Set the width of the scrollbar */
.scroll-block::-webkit-scrollbar {
    width: 8px;
}

/* Style the thumb of the scrollbar */
.scroll-block::-webkit-scrollbar-thumb {
    background-color: rgba(128, 128, 128, 0.5);
    border-radius: 4px;
}

/* Style the track of the scrollbar */
.scroll-block::-webkit-scrollbar-track {
    background-color: transparent;
}

/*Modals*/
#infoPopupContent {
    text-align: center;
}
@media (min-width: 992px) {
  .headerBlock--mission ul, .headerBlock--mission ol {
    font-size: 1.125rem;
  }
}
.error-found h2 {
    line-height: 1.2;
}
.error-found img {
    border-radius: 15px;
}

.error-found-note {
  	font-size: 14px;
  	font-weight: 400;
  	opacity: .5;
}

/*helper*/
#helper__block {
    background-color: rgba(243, 243, 243, 1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 94;
    width: 100vw;
    height: auto;
    opacity: 0;
    display: none;
    transition: all .2s linear;
    justify-content: center;
    align-items: center;
}

.helper__btn:active {
    scale: .96;
    transition: all .2s linear;
}

.helper__btn {
    cursor: pointer;
    transition: all .2s linear;
    position: fixed;
    right: 40px;
    bottom: 40px;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 16px 0px;
    width: 80px;
    aspect-ratio: 1/1;
    z-index: 100;
}

.helper-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -20px;
    margin-right: -20px;
    margin-top: -48px;
}

.helper-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.helper__title {
    font-size: 30px;
    font-weight: 400;
    line-height: 95%;
    margin-bottom: .5rem;
    margin-top: 0;
}

#close__helper__block {
    cursor: pointer;
}

.shadow__block {
    display: block;
    color: unset;
    text-decoration: unset;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.07);
    padding: 40px;
    border-radius: 10px;
}

.helper__input__block {
    background: rgba(243, 243, 243, 0.6);
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.07);
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    padding: 16px 30px;
    align-items: center;
    margin-bottom: 0;
}

.helper__input__block .search-suggest-helper {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
}

.helper__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 40px;
    margin-left: 10px;
    padding: 8px 16px;
    border: 0;
    border-radius: 5px;
    background: rgba(1, 105, 180, 1);
    color: #fff;
    font: inherit;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
}
.helper__submit:disabled {
    opacity: .45;
    cursor: default;
}
.helper__submit:focus-visible {
    outline: 2px solid rgba(1, 105, 180, 1);
    outline-offset: 3px;
}
.helper__submit svg {
    display: none;
}
.helper__submit::after {
    content: '';
    width: 8px;
    height: 8px;
    margin-left: 12px;
    margin-right: 3px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

#helper_search , .search-suggest-helper{
    width: 100%;
    border: 0px;
    background-color: transparent;
    margin-left: 20px;
    font-size: 20px;
    box-shadow: none;
    outline: none;
    color: rgba(10, 10, 10, 1);
}

#helper_search::placeholder , .search-suggest-helper::placeholder{
    border: 0px;
    background-color: transparent;
    margin-left: 20px;
    font-size: 20px;
    color: #818181;
}

.helper__btns_block {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.helper__btns_block input[type=radio]{
    display: none;
}
.helper__btns_block input[type=radio]:checked + .h_w_block{
    color: #282828;
    transition: all .2s linear;
    box-shadow: unset;
    border: .5px #272727 solid;
}
.h_w_block {
    transition: all .2s linear;
    cursor: pointer;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid rgba(217, 217, 217, 1);
    border-radius: 8px;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.07);
    color: #818181;
    line-height: 107%;
}

.h_w_block:hover {
    color: #282828;
    transition: all .2s linear;
    box-shadow: unset;
}

.helper__messages {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    min-height: 160px;
    justify-content: end;
}

.helper__messages .helper__message:last-child {
    border-radius: 10px 10px 10px 3px;
}

.helper__message {
    white-space: pre-line;
    color: white;
    background-color: rgba(1, 105, 180, 1);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 5px;
    animation: fade .2s;
    transition: all .2s linear;
}
.helper-f-width {
    width: 100%;
    padding: 0 20px;
    flex: 0 0 auto;
    margin-top: 3rem;
}
@keyframes fade {
    0%{
        opacity: 0;
        transform: translateY(10px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}
.scroll-block{
    padding: 80px 0;
    overflow-x: hidden;
    overflow-y: scroll;
}

.helper-links-item {
    display: flex;
}
.helper-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
.helper-links-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    width: 100%;
    justify-content: space-between;
}
.helper-links-text {
    flex: 1 1 auto;
}
.helper-form {
    width: 100%;
    margin-top: 24px;
    padding: 0 20px;
}
.helper-where-btns {
    width: 100%;
    margin-top: 24px;
    padding: 0 20px;
}
.helper-messages {
    display: flex;
    gap: 10px;
}
.rowsBlock {
    display: none;
}
.helper-last-materials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.helper-last-materials a {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}
.helper-answer-items {
    padding: 16px 8px;
}
.helper-answer-items .rows {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
@media (max-width: 992px) {
    .helper__message {
        color: white;
        background-color: rgba(1, 105, 180, 1);
        border-radius: 8px;
        padding: 10px 14px;
        margin-bottom: 5px;
        animation: fade .2s;
        transition: all .2s linear;
        font-size: 13px;
    }
}
@media (max-width: 768px) {
    .helper__input__block {
        padding: 10px 10px 10px 16px;
    }
    .helper__input__block .search-suggest-helper {
        margin-left: 12px;
    }
    .helper__input__block .clear {
        cursor: pointer;
        flex: 0 0 26px;
        height: 26px;
        padding: 0;
        width: 26px;
    }
    .helper__input__block .clear .icon {
        height: 22px;
        width: 22px;
    }
    .helper__submit {
        align-items: center;
        background: transparent;
        border: 0;
        color: #fff;
        cursor: pointer;
        flex: 0 0 26px;
        height: 26px;
        min-height: 26px;
        justify-content: center;
        margin-left: 0;
        padding: 0;
        width: 26px;
    }
    .helper__submit-label {
        display: none;
    }
    .helper__submit::after {
        display: none;
    }
    .helper__submit svg {
        display: block;
        background: rgba(1, 105, 180, 1);
        border-radius: 50%;
        box-sizing: content-box;
        height: 16px;
        padding: 5px;
        transition: transform .15s ease, background-color .15s ease;
        width: 16px;
    }
    .helper__submit:active svg {
        background: rgba(0, 84, 145, 1);
        transform: scale(.96);
    }
    .helper-links {
        grid-template-columns: 1fr;
    }
    .helper-last-materials {
        grid-template-columns: 1fr;
    }
}

/*suggests*/
.loader-wrap {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.1);
    z-index: 999999;
}
.loader-wrap.showed {
    display: flex;
}
.loader {
  width: 48px;
  height: 48px;
  border: 5px solid #6ebeff;
  border-bottom-color: #337AB7;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.loader-small {
    width: 20px;
    height: 20px;
    margin-left: 15px;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.scrollTop {
    position: fixed;
    right: 20px;
    bottom: 140px;
    height: 60px;
    width: 60px;
    display: none;
    padding: 10px;
    background-image: url(./img/up-arrow.png);
    background-position: center center;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 16px 0px;
    transition: all .5s linear;
    background-repeat: no-repeat;
    opacity: 0;
    background-color: #fff;
    z-index: 999;
}
.scrollTop.active {
    display: block;
    opacity: 1;
}
/*Избранное*/
span.__like.in-favourite {background-image: url('./img/heart_medium_filled.svg') !important;}
div.__like.in-favourite {background-image: url('./img/heart_filled.svg') !important;color: #0169B4;}

span.__pagelike {background-image: url('./img/heart_medium.svg') !important;width: 22px;height: 22px;display: inline-block;cursor: pointer;margin-left: 15px;}
span.__pagelike.in-favourite {background-image: url('./img/heart_medium_filled.svg') !important;}

/*Теги*/
.__tags_action_wrap a.__tag {
    padding: 5px 10px;
    font-size: 16px;
    border: 1px solid #333333;
    color: #777;
    border-radius: 4px;
    white-space: nowrap;
    order: 1;
    cursor: pointer;
    display: block;
}
.__tags_action_wrap a.__tag.is_active {
    background: #0169B4;
    border-color: #0169B4;
    color: #fff;
}
/*Баннер Мой РПН*/
/* Десктопные стили без изменений */
.__rpn_banner_wrap {display: inline-block; width: 100%; padding: 20px 0;}
.__rpn_banner_wrap_content { position:relative; display: flex; background: #BE1722; color: #fff; padding: 30px 30px; border-radius: 12px;}
.__rpn_banner_wrap_content h2, .__rpn_banner_wrap_content .__rpn_banner_title { margin: 0; font-size: 32px; font-weight: normal; }
.__rpn_banner_wrap_content p { padding-bottom: 20px; font-size: 18px; line-height: 125%; }
.__rpn_banner_wrap_content .btn { background: inherit; color: #fff; border-color: #fff; font-size: 16px; padding: 10px 30px; padding-left: 50px; background-image: url('img/maps-and-flags.svg'); background-repeat: no-repeat; background-position: 15px 50%; }
.__rpn_banner_wrap_content-text {
    width: 80%;
    padding-right: 30px;
    order: 1;
}
.__rpn_banner_wrap_content-img {
    width: 20%;
    order: 2;
}
.__rpn_banner_wrap_content-img img {
    display: block;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    border-radius: 12px;
}
/* Мобильная версия */
@media (max-width: 768px) {
	.__rpn_banner_wrap_content { flex-direction: column;}
	.__rpn_banner_wrap_content h2, .__rpn_banner_wrap_content .__rpn_banner_title { font-size: 24px !important;margin-bottom: 20px;}
    .__rpn_banner_wrap_content-text {
        width: 100%;
        padding: 0;
    }
    .__rpn_banner_wrap_content-img {
        width: 100%;
        order: 0;
    }
	.__rpn_banner_wrap_content p { font-size: 16px;}
	.__rpn_banner_wrap_content .btn { padding: 10px 10px; text-align: center; font-size: 16px; background-color: #BE1722;width: 100%;}
	.__rpn_banner_wrap_content .__btn_wrap { width: 100%;}
    .__news_list .container {
        padding: 0;
    }
    .__articles_list .container {
        padding: 0;
    }
}

.row-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.col img {
    max-width: 100%;
    display: block;
}
.col p {
    margin: 0 0 15px;
}
.static-page {
    padding: 30px 0;
}

/*Обучение*/
.__learning_items {
    margin-top: 30px;
}
.__learning_item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px 0 rgba(0,0,0,.07);
    padding: 20px;
    margin-bottom: 20px;
}
.__learning_item_title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}
.__learning_item_text p:last-child {
    margin-bottom: 0;
}
.__learning_item_link {
    margin-top: 15px;
}
.__learning_item_link .icon {
    fill: none;
    stroke: #0169b4;
    stroke-width: 2px;
    margin-left: 20px;
    width: 10px;
    height: 20px;
}
@media (max-width: 768px) {
    .row-2-cols {
        grid-template-columns: 1fr;
    }
    .__learning_item_title {
        font-size: 18px;
    }
    .__learning_item {
        padding: 10px;
    }
}

/*Mission*/
.__mission_img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.__mission_img-title {
    background-color: #0169b4;
    bottom: 0;
    color: #fff;
    font-size: 1.3125rem;
    font-weight: 700;
    left: 0;
    line-height: 95%;
    padding: 1.25rem .625rem;
    position: absolute;
    text-align: center;
    width: 100%;
}
.__mission_slogan {
  font-size: 20px;
  font-weight: 700;
  line-height: 100%;
  text-transform: uppercase;
}
.__mission_item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px 0 rgba(0,0,0,.07);
    padding: 20px;
    margin-bottom: 20px;
}
.__mission_item_title {
    font-size: 20px;
    font-weight: 600;
}
.__mission_item_text p:last-child {
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .__mission_item_title {
        font-size: 18px;
    }
    .__mission_item {
        padding: 10px;
    }
}
/*SMM*/
.__smm_contact {
    display: grid;
    grid-template-columns: 80% 40%;
    gap: 30px;
}
.__smm_contact_map_wrap {
    background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px 0 rgba(0,0,0,.07);
  padding: 1.5rem;
}
.__smm_contact_title {
    font-size: 18px;
    margin-bottom: 10px;
}
.__smm_contact_text {
    color: #0a0a0a;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    pointer-events: none;
}
.__smm_contact_map {
    --ratio: 797/300;
    aspect-ratio: var(--ratio);
    border-radius: 12px;
    display: block;
    overflow: hidden;
    position: relative;
}
.__smm_contact_map * {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.__smm_contact_info_title {
    font-size: 18px;
    margin-bottom: 10px;
}
.__smm_contact_info_value {
    font-size: 24px;
    text-transform: uppercase;
}
.__smm_contact_info_value a {
    color: #333333;
}
.__smm_contact_info_value:not(:last-child) {
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .__smm_contact {
        grid-template-columns: 1fr;
    }
}
.error-found-page img {
    border-radius: 15px;
}
/*RPN*/
.__rpn_items {
    margin-top: 30px;
}
.__rpn_item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px 0 rgba(0,0,0,.07);
    padding: 20px;
    margin-bottom: 20px;
}
.__rpn_item_title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}
.__rpn_item_text p:last-child {
    margin-bottom: 0;
}
.__rpn_item_link {
    margin-top: 15px;
}
.__rpn_item_link .icon {
    fill: none;
    stroke: #0169b4;
    stroke-width: 2px;
    margin-left: 20px;
    width: 10px;
    height: 20px;
}
.__rpn_infoblock {
    display: none;
}
.__rpn_infoblock.active {
    display: block;
}
.btn-web {
    background-image: url('./img/web.svg');
    background-repeat: no-repeat;
    background-position: 10% center;
    padding-left: 40px;
}
.__rpn_soc-link {
    align-items: center;
    background-color: #0169b4;
    border-radius: 8px;
    color: #fff;
    display: flex;
    font-weight: 700;
    padding: 25px;
    gap: 25px;
}
.__rpn_soc-link .iconC {
    width: 40px;
    height: 40px;
}
.__rpn_infoblock_btns {
    margin-bottom: 20px;
}
.__rpn_item_subtitle {
    font-size: 12px;
    color: #767676;
    font-weight: normal;
}
.__rpn_hashtag-row {
    display: grid;
    grid-template-columns: 35% 65%;
    padding: 15px 0;
    border-bottom: 1px solid #d9d9d9;
}
.__rpn_hashtag-row:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}
.__rpn_hashtag_items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 30px;
}
.__rpn_hashtag {
    background: rgba(2,114,184,.1);
    border-radius: 8px;
    color: #0169b4;
    font-weight: 600;
    overflow: hidden;
    padding: 15px;
}
.__rpn_infoblock .__rpn_item_title {
    margin-bottom: 20px;
}
.__rpn_hashtag-row p {
    margin: 0;
}
@media (max-width: 768px) {
    .__rpn_infoblock_btns {
        gap: 20px;
    }
    .__rpn_soc-link {
        padding: 15px;
        gap: 15px;
    }
    .__rpn_hashtag-row {
        grid-template-columns: 1fr;
    }
    .__rpn_hashtag_items {
        margin-bottom: 20px;
        padding-right: 0;
        gap: 5px;
    }
    .__rpn_hashtag {
        font-size: 12px;
        padding: 10px;
    }
}
.__rpn_map {
    height: 400px;

}
.__rpn_map_wrap {
    position: relative;
}
.__rpn_search {
    width: 330px;
    margin-bottom: 25px;
    margin-top: 10px;
}
.__rpn_search form {
    display: flex;
}
.__rpn_search_form_fields {
    display: flex;
    position: relative;
    width: 100%;
}
.__rpn_search_form_fields .icon {
    height: 25px;
    width: 25px;
    fill: none;
    stroke: #0a0a0a;
}
.__rpn_search_form_fields .icon.icon-close {
    fill: currentColor;
}
.__rpn_search_btn {
    border: none;
    background: none;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    padding: 0;
    height: 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
}
.__rpn_delete_btn {
    border: none;
    background: none;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    padding: 0;
    height: 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    cursor: pointer;
    opacity: 0.5;
}
.__rpn_delete_btn.active {
    opacity: 1;
}
.__rpn_search_input {
    height: 40px;
    width: 100%;
    padding: 0 40px;
}
.__rpn_search_result {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 38px 79px 0 rgba(0,0,0,.25);
  left: 0;
  list-style-type: none;
  margin-bottom: 0;
  max-width: 100%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 40px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  z-index: 4;
  padding-left: 0;
}
.__rpn_search_item:not(:last-child) .__rpn_search_link {
  border-bottom: 1px solid #d9d9d9;
}
.__rpn_search_link {
  color: #0a0a0a;
  display: inline-block;
  font-size: .875rem;
  padding: 12px 24px;
  width: 100%;
}
.__rpn_search_result.active {
  opacity: 1;
  pointer-events: all;
}

/*Сансправочник внутренние*/
.san-guide-section .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.san-guide-section .row video {
    max-width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    .san-guide-section .row {
        grid-template-columns: 1fr;
    }
}

.containerTableSAR {
  display: grid;
  row-gap: 20px;
  background-color: #fff;
  border-radius:12px;
  box-shadow:0 4px 16px 0 rgba(0,0,0,.07);
  overflow:hidden;
  padding:24px
}
.containerTableSAR .dd-group__item,
.containerTableSAR dl {
  margin-bottom: 0 !important;
}
.sStagesItemChildTableSAR dl {
  display: grid;
  row-gap: 20px;
}
.sStagesItemChildTableSAR .dd-group__item {
  border-bottom: 1px solid #d9d9d9;
}
.sStages {
  counter-reset:dd-head;
  counter-reset:dd-head-risk
}
.sStages .dd-group--article .dd-group__head {
  background:#f3f5f7;
  border-radius:8px;
  flex-wrap:wrap;
  font-family:GolostextVf;
  font-size:1.125rem;
  font-weight:400;
  line-height:140%;
  padding:16px 40px 16px 16px
}
.sStages .dd-group--article .dd-group__head span {
  top:24px
}
.sStages .dd-group--article .dd-group__head-article {
  color:#646363;
  font-family:GolostextVf;
  font-size:11px;
  font-weight:400;
  margin-bottom:5px;
  width:100%
}
.sStages .dd-group--article p {
  margin:0
}
.sStages .dd-group--article .dd-group__content {
  background-color:#f3f5f7;
  color:#646363;
  font-size:14px;
  line-height:140%;
  padding:0 16px 16px
}
body .sStages .dd-group__contentInside {
  padding: 16px 0 24px;
}
body .sStagesItemChildTableSAR .dd-group__content {
  padding: 16px 10% 24px 40px;
}
.sStages .dd-group--article ol,
.sStages .dd-group--article ul {
  margin-bottom:0;
  padding-left:20px
}
.sStages .dd-group--article ol li:not(:last-child),
.sStages .dd-group--article ul li:not(:last-child) {
  margin-bottom:16px
}
.sStages .dd-group--article .dd-group__item.active .dd-group__head {
  border-bottom-left-radius:0;
  border-bottom-right-radius:0
}
.sStages .dd-group--article .dd-group__item.active .dd-group__head span:after {
  transform:rotate(90deg)
}
.sStages .dd-group__content {
  background-color:#fff;
  border-radius:0 0 12px 12px;
  padding:16px 16px 24px
}
.sStages .dd-group__content:not(.active) {
  display:none
}
.sStages .dd-group__item {
  margin-bottom:8px
}
.sStages .dd-group__item.active .dd-group__head--rome {
  border-bottom-left-radius:0;
  border-bottom-right-radius:0
}
.sStages .dd-group__item.active .dd-group__head--rome span:after {
  transform:rotate(90deg)
}
.sStages .dd-group__head {
  align-items:center;
  background-color:#fff;
  border-radius:12px;
  color:var(--bl,#0a0a0a);
  cursor:pointer;
  display:flex;
  flex-wrap:wrap;
  font-size:1rem;
  font-weight:700;
  line-height:1;
  padding:24px 46px 24px 24px;
  position:relative
}
.sStages .dd-group__headTableSAR {
  background-color: rgba(243,243,243,.6);
  font-weight: 400;
  flex-wrap: nowrap;
  column-gap: 10%;
}
.sStages .dd-group__headTableSARinside {
  font-weight: 400;
  color: #404149;
  padding: 24px 46px 24px 16px;
  column-gap: 10%;
  font-size: .9rem;
}
.sStages .dd-group__head--rome:before {
  color:#646363;
  content:counter(dd-head,upper-roman) " этап";
  counter-increment:dd-head;
  flex-shrink:0;
  margin-bottom:10px;
  margin-right:30px;
  width:100%
}
.sStages .dd-group__head--risk:before {
  color:#646363;
  content:"Риск " counter(dd-head-risk);
  counter-increment:dd-head-risk;
  flex-shrink:0;
  margin-bottom:10px;
  margin-right:30px;
  width:100%
}
.sStages .dd-group__head span {
  background-color:#bbb;
  border-radius:20%;
  display:block;
  flex-shrink:0;
  height:2px;
  margin-left:auto;
  position:absolute;
  right:16px;
  width:14px
}
.sStages .dd-group__head span:after {
  background-color:#bbb;
  border-radius:20%;
  content:"";
  display:inline-block;
  height:14px;
  left:6px;
  position:absolute;
  top:-6px;
  transition:transform .3s ease-in-out;
  width:2px
}
.sStages--main .dd-group__head {
  border-radius:0
}
.sStages--main .dd-group__head:before {
  content:none
}
.sStages--main .dd-group__item {
  margin:2px
}
.sStages--main .dd-group__item p {
  font-size:14px;
  line-height:140%;
  margin-bottom:0
}
.sStages--main .dd-group__content {
  border-radius:0;
  padding:0 24px 24px
}
.sStages--medicine,
.sStages--risk {
  padding-top:14px
}
.sStages--medicine .dd-group__item.active .dd-group__head span:after,
.sStages--risk .dd-group__item.active .dd-group__head span:after,
.sStages--medicine .sStagesItemChildTableSAR .dd-group__item.active .dd-group__head span:after {
  transform:rotate(90deg)
}
.sStages--medicine .sStagesItemChildTableSAR .dd-group__item .dd-group__head span:after {
  transform:rotate(0deg)
}
.sStages__dl-item {
  align-items:center;
  border-bottom:1px solid #d9d9d9;
  display:flex;
  justify-content:space-between;
  padding:12px 0
}
.sStagesItemChildTableSAR {
  border-bottom: none
}
.sStagesItemChildTableSAR .sStages__dl-item {
  border-bottom: none;
  border-left: 2px solid #0169B4;
  padding: 12px 0 12px 12px;
  flex-direction: column;
  align-items: flex-start;
  row-gap: .3rem;
}
.sStages__dl-item:first-child {
  border-top:1px solid #d9d9d9
}
.sStagesItemChildTableSAR:first-child,
.sStagesItemChildTableSAR .sStages__dl-item:first-child {
  border-top: none;
}
.sStagesItemChildTableSAR .dd-group {
  width: 100%;
  display: grid;
  row-gap: 1rem;
}
.sStages__dl-item dt {
  font-size:1.125rem;
  font-weight:400;
  line-height:140%;
  margin-right:16px
}
.sStagesItemChildTableSAR dt {
  color: #404149;
  font-size: 1rem;
}
.sStagesItemChildTableSAR dd {
  color: #404149;
  font-size: 1.1rem !important;
}
.sStages__dl-item dd {
  font-size:1.25rem;
  font-weight:700;
  line-height:100%;
  margin-bottom:0
}
.sStages--risk {
  padding-bottom:14px
}
.sStages--risk ol,
.sStages--risk ul {
  font-size:.875rem;
  line-height:140%;
  padding-left:20px
}
.sStages--risk ol li:not(:last-child),
.sStages--risk ul li:not(:last-child) {
  margin-bottom:16px
}
.sStages--risk ol li ul,
.sStages--risk ul li ul {
  list-style-type:disc;
  padding-left:0;
  padding-top:16px
}
.sStages--risk p {
  font-size:1.125rem
}
.sStages--risk .alarm {
  align-items:flex-start;
  background-color:transparent;
  border:1px solid #d9d9d9;
  border-radius:12px
}
.sStages--risk .alarm:before {
  margin-right:16px
}
.sStages--risk .alarm p {
  font-size:1rem;
  font-weight:700;
  line-height:100%;
  margin-bottom:16px
}
.sStages--risk .alarm a {
  color:#be1722;
  text-decoration:none
}
.sStages--risk .alarm a .icon {
  stroke:#be1722
}
.sStages__risks-descr {
  font-size:1.125rem;
  line-height:140%
}
.sStages__risks-lists {
  margin-bottom:40px
}
.sStages__list-item {
  margin-bottom:24px
}
.sStages__list-title {
  font-size:.875rem;
  font-weight:700;
  margin-bottom:16px
}
.sStages__prevention {
  background-color:#f3f5f7;
  border-radius:8px;
  padding:16px
}
.sStages__prevention .sStages__list-item {
  margin-bottom:0
}
.sStages__prevention .sStages__list-title {
  font-size:1.25rem
}
.sStages__prevention .sStages__reasons-list {
  margin-bottom:0
}
.sStages--faq {
  --sPT:0.875rem
}
body .risks-accordions .dd-group__content {
    padding: 20px 0 0 40px;
}
.dd-content-wrap {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}
.dd-content-wrap .dd-content-wrap {
    padding-top: 10px;
}
.dd-content-wrap dl {
    padding-top: 10px;
}
body .risks-accordions .dd-content-wrap .dd-group__content {
    padding: 0 0 0 40px;
}
.sStages--medicine .sStagesItemChildTableSAR .dd-content-wrap-inner > .dd-group__head span::after {
    transform: rotate(0);
}
.sStages--medicine .sStagesItemChildTableSAR .dd-content-wrap-inner.active > .dd-group__head span::after {
    transform: rotate(90deg);
}
.alarm {
  align-items:center;
  background:rgba(190,23,34,.2);
  border-radius:.5rem;
  border-top-left-radius:0;
  border-top-right-radius:0;
  display:flex;
  font-size:14px;
  padding:16px
}
.alarm--single {
  border-radius:.5rem;
  margin-bottom:16px
}
.alarm:before {
  content:url(img/alarm.svg);
  flex-shrink:0;
  height:24px;
  margin-right:10px;
  width:24px
}
.alarm a {
  color:#0a0a0a;
  text-decoration:underline
}

.sApp--learning {
  padding-bottom:32px;
  padding-top:14px
}
.sApp--learning .sApp__container {
  background:#be1722;
  background-image:url(img/learning-bg.png);
  background-repeat:no-repeat;
  border-radius:12px;
  padding:24px;
  align-items: center;
    background-position: 77% 10%;
    background-size: 227px 385px;
    flex-direction: row;
    color: #fff;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.sApp--learning .sApp__title {
  font-size: 30px;
  font-weight:700;
  line-height:2;
  text-transform:uppercase;
}
.sApp--learning .sApp__btn {
  margin-bottom:0;
  background: none;
  border: 1px solid #fff;
  color: #fff;
}
.sApp--learning .sApp__btn:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 768px) {
   .sApp--learning .sApp__container {
        background-position: 100% 10%;
  background-repeat: no-repeat;
  border-radius: 12px;
  flex-direction: column;
  padding: 24px;
  align-items: start;
    }
    .sApp--learning .sApp__title {
        max-width: 70%;
        margin-bottom: 20px;
        font-size: 24px;
        line-height: 1.2;
    }
    .sApp--learning .sApp__btn {
        max-width: 70%;
        width: 100%;
        text-align: center;
    }
}
.sBreach {
  --sPT:0.875rem
}
.sBreach ul {
  font-size:1rem;
  line-height:140%;
  list-style-type:none;
  margin-bottom:40px;
  padding-left: 0;
}
.sBreach ul li {
  display:flex
}
.sBreach ul li:before {
  background-image:url(img/alarm-card.svg);
  background-repeat:no-repeat;
  background-size:cover;
  content:"";
  display:inline-block;
  flex-shrink:0;
  height:32px;
  margin-right:16px;
  width:32px
}
.sBreach ul li:not(:last-child) {
  margin-bottom:24px
}
.sBreach .alarm {
  align-items:flex-start;
  border-radius:8px
}
.sBreach .alarm p {
  margin:0;
}
.sBreach .alarm ol {
  margin-bottom:0;
  padding-left:16px
}

.sThreats__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  text-align: center;
  gap: 30px;
}
.sThreats__img-wrap {
  height:40px;
  margin:0 auto 24px;
  width:40px
}
.sThreats__img-wrap img {
  max-width:100%
}
.sThreats__title {
  font-size:.875rem;
  line-height:140%
}
@media (max-width: 768px) {
    .sThreats__row {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767px){
    .nadzor-accordions .sStagesItemChildTableSAR .dd-group__content {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }
    .nadzor-accordions .sStagesItemChildTableSAR .dd-group__content .sStages__dl-item {
        padding-top: 0;
        padding-bottom: 0;
    }
    .nadzor-accordions .sStagesItemChildTableSAR .dd-group__content .sStages__dl-item ul {
        margin-left: 0;
        padding-left: 15px;
    }
    .nadzor-accordions .sStagesItemChildTableSAR .dd-group__content .sStages__dl-item ol {
        padding-left: 15px;
    }
    .nadzor-accordions .sStagesItemChildTableSAR .dd-group__content .sStages__dl-item ol li ul {
        margin-left: 0;
    }
    .nadzor-accordions .sStagesItemChildTableSAR .dd-group__content .sStages__dl-item ul li ul {
        margin-left: 0;
    }
    .nadzor-accordions .sStagesItemChildTableSAR dt {
        font-size: 0.8rem;
    }
    body .risks-accordions .dd-group__content {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }
    .risks-accordions .dd-group__content .sStages__dl-item {
        padding-top: 0;
        padding-bottom: 0;
    }
    .risks-accordions .dd-group__content .sStages__dl-item ul {
        margin-left: 0;
        padding-left: 15px;
    }
    .risks-accordions .dd-group__content .sStages__dl-item ol {
        padding-left: 15px;
    }
    .risks-accordions .dd-group__content .sStages__dl-item ol li ul {
        margin-left: 0.7rem;
    }
    .risks-accordions .dd-group__content .sStages__dl-item ul li ul {
        margin-left: 0.7rem;
    }
    .risks-accordions dt {
        font-size: 0.8rem;
    }
    body .risks-accordions .dd-content-wrap .dd-group__content {
        padding-left: 0;
    }
}
.okvedSection {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px 0 rgba(0,0,0,.07);
}
.no_actions_block {
    padding-bottom: 0;
}
.__page_erelmk {
    padding: 20px 0;
}
.erelmk-container {
	height: 85vh;
}
.erelmk-container iframe {
	height: 100%;
	width: 100%;
    border: none;
}
@media (max-width: 767px){
    .erelmk-container {
	    height: 90vh;
    }
    .logo-title {
        font-size: 25px;
    }
}
.formatted-text a {
  word-break: break-all;
}
.no-mr {
    margin: 0 !important;
}
h2.__seo_h3_to_h2 {
    font-size: 1.17em;
    font-weight: 700;
    line-height: normal;
    margin: 1em 0;
}
.__page_detail_title h1 {
  font-size: 28px;
}

/* Preserve card label typography after semantic heading conversion. */
@media (max-width: 768px) {
    h2.__learning_item_title { font-size: 18px !important; letter-spacing: normal !important; }
    h2.__rpn_item_title { font-size: 20px !important; letter-spacing: normal !important; }
}
