/* ── AEED / FEED – Shared Stylesheet ─────────────────────────── */
:root {
  --navy:       #1a3050;
  --navy-light: #2a4a70;
  --blue:       #2c6fad;
  --blue-light: #e8f0f8;
  --granate:    #7a1a1a;
  --accent:     #b04a18;
  --text:       #1e1e1e;
  --muted:      #5a6473;
  --border:     #d0d8e2;
  --bg:         #f4f6f9;
  --white:      #ffffff;
  --sidebar-w:  220px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }
header { background: var(--navy); color: white; padding: 0 24px; display: flex; align-items: center; height: 64px; border-bottom: 3px solid var(--accent); }
.header-brand { display: flex; align-items: center; gap: 14px; }
.header-logo-circle { width: 42px; height: 42px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Source Serif 4', serif; font-size: 18px; font-weight: 600; color: white; flex-shrink: 0; }
.header-title { display: flex; flex-direction: column; }
.header-title strong { font-family: 'Source Serif 4', serif; font-size: 20px; font-weight: 600; letter-spacing: 0.04em; color: white; }
.header-title span { font-size: 11px; font-weight: 300; color: #a8bcd0; letter-spacing: 0.06em; text-transform: uppercase; }
.hist-banner { background: var(--granate); text-align: center; padding: 9px 24px; font-size: 13px; font-weight: 500; color: #f0dada; letter-spacing: 0.03em; }
.breadcrumb { background: var(--white); border-bottom: 1px solid var(--border); padding: 7px 24px; font-size: 12px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 6px; }
.page-wrapper { max-width: 1100px; margin: 0 auto; padding: 20px 16px 40px; display: grid; grid-template-columns: var(--sidebar-w) 1fr; gap: 20px; }
aside.sidebar { grid-column: 1; }
.nav-section { background: var(--white); border: 1px solid var(--border); border-radius: 4px; margin-bottom: 14px; overflow: hidden; }
.nav-section-title { background: var(--navy); color: white; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 12px; }
.nav-section ul { list-style: none; padding: 6px 0; }
.nav-section ul li a { display: block; padding: 5px 14px; font-size: 13px; color: var(--navy-light); border-left: 3px solid transparent; transition: all 0.15s; }
.nav-section ul li a:hover, .nav-section ul li a.active { border-left-color: var(--accent); background: var(--blue-light); text-decoration: none; color: var(--navy); }
main { grid-column: 2; display: flex; flex-direction: column; gap: 18px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.card-accent { border-top: 3px solid var(--accent); }
.card-header { background: var(--navy); color: white; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 14px; }
.card-body { padding: 16px 18px; }
.page-title { font-family: 'Source Serif 4', serif; font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.prose p { margin-bottom: 12px; font-size: 14px; line-height: 1.75; }
.prose h2 { font-family: 'Source Serif 4', serif; font-size: 17px; color: var(--navy); margin: 20px 0 8px; }
.prose h3 { font-size: 14px; font-weight: 600; color: var(--navy-light); margin: 16px 0 6px; }
.prose ul, .prose ol { padding-left: 20px; margin-bottom: 12px; }
.prose li { margin-bottom: 5px; font-size: 14px; }
.prose a { color: var(--blue); }
.prose strong { color: var(--navy); }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 16px; }
.data-table th { background: var(--navy); color: white; padding: 8px 12px; text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.data-table td { padding: 8px 12px; border-bottom: 1px solid var(--border); }
.data-table tr:nth-child(even) td { background: var(--blue-light); }
.data-table tr:hover td { background: #dce8f2; }
.link-list { list-style: none; padding: 0; }
.link-list li { padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 13px; }
.link-list li:last-child { border-bottom: none; }
.link-list li::before { content: "›"; color: var(--accent); margin-right: 8px; font-weight: 700; }
.badge-pdf { display: inline-block; background: var(--accent); color: white; font-size: 9px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 6px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.badge-new { display: inline-block; background: #1a6b3a; color: white; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 2px; margin-left: 6px; vertical-align: middle; }
.badge-priv { display: inline-block; background: var(--navy-light); color: white; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 2px; margin-left: 6px; vertical-align: middle; }
.info-box { background: var(--blue-light); border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: 4px; padding: 12px 16px; font-size: 13px; margin-bottom: 16px; }
.warn-box { background: #fff8f0; border: 1px solid #e8d0b0; border-left: 4px solid var(--accent); border-radius: 4px; padding: 12px 16px; font-size: 13px; margin-bottom: 16px; }
footer { background: var(--navy); color: #7a8fa3; text-align: center; padding: 16px 24px; font-size: 11.5px; margin-top: 20px; }
footer a { color: #7a8fa3; }
footer a:hover { color: white; text-decoration: none; }
footer p + p { margin-top: 5px; }
@media (max-width: 700px) {
  .page-wrapper { grid-template-columns: 1fr; padding: 12px; gap: 14px; }
  aside.sidebar, main { grid-column: 1; }
  header { height: auto; padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
}
