/* Highlights section core */
.highlights-post-wrap {
    float: left;
    width: 25%;
    padding: 1px 1px;
}

.highlights-positing {
    position: relative;
    margin: 0;
    line-height: 0;
    overflow: hidden;
}

.highlights_image {
    width: 100%;
    height: 250px !important; /* fixed height */
    overflow: hidden;
    line-height: 0;
}
.highlights_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.highlights-positing:hover img {
    transform: scale(1.3);
}

.highlights_main {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0%;
    padding: 15px;
    padding-top: 0;
    line-height: normal;
    overflow: hidden;
    text-align: center;
    -webkit-transition: all 3s ease 0s;
    -moz-transition: all 3s ease 0s;
    transition: all 3s ease 0s;
}

.highlights_main .highlights_content a {
    padding: 45px 0;
    font-weight: 300;
    color: #ffffff;
}

.highlights_main a h3 {
    font-size: 17px !important;
    color: #ffffff !important;
    text-transform: uppercase;
    font-weight: 400;
}

.highlights-positing:hover .highlights_main {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(83, 131, 155, .7);
    cursor: pointer;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.highlights_view_all {
    text-align: center;
}
.highlights_view_all a {
    margin: 0;
}

/* Section wrapper */
.highlights_section { padding: 80px 0; }

/* Theme section background */
#plx_highlights_section.plx-sections { background-color: #f5f5f5; }

/* Spacing for “view all” row */
.highlights_view_all {
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Responsive tweaks */
@media screen and (min-width: 1080px) {
    .highlights_main .highlights_content a {
        padding: 15px 0 !important;
        font-weight: 300;
        color: #ffffff;
    }
}

@media (max-width: 820px) {
    .highlights-post-wrap {
        width: 50%;
        padding: 5px 5px;
    }
    .highlights-post-wrap:last-child {
        padding-bottom: 0px!important;
    }
}

@media (max-width: 640px) {
    .highlights-post-wrap:last-child {
        padding-bottom: 0 !important;
    }
}

@media (max-width: 550px) {
    .highlights_section { padding: 35px 0; }

    .highlights-post-wrap {
        width: 100%;
        padding: 5px;
    }
}


