/* ========================================
   VIDEOBOOK SECTION
   ======================================== */

.videobook-section {
    padding: 80px 0;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.videobook-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.videobook-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.videobook-description {
    color: var(--color-text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Video más grande */
.videobook-section .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.videobook-section .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}
.videobook-footer {
    text-align: center;
    margin-top: 40px;
}

.archive-link {
    display: inline-block;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 15px 40px;
    border: 1px solid var(--color-border);
    transition: all 0.3s;
    border-radius: 4px;
}

.archive-link:hover {
    background: var(--color-text);
    color: white;
    border-color: var(--color-text);
}

.videobooks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.videobook-card {
    text-align: center;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.videobook-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.videobook-card .video-container {
    margin: 0;
}

.videobook-card-content {
    padding: 20px;
}

.videobook-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.videobook-card .videobook-year {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.videobook-card p {
    color: var(--color-text);
    line-height: 1.6;
}

.current-badge {
    display: inline-block;
    background: var(--color-text);
    color: white;
    padding: 4px 12px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 3px;
    margin-left: 10px;
}

/* Responsive */
@media (max-width: 1280px) {
    .videobook-section .video-container {
        max-width: 1000px;
    }
}

@media (max-width: 968px) {
    .videobook-section .video-container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .videobook-section {
        padding: 60px 0;
    }
    
    .videobook-header h2 {
        font-size: 1.8rem;
    }
    
    .videobook-header {
        margin-bottom: 30px;
    }
}