/* =========================================================
   MHI — WOW-ШАБЛОН СТАТЕЙ
   Раздел «Корисне від експертів»
   ========================================================= */

.mhi-expert-detail-content .mhi-article-wow {
    --mhi-wow-red: #e30613;
    --mhi-wow-red-dark: #b8000c;
    --mhi-wow-dark: #151d2b;
    --mhi-wow-dark-2: #1d2939;
    --mhi-wow-text: #4a5665;
    --mhi-wow-muted: #7e8997;
    --mhi-wow-border: #e4e8ee;

    width: 100%;
    color: var(--mhi-wow-text);
}

.mhi-expert-detail-content .mhi-article-wow,
.mhi-expert-detail-content .mhi-article-wow * {
    box-sizing: border-box;
}

/* =========================================================
   ВСТУПИТЕЛЬНЫЙ БЛОК
   ========================================================= */

.mhi-wow-intro {
    position: relative;
    min-height: 265px;
    margin: 0 0 20px;
    padding: 42px 320px 42px 44px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(227, 6, 19, 0.10),
            transparent 240px
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f4f6f9 100%
        );

    border: 1px solid var(--mhi-wow-border);
    border-left: 5px solid var(--mhi-wow-red);
    border-radius: 0 18px 18px 0;

    box-shadow:
        0 14px 40px rgba(21, 29, 43, 0.07);
}

/* Красный оригинальный логотип MHI на фоне */

.mhi-wow-intro::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 42px;

    width: 225px;
    height: 110px;

    background:
        url("/image/catalog/logo/mhi-logo.png")
        center / contain
        no-repeat;

    opacity: 0.14;
    filter: none;

    transform: translateY(-50%);
    pointer-events: none;
}

/* Декоративный круг */

.mhi-wow-intro::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -120px;

    width: 300px;
    height: 300px;

    border: 46px solid rgba(227, 6, 19, 0.035);
    border-radius: 50%;

    pointer-events: none;
}

.mhi-wow-kicker {
    position: relative;
    z-index: 2;

    margin-bottom: 13px;

    color: var(--mhi-wow-red);

    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.mhi-expert-detail-content .mhi-wow-intro h2 {
    position: relative;
    z-index: 2;

    max-width: 720px;
    margin: 0 0 17px !important;
    padding: 0 !important;

    color: var(--mhi-wow-dark) !important;

    font-family: "Montserrat", sans-serif;
    font-size: 31px !important;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;

    border: 0 !important;
}

.mhi-expert-detail-content .mhi-wow-intro h2::before,
.mhi-expert-detail-content .mhi-wow-intro h2::after,
.mhi-expert-detail-content .mhi-wow-card h2::before,
.mhi-expert-detail-content .mhi-wow-card h2::after,
.mhi-expert-detail-content .mhi-wow-summary h2::before,
.mhi-expert-detail-content .mhi-wow-summary h2::after {
    display: none !important;
    content: none !important;
}

.mhi-wow-intro p {
    position: relative;
    z-index: 2;

    max-width: 760px;
    margin: 0;

    color: #465160;

    font-size: 17px;
    line-height: 1.78;
}

/* =========================================================
   ТРИ КРАТКИХ ФАКТА
   ========================================================= */

.mhi-wow-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;

    margin: 0 0 25px;
}

.mhi-wow-fact {
    position: relative;

    min-width: 0;
    min-height: 92px;

    padding: 20px 20px 20px 78px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fafbfd 100%
        );

    border: 1px solid var(--mhi-wow-border);
    border-radius: 13px;

    box-shadow:
        0 7px 22px rgba(21, 29, 43, 0.045);

    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.mhi-wow-fact:hover {
    border-color: rgba(227, 6, 19, 0.24);

    box-shadow:
        0 13px 30px rgba(21, 29, 43, 0.08);

    transform: translateY(-3px);
}

.mhi-wow-fact strong {
    color: var(--mhi-wow-dark);

    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}

.mhi-wow-fact span {
    margin-top: 5px;

    color: var(--mhi-wow-muted);

    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.mhi-wow-fact-icon {
    position: absolute;
    top: 50%;
    left: 18px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;

    background:
        linear-gradient(
            145deg,
            #f31a28,
            var(--mhi-wow-red-dark)
        );

    border-radius: 12px;

    box-shadow:
        0 8px 18px rgba(227, 6, 19, 0.20);

    transform: translateY(-50%);
}

/* =========================================================
   КАРТОЧКИ СОВЕТОВ
   ========================================================= */

.mhi-wow-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;

    margin: 0 0 28px;
}

.mhi-wow-card {
    position: relative;

    min-width: 0;
    min-height: 315px;

    padding: 28px 27px 24px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfcfd 100%
        );

    border: 1px solid var(--mhi-wow-border);
    border-radius: 16px;

    box-shadow:
        0 8px 26px rgba(21, 29, 43, 0.055);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

/* Красная линия сверху */

.mhi-wow-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--mhi-wow-red),
            rgba(227, 6, 19, 0.12)
        );
}

