/*
Theme Name: Афтоп:Строй — Дочерняя
Theme URI: https://aftop.ru/stroy
Description: Дочерняя тема Афтоп:Строй
Author: https://aftop.ru
Author URI: https://aftop.ru
Version: 1.0.2
Text Domain: wilmer
Template: wilmer
Афтоп.Строй: 1.1
*/
/* version: 2026-08-28.3 */

html {
  font-size: 16px;
}

body {
  font-weight: 500;
  font-size: 0.938rem;
  font-family: Montserrat, Arial, sans-serif;
}

.mkdf-row-background-text-1,
.mkdf-counter-holder .mkdf-counter-background,
.mkdf-title-background-text-holder-inner,
.mkdf-404-intro-title{
  font-family: Yantramanav, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", Arial, sans-serif;
  word-wrap: normal;
}

h1 {
  font-size: 2.625rem;
  line-height: 1.3em;
}

h2 {
  font-size: 2.313rem;
  line-height: 1.26em;
}

h3 {
  font-size: 1.875rem;
  line-height: 1.35em;
}

h4 {
  font-size: 1.438rem;
  line-height: 1.304em;
}

h5 {
  font-size: 1.125rem;
  line-height: 1.304em;
}

h6 {
  font-size: 0.813rem;
}

p,
.mkdf-woo-single-page .woocommerce-tabs .entry-content > p {
  margin-bottom: 24px;
  font-weight: 500;
}

p + ul,
p + ol {
  margin-top: 10px;
}

p:has(+ ul),
.mkdf-woo-single-page .woocommerce-tabs .entry-content > p:has(+ ul),
p:has(+ ol),
p:has(+ pre),
p:has(+ table) {
  margin-bottom: 10px;
}

p:has(+ blockquote) {
  margin-bottom: 5px;
}

strong,
b {
  font-weight: 700;
}

.bold-marker::marker {
  font-weight: 700;
}

ul,
ol {
  margin-bottom: 20px;
}

ol ul,
ul ol,
ul ul {
  padding: 5px 0 0 15px;
}

ul li,
ol li {
  margin-bottom: 7px;
}

br {
  margin-bottom: 15px;
}

ul:has(li:contains("✔")),
ol:has(li:contains("✔")) {
  list-style: none;
  /* Убираем стандартные маркеры */
  padding-left: 0;
  /* Убираем отступ */
}

ul.dash li {
  list-style-type: none;
  position: relative;
  padding-left: 0px;
  margin-bottom: 8px;
}

ul.dash li:before {
  content: "";
  position: relative;
  left: 0px;
  top: 11px;
  background: #666666;
  width: 11px;
  height: 1px;
  display: inline-block;
  vertical-align: top;
  margin-right: 10px;
}

ul.nostyle {
  list-style: none;
  margin: 0;
  padding: 0;
}

blockquote,
blockquote strong,
blockquote p strong,
blockquote p {
  font-size: 1.375rem;
  line-height: 1.4em;
  font-weight: 600;
  color: #001659;
  text-align: left;
  /* margin: 0 20% 0 0; */
  display: block;
}

blockquote {
  padding: 45px 160px 45px 45px;
}

blockquote > * {
  margin: auto;
}

pre {
  margin: 0;
  padding: 0px 20px 22px 20px;
  background-color: #f2f3f5;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  padding: 0 !important;
}

table td {
  text-align: left;
}

table td {
  padding: 10px 11px;
}

table tr:nth-child(even) td {
	background-color: #f8f8f8;
}

table tbody tr,
table thead tr {
  border: none;
  font-size: 0.938rem;
  overflow-wrap: anywhere;
}

