body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}
header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1533105079780-92b9be482077?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 80px 20px;
}
header h1 { font-size: 2.8em; margin-bottom: 10px; }
header p { font-size: 1.2em; font-style: italic; }
.container { max-width: 800px; margin: 40px auto; padding: 0 20px; }
.section-title { text-align: center; color: #0056b3; margin-bottom: 30px; }
.nav-buttons { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.nav-buttons a, .back-btn { text-decoration: none; background-color: #0056b3; color: white; padding: 12px 25px; border-radius: 30px; font-weight: bold; transition: background-color 0.3s; }
.nav-buttons a:hover, .back-btn:hover { background-color: #003d82; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

/* Стили для страниц статей */
.article-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-top: -30px; 
    position: relative;
}
.article-card h1 { color: #0056b3; margin-top: 0; }
.article-card img { width: 100%; border-radius: 10px; margin: 20px 0; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.back-btn { display: inline-block; margin-bottom: 20px; font-size: 0.9em; }

footer { text-align: center; padding: 20px; background-color: #333; color: white; margin-top: 50px; }
