/* ==========================================================
   Carillon Shortcodes
   ========================================================== */


/* Main Loop
---------------------------------------------------------- */

.carillon-loop {
    width: 100%;
}


/* Card
---------------------------------------------------------- */

.carillon-card {
    background: #ffffff;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.carillon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}


/* Border
---------------------------------------------------------- */

.carillon-border {
    border-color: #dddddd !important;
}


/* Image
---------------------------------------------------------- */

.carillon-image-wrapper {
    width: 42%;
    flex-shrink: 0;
    overflow: hidden;
}

.carillon-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;

    transition: transform 0.4s ease;
}

.carillon-card:hover .carillon-image {
    transform: scale(1.03);
}


/* Content
---------------------------------------------------------- */

.carillon-content {
    flex: 1;
}


/* Title
---------------------------------------------------------- */

.carillon-title {
    margin: 0;

    font-family: "Merriweather", serif;
    font-size: 1.25rem;
    line-height: 1.4;
}


/* Excerpt
---------------------------------------------------------- */

.carillon-excerpt {
    font-size: 1rem;
    line-height: 1.7;
}


/* Read More
---------------------------------------------------------- */

.carillon-readmore-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    align-self: flex-start;

    padding: 10px 20px;

    text-decoration: none;

    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;

    border: 1px solid currentColor;
    border-radius: 4px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.carillon-readmore-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}


/* Empty Results
---------------------------------------------------------- */

.carillon-no-posts {
    width: 100%;
}


/* Responsive
---------------------------------------------------------- */

@media (max-width: 767.98px) {

    .carillon-image-wrapper {
        width: 100%;
    }

    .carillon-image {
        width: 100%;
        height: 240px;
        min-height: 0;
    }

}