:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --text: #1a1a2e;
  --muted: #5c6370;
  --accent: #c41e3a;
  --border: #dde1e6;
  --header: #0d1b2a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

.site-header {
  background: var(--header);
  color: #fff;
  border-bottom: 3px solid var(--accent);
}
.header-inner {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 12px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.logo img { height: 44px; width: auto; }
.logo:hover { text-decoration: none; opacity: 0.95; }

.site-main { min-height: 60vh; }
.section { padding: 48px 0; }
.section-title {
  margin: 0 0 28px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.meta {
  display: inline-block;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-featured { background: var(--surface); border-bottom: 1px solid var(--border); padding: 32px 0; }
.hero-featured .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
.hero-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.hero-card a { display: block; color: inherit; text-decoration: none; }
.hero-card img { width: 100%; height: 220px; object-fit: cover; }
.hero-card.primary img { height: 100%; min-height: 320px; }
.hero-copy { padding: 20px; }
.hero-copy h2 {
  margin: 8px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.25rem;
  line-height: 1.3;
}
.hero-copy p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.15s;
}
.article-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.article-card a { display: block; color: inherit; text-decoration: none; }
.article-card img { width: 100%; height: 180px; object-fit: cover; }
.card-copy { padding: 18px; }
.card-copy h3 {
  margin: 8px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.05rem;
  line-height: 1.35;
}
.card-copy p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.article-page { padding: 40px 0 64px; }
.back-link {
  display: inline-block;
  margin-bottom: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
}
.article-header h1 {
  margin: 10px 0 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.2;
}
.article-hero { margin: 28px 0; }
.article-hero img { border-radius: 8px; width: 100%; max-height: 420px; object-fit: cover; }
.article-body {
  max-width: 760px;
  font-size: 1.05rem;
}
.article-body h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin-top: 28px;
}
.article-body p { margin: 0 0 1em; }

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 28px 0 40px;
  text-align: center;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .hero-featured .wrap { grid-template-columns: 1fr; }
  .hero-card.primary img { min-height: 220px; }
}
