/*
 * Optional styling for the Cinema Slides block.
 * Add these rules to your theme or to one of the atrium plugin's
 * enqueued stylesheets (e.g. enqueue/atrium-news.css).
 */

.karo-slide {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.karo-slide__poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.06);
}

.karo-slide__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.karo-slide__body {
    padding: 0.75rem 0.25rem;
}

.karo-slide__title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    line-height: 1.3;
}

.karo-slide__times {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.karo-slide__time {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    line-height: 1;
    border: 1px solid currentColor;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
}

a.karo-slide__time:hover {
    background: currentColor;
}

a.karo-slide__time:hover {
    color: #fff;
}
