/* ===== Глобальные переменные ===== */
:root {
  --brand-blue: #224A6C;
  --brand-light-blue: #99C7EA;
  --brand-green: #64A362;
  --brand-green-light: #98C159;
  --brand-bg-blue: rgba(22, 94, 138, 0.1);
  --font-raleway: 'Raleway', sans-serif;
  --font-roboto: 'Roboto', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --radius: 4px;
}

/* ===== Утилиты ===== */
.ml-350 { margin-left: 350px; }

@media (max-width: 767px) {
  .ml-350 { margin-left: 0; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .ml-350 { margin-left: 200px; }
}

/* ===== Текст ===== */
span.text_block_join_simple {
  font: 300 1.2em/ normal var(--font-roboto);
}
span.text_block_join_header,
h6.text_block_join_header {
  font: 700 1.2em/ normal var(--font-raleway);
  color: var(--brand-blue);
}

/* ===== Блоки ===== */
.rounded_block_wrapper {
  display: flex;
  float: left;
  width: 100%;
  height: 100%;
  padding: 1em 1em 0.5em;
  border-radius: var(--radius);
  background-color: #e3ecf6;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.rounded_block_wrapper ul {
  font: 400 1em/ normal var(--font-raleway);
}

.counter-frontblock {
  min-height: 176px;
  height: 100%;
  border: 1px solid #eee;
  border-radius: var(--radius);
  background-color: var(--brand-bg-blue);
}

/* ===== Odometer ===== */
h3#odometer0.odometer,
h3#odometer1.odometer,
h3#odometer2.odometer {
  margin-bottom: 0;
  font: 700 calc(1.5em + 1vw) var(--font-roboto);
  color: var(--brand-blue);
}

h3#odometer0.no-odometer {
  margin-bottom: 5px;
}
h3#odometer0.no-odometer span {
  font-size: calc(0.5em + 0.3vw);
  letter-spacing: -0.05em;
  color: #ccc;
  vertical-align: text-top;
}

/* ===== Drag-контейнер ===== */
.drag-block.container.CUSTOM_TEXT {
  max-width: 1700px;
}

/* ===== Стилизованный блок ===== */
.styled-block {
  background: url("../images/styled_block_bg_v3.jpg") #f2f2f2 0 0 no-repeat;
  background-size: cover;
}

.styled-block.main {
  clear: both;
  margin: 30px 0 40px;
  padding: 37px 50px;
  border-left: 2px solid;
  border-radius: var(--radius);
  color: #fefefe;
  background: url("../images/styled_block_bg_v3.jpg") #f2f2f2 0 0 no-repeat;
  background-size: cover;
}
.styled-block.main h4 {
  font-size: 1.8em;
  font-weight: 700;
  color: #fefefe;
}
.styled-block.main p,
.styled-block.main li {
  font-size: 1.1em;
  color: #fefefe;
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  margin: 0 auto;
  padding: 10px;
  overflow: hidden;
  color: #fff;
}
.timeline:after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  height: 100%;
  margin-left: -1px;
  border-right: 2px dashed #c4d2e2;
}

.timeline-row {
  position: relative;
  padding-left: 50%;
}
.timeline-row .timeline-time {
  position: absolute;
  top: 16px;
  right: 50%;
  margin-right: 20px;
  text-align: right;
}
.timeline-time span {
  font: 700 1.6em var(--font-roboto);
  color: var(--brand-blue);
}
.timeline-row .timeline-time small {
  display: block;
  font-size: 0.8rem;
  color: #8796af;
}

.timeline-row .timeline-content {
  position: relative;
  padding: 20px 30px;
  border-radius: var(--radius);
}
.timeline-row .timeline-content:after,
.timeline-row .timeline-content:before {
  content: "";
  position: absolute;
  top: 20px;
}
.timeline-row .timeline-content:after {
  height: 3px;
  width: 40px;
}
.timeline-row .timeline-content:before {
  width: 20px;
  height: 20px;
  right: -50px;
  z-index: 100;
  border: 2px dashed #c4d2e2;
  border-radius: 100px;
  background: #fff;
}

