

/* Start:/bitrix/templates/utes/components/bitrix/news.list/childrens-rest/style.css?17443615985036*/
.bg-color-green {
    background-color: #00a481;
}

.color-green {
    color: #00a481;
}

.bg-color-dark-green {
    background-color: #00866b;
}

.color-dark-green {
    color: #00866b;
}

.bg-color-pink {
    background-color: #ef5a71;
}

.color-pink {
    color: #ef5a71;
}

.bg-color-dark-pink {
    background-color: #a6475f;
}

.color-dark-pink {
    color: #a6475f;
}

.bg-color-yellow {
    background-color: #edb600;
}

.color-yellow {
    color: #edb600;
}

@media (hover: hover) {
    .children-rest__btn:hover {
        background-color: #ffffff;
        color: currentColor;
    }
}

@media (hover: none) {
    .children-rest__btn:active {
        background-color: #ffffff;
        color: currentColor;
    }
}

.children-rest__header {
    width: 100%;
    margin-block: 20px 0;
    text-align: center;
}

.children-rest__header-title {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
    font-family: 'CoreRhino', sans-serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.28;
}

.children-rest__header-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1.2px;
    background-color: black
}

.children-rest__header-description {
    font-family: 'CoreRhino', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1/28;
}

.children-rest__items {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-block: 20px;
    font-family: "CoreSansA", sans-serif;
    color: #ffffff;

}

.children-rest__item {
    display: flex;
    flex-direction: column;
}

.children-rest__img-box {
    height: 250px;
}

.children-rest__img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.children-rest__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 15px;
}

.children-rest__info-header {
    margin-block: 0 10px;
    font-size: 16px;
    line-height: 1.28;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
}

.children-rest__info-title {
    display: none;
}

.children-rest__info-title--mobile {}

.children-rest__text {
    flex-grow: 1;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}

.children-rest__info-bottom {}



.children-rest__btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    padding: 8px;
    border: 1px solid #ffffff;
    border-radius: 20px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

@media (min-width: 426px) {
    .children-rest__items {
        align-items: center;
    } 
    .children-rest__item  {
        max-width: 310px;
    }
}

@media (min-width: 576px) {
    .children-rest__header {
        margin-block: 20px;
    }

    .children-rest__header-title {
        font-size: 30px;
    }

    .children-rest__header-description {
        font-size: 22px;
        letter-spacing: 0.1em;
    }
    .children-rest__header-title::after {
        left: 25px;
        right: 25px;
        height: 2px;
    }

    .children-rest__items {
        margin-block: 30px;
    }

    .children-rest__item {
        flex-direction: row;
        max-width: 600px;
    }

    .children-rest__img-box {
        height: auto;
        width: 50%;
    }

    .children-rest__info {
        width: 50%;
    }

    .children-rest__info-title {
        display: block;
    }

    .children-rest__info-title--mobile {
        display: none;
    }
}

@media (min-width: 1311px) {
    .children-rest__header {
        margin-block: 30px;
    }

    .children-rest__header-title {
        font-size: 40px;
    }

    .children-rest__header-description {
        font-size: 28px;
        letter-spacing: 0.1em;
    }
    .children-rest__header-title::after {
        left: 40px;
        right: 40px;
        height: 2px;
    }


    .children-rest__items {
        flex-direction: row;
        align-items: stretch;
    }

    .children-rest__item {
        flex-direction: row;
        flex-basis: calc(50% - 15px);
    }

    .children-rest__item:nth-child(n+3):nth-child(-n+4),
    .children-rest__item:nth-child(n+7):nth-child(-n+8),
    .children-rest__item:nth-child(n+11):nth-child(-n+12),
    .children-rest__item:nth-child(n+15):nth-child(-n+16) {
        flex-direction: row-reverse;
    }

    .children-rest__img-box {
        width: 50%;
        height: 100%;
        aspect-ratio: 1;
    }

    .children-rest__info {
        width: 50%;
        padding: 30px 15px;
    }


    .children-rest__info-title {
        margin-block: 15px 10px;
        font-size: 20px;
    }

    .children-rest__text {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .children-rest__btn {
        width: 200px;
        padding: 10px;
        font-size: 16px;
    }

}
/* End */
/* /bitrix/templates/utes/components/bitrix/news.list/childrens-rest/style.css?17443615985036 */
