.page-hero-section {
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}
.blog-hero {
    background: linear-gradient(rgba(249, 249, 249, 0.9), rgba(41, 185, 77, 0.46)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
}
.news-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(52, 73, 94, 0.8)),
                url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
}
.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Search Box */
.search-box .input-group {
    border-radius: 30px;
    overflow: hidden;
}

.search-box .form-control {
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
}

.search-box .btn {
    padding: 15px 30px;
    border-radius: 0 30px 30px 0;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.blog-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-card-body {
    padding: 25px;
}

.blog-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

.blog-meta span {
    margin-right: 15px;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-color);
}

/* Featured Article */
.featured-article {
    border-radius: 15px;
    overflow: hidden;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffd700;
    color: #333;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.widget-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-color);
}

/* Popular Articles */
.popular-article {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.popular-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Newsletter Box */
.newsletter-box {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
}

.newsletter-box .form-control {
    border: none;
    border-radius: 5px;
    padding: 12px 15px;
}

/* News Categories */
.news-categories .btn-group {
    flex-wrap: wrap;
    justify-content: center;
}
.news-categories .btn {
    border-radius: 20px;
    padding: 8px 20px;
}
.news-categories .btn.active {
    background: white;
    color: var(--primary-color);
}
.news-categories .btn:focus, .news-categories .btn.active {
    box-shadow: none !important;
}

/* Main News Card */
.main-news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.news-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
}

/* Side News List */
.side-news-list {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.side-news-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.side-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* News Article Cards */
.news-article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.news-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-article-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-article-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    line-height: 1;
}

.news-article-date div:first-child {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Events Calendar */
.events-calendar {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.event-card {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-radius: 10px;
    background: var(--light-color);
    transition: all 0.3s ease;
}

.event-card:hover {
    background: #e0e7ef;
    transform: translateX(5px);
}

.event-date {
    background: var(--secondary-color);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 70px;
    margin-right: 20px;
}

.event-day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-details h5 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
    border: none;
    margin: 0 5px;
    border-radius: 50% !important;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .page-item.active .page-link {
    background: var(--secondary-color);
    color: white;
}

.pagination .page-link:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero-section {
        height: 50vh;
        margin-top: 70px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .search-box .form-control {
        padding: 12px 20px;
    }
    
    .search-box .btn {
        padding: 12px 25px;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        margin-right: 0;
        margin-bottom: 15px;
    }
}