/* Большой прозрачный номер */

.mhi-wow-card::after {
    content: attr(data-step);

    position: absolute;
    z-index: 1;
    right: 13px;
    bottom: 13px;

    color: rgba(21, 29, 43, 0.13);

    font-family: "Montserrat", sans-serif;
    font-size: 74px;
    font-weight: 900;
    line-height: 0.9;

    pointer-events: none;
}

.mhi-wow-card:hover {
    border-color: rgba(227, 6, 19, 0.28);

    box-shadow:
        0 18px 42px rgba(21, 29, 43, 0.11);

    transform: translateY(-5px);
}

.mhi-wow-card-head {
    position: relative;
    z-index: 2;

    margin-bottom: 17px;

    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
}

.mhi-wow-number {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 850;
    line-height: 1;

    background:
        linear-gradient(
            145deg,
            #f51b29 0%,
            var(--mhi-wow-red) 50%,
            var(--mhi-wow-red-dark) 100%
        );

    border-radius: 14px;

    box-shadow:
        0 9px 20px rgba(227, 6, 19, 0.22);
}

.mhi-expert-detail-content .mhi-wow-card h2 {
    margin: 0 !important;
    padding: 0 !important;

    color: var(--mhi-wow-dark) !important;

    font-family: "Montserrat", sans-serif;
    font-size: 21px !important;
    font-weight: 780;
    line-height: 1.35;
    letter-spacing: -0.012em;

    border: 0 !important;
}

.mhi-wow-card > p {
    position: relative;
    z-index: 2;

    margin: 0 0 19px;

    color: var(--mhi-wow-text);

    font-size: 15px;
    line-height: 1.78;
}

/* =========================================================
   ПОДСКАЗКА MHI В КАРТОЧКЕ
   ========================================================= */

.mhi-wow-tip {
    position: relative;
    z-index: 2;

    min-height: 78px;
    margin-top: auto;
    padding: 14px 94px 14px 17px;

    color: #5f6b79;

    font-size: 13px;
    line-height: 1.6;

    /*
     * Справа оставляем прозрачное место для большой цифры.
     * Теперь серый фон не будет её закрывать.
     */
    background:
        linear-gradient(
            90deg,
            #f5f7fa 0%,
            #f5f7fa calc(100% - 82px),
            rgba(245, 247, 250, 0) calc(100% - 82px),
            rgba(245, 247, 250, 0) 100%
        );

    border-left: 3px solid var(--mhi-wow-red);
    border-radius: 0 9px 9px 0;
}

.mhi-wow-tip strong {
    display: block;

    margin-bottom: 4px;

    color: var(--mhi-wow-red) !important;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.4;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Седьмая карточка занимает всю ширину */

.mhi-wow-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    min-height: 260px;
}

/* =========================================================
   ИТОГОВЫЙ БЛОК
   ========================================================= */

.mhi-wow-summary {
    position: relative;

    margin: 0 0 21px;
    padding: 31px 330px 31px 32px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 92% 10%,
            rgba(227, 6, 19, 0.13),
            transparent 210px
        ),
        linear-gradient(
            135deg,
            #fff2f3 0%,
            #fffafb 100%
        );

    border: 1px solid rgba(227, 6, 19, 0.18);
    border-radius: 16px;
}

/* Большая галочка */

.mhi-wow-summary::after {
    content: "✓";

    position: absolute;
    top: 50%;
    right: 96px;

    width: 92px;
    height: 92px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(227, 6, 19, 0.18);

    font-family: "Montserrat", sans-serif;
    font-size: 72px;
    font-weight: 900;
    line-height: 1;

    border: 6px solid rgba(227, 6, 19, 0.10);
    border-radius: 50%;

    transform: translateY(-50%);
}

