/* 
 * Latest Posts Section Plugin Styles
 * Enqueued only when shortcode is present
 */

/* General utility class for object cover */
.lps-object-fit-cover {
    object-fit: cover;
}

/* Featured card minimum height constraint so it aligns well */
.lps-featured-card .lps-img {
    min-height: 400px;
}

/* Base feature card gradient */
.lps-featured-gradient {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 70%);
    transition: background 0.3s ease-in-out;
}

/* Feature card image zoom effect */
.lps-featured-card img {
    transition: transform 0.4s ease;
}

.lps-featured-card:hover img {
    transform: scale(1.03);
}

/* Feature card slightly darker gradient on hover */
.lps-featured-card:hover .lps-featured-gradient {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 80%);
}

/* Small Cards Styling & Layout constraints */
/* .lps-small-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lps-small-card-img-wrap {
    width: 40%;
}

.lps-small-card-body {
    width: 60%;
} */

/* Small Title multiple line ellipsis (up to 2 lines) */
/* .lps-small-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
} */

/* Hover effects for small cards */
/* .lps-small-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.lps-hover-title {
    transition: color 0.2s ease;
} */

/* .lps-small-card:hover .lps-hover-title {
    color: #0d6efd !important;
} */

/* Responsive constraints to keep the side layout tidy */
@media (min-width: 992px) {

    /* Keep small cards relatively constrained in height when placed in the side column */
    .lps-small-card {
        height: 100%;
        min-height: 110px;
    }
}