:root {
  --bg: #eef3f8;
  --card: #ffffff;
  --primary: #0f4c81;
  --primary-dark: #0a3458;
  --text: #1a1a1a;
  --muted: #5e6b78;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", Arial, sans-serif; background: linear-gradient(180deg, #e9f1f8, #f7f9fc); color: var(--text); }
.site-header { background: linear-gradient(120deg, var(--primary), var(--primary-dark)); color: #fff; padding: 20px 16px 16px; }
.header-inner { max-width: 1100px; margin: 0 auto 14px; display: flex; align-items: center; gap: 16px; }
.header-graphic { width: 140px; height: auto; flex-shrink: 0; }
.header-inner h1 { margin: 0; }
.header-inner p { margin: 6px 0 0; }
.header-buttons { max-width: 1100px; margin: 0 auto; display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-block; color: #fff; text-decoration: none; padding: 8px 14px; border: 1px solid #ffffff66; border-radius: 999px; background: #ffffff22; font-weight: 600; }
.btn:hover { background: #ffffff33; }
.layout { max-width: 1100px; margin: 20px auto; padding: 0 16px 20px; display: grid; grid-template-columns: 300px 1fr; gap: 16px; }
.card { background: var(--card); border-radius: 12px; padding: 16px; box-shadow: 0 8px 24px rgba(15, 76, 129, 0.1); }
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.menu li { margin: 0; }
.menu li + li { margin-top: 0; }
.menu a {
  display: flex;
  align-items: center;
  min-height: 54px;
  color: var(--primary-dark);
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #c9ddeb;
  background: linear-gradient(180deg, #ffffff, #edf6ff);
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.08);
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.menu a:hover,
.menu a.active {
  background: linear-gradient(180deg, #d7e8f8, #c2ddf3);
  color: #07253f;
  box-shadow: 0 8px 18px rgba(15, 76, 129, 0.16);
  transform: translateY(-2px);
}
.menu a.active {
  border-color: var(--primary);
}
figure { margin: 0 0 16px; width: 100%; max-width: 100%; }
.content { min-width: 0; overflow: hidden; }
.content img { display: block; width: 100%; max-width: 100%; height: auto; max-height: 320px; object-fit: cover; border-radius: 10px; }
figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.back { display: inline-block; margin-top: 12px; color: var(--primary); }
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; text-align: center; }
  .content img { max-height: 240px; }
}
