/* CSS kod pishite v etom faile, chotobi pri ustanovke obnovlenii ne bilo problem  */
/* --------------------------------------- */
/* Here you can put custom css rules for your site */

footer#footer {
background-color: #004C25;
}

html body.with_decorate {
 padding-left: 0 !important;
 padding-right: 0 !important;
}

.logo_and_menu-row .phone .svg-phone.mask {
display: none;
}

.item-views.tarifs .item .bottom_block .previewtext > div {
text-align: left;
}

footer#footer {

margin-bottom: 0;
}

.logo_and_menu-row .phone-block {
  position: relative;
}


.qr-footer-block {
  text-align: center;
  padding-left: 25px;
  margin-top: -10px;
}

.qr-footer-block h3 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 5px;
}

.qr-footer-block img {
    width: 160px;
    height: auto;
}

/* Виталий begin */
body {
    color: #333;
}
a {
    color: #73b316;
}
blockquote {
    font-weight: normal;
    font-size: 1em;
    font-style: italic;
}
.item-views.news-items.projects.linked .item .title, .item-views.news-items.projects.linked .item .section_name {
    color: #fff;
}
.item-views.news-items.projects .item .title, .item-views.news-items .item .section_name {
    min-height: 36px;
}
.tizers.in_content .tizer .image {
    line-height: normal;
}
.fly_forms {
    background: #ffffff90;
}
blockquote.info {
    font-size: 1em;
    font-style: normal;
}
.item-views.tarifs .item .bottom_block {
    padding-bottom: 0;
}
.item-views.tarifs.type_3 .flexslider .item .prices {
    padding: 0;
}
@media (max-width: 991px) {
    footer.footer-v3 .social-icons ul {
        background: #004C25;;
    }
}
.mix_banners .item .text .title {
    max-height: 200px;
}
.contacts.type_3 .top_block .item {
    padding-right: 8px;
}

img.img_left {
    float: left;
    margin: 5px 20px 5px 0!important;
}
img.photo {
    border: 2px solid #fff;
    box-shadow: 0 1px 5px rgb(0 0 0 / 22%);
    margin: 0 0 10px;
}

@media (max-width: 600px) {
    body .order-block td .text {
        text-align: left;
    }
}

.extra-block-2001 .text::before, .extra-block-2002 .text::before, .extra-block-2003 .text::before, .extra-block-2004 .text::before, .extra-block-2005 .text::before,
.extra-block-2006 .text::before, .extra-block-2007 .text::before, .extra-block-2008 .text::before, .extra-block-2009 .text::before, .extra-block-2010 .text::before,
.extra-block-2011 .text::before, .extra-block-2012 .text::before, .extra-block-2013 .text::before, .extra-block-2014 .text::before, .extra-block-2015 .text::before,
.extra-block-2016 .text::before, .extra-block-2017 .text::before, .extra-block-2018 .text::before, .extra-block-2019 .text::before, .extra-block-2020 .text::before,
.extra-block-2021 .text::before, .extra-block-2022 .text::before, .extra-block-2023 .text::before, .extra-block-2024 .text::before, .extra-block-2025 .text::before,
.extra-block-2026 .text::before, .extra-block-2027 .text::before, .extra-block-2028 .text::before, .extra-block-2029 .text::before, .extra-block-2030 .text::before,
.extra-block-2031 .text::before, .extra-block-2032 .text::before, .extra-block-2033 .text::before, .extra-block-2034 .text::before, .extra-block-2035 .text::before,
.extra-block-2036 .text::before, .extra-block-2037 .text::before, .extra-block-2038 .text::before, .extra-block-2039 .text::before {
	background: url("../images/calendar_blank.png") 0 0 no-repeat;
    background-color: #F8F9FB !important;
    background-size: cover !important;
    height: 48px;
    width: 76px;
    left: 15px;
	color: #1c553c;
	font-size: 24px;
	padding-top: 21px;
	padding-left: 4px;
	word-spacing: 4px;
}

.extra-block-2001 .text::before {
	content: '20 01';
}
.extra-block-2002 .text::before {
	content: '20 02';
	word-spacing: 2px;
}
.extra-block-2003 .text::before {
	content: '20 03';
	word-spacing: 2px;
}
.extra-block-2004 .text::before {
	content: '20 04';
	word-spacing: 2px;
}
.extra-block-2005 .text::before {
	content: '20 05';
	word-spacing: 2px;
}
.extra-block-2006 .text::before {
	content: '20 06';
	word-spacing: 2px;
}
.extra-block-2007 .text::before {
	content: '20 07';
	word-spacing: 2px;
}
.extra-block-2008 .text::before {
	content: '20 08';
	word-spacing: 2px;
}
.extra-block-2009 .text::before {
	content: '20 09';
	word-spacing: 2px;
}
.extra-block-2010 .text::before {
	content: '20 10';
	word-spacing: 6px;
}
.extra-block-2011 .text::before {
	content: '20 11';
	word-spacing: 9px;
}
.extra-block-2012 .text::before {
	content: '20 12';
	word-spacing: 6px;
}
.extra-block-2013 .text::before {
	content: '20 13';
	word-spacing: 6px;
}
.extra-block-2014 .text::before {
	content: '20 14';
	word-spacing: 6px;
}
.extra-block-2015 .text::before {
	content: '20 15';
	word-spacing: 6px;
}
.extra-block-2016 .text::before {
	content: '20 16';
	word-spacing: 6px;
}
.extra-block-2017 .text::before {
	content: '20 17';
	word-spacing: 6px;
}
.extra-block-2018 .text::before {
	content: '20 18';
	word-spacing: 6px;
}
.extra-block-2019 .text::before {
	content: '20 19';
	word-spacing: 6px;
}
.extra-block-2020 .text::before {
	content: '20 20';
}
.extra-block-2021 .text::before {
	content: '20 21';
	word-spacing: 6px;
}
.extra-block-2022 .text::before {
	content: '20 22';
}
.extra-block-2023 .text::before {
	content: '20 23';
}
.extra-block-2024 .text::before {
	content: '20 24';
}
.extra-block-2025 .text::before {
	content: '20 25';
}
.extra-block-2026 .text::before {
	content: '20 26';
}
.extra-block-2027 .text::before {
	content: '20 27';
}
.extra-block-2028 .text::before {
	content: '20 28';
}
.extra-block-2029 .text::before {
	content: '20 29';
}
.extra-block-2030 .text::before {
	content: '20 30';
}
.extra-block-2031 .text::before {
	content: '20 31';
	word-spacing: 6px;
}
.extra-block-2032 .text::before {
	content: '20 32';
}
.extra-block-2033 .text::before {
	content: '20 33';
}
.extra-block-2034 .text::before {
	content: '20 34';
}
.extra-block-2035 .text::before {
	content: '20 35';
}
.extra-block-2036 .text::before {
	content: '20 36';
}
.extra-block-2037 .text::before {
	content: '20 37';
}
.extra-block-2038 .text::before {
	content: '20 38';
}
.extra-block-2039 .text::before {
	content: '20 39';
}
/*
footer .info .subscribe_button .btn {
    background: #004c25;
    border-color: #004c25;
}
*/
footer .info .subscribe_button .btn {
    background: #fff;
    border-color: #fff;
    color: #004c25;
}

