* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Georgia, 'Times New Roman', serif; background: #f5f2ec; color: #1e1e1e; font-size: 15px; line-height: 1.7; }

nav { background: #1a3a5c; padding: 0 40px; display: flex; align-items: center; box-shadow: 0 2px 8px rgba(0,0,0,0.2); position: sticky; top: 0; z-index: 100; }
nav a { color: #e8e0d0; text-decoration: none; font-size: 13.5px; padding: 15px 22px; display: inline-block; border-bottom: 3px solid transparent; transition: all 0.2s; }
nav a:hover, nav a.active { color: #c8a84b; border-bottom-color: #c8a84b; background: rgba(255,255,255,0.07); }
nav .admin-link { margin-left: auto; font-size: 12px; opacity: 0.45; }
nav .admin-link:hover { opacity: 1; }

header { background: linear-gradient(135deg, #1a3a5c 0%, #0f2540 60%, #1a3a5c 100%); color: white; padding: 50px 40px 42px; text-align: center; }
header h1 { font-size: 26px; font-weight: 700; line-height: 1.3; max-width: 860px; margin: 0 auto 10px; letter-spacing: 0.02em; }
header .subtitle { color: #c8a84b; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; }
header .gold-line { width: 56px; height: 3px; background: #c8a84b; margin: 14px auto 0; border-radius: 2px; }

.layout { display: flex; max-width: 1200px; margin: 0 auto; padding: 28px 20px; gap: 28px; align-items: flex-start; }

.sidebar { width: 255px; min-width: 255px; background: #ffffff; border: 1px solid #d4cfc4; border-radius: 4px; padding: 20px 0; box-shadow: 0 1px 6px rgba(0,0,0,0.06); position: sticky; top: 56px; max-height: calc(100vh - 80px); overflow-y: auto; }
.sidebar h3 { font-size: 10.5px; font-weight: bold; letter-spacing: 0.14em; text-transform: uppercase; color: #6b6b6b; padding: 0 18px 10px; border-bottom: 1px solid #d4cfc4; margin-bottom: 6px; }
.sidebar>a, .sidebar p { display: block; padding: 7px 18px; color: #1a3a5c; text-decoration: none; font-size: 12px; line-height: 1.4; border-left: 3px solid transparent; }
.sidebar a:hover { background: #f0ede6; border-left-color: #c8a84b; color: #0f2540; }

.main { flex: 1; min-width: 0; }

.news-grid { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.news-card { background: #f5f2ec; border: 1px solid #d4cfc4; border-radius: 4px; padding: 15px 17px; width: calc(50% - 7px); }
.news-date { font-size: 11px; color: #c8a84b; font-weight: bold; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 5px; }
.news-title-card { font-size: 14px; font-weight: bold; color: #1a3a5c; margin-bottom: 7px; line-height: 1.4; }
.news-body-card { font-size: 13px; color: #6b6b6b; line-height: 1.6; }
.no-news { color: #6b6b6b; font-style: italic; font-size: 13.5px; padding: 6px 0; }

.section { background: #ffffff; border: 1px solid #d4cfc4; border-radius: 4px; margin-bottom: 18px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.section-header { background: #f0ede6; border-bottom: 1px solid #d4cfc4; padding: 13px 22px; display: flex; align-items: center; gap: 11px; }
.section-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; min-width: 26px; background: #c8a84b; color: white; font-size: 11px; font-weight: bold; border-radius: 50%; }
.section-num.red { background: #c0392b; }
.section-header h2 { font-size: 14.5px; font-weight: bold; color: #1a3a5c; line-height: 1.4; }
.section-body { padding: 16px 22px; }
.section-body ul { list-style: none; margin: 0; padding: 0; }
.section-body ul li { display: flex; align-items: flex-start; gap: 8px; padding: 5px 8px; border-radius: 3px; margin-bottom: 3px; }
.section-body ul li:hover { background: #f8f5ef; }
.section-body ul li::before { content: '↗'; color: #c8a84b; font-size: 12px; margin-top: 3px; flex-shrink: 0; }
.section-body ul li a { color: #1a3a5c; text-decoration: none; font-size: 13.5px; line-height: 1.5; }
.section-body ul li a:hover { color: #c8a84b; text-decoration: underline; }
.section-body p.empty { font-size: 13.5px; color: #6b6b6b; font-style: italic; padding: 4px 0; }

footer { background: #1a3a5c; color: #c8c0b0; text-align: center; padding: 34px 40px; margin-top: 36px; font-size: 13px; }
footer .company { font-size: 15px; color: white; font-weight: bold; margin-bottom: 6px; }
footer .gold-line { width: 40px; height: 2px; background: #c8a84b; margin: 14px auto; border-radius: 2px; }
footer a { color: #c8a84b; text-decoration: none; }

@media (max-width: 800px) {
  .layout { display: block; padding: 14px; }
  .sidebar { position: static; width: 100%; min-width: 0; margin-bottom: 18px; max-height: 260px; }
  header h1 { font-size: 19px; }
  header { padding: 30px 18px; }
  nav { padding: 0 14px; }
  .news-card { width: 100%; }
}