
.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-item {
    background-color: var(--bg-tertiary);
    border-radius: 8px;
    padding: 25px;
    border: 1px solid var(--border-secondary);
    transition: border-color 0.3s ease, transform 0.2s ease, background-color 0.3s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.news-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-light);
}

.news-item:active {
    transform: translateY(0);
}

.main-news-title {
    margin: 0 0 15px 0;
    color: var(--text-secondary);
    font-size: 1.5rem;
    font-weight: 600;
}

.news-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 6px;
    margin: 15px 0 20px 0;
    border: 1px solid var(--border-secondary);
    transition: opacity 0.3s ease;
}

.news-image:hover {
    opacity: 0.9;
}

.main-news-content {
    margin: 15px 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.main-news-static-content {
    margin-bottom: 20px;
}

.meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-secondary);
    font-size: 0.9rem;
    color: var(--text-muted);
    gap: 15px;
}

.meta span:first-child {
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 4px;
    background-color: var(--bg-quaternary);
    border: 1px solid var(--border-secondary);
    white-space: nowrap;
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tags span {
    padding: 4px 10px;
    border-radius: 4px;
    background-color: var(--bg-quaternary);
    border: 1px solid var(--border-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.meta > span:last-child {
    opacity: 0.8;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .news-item {
        padding: 20px;
    }

    .main-news-title {
        font-size: 1.3rem;
    }

    .news-image {
        max-height: 300px;
    }

    .meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .tags {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .news-item {
        padding: 15px;
    }

    .main-news-title {
        font-size: 1.2rem;
    }

    .news-image {
        max-height: 250px;
    }
}