table th {
  background-color: var(--wilmer-brand, #ff5e14);
  text-align: left;
  color: #fff;
  padding-left: 12px;
}

h6 span.mkdf-tab-title {
  font-size: 1.063rem;
}

.mkdf-portfolio-single-holder .mkdf-portfolio-single-title {
  font-size: 2.625rem;
  line-height: 1.3em;
}

.mkdf-blog-list-holder .mkdf-post-title {
  line-height: 1.304em;
}

.mkdf-title-holder.mkdf-standard-with-breadcrumbs-type
  .mkdf-page-title-additional-text {
  text-transform: uppercase;
  color: #565969;
}

.mkdf-blog-holder.mkdf-blog-masonry
  article.mkdf-post-has-media
  .mkdf-post-title {
  line-height: 1.304em;
}

.elementor-testimonial-name {
  font-size: 1.125rem;
}

.mkdf-title-holder.mkdf-standard-with-breadcrumbs-type .mkdf-page-title {
  text-transform: uppercase;
  font-size: 3.438rem;
  line-height: 1.1em;
}

.mkdf-counter-holder .mkdf-counter-background {
  color: #f0f0f0;
  -webkit-text-stroke-color: #f0f0f0;
}

.mkdf-content .mkdf-content-inner > .mkdf-container > .mkdf-container-inner {
  padding-top: 50px !important;
}

.mkdf-comment-form .comment-reply-title {
  font-size: 1.875rem;
  margin-bottom: 10px;
}

h5.entry-title.mkdf-post-title {
  font-size: 1.063rem;
  font-weight: 500;
}

.mkdf-related-posts-holder .mkdf-related-posts-title {
  margin: 0 0 15px;
}

.mkdf-blog-holder article .mkdf-post-info-bottom {
  padding-top: 50px;
}

a.mkdf-social-icon-widget-holder span.mkdf-social-icon-widget {
  font-size: 1.125rem;
}

.mkdf-position-right-inner
  a.mkdf-social-icon-widget-holder
  span.mkdf-social-icon-widget {
  font-size: 0.9rem;
}

.mkdf-blog-list-holder.mkdf-bl-simple .mkdf-bli-content .mkdf-post-info-date a {
  font-size: 0.625rem;
}

.elementor-widget.elementor-widget-sidebar .widget .tagcloud a,
.wpb_widgetised_column .widget .tagcloud a,
aside.mkdf-sidebar .widget .tagcloud a {
  font-size: 0.813rem !important;
}

.elementor-widget.elementor-widget-sidebar .widget.widget_categories ul li a,
.wpb_widgetised_column .widget.widget_categories ul li a,
aside.mkdf-sidebar .widget.widget_categories ul li a {
  text-transform: capitalize;
  line-height: 1.133em;
  font-size: 0.938rem;
}

.elementor-widget.elementor-widget-sidebar
  .widget
  .mkdf-blog-list
  .mkdf-bli-content
  .entry-title,
.elementor-widget.elementor-widget-sidebar
  .widget
  .mkdf-blog-list
  .mkdf-bli-content
  .mkdf-post-info-date,
.wpb_widgetised_column .widget .mkdf-blog-list .mkdf-bli-content .entry-title,
.wpb_widgetised_column
  .widget
  .mkdf-blog-list
  .mkdf-bli-content
  .mkdf-post-info-date,
aside.mkdf-sidebar .widget .mkdf-blog-list .mkdf-bli-content .entry-title,
aside.mkdf-sidebar
  .widget
  .mkdf-blog-list
  .mkdf-bli-content
  .mkdf-post-info-date {
  line-height: 1.15em;
}

.mkdf-skewed-section-effect {
  margin-bottom: -60px;
}

.mkdf-top-bar .widget a {
  font-weight: 500;
  font-size: 0.75rem;
}

.textwidget a[href^="tel:"]:nth-of-type(1) {
  font-size: 0.875rem;
  font-weight: 600;
}

.mkdf-main-menu > ul > li > a > span.item_outer .item_text {
  font-size: 0.813rem;
  font-weight: 600;
  line-height: 1.53;
  text-transform: uppercase;
}

.mkdf-portfolio-single-holder .mkdf-ps-info-holder .mkdf-ps-info-item a,
.mkdf-portfolio-single-holder .mkdf-ps-info-holder .mkdf-ps-info-item h6 {
  font-size: 0.75rem;
  font-weight: 600;
}

ul.products
  > .product
  .mkdf-pl-text-wrapper
  .mkdf-pl-info-top
  .mkdf-pl-category-holder {
  font-size: 0.625rem;
}

.mkdf-woo-single-page .woocommerce-tabs .entry-content > p {
  font-size: 0.938rem;
}

.mkdf-woo-single-page .woocommerce-tabs ul.tabs > li a {
  font-family: "Roboto";
}

.mkdf-woo-single-page .mkdf-single-product-summary .product_meta > span a {
  font-size: 12px;
  font-weight: 600;
}

.mkdf-woo-single-page .mkdf-single-product-summary .product_meta > span {
  font-size: 12px;
  font-weight: 600;
}

.mkdf-pl-holder .mkdf-pli .mkdf-pli-category {
  font-weight: 600;
  font-size: 0.625rem;
}

.mkdf-blog-holder article .mkdf-post-info-top > div a {
  font-size: 0.75rem;
  font-weight: 600;
}

.mkdf-title-holder.mkdf-standard-type .mkdf-page-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
}

