
.news-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-top: 30px;
}

.news-sidebar {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.news-sidebar h3 {
    margin-bottom: 15px;
    color: var(--primary);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 10px;
}

.news-categories {
    list-style: none;
    margin-bottom: 30px;
}

.news-categories li {
    margin-bottom: 10px;
}

.news-categories a {
    display: block;
    padding: 10px 15px;
    color: var(--dark);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.news-categories a:hover,
.news-categories li.active a {
    background: var(--primary);
    color: white;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.recent-news-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.recent-news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.recent-news-image {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-news-content h4 {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.recent-news-content h4 a {
    color: var(--dark);
    text-decoration: none;
}

.recent-news-content h4 a:hover {
    color: var(--primary);
}

.news-date {
    font-size: 0.8rem;
    color: var(--gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: var(--dark);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-content {
    padding: 20px;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.news-title a {
    color: inherit;
    text-decoration: none;
}

.news-title a:hover {
    color: var(--secondary);
}

.news-summary {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    color: var(--secondary);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.no-news {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.no-news i {
    margin-bottom: 20px;
    color: #ddd;
}

@media (max-width: 992px) {
    .news-container {
        grid-template-columns: 1fr;
    }
    
    .news-sidebar {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}