/* 
 * CineLinux Theme - Front Page Styles
 * Supplements main.css and Bootstrap specific to the front page.
 */

/* Featured Posts Overlays */
.featured-body-overlay {
    background: linear-gradient(to top, rgba(18, 11, 40, 0.95) 0%, rgba(18, 11, 40, 0.6) 60%, transparent 100%);
    z-index: 2;
}

.post-highlight-large .post-card-title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

@media (max-width: 991.98px) {
    .post-highlight-large .post-card-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .post-highlight-large .post-card-title {
        font-size: 1.4rem;
    }
}

.post-highlight-small .post-card-title {
    font-size: 1.4rem;
    line-height: 1.2;
}

.post-card-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(96, 44, 185, 0.1);
    z-index: 1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.post-card:hover .post-card-img-wrapper::after {
    opacity: 1;
}

.small-badge {
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
}

/* Recent Posts Horizontal Cards */
.recent-post-card .recent-post-img-wrapper {
    overflow: hidden;
}

.recent-post-card .recent-post-img-wrapper img {
    transition: transform var(--transition-slow);
}

.recent-post-card:hover .recent-post-img-wrapper img {
    transform: scale(1.05);
}

.recent-post-card .overlay-hover {
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
}

.recent-post-card:hover .overlay-hover {
    opacity: 1;
}

.recent-post-card:hover .recent-post-title a {
    color: var(--color-destacada) !important;
}

.recent-post-card .read-more i {
    transition: transform var(--transition-fast);
}

.recent-post-card:hover .read-more i {
    transform: translateX(4px);
}

body.dark-mode .recent-post-card {
    border-color: rgba(232, 230, 244, 0.1) !important;
}

/* Sidebar Specifics */
.cinelinux-sidebar .widget {
    background-color: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.cinelinux-sidebar .widget-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-destacada);
}