*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  background: #fbf6ef;
  line-height: 1.55;
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.site-header {
  background: #fff;
  border-bottom: 1px solid #ece6db;
  padding: 14px 0;
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; }
.site-header .brand { font-weight: 700; font-size: 1.15rem; color: #b04a1d; text-decoration: none; }
.site-header .cats { display: flex; flex-wrap: wrap; gap: 12px; }
.site-header .cats a { color: #555; text-decoration: none; font-size: .9rem; }
.site-header .cats a:hover { color: #b04a1d; }

.hero { text-align: center; padding: 56px 12px 32px; }
.hero h1 { font-size: 2.4rem; margin: 0 0 8px; color: #2d2d2d; }
.hero p  { color: #6a6a6a; margin: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  padding-bottom: 60px;
}
.card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 6px 20px rgba(0,0,0,.04);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,.08), 0 10px 30px rgba(0,0,0,.07); }
.card-link { text-decoration: none; color: inherit; display: block; }
.card img { display: block; width: 100%; height: 220px; object-fit: cover; background: #eee; }
.card-body { padding: 14px 16px 18px; }
.card-body h2 { font-size: 1.05rem; margin: 6px 0 6px; color: #222; }
.card-body p  { font-size: .9rem; color: #6a6a6a; margin: 0; }

.cat {
  display: inline-block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #b04a1d;
  background: #fbe7d6;
  border-radius: 999px;
  padding: 2px 10px;
}

.article-page { padding: 28px 0 60px; }
.article { background: #fff; border-radius: 16px; padding: 32px clamp(20px, 4vw, 56px); box-shadow: 0 2px 6px rgba(0,0,0,.04); }
.article h1 { font-size: 2rem; margin: 10px 0 18px; }
.article .featured img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 12px; }
.article .content { font-size: 1.04rem; }
.article .content h2 { margin-top: 1.6em; font-size: 1.4rem; }
.article .content h3 { margin-top: 1.4em; font-size: 1.15rem; }
.article .content p  { margin: 0 0 1em; }
.article .content ul, .article .content ol { margin: 0 0 1em 1.4em; }
.article .pin { margin-top: 32px; text-align: center; }
.article .pin img { max-width: 360px; width: 100%; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.article .pin figcaption { color: #888; font-size: .85rem; margin-top: 6px; }
.article .back { margin-top: 28px; }
.article .back a { color: #b04a1d; text-decoration: none; }

.site-footer { padding: 24px 0; color: #888; text-align: center; border-top: 1px solid #ece6db; background: #fff; }