/* Виталий end */

.project .info.wti .task {
    font-size: 1em;
}

.block-fix-tg a {
    overflow: hidden;
    position: relative;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    font-size: 0;
    display: inline-block;
    width: 43px;
    height: 38px;
    opacity: 1;
    background: url(/bitrix/templates/aspro-priority_12.09.2022_TSA/images/svg/social.svg) 0 0 no-repeat;
    background-position: -330px -518px;
    transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -ms-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    -webkit-transition: opacity 0.3s ease;
}
.block-fix-tg span {
width: 43px;
    height: 38px;
    opacity: 1;
    background: url(/bitrix/templates/aspro-priority_12.09.2022_TSA/images/svg/social.svg) 0 0 no-repeat;
    background-position: -330px -518px;
    transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -ms-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    -webkit-transition: opacity 0.3s ease;
}

.block-fix-tg {
    position: fixed;
    bottom: 0;
    text-align: center;
    width: 100%;
background-color: #2481cc; /*#004c25;
    border-color: #004c25;*/
    line-height: 100%;
display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 20;
    border: none !important;
}

.block-fix-tg:hover, .block-fix-tg:focus {color: #fff;}

/*.block-fix-tg p {
    background-color: #004c25;
    border-color: #004c25;
    color: #ffffff;
    /* border: 1px solid;
    
    letter-spacing: 0.8px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}*/

#modal-content {
    display: none;
    position: fixed;
    z-index: 9999999;
    /*background: #FFF;*/
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    max-width: 520px;
    width: 100%;
    text-align: center;
    padding: 10px 20px; 
    /*border: 4px solid #337AB7;*/
    /*box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);*/
max-width: 517px;
    margin: 0 auto;
    position: relative;
}
#modal-close {
    display: inline-block;
    /* margin: 10px 6px 4px 6px; */
    /* text-decoration: none; */
    position: absolute;
    font-size: 16px;
    padding: 8px 16px;
    /* color: #FFF; */
    /* font-weight: bold; */
    /* text-transform: uppercase; */
    /* background: #337AB7; */
    z-index: 100000;
    top: 40px;
    right: 20px;
display: block;
width: 30px;
    height: 30px;
background: url(/images/close.png?v=1) no-repeat;
}
#modal-close:hover {
    /*color: #FFF;*/
}
#modal-close:after,
#modal-close:before {
    /*position: absolute;
    height: 2px;
    left: 50%;
    background: #337AB7;
    bottom: -6px;
    content: "";
    transition: all 280ms ease-in-out;
    width: 0;*/
}
#modal-close:before {
    /*top: -6px;*/
}
#modal-close:hover:after,
#modal-close:hover:before {
    /*width: 100%;
    left: 0;*/
}
.reg-popup-content {
    position: relative;
    width: 100%;
    max-width: 517px;
    height: 100vh;
    z-index: 10000;
    text-align: center;
    background: url(/images/15-10-2024-back.png?v=3) no-repeat;
    background-size: contain;
    background-position: center;
background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding-bottom: 4vh;
    max-height: 550px;
    transform: translateY(-30px);
margin: 120px auto;
}

.reg-popup-content h2 {
max-width: 380px;
    margin: 0 auto;
}
.reg-p-header {
    font-family: Montserrat, sans-serif;
    font-weight: bold;
    font-size: 26px;
    line-height: 110%;
    text-align: center;
    color: #33305A;
    margin-bottom: 15px;
}
.reg-popup-social {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}
#reg-popup-footer {
    position: absolute;
    bottom: 20px;
    text-align: center;
    font-family: 'PT Sans', sans-serif;
    font-size: 13px;
    line-height: 125%;
    color: #A3A3A3;
    width: 405px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
}
#reg-popup-tgm {
    background: url(/images/23-tgm-gr.svg) no-repeat;
display: block;
    width: 32px;
    height: 32px;
    margin: 0 9px
}
#reg-popup-form-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(19, 18, 46, 0.79);
    z-index: 20000;
    display: none;
}
@media (max-width: 580px) {
.reg-popup-content h2 {
    max-width: 210px;
    margin: 0 auto;
    font-size: 16px;
}

.reg-popup-content {
    max-height: 370px;
}

#modal-content {
    width: 100%;
}

#modal-content {
    left: 50%;
    top: 50%;
    transform: 0;
}
}

@media (max-width: 320px) {
    .reg-popup-content {
        max-height: 320px;
    }
	.reg-popup-social {
    	margin-top: 10px;
	}
    .reg-popup-content h2 {
        max-width: 200px;
    }
}

/* Основная кнопка */
.messenger-main-btn {
    width: 60px;
    height: 60px;
    background: #004c25;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 76, 37, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.messenger-main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 76, 37, 0.5);
}

.messenger-main-btn svg {
    width: 28px;
    height: 28px;
    color: white;
    transition: all 0.3s ease;
    position: absolute;
}

.messenger-main-btn .icon-close {
    opacity: 0;
    transform: rotate(-90deg);
}

.messenger-widget.active .messenger-main-btn .icon-chat {
    opacity: 0;
    transform: rotate(90deg);
}

.messenger-widget.active .messenger-main-btn .icon-close {
    opacity: 1;
    transform: rotate(0);
}

