

/* Start:/local/templates/ruskras/components/bitrix/news.list/ruskras_banners_main/style.css?17702952751599*/

/*
.home-banners {
    position: relative;
    width: 100%;
    max-width: 1340px;
    margin: 0 auto 48px;
    padding: 0 16px;
    box-sizing: border-box;
}

.home-banner {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f3f3f3;
}

.home-banner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.home-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.0) 40%,
        rgba(0,0,0,0.45) 100%
    );
    pointer-events: none;
}

.home-banner__title {
    position: absolute;
    left: 32px;
    bottom: 32px;
    max-width: 70%;

    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
    color: #fff;

    z-index: 2;
}
.home-banner a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.home-banner:hover img {
    transform: scale(1.02);
    transition: transform 0.4s ease;
}

@media (max-width: 1024px) {
    .home-banner__title {
        font-size: 24px;
        left: 24px;
        bottom: 24px;
        max-width: 80%;
    }
}
@media (max-width: 768px) {
    .home-banners {
        padding: 0 12px;
        margin-bottom: 32px;
    }

    .home-banner {
        border-radius: 8px;
    }

    .home-banner img {
        border-radius: 8px;
    }

    .home-banner__title {
        font-size: 18px;
        left: 16px;
        bottom: 16px;
        max-width: 90%;
    }
}
*/
/* End */
/* /local/templates/ruskras/components/bitrix/news.list/ruskras_banners_main/style.css?17702952751599 */
