


/* Start:/bitrix/templates/mkadastr/components/other/anons-list/services-hub/style.css*/
.mk-services-hub,
.mk-services-hub * {
    box-sizing: border-box;
}

.mk-services-hub {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* =========================
   Группа услуг
   ========================= */

.mk-services-group {
    width: 100%;
    margin: 0;
    padding: 0;
}

.mk-services-group + .mk-services-group {
    margin-top: 44px;
    padding-top: 40px;
    border-top: 1px solid #e1e8eb;
}

.mk-services-group-head {
    margin: 0 0 22px 0;
    padding: 0;
}

.content .mk-services-group-title,
.mk-services-group-title {
    margin: 0;
    padding: 0;

    color: #24323a;

    font-size: 28px;
    line-height: 1.25;
    font-weight: normal;

    text-align: left;
}

.content .mk-services-group-title:after,
.mk-services-group-title:after {
    content: "";
    display: block;

    width: 72px;
    height: 3px;

    margin-top: 12px;

    background: #1b78a0;
    border-radius: 2px;
}


/* =========================
   Сетка
   ========================= */

.mk-services-grid {
    display: grid;

    width: 100%;

    margin: 0;
    padding: 0;

    gap: 26px;
}

.mk-services-group-count-1 .mk-services-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 650px;
}

.mk-services-group-count-2 .mk-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-services-group-count-3 .mk-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* =========================
   Карточка
   ========================= */

.mk-services-card {
    display: block;

    min-width: 0;

    margin: 0;
    padding: 0;

    background: #ffffff;

    border: 1px solid #dfe7ea;
    border-radius: 11px;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.055);

    overflow: hidden;

    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        border-color 0.16s ease;
}

.mk-services-card:hover {
    transform: translateY(-2px);

    border-color: #cbdce3;

    box-shadow: 0 7px 21px rgba(0, 0, 0, 0.085);
}

.mk-services-card-link {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    color: inherit;

    text-decoration: none;
}

.mk-services-card-link:hover,
.mk-services-card-link:focus {
    color: inherit;
    text-decoration: none;
}

.mk-services-card-link-static {
    cursor: default;
}


/* =========================
   Изображение
   ========================= */

.mk-services-card-image {
    position: relative;

    width: 100%;
    aspect-ratio: 3 / 2;

    margin: 0;
    padding: 0;

    background: #eef3f5;

    overflow: hidden;
}

.mk-services-card-image img {
    display: block;

    position: absolute;
    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;

    margin: 0;
    padding: 0;

    transition: transform 0.22s ease;
}

.mk-services-card:hover .mk-services-card-image img {
    transform: scale(1.018);
}


/* =========================
   Содержимое карточки
   ========================= */

.mk-services-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;

    min-width: 0;

    margin: 0;
    padding: 20px 21px 18px 21px;
}

.content .mk-services-card-title,
.mk-services-card-title {
    margin: 0 0 10px 0;
    padding: 0;

    color: #1b78a0;

    font-size: 21px;
    line-height: 1.3;
    font-weight: normal;

    text-align: left;
}

.mk-services-card:hover .mk-services-card-title {
    color: #145f80;
}

.mk-services-card-text {
    margin: 0;
    padding: 0;

    color: #37454c;

    font-size: 15px;
    line-height: 1.55;

    text-align: left;
}

.mk-services-card-text p {
    margin: 0;
    padding: 0;
}

.mk-services-card-text p + p {
    margin-top: 8px;
}


/* =========================
   Ссылка "Подробнее"
   ========================= */

.mk-services-card-more {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;

    margin: auto 0 0 0;
    padding: 17px 0 0 0;

    color: #1b78a0;

    font-size: 14px;
    line-height: 1.3;

    text-decoration: none;
}

.mk-services-card-more:after {
    content: "\2192";

    display: inline-block;

    margin-left: 6px;

    transition: transform 0.16s ease;
}

.mk-services-card:hover .mk-services-card-more {
    color: #145f80;
}

.mk-services-card:hover .mk-services-card-more:after {
    transform: translateX(3px);
}


/* =========================
   Планшет
   ========================= */

@media (max-width: 1000px) {

    .mk-services-group-count-3 .mk-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mk-services-group + .mk-services-group {
        margin-top: 38px;
        padding-top: 34px;
    }
}


/* =========================
   Мобильная версия
   ========================= */

@media (max-width: 700px) {

    .mk-services-group + .mk-services-group {
        margin-top: 32px;
        padding-top: 29px;
    }

    .mk-services-group-head {
        margin-bottom: 17px;
    }

    .content .mk-services-group-title,
    .mk-services-group-title {
        font-size: 24px;
        line-height: 1.28;
    }

    .content .mk-services-group-title:after,
    .mk-services-group-title:after {
        width: 62px;
        margin-top: 10px;
    }

    .mk-services-group-count-1 .mk-services-grid,
    .mk-services-group-count-2 .mk-services-grid,
    .mk-services-group-count-3 .mk-services-grid {
        grid-template-columns: 1fr;
        max-width: none;
        gap: 20px;
    }

    .mk-services-card-body {
        padding: 18px 18px 17px 18px;
    }

    .content .mk-services-card-title,
    .mk-services-card-title {
        font-size: 20px;
    }

    .mk-services-card-text {
        font-size: 15px;
        line-height: 1.5;
    }

    .mk-services-card-more {
        padding-top: 14px;
    }
}
/* End */
/* /bitrix/templates/mkadastr/components/other/anons-list/services-hub/style.css */
