:root {
  color-scheme: light;
  --ink: #162033;
  --muted: #526071;
  --line: #dbe7f2;
  --paper: #ffffff;
  --soft: #f5f9fc;
  --brand: #2457d6;
  --brand-2: #0f8c7f;
  --warm: #f6b93b;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--brand);
}

.site-header,
.site-footer {
  background: #10233f;
  color: #fff;
}

.site-header a,
.site-footer a {
  color: #fff;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
}

.brand {
  font-weight: 900;
  font-size: 1.1rem;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero {
  background: linear-gradient(135deg, #e8f7ff 0%, #fff6df 58%, #ecfff8 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 42px;
}

.eyebrow {
  color: var(--brand-2);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin: 0 0 10px;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  max-width: 860px;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 34px;
}

p {
  margin: 0 0 18px;
}

.lead {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 760px;
}

.page {
  padding: 38px 0 54px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.post-card {
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(16, 35, 63, 0.08);
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #dbe7f2;
}

.post-card-content {
  padding: 18px;
}

.post-card h2 {
  font-size: 1.25rem;
  margin-top: 0;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 1fr);
  gap: 34px;
  align-items: start;
}

.article-main {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: min(6vw, 42px);
  box-shadow: 0 16px 34px rgba(16, 35, 63, 0.08);
}

.article-main img {
  width: 100%;
  border-radius: 14px;
  margin: 10px 0 26px;
  display: block;
}

.aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  position: sticky;
  top: 18px;
}

.aside ul {
  padding-left: 18px;
  margin: 0;
}

.cta {
  background: #10233f;
  color: #fff;
  border-radius: 18px;
  padding: 24px;
  margin-top: 30px;
}

.cta a {
  color: #fff;
  font-weight: 900;
}

.footer-inner {
  padding: 28px 0;
  font-size: 0.95rem;
}

@media (max-width: 820px) {
  .header-inner,
  .article {
    display: block;
  }

  .nav {
    margin-top: 12px;
  }

  .aside {
    margin-top: 24px;
    position: static;
  }
}