.mkdf-title-holder.mkdf-standard-type .mkdf-page-title {
  text-transform: uppercase;
}

.mkdf-title-holder.mkdf-standard-type .mkdf-page-title-additional-text {
  text-transform: uppercase;
  color: #565969;
}

.mkdf-drop-down .wide .second .inner > ul > li > a {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: capitalize;
}

.mkdf-drop-down .wide .second .inner ul li a {
  padding: 7px 0 6px 0;
  text-transform: capitalize;
  font-size: 0.875rem;
}

.mkdf-drop-down .wide .second .inner ul li a.no_link {
  font-weight: 600;
}

.mkdf-drop-down .second .inner ul li a {
  font-size: 0.938rem;
  font-weight: 500;
  line-height: 1.6;
}

.mkdf-drop-down .second .inner ul.right li a {
  text-transform: capitalize;
  font-size: 0.938rem;
  font-weight: 500;
  line-height: 1.6;
}

.mkdf-drop-down .second .inner ul li a .item_outer:before {
  top: -4px;
}

.mkdf-banner-holder .mkdf-banner-subtitle {
  font-size: 0.625rem;
}

.mkdf-portfolio-slider-holder.mkdf-ps-light-skin
  .mkdf-portfolio-list-holder
  .mkdf-pli-text-wrapper
  .mkdf-pli-text
  .mkdf-pli-category-holder
  .mkdf-pli-category {
  font-size: 0.625rem;
}

.mkdf-iwt.mkdf-iwt-icon-top-centered .mkdf-iwt-caption {
  font-size: 0.625rem;
}

.mkdf-iwt .mkdf-iwt-text {
  font-size: 0.938rem;
}

.mkdf-btn {
  font-size: 1rem;
  font-weight: 500;
}

.elementor-widget-container h1 {
  text-transform: uppercase;
  font-size: 4.438rem;
}

.mkdf-pie-chart-holder .mkdf-pc-percentage .mkdf-pc-percent {
  font-size: 3.125rem;
}

.mkdf-pie-chart-holder .mkdf-pc-text-holder .mkdf-caption-text {
  font-weight: 600;
  font-size: 0.688rem;
}

.mkdf-pie-chart-holder .mkdf-pc-text-holder .mkdf-pc-text {
  font-size: 0.938rem;
  font-weight: 500;
}

.mkdf-team-holder .mkdf-team-position {
  text-transform: uppercase;
}

.mkdf-testimonials-holder.mkdf-testimonials-standard .mkdf-testimonial-text {
  font-size: 0.938rem;
  font-weight: 500;
}

.mkdf-testimonials-holder.mkdf-testimonials-standard
  .mkdf-testimonial-content
  .mkdf-testimonials-author-job {
  font-size: 0.688rem;
}

.mkdf-counter-holder .mkdf-counter-text {
  font-size: 0.813rem;
  font-weight: 600;
}

.mkdf-st-intro-title {
  text-transform: uppercase;
}