/* Виджет мессенджеров */
.messenger-widget {
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Основная кнопка */
.messenger-main-btn {
    width: 60px;
    height: 60px;
    background: #004c25;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 76, 37, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.messenger-main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 76, 37, 0.5);
}

.messenger-main-btn svg {
    width: 28px;
    height: 28px;
    color: white;
    transition: all 0.3s ease;
    position: absolute;
}

.messenger-main-btn .icon-close {
    opacity: 0;
    transform: rotate(-90deg);
}

.messenger-widget.active .messenger-main-btn .icon-chat {
    opacity: 0;
    transform: rotate(90deg);
}

.messenger-widget.active .messenger-main-btn .icon-close {
    opacity: 1;
    transform: rotate(0);
}

/* Кнопки мессенджеров */
.messenger-buttons {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.messenger-widget.active .messenger-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.messenger-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 10px 20px;
    background: white;
    border-radius: 30px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.messenger-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.messenger-btn svg, .messenger-btn img {
    display: block;
    height: 24px;
    flex-shrink: 0;
}

/* Telegram */
.messenger-btn.telegram svg {
    width: 24px;
    color: #0088cc;
}

.messenger-btn.telegram:hover {
    background: #0088cc;
    color: white;
}

.messenger-btn.telegram:hover svg {
    color: white;
}

/* Max - адаптация под широкий логотип */
.messenger-btn.max svg {
    width: 50px;
    height: 16px;
    color: #004c25;
}

.messenger-btn.max:hover {
    background: #004c25;
    color: white;
}

.messenger-btn.max:hover svg {
    color: white;
}

/* Анимация появления кнопок по очереди */
.messenger-widget.active .messenger-btn:nth-child(1) {
    transition-delay: 0.1s;
}

.messenger-widget.active .messenger-btn:nth-child(2) {
    transition-delay: 0.05s;
}

/* Пульсация основной кнопки */
@keyframes pulse {
    0% { box-shadow: 0 4px 15px rgba(0, 76, 37, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(0, 76, 37, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(0, 76, 37, 0.4); }
}

.messenger-main-btn:not(:hover) {
    animation: pulse 2s infinite;
}

.messenger-widget.active .messenger-main-btn {
    animation: none;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .messenger-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .messenger-main-btn {
        width: 55px;
        height: 55px;
    }
    
    .messenger-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/*
  Страница «Участие в рейтингах» — JBI Group.
  ВАЖНО: страница встраивается в контентную колонку шириной не более 1020px.
  Все значения шрифтов заданы в px, чтобы не зависеть от базового font-size шаблона Bitrix.
*/
:root {
    --ratings-green: #004C25;
    --ratings-link: #73b316;
    --ratings-ink: #000000;
    --ratings-muted: #546057;
    --ratings-surface: #ffffff;
    --ratings-surface-soft: #f5f8f3;
    --ratings-line: rgba(0, 76, 37, 0.16);
    --ratings-shadow: 0 16px 42px rgba(0, 38, 18, 0.09);
    --ratings-radius-xl: 28px;
    --ratings-radius-lg: 20px;
    --ratings-radius-md: 14px;
}

.ratings-page,
.ratings-page * {
    box-sizing: border-box;
}

/* Учитывает левое меню: контент не растягивается шире 1020px. */
.ratings-page {
    width: 100%;
    max-width: 1020px;
    min-width: 0;
    margin: 0 auto;
    padding: 0 0 96px;
    color: var(--ratings-ink);
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.58;
}

.ratings-page,
.ratings-page p,
.ratings-page li {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.ratings-page img {
    display: block;
    width: 100%;
    height: auto;
}

.ratings-page a {
    color: var(--ratings-link);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

.ratings-page a:hover,
.ratings-page a:focus-visible {
    color: var(--ratings-green);
    text-decoration-thickness: 3px;
}

.ratings-page a:focus-visible,
.ratings-nav a:focus-visible {
    outline: 3px solid rgba(115, 179, 22, 0.38);
    outline-offset: 3px;
}

/* Hero также ограничен шириной контентной колонки. */
.ratings-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    gap: 42px;
    align-items: center;
    width: 100%;
    max-width: 1020px;
    margin: 0 auto 42px;
    padding: 58px 48px;
    border-radius: 0 0 var(--ratings-radius-xl) var(--ratings-radius-xl);
    color: #ffffff;
    background: var(--ratings-green);
}

.ratings-hero::before,
.ratings-hero::after {
    position: absolute;
    z-index: 0;
    width: 370px;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.ratings-hero::before {
    top: -45%;
    left: -11%;
}

.ratings-hero::after {
    right: 40%;
    bottom: -70%;
}

.ratings-hero__content,
.ratings-hero__visual {
    position: relative;
    z-index: 1;
}

.ratings-eyebrow,
.ratings-kicker {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.ratings-eyebrow {
    color: rgba(255, 255, 255, 0.76);
}

.ratings-hero__title {
    max-width: 9ch;
    margin: 0;
    font-size: clamp(48px, 5.4vw, 64px);
    font-weight: 850;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.ratings-hero__visual {
    overflow: hidden;
    border-radius: var(--ratings-radius-lg);
    background: #ffffff;
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.18);
}

.ratings-hero__visual img {
    max-height: 420px;
    object-fit: cover;
    object-position: center;
}

.ratings-nav {
    position: sticky;
    z-index: 5;
    top: 0;
    width: 100%;
    max-width: 1020px;
    margin: 0 auto 56px;
    border-top: 1px solid var(--ratings-line);
    border-bottom: 1px solid var(--ratings-line);
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.ratings-nav__inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    width: 100%;
    margin: 0 auto;
    padding: 14px 18px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 76, 37, 0.32) transparent;
}

.ratings-nav a {
    flex: 0 0 auto;
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--ratings-green);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

.ratings-nav a:hover,
.ratings-nav a:focus-visible {
    color: #ffffff;
    background: var(--ratings-green);
}

.ratings-page__container {
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
}

.ratings-section {
    scroll-margin-top: 92px;
    margin-top: 84px;
}

.ratings-section:first-child {
    margin-top: 0;
}

.ratings-section--featured {
    position: relative;
    overflow: hidden;
    padding: 42px;
    border: 1px solid var(--ratings-line);
    border-radius: var(--ratings-radius-xl);
    background: linear-gradient(135deg, #ffffff 0%, var(--ratings-surface-soft) 100%);
    box-shadow: var(--ratings-shadow);
}

.ratings-section--featured::before {
    position: absolute;
    top: -100px;
    right: -80px;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(115, 179, 22, 0.24);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.ratings-section__heading,
.ratings-archive-card__heading {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.ratings-kicker {
    color: var(--ratings-link);
}

.ratings-section h2,
.ratings-section h3 {
    margin: 0;
    color: var(--ratings-green);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.ratings-section h2 {
    max-width: 19ch;
    font-size: clamp(42px, 4.6vw, 52px);
}

.ratings-section h3 {
    font-size: clamp(32px, 3.7vw, 40px);
}

.ratings-feature-grid,
.ratings-split {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
    gap: 38px;
    align-items: center;
}

.ratings-split--top-align {
    align-items: start;
}

.ratings-prose,
.ratings-prose p,
.ratings-prose li {
    font-size: clamp(19px, 2vw, 21px);
    font-weight: 600;
    line-height: 1.58;
}

.ratings-prose {
    max-width: 66ch;
}

.ratings-prose--wide {
    max-width: 74ch;
}

.ratings-prose p {
    margin: 0 0 22px;
}

.ratings-prose strong {
    font-weight: 850;
}

.ratings-prose p:last-child {
    margin-bottom: 0;
}

.ratings-list {
    display: grid;
    gap: 16px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.ratings-list li {
    position: relative;
    padding-left: 30px;
}

.ratings-list li::before {
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ratings-link);
    content: "";
}

.ratings-list li > span {
    display: block;
    margin-top: 8px;
}

.ratings-list__caption {
    color: var(--ratings-muted);
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ratings-list--columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36px;
}

.ratings-note {
    padding: 18px 20px;
    border-left: 5px solid var(--ratings-link);
    border-radius: 0 var(--ratings-radius-md) var(--ratings-radius-md) 0;
    background: rgba(115, 179, 22, 0.10);
}

.ratings-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ratings-fact {
    display: grid;
    min-height: 214px;
    align-content: end;
    padding: 26px 24px;
    border-radius: var(--ratings-radius-lg);
    color: #ffffff;
    background: var(--ratings-green);
    box-shadow: 0 14px 24px rgba(0, 76, 37, 0.16);
}

.ratings-fact:nth-child(2) {
    color: var(--ratings-green);
    background: #dfeeca;
}

.ratings-fact__value {
    display: block;
    font-size: clamp(70px, 7.5vw, 86px);
    font-weight: 850;
    line-height: 0.82;
    letter-spacing: -0.08em;
}

.ratings-fact__label {
    margin-top: 16px;
    font-size: 17px;
    font-weight: 850;
    line-height: 1.3;
}

.ratings-media {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--ratings-line);
    border-radius: var(--ratings-radius-lg);
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 55, 26, 0.08);
}

.ratings-media--wide {
    margin: 38px 0;
}

.ratings-media--card {
    align-self: center;
}

.ratings-media--portrait {
    width: min(100%, 360px);
    justify-self: end;
}

.ratings-media img {
    transition: transform 420ms ease;
}

.ratings-media:hover img {
    transform: scale(1.015);
}

.ratings-image-pair {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.8fr);
    gap: 16px;
    align-items: center;
}

.ratings-gallery {
    display: grid;
    grid-auto-columns: minmax(250px, 78%);
    grid-auto-flow: column;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 2px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(0, 76, 37, 0.35) transparent;
    scrollbar-width: thin;
}

.ratings-gallery__item {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--ratings-line);
    border-radius: var(--ratings-radius-md);
    background: #ffffff;
    scroll-snap-align: start;
    box-shadow: 0 8px 18px rgba(0, 55, 26, 0.06);
}

.ratings-gallery__item img {
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

.ratings-gallery__item:hover img {
    transform: scale(1.03);
}

.ratings-gallery--two {
    grid-auto-columns: minmax(220px, calc(50% - 8px));
}

.ratings-gallery--full {
    grid-auto-columns: minmax(260px, 31%);
    margin-top: 34px;
}

.ratings-section--archive {
    padding-top: 18px;
}

.ratings-archive-card {
    scroll-margin-top: 92px;
    padding: 40px 0;
    border-top: 1px solid var(--ratings-line);
}

.ratings-archive-card:last-child {
    border-bottom: 1px solid var(--ratings-line);
}

/* Когда контентная зона уже меньше 1020px, сетка перестраивается раньше. */
@media (max-width: 1050px) {
    .ratings-page {
        width: calc(100% - 32px);
    }

    .ratings-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding: 46px 38px 38px;
    }

    .ratings-hero__title {
        max-width: 11ch;
    }

    .ratings-hero__visual img {
        max-height: none;
        object-fit: contain;
    }

    .ratings-feature-grid,
    .ratings-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .ratings-media--portrait {
        justify-self: start;
    }

    .ratings-gallery,
    .ratings-gallery--two {
        grid-auto-columns: minmax(260px, 58%);
    }

    .ratings-gallery--full {
        grid-auto-columns: minmax(260px, 42%);
    }
}

@media (max-width: 640px) {
    .ratings-page {
        width: calc(100% - 24px);
        padding-bottom: 64px;
        font-size: 18px;
    }

    .ratings-hero {
        margin-bottom: 20px;
        padding: 36px 20px 20px;
        border-radius: 0 0 20px 20px;
    }

    .ratings-hero::after {
        right: -30%;
    }

    .ratings-hero__title {
        font-size: clamp(40px, 12vw, 50px);
    }

    .ratings-nav {
        margin-bottom: 42px;
    }

    .ratings-nav__inner {
        padding: 12px 10px;
    }

    .ratings-nav a {
        padding: 9px 12px;
        font-size: 16px;
    }

    .ratings-section {
        scroll-margin-top: 76px;
        margin-top: 58px;
    }

    .ratings-section--featured {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .ratings-section__heading,
    .ratings-archive-card__heading {
        margin-bottom: 24px;
    }

    .ratings-section h2 {
        font-size: clamp(34px, 10vw, 42px);
    }

    .ratings-section h3 {
        font-size: clamp(28px, 8vw, 34px);
    }

    .ratings-eyebrow,
    .ratings-kicker {
        font-size: 12px;
    }

    .ratings-prose,
    .ratings-prose p,
    .ratings-prose li {
        font-size: 18px;
        line-height: 1.58;
    }

    .ratings-list {
        gap: 14px;
        margin: 20px 0;
    }

    .ratings-list li {
        padding-left: 26px;
    }

    .ratings-list li::before {
        width: 9px;
        height: 9px;
    }

    .ratings-facts {
        gap: 12px;
    }

    .ratings-fact {
        min-height: 164px;
        padding: 20px 16px;
        border-radius: 14px;
    }

    .ratings-fact__value {
        font-size: clamp(54px, 15vw, 68px);
    }

    .ratings-fact__label {
        margin-top: 12px;
        font-size: 15px;
    }

    .ratings-list--columns,
    .ratings-image-pair {
        grid-template-columns: minmax(0, 1fr);
    }

    .ratings-gallery,
    .ratings-gallery--two,
    .ratings-gallery--full {
        grid-auto-columns: minmax(240px, 82%);
    }

    .ratings-archive-card {
        scroll-margin-top: 76px;
        padding: 30px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ratings-page *,
    .ratings-page *::before,
    .ratings-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.social-icons li.mail a,
.soc-avt a i.mymailru {
    display: block;
    width: 43px;
    height: 43px;

    background-image: url("/upload/max.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 43px 43px;
}

.top_telegram {
  position: absolute;
  top: -12px;
  left: -10px;
  z-index: 10;
}

.top_telegram a {
  display: block;
  width: 25px;
  height: 25px;
  border-radius: 3px;
  background: url(../images/svg/social.svg) 0 0 no-repeat;
  background-position: -338px -713px;
  transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -ms-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  -webkit-transition: opacity 0.3s ease;
  font-size: 0;
  overflow: hidden;
  zoom: 150%;
}

.top_telegram a:hover {
  background-position: -338px -338px;
}

.count_menu_full_count_3 .mega-menu table td.full_dropdown>.wrap>.dropdown-menu>li, .count_menu_wide_count_3 .mega-menu table td.full_dropdown>.wrap>.dropdown-menu>li {
    width: 25%!important;
}

/* ==========================================================================
   JBI modern menu — editorial concept
   ========================================================================== */

:root {
  --jbi-menu-green: #004c25;
  --jbi-menu-green-dark: #00391c;
  --jbi-menu-green-light: #edf5f0;
  --jbi-menu-text: #1d2621;
  --jbi-menu-muted: #69736d;
  --jbi-menu-line: #e3e9e5;
  --jbi-menu-white: #fff;
  --jbi-menu-shadow: 0 20px 50px rgba(24, 49, 35, .14);
}

.jbi-modern-header,
.jbi-modern-fixed,
.jbi-modern-mobile-header,
.jbi-modern-mobile-menu,
.jbi-modern-burger-menu {
  color: var(--jbi-menu-text);
}

.jbi-modern-header a:focus-visible,
.jbi-modern-header button:focus-visible,
.jbi-modern-fixed a:focus-visible,
.jbi-modern-fixed button:focus-visible,
.jbi-modern-burger-menu a:focus-visible,
.jbi-modern-mobile-menu a:focus-visible {
  outline: 2px solid var(--jbi-menu-green);
  outline-offset: 3px;
}

/* Main desktop header */

.jbi-modern-header .jbi-modern-header__container {
  padding-right: 40px;
  padding-left: 40px;
}

.jbi-modern-header .jbi-modern-header__inner {
  display: grid;
  grid-template-columns: auto minmax(390px, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 88px;
}

.jbi-modern-header .jbi-modern-header__brand,
.jbi-modern-fixed .jbi-modern-fixed__brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.jbi-modern-header .jbi-modern-header__brand .burger {
  flex: 0 0 42px;
  width: 42px;
  height: 88px;
  margin: 0 16px 0 0;
}

.jbi-modern-header .jbi-modern-header__brand .burger .svg-burger {
  left: 0;
}

.jbi-modern-header .jbi-modern-header__brand .logo {
  width: 160px;
  max-width: 160px;
  height: 68px;
  margin: 0;
}

.jbi-modern-header .jbi-modern-header__brand .logo a {
  height: 68px;
  line-height: 68px;
}

.jbi-modern-header .jbi-modern-header__brand .logo img,
.jbi-modern-header .jbi-modern-header__brand .logo svg {
  max-width: 100%;
  max-height: 100%;
}

.jbi-modern-header .jbi-modern-header__nav {
  min-width: 0;
  height: 88px;
}

.jbi-modern-header .jbi-modern-header__nav .mega-menu {
  width: 100%;
  height: 88px;
}

.jbi-modern-header .jbi-modern-header__nav .mega-menu .table-menu {
  height: 88px;
  padding: 0;
}

.jbi-modern-header .jbi-modern-header__nav .mega-menu table td .wrap > a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  padding: 0 15px;
  color: var(--jbi-menu-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jbi-modern-header .jbi-modern-header__nav .mega-menu table td .wrap > a > span {
  padding: 0;
}

.jbi-modern-header .jbi-modern-header__nav .mega-menu table td .wrap > a > span:after {
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  border: 0;
  background: var(--jbi-menu-green);
}

.jbi-modern-header .jbi-modern-header__actions,
.jbi-modern-fixed .jbi-modern-fixed__actions,
.jbi-modern-mobile-header .jbi-modern-mobile-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.jbi-modern-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.jbi-modern-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--jbi-menu-line);
  border-radius: 50%;
  background: var(--jbi-menu-white);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.jbi-modern-social:hover {
  border-color: var(--jbi-menu-green);
  background: var(--jbi-menu-green-light);
  transform: translateY(-1px);
}

.jbi-modern-social svg,
.jbi-modern-social img {
  display: block;
  width: 18px;
  height: 18px;
}

.jbi-modern-social--telegram svg {
  fill: var(--jbi-menu-green);
}

.jbi-modern-social--max img {
  object-fit: contain;
}

.jbi-modern-header .jbi-modern-header__phone,
.jbi-modern-fixed .jbi-modern-fixed__phone {
  position: relative;
  min-width: 154px;
}

.jbi-modern-header .jbi-modern-header__phone .phone,
.jbi-modern-fixed .jbi-modern-fixed__phone .phone {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
}

.jbi-modern-header .jbi-modern-header__phone .phone a,
.jbi-modern-fixed .jbi-modern-fixed__phone .phone a {
  color: var(--jbi-menu-text);
}

.jbi-modern-header .jbi-modern-header__phone .svg-phone,
.jbi-modern-fixed .jbi-modern-fixed__phone .svg-phone {
  display: none;
}

.jbi-modern-header .jbi-modern-header__callback {
  display: block;
  margin: 5px 0 0;
  color: var(--jbi-menu-green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.jbi-modern-header .jbi-modern-header__search,
.jbi-modern-fixed .jbi-modern-fixed__search {
  display: flex;
  align-items: center;
}

.jbi-modern-header .jbi-modern-header__search .inline-search-show {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--jbi-menu-line);
  border-radius: 50%;
  line-height: 0 !important;
}

.jbi-modern-header .jbi-modern-header__search .inline-search-show .svg,
.jbi-modern-header .jbi-modern-header__search .inline-search-show .svg-search,
.jbi-modern-fixed .jbi-modern-fixed__search .inline-search-show .svg,
.jbi-modern-fixed .jbi-modern-fixed__search .inline-search-show .svg-search {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: block;
  flex: 0 0 18px;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  vertical-align: middle;
  transform: none !important;
}

.jbi-modern-header .jbi-modern-header__search .inline-search-show:hover,
.jbi-modern-fixed .jbi-modern-fixed__search .inline-search-show:hover {
  border-color: var(--jbi-menu-green);
  background: var(--jbi-menu-green-light);
}

.jbi-modern-header .jbi-modern-header__optional,
.jbi-modern-fixed .jbi-modern-fixed__optional {
  display: flex;
  align-items: center;
}

/* Enhanced desktop dropdowns. The original bitrix:menu output remains intact. */

.jbi-modern-header .mega-menu td.full_dropdown > .wrap > .jbi-modern-dropdown,
#headerfixed .mega-menu td.full_dropdown > .wrap > .jbi-modern-dropdown {
  --jbi-dropdown-header-height: 88px;
  position: absolute;
  right: auto !important;
  left: 50% !important;
  box-sizing: border-box;
  width: min(1760px, calc(100vw - 32px));
  max-width: 1760px;
  height: calc(90vh - var(--jbi-dropdown-header-height));
  max-height: calc(100vh - var(--jbi-dropdown-header-height) - 16px);
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--jbi-menu-line);
  background: var(--jbi-menu-white);
  box-shadow: var(--jbi-menu-shadow);
  transform: translateX(-50%);
}

.jbi-modern-header .mega-menu td.full_dropdown:hover > .wrap > .jbi-modern-dropdown,
.jbi-modern-header .mega-menu td.full_dropdown:focus-within > .wrap > .jbi-modern-dropdown,
#headerfixed .mega-menu td.full_dropdown:hover > .wrap > .jbi-modern-dropdown,
#headerfixed .mega-menu td.full_dropdown:focus-within > .wrap > .jbi-modern-dropdown {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  gap: 18px;
  align-items: stretch;
}

#headerfixed .mega-menu td.full_dropdown > .wrap > .jbi-modern-dropdown {
  --jbi-dropdown-header-height: 62px;
}

.jbi-modern-header .mega-menu table td.full_dropdown > .wrap > .jbi-modern-dropdown > li,
#headerfixed .mega-menu table td.full_dropdown > .wrap > .jbi-modern-dropdown > li {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
}

.jbi-modern-dropdown__main {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 0 !important;
  overflow: hidden;
}

.jbi-modern-dropdown__heading {
  display: grid !important;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 20px;
  width: auto !important;
  min-height: 74px;
  margin: 0 0 12px;
  padding: 0 0 18px !important;
  border-bottom: 1px solid var(--jbi-menu-line);
}

.jbi-modern-dropdown__items {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  grid-auto-rows: 84px;
  align-content: start;
  gap: 12px 18px;
  min-width: 0;
  min-height: 0;
  margin: 0 !important;
  padding: 0 8px 0 0 !important;
  overflow-x: hidden;
  overflow-y: auto;
  list-style: none;
  scrollbar-color: rgba(0, 76, 37, .35) transparent;
  scrollbar-width: thin;
}

.jbi-modern-dropdown__items::-webkit-scrollbar {
  width: 6px;
}

.jbi-modern-dropdown__items::-webkit-scrollbar-track {
  background: transparent;
}

.jbi-modern-dropdown__items::-webkit-scrollbar-thumb {
  border-radius: 0;
  background: rgba(0, 76, 37, .35);
}

.jbi-modern-dropdown__kicker {
  grid-column: 1;
  color: var(--jbi-menu-green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.jbi-modern-dropdown__title {
  grid-column: 1;
  color: var(--jbi-menu-text);
  font-size: 24px;
  line-height: 1.25;
}

.jbi-modern-dropdown__all {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: end;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 2px 0 4px;
  border: 0;
  border-bottom: 1px solid rgba(0, 76, 37, .45);
  border-radius: 0;
  color: var(--jbi-menu-green) !important;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap !important;
  width: max-content !important;
  max-width: 100%;
}

.jbi-modern-dropdown__all:after {
  position: static;
  flex: 0 0 auto;
  content: "→";
  transition: transform .2s ease;
}

.jbi-modern-dropdown__all:hover {
  border-color: var(--jbi-menu-green);
  background: transparent;
  color: var(--jbi-menu-green-dark) !important;
}

.jbi-modern-dropdown__all:hover:after {
  transform: translateX(3px);
}

.jbi-modern-dropdown__items > li.item {
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: center;
  align-content: center;
  column-gap: 12px;
  row-gap: 0;
  width: auto !important;
  height: 84px !important;
  min-height: 84px;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 0;
  border-radius: 0;
  background: #f7f9f8;
  box-shadow: inset 3px 0 0 transparent;
  transition: background-color .2s ease, box-shadow .2s ease;
}

.jbi-modern-dropdown__items > li.item:hover,
.jbi-modern-dropdown__items > li.item.jbi-modern-menu-item--active {
  background: var(--jbi-menu-green-light);
  box-shadow: inset 3px 0 0 var(--jbi-menu-green);
}

.jbi-modern-dropdown__items > li.item:before {
  display: none !important;
}

.jbi-modern-dropdown__items > li.item > .image {
  float: none !important;
  width: 60px !important;
  height: 40px !important;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 0;
  background: var(--jbi-menu-green-light);
}

.jbi-modern-dropdown__items > li.item > .image a {
  display: block;
  width: 100%;
  height: 100%;
}

.jbi-modern-dropdown__items > li.item > .image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
}

.jbi-modern-dropdown__items > li.item > .menu_body,
.jbi-modern-dropdown__items > li.item > .menu_body.with_image {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.jbi-modern-dropdown__items > li.item > .menu_body a {
  display: block;
  color: var(--jbi-menu-text) !important;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}

.jbi-modern-dropdown__items > li.item.jbi-modern-menu-item--without-image {
  grid-template-columns: minmax(0, 1fr);
}

.jbi-modern-dropdown__items > li.item.jbi-modern-menu-item--without-image > .menu_body {
  grid-column: 1 / -1;
}

.jbi-modern-preview {
  grid-column: 2;
  grid-row: 1;
  display: flex !important;
  flex-direction: column;
  width: auto !important;
  min-height: 0;
  height: 100%;
  margin: 0 !important;
  padding: 20px !important;
  overflow: hidden;
  border-radius: 0;
  background: linear-gradient(145deg, var(--jbi-menu-green), var(--jbi-menu-green-dark));
  color: var(--jbi-menu-white);
}

.jbi-modern-preview__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(140px, 27vh, 220px);
  min-height: 140px;
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 0;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, .18), transparent 34%),
    rgba(255, 255, 255, .06);
}

.jbi-modern-preview__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

.jbi-modern-preview__monogram {
  font-family: Georgia, serif;
  font-size: 54px;
  line-height: 1;
}

.jbi-modern-preview__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
}

.jbi-modern-preview__label {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.jbi-modern-preview__title {
  margin: 0 0 14px;
  color: var(--jbi-menu-white);
  font-size: 21px;
  line-height: 1.35;
}

.jbi-modern-preview__description {
  display: -webkit-box;
  margin: 0 0 22px;
  overflow: hidden;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.jbi-modern-preview__description[hidden] {
  display: none;
}

.jbi-modern-preview__link {
  margin-top: auto;
  position: relative;
  padding: 7px 22px 7px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  border-radius: 0;
  color: var(--jbi-menu-white) !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.jbi-modern-preview__link:after {
  position: absolute;
  right: 0;
  content: "→";
  transition: transform .2s ease;
}

.jbi-modern-preview__link:hover {
  border-color: var(--jbi-menu-white);
  background: transparent;
  color: var(--jbi-menu-white) !important;
}

.jbi-modern-preview__link:hover:after {
  transform: translateX(3px);
}

/* Fixed header */

#headerfixed .jbi-modern-fixed {
  max-width: none;
  padding: 0 32px;
  background: var(--jbi-menu-white);
}

#headerfixed .jbi-modern-fixed__inner {
  display: grid;
  grid-template-columns: auto minmax(380px, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 62px;
}

#headerfixed .jbi-modern-fixed__brand {
  min-width: 190px;
}

#headerfixed .jbi-modern-fixed__brand .burger {
  flex: 0 0 34px;
  width: 34px;
  margin: 0 12px 0 0;
}

#headerfixed .jbi-modern-fixed__brand .burger + .logo {
  width: 128px;
  max-width: 128px;
  margin: 0;
}

#headerfixed .jbi-modern-fixed__nav {
  min-width: 0;
  height: 62px;
}

#headerfixed .jbi-modern-fixed__nav .mega-menu,
#headerfixed .jbi-modern-fixed__nav .table-menu {
  height: 62px;
}

#headerfixed .jbi-modern-fixed__nav .mega-menu table td .wrap > a {
  height: 62px;
  padding: 0 13px;
}

#headerfixed .jbi-modern-fixed__actions {
  gap: 8px;
}

#headerfixed .jbi-modern-social {
  width: 32px;
  height: 32px;
}

