/* =========================
   MEDIA PAGE
========================= */

/* FILTERS */
.media-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #1a1a1a;
    background: transparent;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: #C8A96A;
    color: #fff;
}

/* GRID */
.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ITEM */
.media-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

/* IMAGE */
.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.media-item:hover img {
    transform: scale(1.08);
}

/* OVERLAY */
.media-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.media-item:hover .media-overlay {
    opacity: 1;
}

/* PLAY ICON */
.play-icon {
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: relative;
}

.play-icon::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 12px;
    border-left: 12px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

/* PODCAST */
.podcast-card {
    padding: 20px;
    border: 1px solid #1a1a1a;
    background: rgba(255, 255, 255, 0.02);
}

/* LIGHTBOX */
.media-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 9999;
}

.media-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 900px;
    margin: 100px auto;
}

.lightbox-content iframe {
    width: 100%;
    height: 500px;
}