/*
Theme Name: XS Business Child
Theme URI: https://urpom-rf.ru/
Description: Дочерняя тема для XS Business.
Author: RealPro
Template: xs_business
Version: 1.3.3
Text Domain: xs-business-child
*/

.articles__image picture {
    display: block;
    position: relative;
    padding-top: 66.6667% !important;
}

.articles__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cases_page__item-desc-text {
    word-break: break-word;
}

.cases_page__item-desc-text > *:first-child {
    margin-top: 0;
    padding-top: 0;
}

.cases_page__item-desc-text > *:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.common-card-soc__icon .common-card-soc__img {
    display: block;
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
}

/* Keep the mobile cookie notice in the document flow, clear of all form controls. */
@media screen and (max-width: 767px) {
    .cookie_alert {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: auto;
        max-width: none;
        margin: 12px;
        padding: 14px;
        gap: 12px;
        border-radius: 16px;
    }
}
