
.entertainments h1.title{
    text-align: center;
    margin-bottom: 48px;
}

.ribas_list{
    width: 1080px;
    max-width: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: 80px;
}

.ribas_item{
    
}
    .ribas_item._active .ribas_item_head svg{
        transform: scale(1);
    }
    .ribas_item_head{
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        font-size: 36px;
        font-weight: 500;
        text-transform: uppercase;
    }
        .ribas_item_head span{
            user-select: none;
        }
        .ribas_item_head svg{
            width: 24px;
            min-width: 24px;
            transform: scale(-1);
            transition: .3s ease all;
        }

    .ribas_item_content{
        display: none;
    }

    .ribas_item_content_wrap{
        font-size: 18px;
        line-height: 1.2;
        padding: 16px 0 0;
    }
    .ribas_item_tel{
        display: inline-block;
        text-decoration: none;
        color: #000;
        font-weight: 500;
        margin-bottom: 12px;
    }
        .ribas_item_desc{
            font-weight: 500;
            margin-bottom: 12px;
        }
        .ribas_item_table{
            margin-bottom: 12px;
        }
        .ribas_item_table_row{
            display: flex;
            gap: 16px;
            padding: 8px 0;
            border-bottom: 1px solid rgba(0,0,0,.12);
            font-size: 18px;
        }
        .ribas_item_table_row > div{
            width: calc(50% - 8px);
        }
        .ribas_item_table_row strong,
        .ribas_item_table_row b{
            font-weight: 500;
        }

    .ribas_item_gallery{
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 12px;
    }
        .ribas_item_gallery img{
            width: calc((100% - 30px) / 4);
            aspect-ratio: 2.6/3.6;
            object-fit: cover;
        }

    .ribas_item_text {
        font-size: 18px;
        line-height: 1.3;
    }

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

    .entertainments h1.title{
        margin-bottom: 24px;
    }
    .ribas_list{
        gap: 40px;
    }
    .ribas_item_head {
        font-size: 20px;
    }

    .ribas_item_content_wrap{
        font-size: 16px;
        padding: 12px 0 0;
    }
        .ribas_item_table_row{
            font-size: 14px;
        }
        .ribas_item_text {
            font-size: 14px;
        }

    .ribas_item_gallery img{
        width: calc( 50% - 5px);
    }

}  