/* Контейнер новости */
.news-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 50px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Кнопка "Назад к новостям" */
.back-button {
    display: inline-block;
    margin-bottom: 20px;
    color: #007bff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #007bff;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.back-button:hover {
    background-color: #007bff;
    color: white;
}

/* Новость */
.news-details {
    text-align: left;
}

.news-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
}

.news-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.news-date {
    font-size: 14px;
    color: gray;
    margin-bottom: 20px;
}

.news-content p {
    margin-bottom: 15px;
}

.header {
    position: relative;
}