.home-block {
    width: 100%;
    margin-bottom: 50px;
}

.home-block .block-title {
    display: block;
    padding: 0 10px;
}

.home-block .block-content {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-direction: column;
}

.home-block .many-items {
    display: flex;
    flex-direction: column;
}

.home-block .one-item {
    width: 100%;
    max-width: 353px;
    flex-shrink: 0;
    flex-grow: 0;
    position: relative;
    z-index: 10;
}

.home-block .many-items {
    flex-shrink: 1;
    flex-grow: 1;
}

.home-block .bottom {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 10px;
}

.home-block .bottom .inner {
    border-left: 3px solid #eb4735;
    padding-left: 10px;
}

.home-block .one-item .picture {
    z-index: 15;
}

.home-block .bottom .title a {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    color: white;
}


.home-block .views-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dotted #666;
}

.home-block .many-items .views-row:last-child {
    margin-bottom: 0;
    border: none;
}

.home-block .views-row .picture {
    width: 60px;
    overflow: hidden;
    height: 55px;
    flex-grow: 0;
    flex-shrink: 0;
}

.home-block .picture {
    background-color: #c2c2c2;
}

.home-block .picture .empty {
    background-color: white;
    display: block;
}

.home-block .one-item .picture .empty {
    min-height: 350px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
}

.home-block .views-row .right {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.home-block .views-row .right .perks {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
}

.home-block .title {
    padding: 5px 0 10px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
}

.one-item.with-text .picture {
    margin-bottom: 10px;
}

.one-item.with-text .title {
    margin-bottom: 10px;
}

.one-item.with-text .perks {
    border-bottom: 1px solid #c2c2c2;
    text-transform: uppercase;
    color: #666;
    padding: 0 0 5px 0;
    margin: 0 0 10px 0;
}

.one-item.with-text .perks>div {
    line-height: 1.2;
    margin: 0 0 5px 0;
    font-size: 14px;
}

.home-block .description {
    color: #666;
    padding-bottom: 20px;
    margin-bottom: 1px;
    border-bottom: 1px solid #c2c2c2;
    height: calc(6em + 20px);
    overflow: hidden;
    font-size: 16px;
}

.one-item.with-text {
    border-bottom: 2px solid #c2c2c2;
    margin-bottom: 5px;
}

@media only screen and (min-width: 1200px) {
    .path-frontpage .region-content {
        justify-content: space-between;
    }   

    .home-block.type1 .block-content {
        flex-direction: row;
        align-items: flex-start;
    }
    #content .home-block.type2 {
        width: calc(50% - 15px);        
    }
    
    /*text-hight correction*/
    .home-block .right .title {
        /*was height: 3.1em;*/
        max-height: 3.1em;
        overflow: hidden;
    }
    .one-item.with-text .title {
        height: 2.9em;
        overflow: hidden;
    }
    .home-block .date,
    .home-block .location {
        height: 2em;
        overflow: hidden;
    }
}

.home-featured.tip-of-week {
    width: 100%;
    margin-bottom: 30px;
    gap: 0;
}

.home-featured.tip-of-week .title {
    left: 0;
}
