/* =========================================================
   VIDEO ARCHIVE GRID
========================================================= */

.video-archive-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 30px 22px;

    align-items: start;
}


/* =========================================================
   VIDEO CARD
========================================================= */

.archive-video-card {
    min-width: 0;
}


/* =========================================================
   THUMBNAIL
========================================================= */

.archive-video-thumbnail {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 8px;

    background: #111111;
}

.archive-video-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.archive-video-card:hover
.archive-video-thumbnail img {
    transform: scale(1.05);

    filter: brightness(0.78);
}


/* =========================================================
   OVERLAY
========================================================= */

.archive-video-overlay {
    position: absolute;

    inset: 0;

    background:
        rgba(0, 0, 0, 0);

    transition:
        background 0.25s ease;
}

.archive-video-card:hover
.archive-video-overlay {
    background:
        rgba(0, 0, 0, 0.12);
}


/* =========================================================
   PLAY BUTTON
========================================================= */

.archive-video-play {
    position: absolute;

    z-index: 2;

    left: 50%;
    top: 50%;

    width: 54px;
    height: 54px;

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

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background: var(--primary);

    color: #ffffff;

    font-size: 16px;

    box-shadow:
        0 7px 22px
        rgba(0, 0, 0, 0.28);

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.archive-video-card:hover
.archive-video-play {
    transform:
        translate(-50%, -50%)
        scale(1.08);

    background:
        var(--primary-dark);
}


/* =========================================================
   VIDEO INFORMATION
========================================================= */

.archive-video-info {
    padding-top: 12px;
}

.archive-video-title {
    margin: 0 0 5px;

    color: var(--black);

    font-size: 15px;
    font-weight: 700;

    line-height: 1.4;

    display: -webkit-box;

    overflow: hidden;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    text-overflow: ellipsis;
}

.archive-video-title a {
    transition:
        color 0.2s ease;
}

.archive-video-title a:hover {
    color: var(--primary);
}


/* =========================================================
   ARTIST
========================================================= */

.archive-video-artist {
    display: block;

    overflow: hidden;

    color: #666666;

    font-size: 11px;

    line-height: 1.35;

    white-space: nowrap;

    text-overflow: ellipsis;

    transition:
        color 0.2s ease;
}

.archive-video-artist:hover {
    color: var(--primary);
}


/* =========================================================
   META
========================================================= */

.archive-video-meta {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-top: 7px;

    color: #999999;

    font-size: 9px;
}

.archive-video-meta span + span::before {
    content: "•";

    margin-right: 7px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .video-archive-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 26px 18px;
    }

}


/* =========================================================
   SIDEBAR MOVES BELOW
========================================================= */

@media (max-width: 850px) {

    .video-archive-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .video-archive-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .archive-video-play {
        width: 50px;
        height: 50px;

        font-size: 15px;
    }

    .archive-video-title {
        font-size: 14px;
    }

}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 420px) {

    .archive-video-play {
        width: 46px;
        height: 46px;

        font-size: 14px;
    }

}