.timeline-row .timeline-content h4 {
  margin: 0 0 20px;
  overflow: hidden;
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 150%;
}
.timeline-row .timeline-content p {
  margin-bottom: 30px;
  line-height: 150%;
}
.timeline-row .timeline-content i {
  display: inline-block;
  margin-bottom: 10px;
  padding: 0 10px;
  font-size: 1.8em;
  color: #fff;
  line-height: 100%;
}
.timeline-row .timeline-content .thumbs { margin-bottom: 20px; }
.timeline-row .timeline-content .thumbs img { margin-bottom: 10px; }

/* Чётные */
.timeline-row:nth-child(even) .timeline-content {
  margin-left: 40px;
  text-align: left;
  background: linear-gradient(to bottom, #64A362, #6FB06D);
}
.timeline-row:nth-child(even) .timeline-content:after {
  left: -39px;
  border-top: 10px solid transparent;
  border-right: 18px solid #98C159;
  border-bottom: 10px solid transparent;
}
.timeline-row:nth-child(even) .timeline-content:before {
  left: -50px;
  right: initial;
}

/* Нечётные */
.timeline-row:nth-child(odd) {
  padding-right: 50%;
  padding-left: 0;
}
.timeline-row:nth-child(odd) .timeline-time {
  right: auto;
  left: 50%;
  margin-right: 0;
  margin-left: 20px;
  text-align: left;
}
.timeline-row:nth-child(odd) .timeline-content {
  margin-right: 40px;
  margin-left: 0;
  text-align: right;
  background: linear-gradient(to bottom, #3774A9, #4283C2);
}
.timeline-row:nth-child(odd) .timeline-content:after {
  right: -39px;
  border-top: 10px solid transparent;
  border-left: 18px solid #75BEE9;
  border-bottom: 10px solid transparent;
}

/* Реверсивный */
.time-reverse .timeline-row .timeline-content h4 {
  color: var(--theme-base-color);
  white-space: break-spaces;
}
.time-reverse .timeline-row .timeline-content {
  background: transparent !important;
  background-image: none !important;
}
.time-reverse .timeline-row:nth-child(even) .timeline-content:after {
  border-right: 18px solid var(--theme-base-color);
}
.time-reverse .timeline-row:nth-child(odd) .timeline-content:after {
  border-left: 18px solid var(--theme-base-color);
}

/* ===== Мобильная адаптация таймлайна ===== */
@media (max-width: 767px) {
  .timeline { padding: 15px 10px; }
  .timeline:after { left: 28px; }
  .timeline .timeline-row {
    padding-left: 0;
    margin-bottom: 16px;
  }
  .timeline .timeline-row .timeline-time {
    position: relative;
    top: 0;
    right: auto;
    margin: 0 0 6px 56px;
    text-align: left;
  }
  .timeline .timeline-row .timeline-time strong {
    display: inline-block;
    margin-right: 10px;
  }
  .timeline .timeline-row .timeline-content {
    position: relative;
    margin-left: 56px;
    padding: 15px;
    box-shadow: var(--shadow-sm);
  }
  .timeline .timeline-row .timeline-content:after {
    top: 32px;
    right: auto;
    left: -39px;
  }
  .timeline .timeline-row:nth-child(odd) {
    padding-right: 0;
  }
  .timeline .timeline-row:nth-child(odd) .timeline-time {
    position: relative;
    top: 0;
    right: auto;
    left: auto;
    margin: 0 0 6px 56px;
    text-align: left;
  }
  .timeline .timeline-row:nth-child(odd) .timeline-content {
    margin-right: 0;
    margin-left: 55px;
  }
  .timeline .timeline-row:nth-child(odd) .timeline-content:after {
    top: 32px;
    right: auto;
    left: -39px;
    border-right: 18px solid #3774A9;
    border-left: inherit;
  }
  .timeline.animated .timeline-row:nth-child(odd) .timeline-content {
    left: 20px;
  }
  .timeline.animated .timeline-row.active:nth-child(odd) .timeline-content {
    left: 0;
  }
}

/* ===== О компании ===== */
h3.about-company__chapter {
  font: 700 1.8em/1em var(--font-raleway);
  letter-spacing: -0.05em;
  color: var(--brand-blue);
}

/* ===== Stepper ===== */
.styled_list_joinsteps {
  --length: 5;
  --brandColor1: #64A362;
  --brandColor2: #224A6C;
  --brandColor3: #e8fae8;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-raleway);
  background: #fff;
}
.styled_list_joinsteps p {
  margin: 0;
  padding-left: 3.2rem;
  line-height: 1.2em;
}
.styled_list_joinsteps ol {
  padding: 0;
  counter-reset: list;
  list-style: none;
}
.styled_list_joinsteps li {
  --stop: calc(100% / var(--length) * var(--step));
  position: relative;
  max-width: 72rem;
  margin: 1rem auto 2rem;
  padding: 1rem 1rem 2rem;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: #e3ecf6;
  box-shadow: var(--shadow-sm);
  counter-increment: list;
}
.styled_list_joinsteps li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 0.5rem;
  background: linear-gradient(to right, var(--brandColor1) var(--stop), var(--brandColor3) var(--stop));
}
.styled_list_joinsteps h3 {
  display: flex;
  align-items: baseline;
  margin: 0 0 1rem;
  font-size: 1.4em;
  font-weight: 500;
  color: var(--brandColor2);
}
.styled_list_joinsteps h3::before {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 1rem;
  padding: 1rem;
  content: counter(list);
  border-radius: 50%;
  background-color: var(--brandColor1);
  color: #fff;
}

/* ===== Футер ===== */
#footer {
  background: url('../images/1920х434.jpg') #f2f2f2 top center no-repeat;
  background-size: cover;
}
.footer.footer-3 {
  border-top: 1px solid var(--fill_dark_light);
}
.footer.footer-3 .footer__bottom-part-inner {
  border-top-color: var(--dff_opacity_dark_light);
}

