html {
scroll-behavior: smooth;
}

/* === Сброс и базовые настройки === */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, "Helvetica Neue", sans-serif;
line-height: 1.6;
color: #333;
background: #000000 url('../img/Underground_3.jpg') top center no-repeat fixed;
background-size: cover;
background-attachment: fixed;
margin: 0;
padding: 0;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
a {
color: #2c5aa0;
text-decoration: none;
transition: color 0.3s;
}
a:hover {
color: #1a4d8f;
text-decoration: underline;
}
/* === Шапка === */
.header {
background: #ffffff;
padding: 20px 0;
border-bottom: 2px solid #e0e0e0;
}
.header-inner {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 20px;
}
.logo {
display: flex;
align-items: center;
gap: 15px;
}
.logo-icon {
flex-shrink: 0;
width: 110px;
height: 110px;
object-fit: contain;
display: block;
}
/* Адаптивность для мобильных */
@media (max-width: 768px) {
.logo-icon {
width: 70px;
height: 70px;
}
.logo-text h1 {
font-size: 1.5rem;
}
.logo-text p {
font-size: 0.85rem;
}
}
.logo-text h1 {
font-size: 1.8rem;
color: #1a4d8f;
margin-bottom: 5px;
font-weight: 700;
}
.logo-text p {
font-size: 0.95rem;
color: #666;
}
/* === Навигация === */
.main-nav ul {
display: flex;
list-style: none;
gap: 10px;
flex-wrap: wrap;
}
.main-nav a {
display: inline-block;
padding: 10px 20px;
color: #333;
font-size: 0.95rem;
border-radius: 5px;
transition: all 0.3s;
}
.main-nav a:hover,
.main-nav a.active {
background: #b8d4f0;
color: #1a4d8f;
text-decoration: none;
}
/* === Основной контент === */
.main {
padding: 0;
margin: 0;
width: 100%;
}

