:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5d687c;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --line: #dce3ee;
  --brand: #2a4e8a;
  --brand-dark: #18335f;
  --accent: #e3a53c;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font: 16px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header-inner, .site-footer-inner, .site-main {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  color: var(--brand-dark);
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none;
}

.site-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-nav a { color: var(--ink); font-weight: 650; text-decoration: none; }
.site-nav a:hover { color: var(--brand); }

.site-main { padding-block: 48px 80px; }
.page-header { max-width: 820px; margin-bottom: 28px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); margin: 0 0 18px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-top: 2.2em; }
h3 { font-size: 1.35rem; margin-top: 1.8em; }
.lede { color: var(--muted); font-size: 1.16rem; max-width: 760px; }

.content-shell { max-width: 900px; }
.content-shell .elementor, .content-shell .elementor-container { max-width: 100%; }
.content-shell .elementor-section { margin-block: 28px; }
.content-shell .elementor-widget-heading h1,
.content-shell .elementor-widget-heading h2,
.content-shell .elementor-widget-heading h3 { margin-top: 1.3em; }
.content-shell .elementor-button,
.content-shell a.button,
.content-shell .wp-block-button__link {
  display: inline-block;
  padding: 11px 18px;
  color: #fff;
  background: var(--brand);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

.post-list { display: grid; gap: 22px; margin-top: 28px; }
.post-card {
  padding: 24px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.post-card h2 { margin: 0 0 8px; font-size: 1.55rem; }
.post-card h2 a { text-decoration: none; }
.post-card time { color: var(--muted); font-size: .9rem; }
.post-card p { margin-bottom: 0; }

.site-footer { padding-block: 34px; background: var(--brand-dark); color: #eaf0fb; }
.site-footer a { color: #fff; }
.site-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }

@media (max-width: 700px) {
  .site-header-inner { align-items: flex-start; flex-direction: column; padding-block: 16px; }
  .site-main { padding-top: 32px; }
  .site-nav { gap: 12px; }
}
