/* The Last Hero — shared styles. No external dependencies. */

:root {
  --text: #1f2430;
  --muted: #5b6472;
  --accent: #2456a6;
  --accent-dark: #1a3f7a;
  --bg: #ffffff;
  --soft: #f4f6f9;
  --border: #dde3ea;
  --max: 720px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-dark);
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--soft);
}

.site-header .wrap,
main,
.site-footer .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header .wrap {
  padding-top: 22px;
  padding-bottom: 18px;
}

.site-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
}

.site-title a {
  color: var(--text);
  text-decoration: none;
}

.tagline {
  color: var(--muted);
  margin: 4px 0 12px;
  font-size: 15px;
}

.main-nav a {
  margin-right: 18px;
  font-size: 15px;
  text-decoration: none;
  font-weight: 600;
}

main {
  padding-top: 30px;
  padding-bottom: 50px;
}

h1 {
  font-size: 30px;
  line-height: 1.3;
  margin: 0 0 14px;
}

h2 {
  font-size: 22px;
  line-height: 1.35;
  margin: 34px 0 10px;
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

.article-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.disclosure-line {
  font-style: italic;
  color: var(--muted);
  font-size: 15px;
}

.article-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 18px;
  background: #fff;
}

.article-card h2 {
  margin-top: 0;
  font-size: 21px;
}

.article-card h2 a {
  color: var(--text);
  text-decoration: none;
}

.article-card h2 a:hover {
  color: var(--accent);
}

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

.affiliate-slot {
  background: var(--soft);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--muted);
  margin: 20px 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--soft);
  color: var(--muted);
  font-size: 14px;
}

.site-footer .wrap {
  padding-top: 18px;
  padding-bottom: 22px;
}

.site-footer a {
  margin-right: 16px;
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 25px;
  }
  h2 {
    font-size: 20px;
  }
  .site-title {
    font-size: 22px;
  }
}
