:root {
  --brand: #1a3c6e;
  --text: #1a1a1a;
  --muted: #666;
  --bg: #fff;
  --border: #e2e2e2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.site-header .brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand);
  text-decoration: none;
}

.site-nav a {
  margin-left: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

.site-nav a:hover { text-decoration: underline; }

.hero {
  text-align: center;
  padding: 2rem 0 3rem;
}

.hero h1 {
  color: var(--brand);
  margin-bottom: 0.25rem;
}

.hero p { color: var(--muted); }

.editorial {
  display: grid;
  gap: 1.5rem;
}

.card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.card h2 { margin-top: 0; }
.card h2 a { color: var(--brand); text-decoration: none; }
.card h2 a:hover { text-decoration: underline; }

.post h1 { color: var(--brand); }

.ad-slot {
  margin: 1.5rem 0;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    45deg, #f4f4f4, #f4f4f4 10px, #eee 10px, #eee 20px
  );
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 0.75rem;
}

.ad-slot::before {
  content: "Ad slot: " attr(data-ad-type);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-nav a {
  margin: 0 0.6rem;
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover { text-decoration: underline; }

.copyright { margin-top: 0.75rem; }
