.category-page {
    padding: 1rem 0;
}

.page-header {
    margin-bottom: 1rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.layout-wrapper {
    display: grid;
    grid-template-columns: 75% 25%;
    gap: 3rem;
}

.main-content {
    min-width: 0;
    /* Prevents grid blowout */
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* News List Layout - One per row */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-card {
    display: block;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.news-image {
    width: 100%;
    height: 300px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 300;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: .5rem;
    line-height: 1.3;
}

.news-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: .1rem;
    line-height: 1.6;
}

.read-more {
    font-weight: 600;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-container {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {
    .layout-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .news-card {
        grid-template-columns: 1fr;
    }

    .news-image {
        height: 200px;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}