#headerfixed .jbi-modern-fixed__search .inline-search-show {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--jbi-menu-line);
  border-radius: 50%;
  line-height: 0 !important;
}

/* Fullscreen burger menu */

.mega_fixed_menu.jbi-modern-burger-menu {
  background: var(--jbi-menu-white);
  color: var(--jbi-menu-text);
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__container {
  max-width: 1600px;
  padding: 32px 54px 48px;
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__close {
  top: 42px;
  right: 54px;
  width: 22px;
  height: 22px;
  cursor: pointer;
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__logo {
  width: 170px;
  height: 72px;
  margin: 0 0 26px;
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__logo a {
  height: 72px;
  line-height: 72px;
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  gap: 48px;
  width: 100%;
  margin: 0;
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__main,
.jbi-modern-burger-menu .jbi-modern-burger-menu__aside {
  float: none;
  min-width: 0;
  width: auto;
  padding: 0;
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__content {
  position: relative;
  min-width: 0;
  padding: 0 !important;
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__content .mega-menu,
.jbi-modern-burger-menu .jbi-modern-burger-menu__content .mega-menu table {
  width: 100%;
  max-width: none;
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__content .search {
  margin: 0 0 28px;
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__content .search-wrapper {
  width: 100%;
  margin: 0 0 28px !important;
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__content .search-input {
  height: 56px;
  padding-right: 64px;
  padding-left: 20px;
  border: 1px solid var(--jbi-menu-line);
  border-radius: 12px;
  background: #f8faf9;
  font-size: 15px;
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__content .menu-only > li,
.jbi-modern-burger-menu .jbi-modern-burger-menu__content .mega-menu > table > tbody > tr > td {
  padding-right: 18px;
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__content .menu-only > li > a,
.jbi-modern-burger-menu .jbi-modern-burger-menu__content .mega-menu table td .wrap > a {
  color: var(--jbi-menu-text);
  font-weight: 700;
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__content .dropdown-menu a {
  color: #505a54;
  line-height: 1.45;
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__contacts {
  position: sticky;
  top: 28px;
  padding: 24px;
  border: 1px solid var(--jbi-menu-line);
  border-radius: 18px;
  background: var(--jbi-menu-green-light);
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__contacts .top_block {
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(0, 76, 37, .14);
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__contacts .btn-default {
  width: 100%;
  border-color: var(--jbi-menu-green);
  background: var(--jbi-menu-green);
  color: var(--jbi-menu-white);
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__contacts .contact_wrap {
  padding-top: 22px;
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__contacts .phone a,
.jbi-modern-burger-menu .jbi-modern-burger-menu__contacts .email a {
  color: var(--jbi-menu-text);
}

.jbi-modern-burger-menu .jbi-modern-burger-menu__socials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.jbi-modern-burger-social {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 76, 37, .2);
  border-radius: 12px;
  background: var(--jbi-menu-white);
  color: var(--jbi-menu-text);
  font-size: 13px;
  font-weight: 600;
}

.jbi-modern-burger-social:hover {
  border-color: var(--jbi-menu-green);
  color: var(--jbi-menu-green);
}

.jbi-modern-burger-social svg,
.jbi-modern-burger-social img {
  display: block;
  width: 22px;
  height: 22px;
}

.jbi-modern-burger-social--telegram svg {
  fill: var(--jbi-menu-green);
}

/* Mobile header and drawer */

#mobileheader .jbi-modern-mobile-header {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--jbi-menu-line);
  background: var(--jbi-menu-white);
}

#mobileheader .jbi-modern-mobile-header > .burger {
  float: none;
  width: 56px;
  height: 64px;
  margin: 0;
}

#mobileheader .jbi-modern-mobile-header__logo {
  float: none;
  min-width: 0;
}

#mobileheader .jbi-modern-mobile-header__logo .logo {
  width: 142px;
  height: 58px;
  margin: 0;
}

#mobileheader .jbi-modern-mobile-header__logo .logo a {
  height: 58px;
  line-height: 58px;
}

#mobileheader .jbi-modern-mobile-header__actions {
  float: none;
  gap: 0;
  height: 64px;
  padding-right: 8px;
}

#mobileheader .jbi-modern-mobile-header__actions .wrap_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 64px;
}

#mobileheader .jbi-modern-mobile-header__actions .inline-search-show {
  width: 44px;
  height: 64px;
  padding: 0;
}

#mobilemenu .jbi-modern-mobile-menu,
.jbi-modern-mobile-menu {
  color: var(--jbi-menu-text);
  background: var(--jbi-menu-white);
}

.jbi-modern-mobile-menu .wrapper_rel {
  min-height: 100%;
  padding-bottom: 28px;
}

.jbi-modern-mobile-menu .logo-wrapper {
  border-bottom: 1px solid var(--jbi-menu-line);
}

.jbi-modern-mobile-menu .menu > ul > li > a,
.jbi-modern-mobile-menu .menu > ul > li > .submenu-wrapper > a {
  font-weight: 600;
}

.jbi-modern-mobile-menu .jbi-modern-mobile-menu__socials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 20px 0;
  border-top: 1px solid var(--jbi-menu-line);
}

.jbi-modern-mobile-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid var(--jbi-menu-line);
  border-radius: 12px;
  color: var(--jbi-menu-text);
  font-size: 13px;
  font-weight: 600;
}

.jbi-modern-mobile-social svg,
.jbi-modern-mobile-social img {
  display: block;
  width: 21px;
  height: 21px;
}

.jbi-modern-mobile-social--telegram svg {
  fill: var(--jbi-menu-green);
}

/* Responsive desktop tuning */

@media (max-width: 1399px) {
  .jbi-modern-header .jbi-modern-header__container {
    padding-right: 24px;
    padding-left: 24px;
  }

  .jbi-modern-header .jbi-modern-header__inner {
    grid-template-columns: auto minmax(340px, 1fr) auto;
    gap: 16px;
  }

  .jbi-modern-header .jbi-modern-header__brand .logo {
    width: 142px;
  }

  .jbi-modern-header .jbi-modern-header__nav .mega-menu table td .wrap > a {
    padding-right: 11px;
    padding-left: 11px;
    font-size: 11px;
  }

  .jbi-modern-header .jbi-modern-header__actions {
    gap: 8px;
  }

  .jbi-modern-header .jbi-modern-header__callback {
    display: none;
  }

  #headerfixed .jbi-modern-fixed {
    padding-right: 20px;
    padding-left: 20px;
  }

  #headerfixed .jbi-modern-fixed__inner {
    gap: 12px;
  }

  #headerfixed .jbi-modern-fixed__brand {
    min-width: 160px;
  }

  #headerfixed .jbi-modern-fixed__phone {
    min-width: 142px;
  }
}

@media (max-width: 1199px) {
  .jbi-modern-header .jbi-modern-socials,
  #headerfixed .jbi-modern-socials {
    display: none;
  }

  .jbi-modern-header .jbi-modern-header__phone {
    min-width: 142px;
  }

  #headerfixed .jbi-modern-fixed__phone {
    display: none;
  }

  .jbi-modern-header .mega-menu td.full_dropdown:hover > .wrap > .jbi-modern-dropdown,
  .jbi-modern-header .mega-menu td.full_dropdown:focus-within > .wrap > .jbi-modern-dropdown,
  #headerfixed .mega-menu td.full_dropdown:hover > .wrap > .jbi-modern-dropdown,
  #headerfixed .mega-menu td.full_dropdown:focus-within > .wrap > .jbi-modern-dropdown {
    grid-template-columns: minmax(0, 1fr);
  }

  .jbi-modern-preview {
    display: none !important;
  }

  .jbi-modern-burger-menu .jbi-modern-burger-menu__container {
    padding-right: 34px;
    padding-left: 34px;
  }
}

@media (max-height: 700px) and (min-width: 1200px) {
  .jbi-modern-preview__media {
    height: 140px;
    min-height: 140px;
    margin-bottom: 16px;
  }

  .jbi-modern-preview__description {
    margin-bottom: 14px;
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 991px) {
  .jbi-modern-burger-menu .jbi-modern-burger-menu__body {
    grid-template-columns: 1fr;
  }

  .jbi-modern-burger-menu .jbi-modern-burger-menu__contacts {
    position: static;
  }
}

@media (max-width: 479px) {
  #mobileheader .jbi-modern-mobile-header__logo .logo {
    width: 126px;
  }

  #mobileheader .jbi-modern-mobile-header__actions .wrap_icon {
    width: 38px;
  }

  #mobileheader .jbi-modern-mobile-header__optional {
    display: none;
  }
}
