:root {
  --ink: #1f2430;
  --muted: #6b7280;
  --bg: #fdfcfb;
  --accent: #c2185b;
  --accent-dark: #9c1249;
  --border: #ece7e2;
  --max: 720px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header.site {
  border-bottom: 1px solid var(--border);
  padding: 22px 20px;
}
header.site .wrap {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand span { color: var(--accent); }
nav.site a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.hero p { color: var(--muted); font-size: 1.05rem; max-width: 56ch; }

.article-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  transition: border-color 0.15s ease;
}
.card:hover { border-color: var(--accent); }
.card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 8px;
}
.card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.card h2 a { color: var(--ink); }
.card h2 a:hover { color: var(--accent); text-decoration: none; }
.card p { color: var(--muted); font-size: 0.95rem; }

article.post h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
article.post .meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 28px;
}
article.post h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 32px 0 12px;
}
article.post p { margin-bottom: 16px; color: #333; }
article.post ul { margin: 0 0 16px 22px; color: #333; }
article.post li { margin-bottom: 6px; }
.back-link { display: inline-block; margin-top: 8px; font-weight: 600; font-size: 0.9rem; }

footer.site {
  border-top: 1px solid var(--border);
  padding: 26px 20px;
  margin-top: 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  header.site .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
}

.ad-slot {
  margin: 32px auto;
  max-width: 100%;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ad-label {
  text-align: center;
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.ad-slot-banner {
  margin: 28px auto;
  max-width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
