/* Blog Post Shortcode Carousel Styles */
.carousel-container {
    padding-left: 50px;
    padding-right: 50px;
}

.multi-item-carousel .carousel-item {
    min-height: 1px;
}

.multi-item-carousel .carousel-item .col-md-4 {
    display: flex;
    flex-direction: column;
}

.multi-item-carousel .carousel-inner {
    width: 100%;
}

.carousel-control-next,
.carousel-control-prev {
    background: #000000;
    top: 40%;
    bottom: 50%;
    width: 50px;
    height: 50px;
}

.carousel-control-prev {
    left: -50px;
}

.carousel-control-next {
    right: -50px;
}

@media (max-width: 767.98px) {
    .multi-item-carousel .carousel-item .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

article .entry-summary {
    background-color: var(--secondary);
    padding: 1rem;
    color: var(--light);
    font-weight: 400;
}

article {
    position: relative;
}

article:hover {
    -webkit-animation: hover 1.5s;
    animation: hover 1.5s;
}

/* HOVER */
@-webkit-keyframes hover {
    50% {
        transform: translateY(-6px);
    }
}

@keyframes hover {
    50% {
        transform: translateY(-5px);
    }
}


article .entry-summary .post-meta-field {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

article .entry-summary span.label {
    font-weight: bold;
}

article .entry-summary .post-meta-field.post-sold {
    justify-content: end;
}

article picture {
    display: block;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #222;
}

article picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

article .entry-summary {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    opacity: 90%;
}

@media (min-width: 768px) {
    article picture {
        height: 250px;
    }
}

@media (min-width: 992px) {
    article picture {
        height: 400px;
    }
}

@media (min-width: 1200px) {}


@media (min-width: 768px) {
    article picture {
        display: block;
        width: 100%;
        height: 400px;
        /* Set your desired height */
        overflow: hidden;
        background: #222;
    }

    article picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    article .entry-summary {
        display: none;
    }

    article:hover .entry-summary {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        opacity: 90%;
    }
}