/* Blog Page Specific Styles */

/* News List Item Enhancements */
.news-list-item {
    display: flex;
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    margin-bottom: var(--spacing-lg);
    border: 1px solid transparent;
}

.news-list-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.news-item-thumbnail {
    flex: 0 0 300px;
    overflow: hidden;
    position: relative;
}

.news-item-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-list-item:hover .news-item-thumbnail img {
    transform: scale(1.05);
}

.news-item-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-item-title a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item-title a:hover {
    color: var(--color-primary);
}

/* Category Navigation Enhancements */
.news-category-nav {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.category-nav-item {
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 50px;
    background: var(--color-bg-gray);
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-nav-item:hover,
.category-nav-item.active {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .news-list-item {
        flex-direction: column;
    }

    .news-item-thumbnail {
        flex: 0 0 200px;
        height: 200px;
    }

    .news-category-nav {
        gap: var(--spacing-sm);
    }

    .category-nav-item {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: var(--font-size-sm);
    }
}