.homepage-tiles {
    margin: 0 -15px;
}
.homepage-featured-tile {
    position: relative;
}
.homepage-featured-tile img {
    width: 100%;
}
.tiles-details {
    position: absolute;
    top: 80%;
    left: 20px;
    right: 20px;
}
.cp-featured.tiles-details {
    top: 46%;
}
.cp-featured-lg .tiles-details {
    top: 60%;
}
.tiles-details h3 {
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
    margin: 0;
    word-wrap: break-word;
}
.tiles-details h3 a,
.remaining-tiles-details h3 a{
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
.remaining-tiles-wrap {
    display: flex;
    overflow-x: auto;
    white-space: unset;
    width: 100%;
    overflow-y: hidden;
    position: relative;
    margin-top: 5px;
}
.remaining-tiles {
    flex: 0 0 auto;
    width: 80%;
    height: 170px;
    margin-right: 3px;
    position: relative;
    overflow: hidden;
}
.tiles-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}
.remaining-tiles.cp-right-tile {
    grid-column: 2 !important;
    grid-row: 1 !important;
}
.small-trip-wrap {
    position: absolute;
    bottom: 0;
    height: 58px;
    width: 100%;
}
.small-trip-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*.remaining-tiles.cp-right-tile::before,*/
/*.post-thumb.cp-featured::before{*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    background-image: url('/wp-content/themes/Newspaper/credit-spotlight/images/cs-homepage-small-strip.jpg');*/
/*    background-position: center;*/
/*    z-index: 1;*/
/*    background-size: cover;*/
/*}*/
.remaining-tiles.cp-right-tile::before {
    height: 47px;
}
.post-thumb.cp-featured {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.post-thumb.cp-featured::before {
    height: 58px;
    top: 81%;
}
.homepage-featured-tile .post-thumb {
    overflow: hidden;
}
.homepage-featured-tile .post-thumb img,
.remaining-tiles .post-thumb img{
    transform: scale(1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.homepage-featured-tile .post-thumb:hover img,
.remaining-tiles:hover .post-thumb img{
    transform: scale(1.1);
}
.homepage-featured-tile .post-thumb  img {
    max-height: 360px;
}
.remaining-tiles img {
    width: 100%;
    display: block;
}
.remaining-tiles-details {
    position: absolute;
    z-index: 1;
    left: 20px;
    right: 20px;
    bottom: 15px;
    overflow: hidden;
}
.cp-right-tile .remaining-tiles-details {
    bottom: 75px !important;
}
.remaining-tiles-details h3 {
    font-size: 14px;
    line-height: 21px;
}
.remaining-small-trip-wrap {
    position: absolute;
    bottom: 0;
}
@media screen and (min-width: 767px) {
    .homepage-tiles {
        display: flex;
        margin: 0;
        padding-top: 20px;
    }
    .homepage-featured-tile {
        width: 50%;
    }
    /*.tiles-details {*/
    /*    top: 80%;*/
    /*}*/
    .cp-featured-lg .tiles-details {
        top: 55% !important;
    }
    .tiles-details h3 {
        font-size: 23px;
        line-height: 1.3;
    }
    .remaining-tiles-details h3 {
        font-size: 16px;
    }
    .homepage-featured-tile .post-thumb,
    .remaining-tiles .post-thumb{
        height: 100%;
    }
    .homepage-featured-tile img {
        height: 100%;
        object-fit: cover;
    }
    .remaining-tiles-wrap {
        display: grid;
        overflow-x: initial;
        white-space: initial;
        overflow-y: initial;
        position: initial;
        grid-gap: 3px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        width: 50%;
        margin-left: 3px;
        margin-top: 0;
    }
    .remaining-tiles {
        max-height: 178px;
        height: 100%;
        overflow: hidden;
        width: 100%;
    }
    .remaining-tiles img {
        height: 100%;
        display: block;
        object-fit: cover;
    }
    .post-thumb.cp-featured::before {
        height: 65px;
        top: 82%;
        background-size: cover;
    }
    .remaining-tiles.cp-right-tile::before {
        background-size: contain;
    }
    .small-trip-wrap {
        height: 85px;
    }
}