/* Hero Section Styles - Isolated from other components */
/* This file contains styles specifically for the featured article hero section */
/* All styles are scoped to prevent conflicts with other components */

/* News-Style Hero Section */
.hero-section {
    background: white;
    padding: 10px 0px 30px 0px;
    border-bottom: 1px solid #e9ecef;
}

.hero-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.hero-main {
    position: relative;
}

.hero-article {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Hover effect removed for cleaner look */

.hero-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
}

.hero-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #faba01;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-section .hero-content {
    padding: 20px !important;
}

.hero-section .hero-content h1.hero-title {
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin: 0 0 12px 0 !important;
    text-align: left !important;
}

.hero-section .hero-content h1.hero-title a {
    color: #212529 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

/* Title hover effect removed for cleaner look */

.hero-section .hero-content p.hero-excerpt {
    font-size: 0.9rem !important;
    color: #6c757d !important;
    line-height: 1.5 !important;
    margin: 0 0 15px 0 !important;
    text-align: left !important;
    max-width: none !important;
    width: 100% !important;
}

.hero-section .hero-meta {
    display: flex !important;
    gap: 20px !important;
    font-size: 14px !important;
    color: #6c757d !important;
}

.hero-section .hero-meta span {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* Hero Sidebar */
.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Sidebar Cards */
.sidebar-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    height: fit-content;
}

.sidebar-card .card-title {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 20px 0;
    padding-bottom: 5px;
    border-bottom: 2px solid #f2f2f2;
}

.hero-sidebar .side-article {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.hero-sidebar .side-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hero-sidebar .side-image {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-sidebar .side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-sidebar .side-content {
    flex: 1;
}

.hero-sidebar .side-content h4 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px 0;
    text-align: left;
}

.hero-sidebar .side-content h4 a {
    color: #212529;
    text-decoration: none;
}

.hero-sidebar .side-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #6c757d;
}

.hero-sidebar .side-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Mobile Responsiveness for Hero Section */
@media (max-width: 768px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-image {
        height: 250px;
    }
    
    .hero-section .hero-content {
        padding: 15px !important;
    }
    
    .hero-section .hero-content h1.hero-title {
        font-size: 20px !important;
    }
    
    .hero-section .hero-content p.hero-excerpt {
        font-size: 0.85rem !important;
    }
    
    .hero-section .hero-meta {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    
    .hero-sidebar .sidebar-title {
        font-size: 1.3rem;
    }
    
    .hero-sidebar .side-article {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-sidebar .side-image {
        width: 100%;
        height: 120px;
    }
}

/* Category Blocks Styles */
.category-blocks {
    background: white;
    padding: 80px 0;
}

.category-block {
    margin-bottom: 60px;
}

.category-block:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #faba01;
}

.category-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.category-title a {
    color: #212529;
    text-decoration: none;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: #495057;
    transform: translateX(5px);
}

.category-articles .articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Mobile Responsiveness for Category Blocks */
@media (max-width: 768px) {
    .category-header {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    
    .category-title {
        font-size: 20px;
    }
    
    .category-articles .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
