.evg-container {
    font-family: 'Roboto', sans-serif;
    margin-bottom: 40px;
}

.evg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.evg-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.evg-title::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #e74c3c;
}

.evg-more-link {
    color: #7f8c8d;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.3s;
    text-transform: uppercase;
}

.evg-more-link:hover {
    color: #e74c3c;
}

.evg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.evg-card {
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.evg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #e74c3c;
}

.evg-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
    overflow: hidden;
}

.evg-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.5s, opacity 0.3s;
}

.evg-card:hover .evg-thumbnail img {
    opacity: 1;
    transform: scale(1.05);
}

.evg-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(2px);
}

.evg-play-icon i {
    color: #fff;
    font-size: 18px;
    padding-left: 2px;
    /* Slight visual correction for play triangle */
}

.evg-card:hover .evg-play-icon {
    background: #e74c3c;
    transform: translate(-50%, -50%) scale(1.1);
}

.evg-card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

.evg-card-title {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    color: #34495e;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.evg-card:hover .evg-card-title {
    color: #e74c3c;
}

/* Lightbox */
.evg-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    /* Increased z-index */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.evg-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.evg-lightbox-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.evg-iframe-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.evg-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.evg-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: #fff;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.2s;
}

.evg-close:hover {
    transform: rotate(90deg);
    color: #e74c3c;
}

/* Responsive */
@media (max-width: 1024px) {
    .evg-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .evg-grid {
        grid-template-columns: 1fr;
    }

    .evg-title {
        font-size: 20px;
    }

    .evg-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .evg-more-link {
        margin-top: 10px;
    }
}