/* Дополнительные стили для страницы новостей */
.news-header-section {
    margin-top: 40px;
}

.news-intro {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-top: 20px;
    line-height: 1.6;
}

.news-list-section {
    margin-top: 60px;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-item {
    background-color: var(--white);
    border: 2px solid var(--primary-dark);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-item-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: var(--primary-dark);
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.news-item-link {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brown-light);
    text-decoration: none;
    transition: color 0.3s;
    margin-top: auto;
    display: inline-block;
}

.news-item-link:hover {
    color: var(--brown-dark);
    text-decoration: underline;
}

.news-item:hover {
    box-shadow: 0 8px 24px rgba(78, 79, 115, 0.15);
    transform: translateY(-2px);
}

.news-item-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.news-item-title {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
    flex: 1;
    min-width: 200px;
}

.news-item-date {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--brown-light);
    margin-bottom: 10px;
}

.news-item-content {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dark);
    opacity: 0.6;
}

.news-empty-text {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Адаптивность */
@media (max-width: 768px) {
    .news-container {
        grid-template-columns: 1fr;
    }

    .news-item {
        padding: 20px;
    }

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