/* ===== Сетка 20% ===== */
.col-xs-five,
.col-sm-five,
.col-md-five,
.col-lg-five {
  position: relative;
  min-height: 1px;
  padding-right: 10px;
  padding-left: 10px;
  float: left;
}
.col-xs-five { width: 20%; }
@media (min-width: 768px) { .col-sm-five { width: 20%; } }
@media (min-width: 992px) { .col-md-five { width: 20%; } }
@media (min-width: 1200px) { .col-lg-five { width: 20%; } }

/* ===== Кастомные списки ===== */
ul.awesome_check,
ul.awesome_angle_right {
  --icon-size: 0.8em;
  --gutter: 0.5em;
  padding: 0 0 0 var(--icon-size);
}
ul.awesome_check li,
ul.awesome_angle_right li {
  padding-left: var(--gutter);
}
ul.awesome_check li::marker {
  content: "\f00c";
  font-family: "FontAwesome";
  font-size: var(--icon-size);
  color: #505c6e;
}
ul.awesome_angle_right li::marker {
  content: "\f105";
  font-family: "FontAwesome";
  font-size: var(--icon-size);
  color: #505c6e;
}
ul.awesome_check li:before,
ul.awesome_angle_right li:before { content: none; }

/* ===== Баннеры ===== */
.banners-big__text-block.banners-big__text-block--margin-top-more {
  font: 300 24px/26px var(--font-roboto);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
h1.banners-big__title.switcher-title.banners-big__title--middle {
  font: 700 50px/52px var(--font-raleway);
  text-transform: none;
}
.banners-big__title--middle,
h1.banners-big__title { color: #99C7EA; }
.banners-big__inner h1.banners-big__title_blue { color: #0D4B6F; }

/* ===== Общие заголовки ===== */
div.staff-list-inner__section-title,
div.partner-list-inner__section-title,
div.doc-list-inner__section-title,
h3.about-company__chapter {
  font: 700 1.8em var(--font-raleway);
  letter-spacing: -0.05em;
  color: var(--brand-blue);
}
h1.switcher-title,
h3.switcher-title {
  font: 700 1em var(--font-raleway);
  color: #333;
}
h3.vacancy-accordion__name {
  font: 700 1.4em var(--font-raleway);
  text-transform: none;
  letter-spacing: -0.05em;
  color: var(--brand-blue);
}
h3.big-digits-dark-blue {
  font: 700 1em var(--font-roboto);
  letter-spacing: -0.01em;
  color: var(--brand-blue);
}
.big-digits-dark-blue {
  font: 700 2.6em var(--font-roboto);
  color: var(--brand-blue);
}
.big-digits-dark-blue span {
  font-size: 0.5em;
  color: #ccc;
}
span.switcher-title {
  font: 700 18px var(--font-raleway);
  color: #333;
}

/* ===== Фоновые изображения ===== */
.digit-map {
  background-image: url(../images/bg_map3.svg);
  background-position: top center no-repeat;
  background-size: cover;
}
.maxwidth-theme.digit-map-main {
  background-image: url(../images/bg_map7.svg);
  background-position: top center no-repeat;
  background-size: cover;
}
.lightblue_transparent_BG { background-image: url(../images/lightblue_transparent_BG.png); }
.blue_transparent_BG { background-image: url(../images/blue_transparent_BG.png); }
.gray_transparent_BG {
  border: 1px solid #eee;
  background-image: url(../images/white_transparent_BG.png);
}

/* ===== Текст ===== */
.justifyhypehens p {
  padding-bottom: 12px;
  font: 300 1em var(--font-roboto);
  text-align: justify;
  hyphens: auto;
  text-wrap: balance;
}
.article p {
  padding-bottom: 12px;
  font: 300 1em var(--font-roboto);
  hyphens: auto;
}

/* ===== Вакансии ===== */
.vacancy-info {
  margin-bottom: 40px;
  padding: 40px;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
  background: linear-gradient(0deg, #fafafa, #fafafa), #fff;
  box-sizing: border-box;
}
.vacancy-info__line { display: flex; }
.vacancy-info__bottom { margin-top: 28px; }
.vacancy-info__btn-wrapper { margin-right: 55px; }
.vacancy-info__properties {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 2rem;
}
.vacancy-info__property {
  margin-top: 14px;
  padding: 0 40px;
}
.vacancy-info__property--hidden {
  visibility: hidden;
  order: 1;
  opacity: 0;
}
.vacancy-info__property-label {
  font-size: 0.86667em;
  line-height: calc(1em + 7px);
  color: #999;
}
.vacancy-info__bottom--hidden { display: none; }
.vacancy-info__properties img { width: 160px; }

/* ===== Другое ===== */
.no-top-margin { margin-top: 0; }

.link {
  cursor: pointer;
  text-decoration: underline;
}

/* ===== Отступы ===== */
.m-0 { margin:0!important; }
.m-1 { margin:.25rem!important; }
.m-2 { margin:.5rem!important; }
.m-3 { margin:1rem!important; }
.m-4 { margin:1.5rem!important; }
.m-5 { margin:3rem!important; }

.mt-0 { margin-top:0!important; }
.mr-0 { margin-right:0!important; }
.mb-0 { margin-bottom:0!important; }
.ml-0 { margin-left:0!important; }
.mx-0 { margin-left:0 !important;margin-right:0 !important; }
.my-0 { margin-top:0!important;margin-bottom:0!important; }

.mt-1 { margin-top:.25rem!important; }
.mr-1 { margin-right:.25rem!important; }
.mb-1 { margin-bottom:.25rem!important; }
.ml-1 { margin-left:.25rem!important; }
.mx-1 { margin-left:.25rem!important;margin-right:.25rem!important; }
.my-1 { margin-top:.25rem!important;margin-bottom:.25rem!important; }

.mt-2 { margin-top:.5rem!important; }
.mr-2 { margin-right:.5rem!important; }
.mb-2 { margin-bottom:.5rem!important; }
.ml-2 { margin-left:.5rem!important; }
.mx-2 { margin-right:.5rem!important;margin-left:.5rem!important; }
.my-2 { margin-top:.5rem!important;margin-bottom:.5rem!important; }

.mt-3 { margin-top:1rem!important; }
.mr-3 { margin-right:1rem!important; }
.mb-3 { margin-bottom:1rem!important; }
.ml-3 { margin-left:1rem!important; }
.mx-3 { margin-right:1rem!important;margin-left:1rem!important; }
.my-3 { margin-bottom:1rem!important;margin-top:1rem!important; }

.mt-4 { margin-top:1.5rem!important; }
.mr-4 { margin-right:1.5rem!important; }
.mb-4 { margin-bottom:1.5rem!important; }
.ml-4 { margin-left:1.5rem!important; }
.mx-4 { margin-right:1.5rem!important;margin-left:1.5rem!important; }
.my-4 { margin-top:1.5rem!important;margin-bottom:1.5rem!important; }

.mt-5 { margin-top:3rem!important; }
.mr-5 { margin-right:3rem!important; }
.mb-5 { margin-bottom:3rem!important; }
.ml-5 { margin-left:3rem!important; }
.mx-5 { margin-right:3rem!important;margin-left:3rem!important; }
.my-5 { margin-top:3rem!important;margin-bottom:3rem!important; }

.mt-auto { margin-top:auto!important; }
.mr-auto { margin-right:auto!important; }
.mb-auto { margin-bottom:auto!important; }
.ml-auto { margin-left:auto!important; }
.mx-auto { margin-right:auto!important;margin-left:auto!important; }
.my-auto { margin-bottom:auto!important;margin-top:auto!important; }

.p-0 { padding:0!important; }
.p-1 { padding:.25rem!important; }
.p-2 { padding:.5rem!important; }
.p-3 { padding:1rem!important; }
.p-4 { padding:1.5rem!important; }
.p-5 { padding:3rem!important; }

.pt-0 { padding-top:0!important; }
.pr-0 { padding-right:0!important; }
.pb-0 { padding-bottom:0!important; }
.pl-0 { padding-left:0!important; }                             
.px-0 { padding-left:0!important;padding-right:0!important; }
.py-0 { padding-top:0!important;padding-bottom:0!important; }

.pt-1 { padding-top:.25rem!important; }         
.pr-1 { padding-right:.25rem!important; }                       
.pb-1 { padding-bottom:.25rem!important; }      
.pl-1 { padding-left:.25rem!important; }                            
.px-1 { padding-left:.25rem!important;padding-right:.25rem!important; }
.py-1 { padding-top:.25rem!important;padding-bottom:.25rem!important; }

.pt-2 { padding-top:.5rem!important; }                                              
.pr-2 { padding-right:.5rem!important; }                                
.pb-2 { padding-bottom:.5rem!important; }               
.pl-2 { padding-left:.5rem!important; }                                             
.px-2 { padding-right:.5rem!important;padding-left:.5rem!important; }
.py-2 { padding-top:.5rem!important;padding-bottom:.5rem!important; }

.pt-3 { padding-top:1rem!important; }                               
.pr-3 { padding-right:1rem!important; }             
.pb-3 { padding-bottom:1rem!important; }                
.pl-3 { padding-left:1rem!important; }                              
.py-3 { padding-bottom:1rem!important;padding-top:1rem!important; }
.px-3 { padding-right:1rem!important;padding-left:1rem!important; }

.pt-4 { padding-top:1.5rem!important; }                             
.pr-4 { padding-right:1.5rem!important; }               
.pb-4 { padding-bottom:1.5rem!important; }              
.pl-4 { padding-left:1.5rem!important; }                                
.px-4 { padding-right:1.5rem!important;padding-left:1.5rem!important; }
.py-4 { padding-top:1.5rem!important;padding-bottom:1.5rem!important; }

.pt-5 { padding-top:3rem!important; }   
.pr-5 { padding-right:3rem!important; } 
.pb-5 { padding-bottom:3rem!important; }    
.pl-5 { padding-left:3rem!important; }  
.px-5 { padding-right:3rem!important;padding-left:3rem!important; }
.py-5 { padding-top:3rem!important;padding-bottom:3rem!important; }

div.banners-big__title.switcher-title.banners-big__title--middle { display: none; }

/* ===== Стат-блоки ===== */
.stat-block {
  padding: 2rem;
  background-color: rgba(153, 199, 234, 0.5);
}
.stat-header {
  margin-bottom: 1rem;
  font: 700 32px/42px var(--font-raleway);
  color: #26334A;
}
.stat-text {
  margin-bottom: 1rem;
  font: 400 18px/23px var(--font-roboto);
  color: #000;
  letter-spacing: -0.24px;
}
.stat-footer {
  font: 400 14px/18px var(--font-roboto);
  color: #000;
}
.stat-para_title {
  font: 700 24px/31px var(--font-raleway);
  text-align: left;
}
.stat-svg {
  width: 80px;
  height: 80px;
  border-radius: 40px;
  background: rgba(66, 130, 193, 0.15);
}
.stat-p {
  font: 700 18px/23px var(--font-roboto);
  letter-spacing: -0.24px;
}

/* ===== Flex ===== */
.d-flex { display: flex; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }

/* ===== Встраиваемые видео ===== */
.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed-responsive-16by9 { padding-bottom: 56.25%; }
.embed-responsive-4by3 { padding-bottom: 75%; }

/* ===== Кастомные отступы ===== */
@media (min-width: 768px) {
  .custom-gutter > [class*='col-'] {
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 25px;
  }
  .custom-gutter > [class*="col-"]:first-child { padding-left: 15px; }
  .custom-gutter > [class*="col-"]:last-child { padding-right: 15px; }
}

/* ===== Прочее ===== */
.row-flex {
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 0;
}
.row-flex > div { display: flex; }

.side-menu .submenu > li a.sublink:first-letter { text-transform: uppercase; }
.focus-angle { color: #99C7EA; }
.number-center p > b {
  display: inline-block;
  float: none;
  vertical-align: middle;
}
.arrow-vector {
  position: absolute;
  top: 40%;
  left: 38%;
  z-index: 10;
}
.blue-block {
  padding: 45px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  background-color: #8BC8ED;
}
.mavi-block {
  padding: 25px;
  font-size: 18px;
  font-weight: 700;
  background-color: #C7E3F7;
}
blockquote small { font-style: italic; }
.fio-jury {
  margin-top: 1rem;
  font-size: 22px;
  font-weight: 400;
  line-height: 31.2px;
  color: #000;
  text-align: left;
}
.job-jury {
  font-size: 16px;
  font-weight: 300;
  line-height: 20.8px;
  color: #000;
  text-align: left;
}
.icon-win {
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 1rem;
}
ul.style-disk li { list-style-type: disc; }
ul.style-circle li { list-style-type: circle; }
ul.style-square li { list-style-type: square; }
ul[class^="style-"] { margin-left: 1rem; }
ul.style-disk li:before,
ul.style-circle li:before,
ul.style-square li:before { content: none; }
.style-disk.green li::marker { color: #84bc29; }

.honeydew-block {
  padding: 45px;
  background-color: #f4faf6;
}
.divider {
  position: relative;
  height: 2px;
  width: 70%;
  margin: 2rem auto;
  border: none;
  background: linear-gradient(90deg, #fff, var(--theme-base-color), #fff);
}
.w-7 { width: 7rem; }

/* ===== Кнопки ===== */
.d-flex-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.d-flex-btn .btn {
  width: auto;
  margin-right: 0;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .d-flex-btn {
    flex-direction: row;
    justify-content: center;
  }
  .d-flex-btn .btn {
    margin-right: 10px;
    margin-bottom: 0;
  }
  .d-flex-btn .btn:last-child { margin-right: 0; }
}

/* ===== Меню ===== */
body.menu_lowercase_n .header-menu__title {
  font-size: 12px;
  line-height: 19px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== Отключено ===== */
div.ratings { display: none; }

/* ===== Футер мобилка ===== */
@media (max-width: 767px) {
  .bottom-menu .items { text-align: center; }
  .footer__main-part .line-block.line-block--48.line-block--flex-wrap {
    align-items: center;
    justify-content: center;
  }
  .footer__part.footer--mw500.flex-50-991.flex-100-767 {
    padding-top: 1rem;
    border-top: 2px solid lightgray;
  }
}

/* ===== Вакансии мобилка ===== */
@media (max-width: 600px) {
  .vacancy-info__btn-wrapper {
    margin-right: 0;
    margin-bottom: 28px;
  }
  .vacancy-info__line { flex-direction: column; }
  h1.banners-big__title.switcher-title.banners-big__title--middle {
    font-size: 36px;
  }
}

/* ===== Хедер ===== */
.header__main-item { margin: 0 20px; }

/* ===== Утилиты ===== */
.text-capitalize { text-transform: capitalize !important; }
.text-transform-none { text-transform: none !important; }

/* ============================================================
   Fix iframe-легенды в Bootstrap-табах
   ============================================================
   Причина: неактивный .tab-pane имеет display:none, из-за чего
   iframe внутри рендерится с нулевой шириной. BI-визуализация
   внутри "запоминает" эту ширину и при показе вкладки не пересчитывает
   legend → легенда обрезается.

   Решение: не убирать .tab-pane из layout, а прятать через
   visibility:hidden + position:absolute с width:100%.
   Так iframe всегда имеет корректную ширину, и при активации
   вкладки пересчёт не требуется.
   ============================================================ */

/* Контекст позиционирования для абсолютных табов */
.tabs .tab-content {
    position: relative;
}

/* Все табы рендерятся на полную ширину, даже скрытые */
.tabs .tab-content > .tab-pane {
    display: block !important;   /* отменяем display:none из bootstrap */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Активный таб — в нормальном потоке, видим */
.tabs .tab-content > .tab-pane.active {
    position: relative;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

/* Iframe всегда занимает всю ширину контейнера */
.tabs .tab-content > .tab-pane iframe {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
}
