/* Historic Race Videos Page Specific Styles */
.section {
    padding-left: 32px;
    padding-right: 32px;
}

.featured-video {
    margin-bottom: 3rem;
}

.featured-video .video-item-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-item-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.video-item-container h3 {
    color: #1a472a;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

/* Responsive adjustments for historic videos page */
@media (max-width: 768px) {
    .section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .video-grid-two,
    .video-grid-three {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-item-container {
        padding: 1rem;
    }
    
    .video-wrapper {
        padding-bottom: 75%; /* Adjust aspect ratio for mobile */
    }
}