﻿:root {
  --ink: #17202a;
  --muted: #617083;
  --line: #dfe7ef;
  --panel: #f5f8fb;
  --brand: #0f75bd;
  --brand-dark: #07548b;
  --accent: #f0a22e;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #eef4f9;
  line-height: 1.6;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  background: linear-gradient(135deg, #ffffff 0%, #e8f4fc 55%, #cbe9fb 100%);
  border-bottom: 1px solid var(--line);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 24px;
}

.logo img { width: 44px; height: 44px; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav a {
  color: var(--ink);
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.nav a.active,
.nav a:hover {
  background: var(--brand);
  color: #fff;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 36px;
  align-items: center;
  padding: 46px 0 54px;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(22, 62, 96, .12);
}

.hero-card img,
.media-card img {
  display: block;
  width: 100%;
  height: auto;
}

.content {
  background: var(--white);
}

.section {
  padding: 54px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-title {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.2;
}

.section-lead {
  margin: 0 0 28px;
  max-width: 780px;
  color: var(--muted);
  font-size: 17px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  min-height: 100%;
}

.card h2,
.card h3 {
  margin: 0 0 10px;
  line-height: 1.25;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.media-card {
  padding: 0;
  overflow: hidden;
}

.media-card .card-body { padding: 22px; }

.band {
  background: #0f2f4a;
  color: #fff;
}

.band .section-lead,
.band .card p { color: #d9e6f2; }

.band .card {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 14px 16px;
  background: var(--panel);
  border-left: 4px solid var(--brand);
}

.notice {
  padding: 18px 20px;
  background: #fff7e9;
  border: 1px solid #f7d59f;
  border-radius: 8px;
  color: #5c3b04;
}

.footer {
  background: #111820;
  color: #c7d2dd;
  padding: 26px 0;
  font-size: 14px;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .topbar,
  .hero {
    grid-template-columns: 1fr;
  }

  .topbar { align-items: flex-start; }
  .nav { justify-content: flex-start; }
  .grid,
  .two-col { grid-template-columns: 1fr; }
}

.kicker {
  margin: 0 0 8px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.article-section {
  background: #f8fbfe;
}

.featured-article,
.article-page {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(22px, 4vw, 42px);
  box-shadow: 0 14px 34px rgba(22, 62, 96, .08);
}

.featured-article time,
.article-page time,
.published-card time {
  display: block;
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}

.featured-article h2,
.article-page h1 {
  margin: 0 0 14px;
  line-height: 1.18;
}

.article-excerpt {
  color: var(--brand-dark);
  font-weight: 700;
}

.published-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.published-grid.large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.published-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  color: var(--ink);
  min-height: 100%;
}

.published-card:hover {
  text-decoration: none;
  border-color: var(--brand);
  box-shadow: 0 10px 28px rgba(15,117,189,.12);
}

.published-card strong {
  display: block;
  line-height: 1.25;
  margin-bottom: 8px;
}

.published-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.archive-link {
  margin-top: 24px;
  font-weight: 800;
}

@media (max-width: 860px) {
  .published-grid,
  .published-grid.large {
    grid-template-columns: 1fr;
  }
}
