/*
Theme Name: Blocksy Outland Child
Template: blocksy
Version: 1.0
*/

body {
    background: #000;
}

.outland-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    padding: 20px;
}

.outland-item {
    position: relative;
    overflow: hidden;
    background: #000;
    min-height: 500px;
}

.outland-item.large {
    grid-column: span 8;
}

.outland-item.small {
    grid-column: span 4;
}

.outland-item video,
.outland-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.outland-item video {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .4s ease;
}

.outland-item:hover video {
    opacity: 1;
}

.outland-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .4s ease;
    z-index: 2;
}

.outland-item:hover .outland-overlay {
    opacity: 0;
}

.outland-title {
    color: #fff;
    font-size: clamp(24px, 2vw, 42px);
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
    font-weight: 700;
    padding: 20px;
}

@media(max-width: 1024px) {

    .outland-item.large,
    .outland-item.small {
        grid-column: span 12;
    }

    .outland-item {
        min-height: 320px;
    }

}