/* RuStore — компьютерная версия */
.header__socials a[href*="rustore.ru"] {
    width: 108px !important;
    max-width: 108px !important;
    height: 40px !important;
}

.header__socials a[href*="rustore.ru"] img {
    width: 108px !important;
    max-width: 100% !important;
    height: auto !important;
}

/* RuStore — мобильная версия */
@media (max-width: 767px) {
    .header__socials {
        flex-wrap: nowrap !important;
        gap: 6px !important;
    }

    .header__socials a.button-icon--mini {
        width: 32px !important;
        max-width: 32px !important;
        height: 32px !important;
    }

    .header__socials a[href*="rustore.ru"] {
        overflow: hidden;
        position: relative;
        display: block;
        border-radius: 9px;
        background: #F8B324;
    }

    .header__socials a[href*="rustore.ru"] img {
        width: 86.4px !important;
        max-width: none !important;
        height: 32px !important;
        position: absolute;
        left: 0;
        top: 0;
    }
}
/* ==========================================
   Goodmash Drilling — мобильные изображения
   ========================================== */

@media screen and (max-width: 767px) {

    /* Квадратная картинка анонса статьи */

    img.content-item__image[src*="08p6b9q35pn6b20eabon671w84dlnp99"] {
        content: url("/upload/medialibrary/2d1/c7q3zqwllk7ao48mzkc1zklwb97y42lx/goodmash_drilling_mobile_preview.png");
        object-fit: cover !important;
        object-position: center !important;
        max-width: 100% !important;
    }

    /* Детальный баннер статьи — формат 3:1 */

    img.content-detail__img[src*="rbbpd7iugnzyl9gpvkd87bcwoz4y5hrs"] {
        content: url("/upload/medialibrary/b53/6yyobj03hep8f6xay9bgblcd4csqrxu6/goodmash_drilling_mobile_banner.png");
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 3 / 1 !important;
        object-fit: contain !important;
        border-radius: 10px;
    }

    /* Контейнер детального баннера */

    .content-detail__img-container:has(
        img[src*="rbbpd7iugnzyl9gpvkd87bcwoz4y5hrs"]
    ) {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
    }

}
/* Фотография блока «Связаться с нами» */
.image-section {
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.40),
            rgba(0, 0, 0, 0.40)
        ),
        url("/local/templates/echo/components/bitrix/form.result.new/form-footer/images/form-stub-2.webp?v=26112026")
        !important;
}