

/* Start:/local/templates/medcentrservis/components/bitrix/news.list/discount_list/style.css?17714103462192*/
.link-name:hover {
    transition: color .3s ease;
    color: #7765e3;
}

.link-name {
    padding-right: 3rem;
}

.discount {
    padding: 16px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.discount--service .discount__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.discount picture {
    position: absolute;
    z-index: -1;
}


.discount--service picture img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 1024px) {

    .discount--service .discount__content {
        flex: 0 1 auto;
        padding: 15px 30px;
    }

    .discount {
        display: flex;
        align-items: center;
        padding: 24px 24px 24px 124px;
        gap: 24px;
        justify-content: space-between;
    }

    .discount--service {
        align-items: stretch;
        padding: 0;
        gap: 0;
    }

    .discount picture {
        left: -4%;
        top: -37%;
    }

    .discount--service picture {
        flex: 0 0 37.27%;
        border-radius: 0 12px 12px 0;
    }

    .discount--service picture img {
        border-radius: 0 12px 12px 0;
    }

    .discount-hero__image {
        flex: 0 1 48.25%;
    }
}

.discount--service picture {
    position: static;
}

.mt-16 {
    margin-top: 1rem !important;
}

.mb-16 {
    margin-bottom: 1rem !important;
}

.discount__content h2 {
    margin: 0 !important;
}

.discount-hero__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

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

    .discount {
        display: grid;
        align-items: flex-start;
        gap: 16px;
    }

    .discount--service {
        display: flex;
        flex-direction: column-reverse;
        gap: 0;
        padding: 0;
    }

    .discount--service .discount__content {
        padding: 16px;
    }

    .discount-hero__image {
        width: 100%;
        height: auto;
        /* aspect-ratio: 382 / 263;*/
    }
}
/* End */
/* /local/templates/medcentrservis/components/bitrix/news.list/discount_list/style.css?17714103462192 */