.mhi-wow-summary-label {
    margin-bottom: 9px;

    color: var(--mhi-wow-red);

    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mhi-expert-detail-content .mhi-wow-summary h2 {
    margin: 0 0 11px !important;
    padding: 0 !important;

    color: var(--mhi-wow-dark) !important;

    font-family: "Montserrat", sans-serif;
    font-size: 25px !important;
    font-weight: 800;
    line-height: 1.35;

    border: 0 !important;
}

.mhi-wow-summary p {
    margin: 0;

    color: #475260;

    font-size: 16px;
    line-height: 1.75;
}

/* =========================================================
   ФИНАЛЬНЫЙ ТЁМНЫЙ БЛОК
   В стиле страницы «Стати дилером»
   ========================================================= */

.mhi-wow-expert {
    position: relative;

    min-height: 220px;

    padding:
        34px
        250px
        34px
        30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    color: #ffffff;
    text-align: center;

    background:
        linear-gradient(
            135deg,
            #2b1725 0%,
            #17283a 55%,
            #172536 100%
        );

    border-radius: 15px;

    box-shadow:
        0 13px 30px rgba(23, 32, 45, 0.13);
}

/* Красное мягкое свечение справа */

.mhi-wow-expert::before {
    content: "";

    position: absolute;
    top: -150px;
    right: -60px;

    width: 360px;
    height: 360px;

    background:
        radial-gradient(
            circle,
            rgba(227, 6, 19, 0.17) 0%,
            rgba(227, 6, 19, 0.06) 35%,
            transparent 70%
        );

    border-radius: 50%;

    pointer-events: none;
}

/* Красный оригинальный логотип MHI справа */

.mhi-wow-expert::after {
    content: "";

    position: absolute;
    right: 34px;
    bottom: 24px;

    width: 185px;
    height: 135px;

    background:
        url("/image/catalog/logo/mhi-logo.png")
        right bottom / contain
        no-repeat;

    opacity: 0.62;
    filter: none;

    pointer-events: none;
}

.mhi-wow-expert strong {
    position: relative;
    z-index: 2;

    display: block;

    width: 100%;
    max-width: 720px;

    margin: 0 0 10px;

    color: #ffffff !important;

    font-family: "Montserrat", sans-serif;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.35;
}

.mhi-wow-expert p {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 720px;

    margin: 0;

    color: #c3ccd7;

    font-size: 15px;
    line-height: 1.7;
}

/* =========================================================
   ПЛАНШЕТЫ
   ========================================================= */

@media (max-width: 991px) {
    .mhi-wow-intro {
        padding-right: 230px;
    }

    .mhi-wow-intro::before {
        right: 25px;

        width: 170px;
    }

    .mhi-wow-summary {
        padding-right: 220px;
    }

    .mhi-wow-summary::after {
        right: 55px;
    }

    .mhi-wow-expert {
        padding-right: 210px;
    }

    .mhi-wow-expert::after {
        right: 24px;

        width: 155px;
        height: 115px;
    }
}

/* =========================================================
   МОБИЛЬНЫЕ УСТРОЙСТВА
   ========================================================= */

@media (max-width: 767px) {
    .mhi-wow-intro {
        min-height: 0;

        padding:
            28px
            23px
            30px
            27px;
    }

    .mhi-wow-intro::before {
        top: auto;
        right: 18px;
        bottom: 16px;

        width: 130px;
        height: 60px;

        opacity: 0.07;

        transform: none;
    }

    .mhi-expert-detail-content .mhi-wow-intro h2 {
        font-size: 24px !important;
    }

    .mhi-wow-intro p {
        font-size: 16px;
    }

    .mhi-wow-facts {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .mhi-wow-fact {
        min-height: 76px;
    }

    .mhi-wow-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .mhi-wow-card,
    .mhi-wow-card:last-child:nth-child(odd) {
        grid-column: auto;

        min-height: 0;

        padding:
            23px
            20px
            21px;
    }

    .mhi-wow-card-head {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 14px;
    }

    .mhi-wow-number {
        width: 50px;
        height: 50px;

        font-size: 15px;
    }

    .mhi-expert-detail-content .mhi-wow-card h2 {
        font-size: 19px !important;
    }

    .mhi-wow-summary {
        padding:
            25px
            22px;
    }

    .mhi-wow-summary::after {
        display: none;
    }

    .mhi-wow-expert {
        min-height: 0;

        padding:
            108px
            22px
            28px;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mhi-wow-expert::before {
        top: -160px;
        right: -130px;

        width: 320px;
        height: 320px;
    }

    .mhi-wow-expert::after {
        top: 22px;
        right: 50%;
        bottom: auto;

        width: 145px;
        height: 70px;

        background-position: center;

        opacity: 0.52;

        transform: translateX(50%);
    }

    .mhi-wow-expert strong {
        font-size: 20px;
    }

    .mhi-wow-expert p {
        font-size: 14px;
    }
}

/* =========================================================
   МАЛЕНЬКИЕ МОБИЛЬНЫЕ ЭКРАНЫ
   ========================================================= */

@media (max-width: 480px) {
    .mhi-wow-intro {
        padding:
            25px
            19px
            27px
            22px;
    }

    .mhi-expert-detail-content .mhi-wow-intro h2 {
        font-size: 22px !important;
    }

    .mhi-wow-fact {
        padding:
            17px
            15px
            17px
            70px;
    }

    .mhi-wow-fact-icon {
        left: 14px;

        width: 42px;
        height: 42px;
    }

    .mhi-wow-card {
        padding:
            21px
            17px
            19px;
    }

    .mhi-wow-card-head {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 12px;
    }

    .mhi-wow-number {
        width: 46px;
        height: 46px;

        border-radius: 11px;
    }

    .mhi-expert-detail-content .mhi-wow-card h2 {
        font-size: 18px !important;
    }

    .mhi-wow-card > p {
        font-size: 14px;
    }

    .mhi-wow-tip {
        padding:
            13px
            13px
            13px
            15px;
    }

    .mhi-expert-detail-content .mhi-wow-summary h2 {
        font-size: 22px !important;
    }

    .mhi-wow-summary p {
        font-size: 15px;
    }

    .mhi-wow-expert strong {
        font-size: 18px;
    }
}