.news-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.news-item:nth-child(even) {
    flex-direction: row-reverse;
}

.news-item img {
    flex: 1;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.news-info {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-info h3 {
    font-size: 1.5rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.news-info p {
    color: var(--medium-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-info p:first-of-type {
    color: var(--dark-border);
    font-size: 0.9rem;
}

.read-more {
    display: inline-block;
    background-color: var(--success-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
    width: fit-content;
}

.read-more:hover {
    background-color: var(--success-dark);
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* News center header */
.news-center-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* Category filter container */
.category-filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive design */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column !important;
    }

    .news-item img {
        max-width: 100%;
    }
}