/* Стили для модального окна */
.modal {
  display: none;
  /* Скрыто по умолчанию */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 30%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1000px) {
  .modal-content {
    width: 50%;
  }
}

@media (max-width: 500px) {
  .modal-content {
    width: 80%;
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

.bottom-form {
  margin-bottom: 40px !important;
}

.mkdf-slider {
  margin-top: 110px;
}

.mkdf-title-holder {
  height: 340px;
}

.mkdf-title-holder .mkdf-title-wrapper {
  height: 340px;
}

form.cart {
  display: none !important;
}

.mkdf-shopping-cart-holder {
  display: none;
}

.add_to_cart_button {
  display: none !important;
}

.single-product .mkdf-title-holder {
  display: none;
}

.mkdf-woo-single-page .woocommerce-tabs table th {
  width: 16%;
}

h1.product_title.entry-title {
  font-size: 40px;
}

.mkdf-woo-single-page .mkdf-single-product-summary .product_meta {
  margin: 16px 0 15px;
}

.mkdf-title-holder.mkdf-standard-with-breadcrumbs-type .mkdf-page-subtitle {
  line-height: 28px;
}

aside.mkdf-sidebar .widget ul li {
  padding: 18px 0;
  border-bottom-color: #00000017;
}

span.color {
  color: #001659;
  font-weight: bold;
}

body[class*="-10513"] .qodef-block-bf2f4271 .qi-block-timeline .qodef-e-point {
  background-color: #001659;
}

rs-layer.2nd_slide {
  text-shadow: 2px 4px #20283c5e;
}

.small_text {
  font-size: 0.813rem;
  color: #999999;
}

.mkdf-accordion-holder .mkdf-accordion-content p {
  margin-bottom: 24px;
}

aside.mkdf-sidebar .widget ul li a {
  color: #333;
}

footer .mkdf-footer-top-holder .widget,
footer .mkdf-footer-top-holder .widget a,
footer .mkdf-footer-top-holder .widget p {
  font-size: 0.938rem;
  font-weight: 500;
}

footer .mkdf-footer-top-holder .widget p {
  margin-bottom: 13px;
  font-weight: 500;
}

footer .mkdf-icon-widget-holder .mkdf-icon-text {
  font-size: 0.938rem !important;
  font-weight: 500;
}

.mkdf-page-footer a {
  font-weight: 500;
}

footer .mkdf-footer-bottom-holder .widget,
footer .mkdf-footer-bottom-holder .widget a,
footer .mkdf-footer-bottom-holder .widget p {
  font-size: 0.75rem;
}

.mkdf-blog-list-holder .mkdf-bli-info > div a {
  font-size: 0.688rem;
}

.mkdf-logo-wrapper {
  max-width: 277px;
}

.mkdf-mobile-header
  .mkdf-mobile-menu-opener.mkdf-mobile-menu-opener-icon-pack
  .mkdf-mobile-menu-icon {
  font-size: 34px;
  background-color: var(--wilmer-brand, #ff5e14);
  color: #fff;
  height: 70px;
  width: 70px;
  text-align: center;
}

@media (max-width: 350px) {
  .mkdf-vertical-align-containers .mkdf-position-left {
    width: 70%;
  }
}

@media (max-width: 1024px) {
  .mkdf-content {
    margin-top: -110px !important;
  }
}

@media (min-width: 680px) and (max-width: 1024px) {
  .mkdf-blog-list-holder h4.entry-title a,
  .mkdf-blog-list-holder .mkdf-post-title {
    font-size: 1rem;
    line-height: 1.3em;
  }
}

@media only screen and (max-width: 680px) {
  .elementor-widget-container h1 {
    font-size: 2.1rem;
  }
}

.mkdf-btn.mkdf-btn-small.small-padding-button {
  padding: 5px 13px;
  text-align: right;
}

.mkdf-woo-single-page .related.products > h2,
.mkdf-woo-single-page .upsells.products > h2 {
  line-height: 1em;
}

@media only screen and (max-width: 680px) {
  .mkdf-title-holder.mkdf-standard-with-breadcrumbs-type .mkdf-page-title {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 766px) {
  .vac_price {
    margin-top: -25px;
    margin-bottom: -42px;
  }
}

.sent_form {
  font-size: 1.125rem;
}

table th.woocommerce-product-attributes-item__label {
  background-color: unset;
}

table tr:nth-child(even) td.woocommerce-product-attributes-item__value {
  background-color: unset;
}

.widget.woocommerce .product-categories li a {
  font-size: 0.938rem;
  text-transform: none;
}

.widget.woocommerce.widget_price_filter .price_slider_amount .button {
  float: none;
}

.widget.woocommerce.widget_price_filter .price_slider_amount .price_label {
  float: none;
}

.widget.woocommerce.widget_price_filter .price_slider_amount .price_label {
  font-size: 0.875rem;
}

.mkdf-bg-responsive .mkdf-page-title {
  display: none;
}

summary {
  font-size: 1.125rem;
  line-height: 1.304em;
  padding: 30px 20px 18px 0px;
  border-bottom: 1px solid #e8e8e9;
  cursor: pointer;
  color: #00235a;
  transition: all 0.2s ease-out;
}

summary:hover {
  color: var(--wilmer-brand, #ff5e14);
}

.service_faq details:first-child summary {
  padding-top: 0;
}

.license {
  position: relative;
  cursor: pointer;
}

.license::after {
  content: "\f06e";
  /* Иконка "глаз" — Font Awesome */
  font-family: "Font Awesome\ 5 Free";
  font-weight: 900;
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0.5rem;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.license:hover::after {
  opacity: 1;
}

@media only screen and (max-width: 1024px) {
  body:not(.mkdf-content-is-behind-header):not(.error404) .mkdf-content {
    margin-top: -110px !important;
  }
}

.mkdf-side-menu a.mkdf-close-side-menu.mkdf-close-side-menu-icon-pack {
  font-size: 33px;
}

.mkdf-side-menu a.mkdf-close-side-menu {
  width: 70px;
  padding: 22px 16px;
  transition: opacity 0.3s ease;
}

.mkdf-side-menu a.mkdf-close-side-menu:hover {
  opacity: 0.8;
}

.icon_close:before {
  color: #fff;
}

aside.mkdf-sidebar .widget.mkdf-blog-list-widget {
  margin: 0px 0 32px;
}

.mkdf-banner-text-holder {
  max-height: 221px;
}

@media only screen and (max-width: 680px) {
  blockquote,
  blockquote strong,
  blockquote p strong,
  blockquote p {
    font-size: 0.813rem;
  }

  blockquote {
    padding: 25px 88px 25px 25px;
  }
}

.page-id-11522 .mkdf-title-holder {
  background-position: center center;
  background-size: cover;
}


/* Стрелки owl-слайдеров (каталог, отзывы, портфолио): глиф ">" (\35) шрифта
   ElegantIcons нарисован не по центру своей площадки — левый боковой отступ
   14.34px против правого 10.63px при font-size 34px. Из-за этого сама стрелка
   стоит на ~1.87px правее центра квадратной кнопки. Компенсируем сдвигом
   в em, чтобы правка жила при любом размере иконки. Левый глиф "<" (\34)
   расхождение имеет лишь 0.27px — не трогаем. */
.mkdf-owl-slider .owl-nav .mkdf-main-icon.arrow_carrot-right {
  position: relative;
  left: -0.055em;
}

/* Единая рамка превью портфолио без обрезки исходных фотографий. */
.mkdf-portfolio-list-holder .mkdf-pli-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.mkdf-portfolio-list-holder .mkdf-pli-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

/* Owl ошибочно скрывает навигацию при auto-width, хотя стрелки активны. */
.home .elementor-element-ccb60ba .owl-nav.disabled {
  display: block !important;
}

/* Липкая шапка на ширинах 1025-1300 px.
   Логотип (277 px) и правый блок с меню и иконками (899 px) в строку не
   помещались, поэтому правый блок сваливался на вторую строку: у самого верха
   страницы меню наезжало на верхнюю панель и на основное меню, а при скролле
   оказывалось под белой полосой липкой шапки, а не на ней. Раскладка переведена
   на flex без переноса, логотип и отступы пунктов уменьшены, чтобы строка
   помещалась вплоть до 1025 px, где шапка сменяется мобильной. */
@media only screen and (min-width: 1025px) and (max-width: 1300px) {
  .mkdf-sticky-header .mkdf-sticky-holder > .mkdf-vertical-align-containers {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }

  .mkdf-sticky-header .mkdf-sticky-holder .mkdf-position-left,
  .mkdf-sticky-header .mkdf-sticky-holder .mkdf-position-right {
    float: none;
  }

  .mkdf-sticky-header .mkdf-sticky-holder .mkdf-logo-wrapper {
    max-width: 200px;
  }

  .mkdf-sticky-header .mkdf-sticky-holder .mkdf-logo-wrapper a {
    display: flex;
    align-items: center;
    height: 70px;
    max-width: 100%;
  }

  .mkdf-sticky-header .mkdf-sticky-holder .mkdf-logo-wrapper img {
    max-width: 100%;
    height: auto;
  }

  .mkdf-sticky-header .mkdf-main-menu > ul > li > a {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Основная шапка (тип «tabbed»): правый блок с поиском и бургером сваливался
   на вторую строку на страницах товара.
   Ширину центрального блока с меню считает скрипт темы (mkdfInitTabbedHeaderMenu
   в wilmer/assets/js/modules/theme-modules/theme-modules-js.js) как ширина окна
   минус логотип, минус правый блок. Про полосу прокрутки внутри body он не
   знает, а на карточке товара она есть: qi-blocks задаёт body overflow-x:hidden,
   из-за чего overflow-y у body становится auto, а .mkdf-wrapper-inner с
   отрицательным нижним отступом (style.css модуля house-calc) делает содержимое
   на 26 px выше body. Появляется вторая полоса прокрутки, содержимое сужается
   на её ширину (около 15 px), а центральный блок остаётся посчитанным по старой
   ширине — строка перестаёт помещаться. На остальных страницах запас в строке
   был 0.3 px, поэтому там перенос не показывался.
   Раскладка переведена на flex без переноса, инлайновая ширина от скрипта
   отменена: строка держится при любой ширине полосы прокрутки.
   28.08.2026 сам источник второй полосы убран (отрицательный отступ у
   .mkdf-wrapper-inner в модуле house-calc), но правку оставляем: она страхует
   строку при любом появлении полосы прокрутки внутри body. */
@media only screen and (min-width: 1025px) {
  .mkdf-header-tabbed
    .mkdf-page-header
    .mkdf-menu-area
    > .mkdf-vertical-align-containers {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .mkdf-header-tabbed .mkdf-page-header .mkdf-menu-area .mkdf-position-left,
  .mkdf-header-tabbed .mkdf-page-header .mkdf-menu-area .mkdf-position-right {
    float: none;
    flex: 0 0 auto;
  }

  .mkdf-header-tabbed .mkdf-page-header .mkdf-menu-area .mkdf-position-center {
    float: none;
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
  }
}

/* Мобильная главная (замечания клиента при приёмке, 21.09.2026).
   Первый экран Slider Revolution: слои колонкой, фон притемнён — текст не ложится на лицо и не наезжает на кнопки.
   Кейсы и видео: слайд по ширине колонки с полями 30 px, без обрезки справа; стрелки в строку.
   Партнёры: логотипы сеткой 2x2. */
@media (max-width: 767px) {
	/* Первый экран: слои слайдера выстраиваются колонкой, фон затемняется для читаемости */
	#rev_slider_17_1 rs-slide {
		display: flex !important;
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
		gap: 16px;
		padding: 28px 20px 44px;
		box-sizing: border-box;
	}
	#rev_slider_17_1 rs-sbg-px {
		filter: brightness(.58);
	}
	#rev_slider_17_1 rs-slide > rs-layer-wrap {
		position: relative !important;
		left: auto !important;
		top: auto !important;
		width: 100% !important;
		z-index: 5 !important;
	}
	#rev_slider_17_1 rs-slide rs-layer:not(.rs-layer-static) {
		width: auto !important;
		max-width: 100% !important;
		white-space: normal !important;
		color: #fff !important;
	}
	#rev_slider_17_1 rs-slide rs-layer[id$="-layer-1"] {
		font-size: 27px !important;
		padding: 0 !important;
		margin: 0 !important;
		line-height: 1.2 !important;
	}
	#rev_slider_17_1 rs-slide rs-layer[id$="-layer-2"] {
		font-size: 15px !important;
		line-height: 1.5 !important;
		font-weight: 500 !important;
		letter-spacing: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	#rev_slider_17_1 rs-slide rs-layer[id$="-layer-3"] {
		display: none !important;
	}

	/* Кейсы и видео: слайд не прилипает к правому краю экрана, поля слева и справа одинаковые */
	.elementor-11681 .elementor-element.elementor-element-2f26a0c > .elementor-element-populated,
	.elementor-11681 .elementor-element.elementor-element-a94d3a9 > .elementor-element-populated {
		padding: 0 30px !important;
		margin: 0 !important;
	}
	.elementor-element-d515761 .mkdf-pl-inner,
	.elementor-element-ab7cb2b .mkdf-pl-inner {
		margin: 0 !important;
		padding: 0 !important;
	}
	.elementor-element-d515761 .owl-stage-outer,
	.elementor-element-ab7cb2b .owl-stage-outer {
		width: 100% !important;
	}
	/* Слайдер с auto-width: ширину слайда задаёт его содержимое — ровно ширина колонки (экран минус 2×30 px) */
	.elementor-11681 .elementor-element-d515761 .mkdf-pl-item-inner,
	.elementor-11681 .elementor-element-d515761 .mkdf-pli-image,
	.elementor-11681 .elementor-element-ab7cb2b .mkdf-pl-item-inner,
	.elementor-11681 .elementor-element-ab7cb2b .mkdf-pli-image {
		width: calc(100vw - 60px) !important;
		max-width: none !important;
	}
	.elementor-element-d515761 .mkdf-pli-text > *,
	.elementor-element-d515761 .mkdf-pli-title,
	.elementor-element-d515761 .mkdf-pl-read-more-holder .mkdf-btn {
		width: 100% !important;
		max-width: none !important;
	}

	/* Стрелки «Пред / След» в одну строку под слайдом, без пустоты над ними */
	.elementor-element-d515761 .owl-nav,
	.elementor-element-ab7cb2b .owl-nav {
		display: flex !important;
		gap: 12px;
		margin-top: 24px !important;
	}
	.elementor-element-d515761 .owl-nav button,
	.elementor-element-ab7cb2b .owl-nav button {
		position: static !important;
		margin: 0 !important;
		transform: none !important;
	}

	/* Партнёры: логотипы сеткой 2×2 вместо четырёх экранов в столбик */
	.elementor-element-cf83476 .mkdf-cc-inner {
		display: flex !important;
		flex-wrap: wrap;
	}
	.elementor-element-cf83476 .mkdf-cc-item {
		width: 50% !important;
		float: none !important;
		padding: 12px !important;
		box-sizing: border-box;
	}
	.elementor-element-cf83476 .mkdf-cc-item img {
		max-height: 70px;
		width: auto !important;
		object-fit: contain;
	}
	.elementor-element-cf83476 .mkdf-cc-hover-image {
		display: none !important;
	}
}

/* Логотип светлеет при наведении — во всех шапках: обычной, липкой и мобильной.
   Прозрачность ставится на ссылку, а не на картинки: у картинок логотипа
   (обычный, тёмный, светлый) прозрачностью управляет сама тема. */
.mkdf-logo-wrapper > a,
.mkdf-mobile-logo-wrapper > a {
	transition: opacity .25s ease;
}
.mkdf-logo-wrapper > a:hover,
.mkdf-mobile-logo-wrapper > a:hover {
	opacity: .7;
}
