
/* Estilos específicos para el post de video */
.video-post-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.video-post-header {
    margin-bottom: 2rem;
    text-align: left;
}

.video-post-title {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.video-post-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}


.sidebar-right {
    grid-column: 2;
    grid-row: 1;
}

.video-sidebar {
    position: sticky;
    top: 2rem;
}

.video-player {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.related-videos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-video-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.related-video-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.related-video-thumbnail {
    position: relative;
    width: 120px;
    height: 68px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.related-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background-color: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
}

.related-video-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.2rem;
}

.related-video-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.related-video-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-video-date {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.no-related-videos {
    text-align: center;
    padding: 2rem 1rem;
    color: #999;
    background: #f8f9fa;
    border-radius: 8px;
}

.no-related-videos i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.banner-google {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
}
.video-post-content-excerpt{
    background-color: #fff;
    font-style: italic;
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.video-post-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.video-post-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.video-post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-back:hover {
    background-color: #5649c0;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.share-video {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-video span {
    color: #666;
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: scale(1.1);
    text-decoration: none;
    color: white;
}

.share-facebook { background-color: #1877F2; }
.share-twitter { background-color: #1DA1F2; }
.share-whatsapp { background-color: #25D366; }

@media (max-width: 768px) {
    .video-post-container {
        padding: 20px 15px;
        display: block;
        grid-template-columns: none;
        gap: 0;
    }
    
    .sidebar-right {
        grid-column: unset;
        grid-row: unset;
        margin-top: 2rem;
    }
    
    .video-sidebar {
        position: static;
        top: unset;
    }
    
    .video-post-title {
        font-size: 1.8rem;
    }
    
    .video-post-excerpt {
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .sidebar-title {
        font-size: 1.1rem;
    }
    
    .related-video-item {
        padding: 0.5rem;
    }
    
    .related-video-thumbnail {
        width: 100px;
        height: 56px;
    }
    
    .related-video-title {
        font-size: 0.85rem;
    }
    
    .video-post-content {
        padding: 1.5rem;
    }
    
    .video-post-navigation {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .banner-google {
        margin-top: 1.5rem;
        padding: 0.75rem;
        min-height: 200px;
        font-size: 0.85rem;
    }
}