.news-content-section {
    background: linear-gradient(to bottom, #86A8CB 0%, #FFF 73%);
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.news-content-section .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.news-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #333;
}

.news-date {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

.news-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
}

.news-content {
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
    white-space: pre-line;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.back-link:hover {
    background-color: #0056b3;
}

/* Добавьте в конец файла view_news.css */

.attached-files-section {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    margin-top: 30px;
}

.attached-files-section h3 {
    color: #343a40;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.attached-file-item {
    padding: 12px 15px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.attached-file-item:hover {
    background: #f8f9ff;
    border-color: #007bff;
    transform: translateX(5px);
}

.attached-file-link {
    display: flex;
    align-items: center;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
}

.attached-file-link:hover {
    color: #007bff;
    text-decoration: none;
}

.attached-file-link i {
    font-size: 1.2em;
    color: #6c757d;
}

.attached-file-link:hover i {
    color: #007bff;
}