.page-grid {
display: grid;
grid-template-columns: 150px 1fr 150px;
min-height: 100vh;
}
Боковые колонки
.side-col {
background-color: #e8eef3;
}
/* Центральная часть */
.center-content {
background: #ffffff;
padding: 40px 50px;
text-align: center;
}
/* Картинка */
.hero-image {
margin-bottom: 30px;
}
.hero-image img {
width: 100%;
max-width: 800px;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
/* Квадрат с названием */
.org-name-box {
display: inline-block;
border: 2px solid #1a4d8f;
padding: 15px 30px;
border-radius: 10px;
margin-bottom: 25px;
}
.org-name-box h2 {
color: #1a4d8f;
font-size: 1.8rem;
margin: 0;
}
/* Текст описания */
.org-description {
margin-bottom: 50px;
}
.org-description p {
font-size: 1.1rem;
line-height: 1.6;
color: #444;
max-width: 800px;
margin: 0 auto;
}

@media (max-width: 900px) {
.page-grid {
grid-template-columns: 1fr;
}
.side-col {
display: none;
}
.center-content {
padding: 20px;
}
}
/* === Новости === */
.news-section {
margin-top: 50px;
}
.news-section h2 {
font-size: 1.8rem;
color: #1a4d8f;
margin-bottom: 30px;
padding-bottom: 15px;
border-bottom: 3px solid #b8d4f0;
}
.news-item {
background: #f9f9f9;
padding: 25px;
margin-bottom: 25px;
border-radius: 8px;
border-left: 5px solid #2c5aa0;
transition: transform 0.3s, box-shadow 0.3s;
}
.news-item:hover {
transform: translateY(-3px);
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.news-header {
margin-bottom: 10px;
}
.news-date {
font-size: 0.9rem;
color: #666;
font-weight: 500;
}
.news-item h3 {
font-size: 1.4rem;
color: #1a4d8f;
margin-bottom: 15px;
}
.news-content {
display: flex;
gap: 20px;
align-items: flex-start;
}
.news-image {
flex-shrink: 0;
}
.news-image img {
width: 200px;
height: 150px;
object-fit: cover;
border-radius: 5px;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.news-text {
flex: 1;
}
.news-text p {
color: #555;
line-height: 1.7;
margin-bottom: 10px;
}
.read-more {
display: inline-block;
margin-top: 10px;
font-weight: 600;
color: #2c5aa0;
}
.read-more:hover {
color: #1a4d8f;
}

.news-archive {
background: #b8d4f0;
padding: 25px 30px;
border-radius: 8px;
margin-top: 40px;
}
.news-archive h3 {
font-size: 1.3rem;
color: #1a4d8f;
margin-bottom: 15px;
}
.archive-links {
display: flex;
gap: 12px;
flex-wrap: wrap;
justify-content: center;
}
.archive-year {
display: inline-block;
padding: 10px 20px;
background: #2c5aa0; /* Синий цвет как в 2022 */
color: #fff;
border-radius: 6px;
font-weight: 500;
text-decoration: none;
transition: all 0.3s;
font-size: 0.95rem;
}
.archive-year:hover {
background: #1a4d8f;
transform: translateY(-2px);
}
/* === Футер === */
.footer {
background: #2c3e50;
color: #fff;
padding: 30px 0 20px;
margin-top: 60px;
}
.footer-content {
text-align: center;
}
.footer-info {
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 1px solid #4a5f7f;
}
.footer-info p {
margin: 8px 0;
font-size: 0.95rem;
}
.footer-bottom {
font-size: 0.9rem;
color: #b0c4de;
}
.footer-bottom p {
margin: 5px 0;
}
/* === Адаптивность === */
@media (max-width: 768px) {
.header-inner {
flex-direction: column;
text-align: center;
}
.logo {
flex-direction: column;
}
.main-nav ul {
justify-content: center;
}
.logo-text h1 {
    font-size: 1.4rem;
}
.news-content {
    flex-direction: column;
}
.news-image img {
    width: 100%;
    height: auto;
}
.archive-links {
    justify-content: center;
}
}
/* === Страницы разделов === */
.page-section {
background: #fff;
padding: 40px;
border-radius: 8px;
box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.page-section h1 {
font-size: 2.2rem;
color: #1a4d8f;
margin-bottom: 30px;
padding-bottom: 15px;
border-bottom: 3px solid #b8d4f0;
}
.page-section h2 {
font-size: 1.6rem;
color: #2c5aa0;
margin: 30px 0 15px;
}
.content-block {
margin-bottom: 30px;
}
.content-block p {
line-height: 1.8;
color: #444;
margin-bottom: 15px;
}
.content-block ul {
margin: 15px 0 15px 25px;
}
.content-block li {
margin-bottom: 10px;
line-height: 1.7;
color: #444;
}
.highlight-box {
background: #eef5ff;
border-left: 5px solid #2c5aa0;
padding: 20px;
margin: 25px 0;
border-radius: 5px;
}
.highlight-text {
font-size: 1.2rem;
color: #1a4d8f;
font-weight: 600;
margin: 0;
}
.stats-list {
list-style: none;
margin: 15px 0;
padding: 0;
}
.stats-list li {
padding: 10px 15px;
background: #f9f9f9;
margin-bottom: 8px;
border-radius: 5px;
border-left: 4px solid #2c5aa0;
}
.stats-list strong {
color: #1a4d8f;
font-size: 1.2rem;
}
/* Адаптивность */
@media (max-width: 768px) {
.page-section {
padding: 20px;
}
.page-section h1 {
font-size: 1.8rem;
}
.page-section h2 {
font-size: 1.4rem;
}
}
/* === Стили для списка услуг === */
.services-list {
list-style: none;
padding: 0;
margin: 20px 0;
}
.services-list li {
background: #f9f9f9;
padding: 20px;
margin-bottom: 15px;
border-radius: 8px;
border-left: 4px solid #2c5aa0;
transition: transform 0.2s, box-shadow 0.2s;
}
.services-list li:hover {
transform: translateX(5px);
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.services-list h3 {
font-size: 1.2rem;
color: #1a4d8f;
margin-bottom: 8px;
}
.services-list p {
margin: 0;
color: #555;
}

/* === Обёртка: сайдбар + контент === */
.content-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* === Левая навигационная панель === */
.left-sidebar {
    width: 250px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    display: block;
    padding: 12px 15px;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: #2c5aa0;
    color: #ffffff;
    border-left-color: #1a4d8f;
    padding-left: 20px;
    text-decoration: none;
}

.sidebar-nav a.active {
    font-weight: 600;
}

/* === Центральная часть (белая с контентом) === */
.center-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 50px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    min-height: 400px;
}

/* === Адаптивность для мобильных === */
@media (max-width: 900px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .left-sidebar {
        width: 100%;
        position: static;
    }
    
    .center-content {
        padding: 20px;
    }
}

/* === Панель новости === */
.news-card-content {
    background: #f8fbff;
    border-left: 5px solid #2c5aa0;
    border-radius: 0 8px 8px 0;
    padding: 25px 30px;
    text-align: left;
    line-height: 1.7;
    color: #333;
}

.news-card-content p {
    text-align: left;
    margin-bottom: 15px;
}

.news-card-content h3 {
    text-align: left;
    color: #1a4d8f;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.news-card-content h4 {
    text-align: left;
    color: #2c5aa0;
    font-size: 1.1rem;
    margin: 20px 0 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #b8d4f0;
}

.news-card-content ul,
.news-card-content ol {
    text-align: left;
    margin: 15px 0 15px 25px;
    padding: 0;
}

.news-card-content li {
    text-align: left;
    margin-bottom: 8px;
    line-height: 1.6;
}

.news-card-content a {
    color: #2c5aa0;
    text-decoration: underline;
    font-weight: 500;
}

.news-card-content a:hover {
    color: #1a4d8f;
}

/* Убираем выравнивание по ширине для всего контента */
.center-content p,
.center-content li,
.center-content td {
    text-align: left !important;
}


/* === Уменьшенный шрифт для новостей === */
.news-card-content p {
    font-size: 14px;
    line-height: 1.6;
}

.news-card-content h3 {
    font-size: 16px;
}

.news-card-content h4 {
    font-size: 14px;
}

.news-card-content li {
    font-size: 14px;
}

/* === Постраничная навигация === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 40px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #ffffff;
    border: 1px solid #b8d4f0;
    border-radius: 5px;
    color: #2c5aa0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
}

.pagination-btn:hover {
    background: #b8d4f0;
    color: #1a4d8f;
    text-decoration: none;
}

.pagination-btn.active {
    background: #2c5aa0;
    color: #ffffff;
    border-color: #2c5aa0;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    margin-right: 15px;
    color: #666;
    font-size: 14px;
}

/* Адаптивность для навигации */
@media (max-width: 768px) {
    .pagination {
        gap: 3px;
    }
    
    .pagination-btn {
        min-width: 35px;
        height: 35px;
        padding: 0 8px;
        font-size: 13px;
    }
    
    .pagination-info {
        margin-right: 10px;
        font-size: 13px;
    }
}