

/* Start:/local/templates/red-gray/components/bitrix/news/page_services/bitrix/news.list/.default/style.css?17744299263835*/
.services {

}

.service-list__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--gap);

}

.service {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    background-color: var(--bg-color);
    transition: var(--transition);
    min-height: 215px;
    height: 100%;

    border: 1px solid var(--border-color);
    border-radius: 5rem;
    corner-shape: squircle;
    aspect-ratio: 1;
}

.service:hover {

}

.service::before {
    /*content: '';
    background: linear-gradient(270deg, #db8d8d 0%, #ff0008 100%);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 40%;*/
}


.service__picture {
    position: relative;
    overflow: hidden;
    /*padding-bottom: calc(131/503*100%);*/
}

.service__picture img {
    /* position: absolute;
     width: 100%;
     height: 100%;
     left: 0;
     top: 0;*/
    object-fit: cover;
}

.service__body {
    padding: var(--gap);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 2;
    background: #ffffff82;
}

.service__title {
    font-size: 24px;
    font-weight: 500;
}

.service__text {
    margin-top: var(--gap);
    font-size: 14px;
    max-width: 200px;
    position: relative;
    color: var(--black);
}

.service__text::before {
    /*content: '';*/
    position: absolute;
    left: -10%;
    top: -10%;
    width: 120%;
    height: 120%;
    background-color: #ffffffab;
    border-radius: 50%;
    filter: blur(10px);
    z-index: -1;
}


@media (max-width: 992px) {
    .service-list__wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .service__name {

    }
}

@media (max-width: 480px) {
    .service-list__wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

.service__bg {

}

.service__bg._bgi {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.service__bg._back {
    object-fit: cover;
}

.service__bg._front {
    object-fit: contain;
    z-index: 2;
}


.service__bg._lightblue {
    background-color: var(--lightblue);
}

.service__bg._bg-red {
    background-color: var(--red);
}

.service__bg._transparent {
    background: transparent;
}

.service__bg._bg-gradient {
    background: radial-gradient(#fff, #d3d3d3);
}

.service__bg._bg-lightgray {
    background-color: var(--border-color);
}

.service__bg._bg-blur {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    filter: blur(3px);
    left: 0;
    top: 0;
    z-index: 2;
}

.service__bg._top,
.service__bg._top-right,
.service__bg._top-left,
.service__bg._bottom,
.service__bg._bottom-right,
.service__bg._bottom-left,
.service__bg._left,
.service__bg._right {
    position: absolute;
}

.service__bg._top {
    top: 0;
}

.service__bg._top-right {
    top: 0;
    right: 0;
}

.service__bg._top-left {
    top: 0;
    left: 0;
}

.service__bg._bottom {
    bottom: 0;
    height: auto;
}

.service__bg._bottom-right {
    bottom: 0;
    right: 0;
}

.service__bg._bottom-left {
    bottom: 0;
    left: 0;
}

.service__bg._left {
    left: 0;
}

.service__bg._right {
    right: 0;
    height: 100%;
    width: auto;
}

.service__bg._center {
    background-position: center;
    left: 50%;
    right: 50%;
    transform: translate(-50%, -50%);
}

.service__bg._cover {
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
}

.service__bg._contain,
.service__bg._back._contain {
    object-fit: contain;
    background-size: contain;
}


/* End */
/* /local/templates/red-gray/components/bitrix/news/page_services/bitrix/news.list/.default/style.css?17744299263835 */
