#author-videos {
    max-width: 1600px;
    margin: 100px auto;
    padding: 20px;
}

#author-videos .author-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

#author-videos .author-name {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
}

#author-videos .video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0 auto;
    padding: 20px;
    max-width: 1600px;
}

#author-videos .video-item {
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    background: #1a1a1a;
    transition: transform 0.3s ease;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

#author-videos .video-item:hover {
    transform: translateY(-5px);
}

#author-videos .video-item:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

#author-videos .video-thumbnail {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    overflow: hidden;
}

#author-videos .video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#author-videos .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

#author-videos .play-button i {
    color: #000;
    font-size: 24px;
    margin-left: 4px;
    /* Ajuste para centrar visualmente el ícono de play */
}

#author-videos .video-info {
    padding: 15px 15px 20px 15px;
}

#author-videos .video-title {
    font-size: 16px;
    color: #fff;
    line-height: 1.4;
}

#author-videos .video-player {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#author-videos .video-player-content {
    width: 90%;
    max-width: 1200px;
    position: relative;
}

#author-videos .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 4px;
}

#author-videos .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

#author-videos .close-video {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

#author-videos .close-video:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1200px) {
    #author-videos .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #author-videos .author-name {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    #author-videos .video-grid {
        grid-template-columns: 1fr;
    }

    #author-videos .author-name {
        font-size: 28px;
    }

    #author-videos {
        padding: 10px;
    }
}