.video-gallery-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .video-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .video-gallery-grid {
        grid-template-columns: 1fr;
    }
}

.video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.video-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-card-img img {
    transform: scale(1.05);
}

.video-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--site-color);
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
}

.play-icon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-card:hover .play-icon-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.play-icon-overlay i {
    font-size: 48px;
    color: #fff;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.video-card:hover .play-icon-overlay i {
    transform: scale(1.1);
}

.video-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.video-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    transition: color 0.3s;
}

.video-card:hover .video-card-title {
    color: var(--site-color);
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    color: #888;
    font-size: 13px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-meta i {
    font-size: 14px;
}

.video-detail-section {
    padding: 40px 0;
}

.video-player-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    margin-bottom: 25px;
}

.video-player-wrapper iframe,
.video-player-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.video-detail-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.video-detail-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-detail-description {
    color: #444;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 50px;
}

.other-videos-section {
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: var(--site-color);
    border-radius: 2px;
}