:root {
  --bg: #fbf4ef;
  --surface: #fffdfa;
  --ink: #342a29;
  --muted: rgba(52, 42, 41, 0.66);
  --accent: #b07a7a;
  --border: rgba(52, 42, 41, 0.11);
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(900px 550px at 15% 0%, rgba(176, 122, 122, 0.12), transparent 62%), var(--bg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
}

a { color: inherit; }

.blog-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.blog-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.blog-brand img { width: 86px; }
.blog-brand strong { font-family: var(--display); font-size: 20px; }

.back-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover { color: var(--ink); }

.article-page {
  width: min(1067px, calc(100% - 40px));
  margin: 64px auto 80px;
  padding: 42px clamp(22px, 5vw, 58px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 18px 55px rgba(40, 30, 30, 0.1);
}

h1, h2, h3 { font-family: var(--display); line-height: 1.2; }
h1 { margin: 0 0 28px; font-size: clamp(36px, 6vw, 52px); font-weight: 600; }
h2 { margin: 42px 0 12px; font-size: 29px; font-weight: 600; }
h3 { margin: 32px 0 10px; font-size: 22px; }
p { margin: 0 0 20px; }
li { margin-bottom: 8px; }

.blog-hero { padding: 72px 0 36px; max-width: 720px; }
.blog-hero h1 { margin-bottom: 12px; }
.blog-hero p { color: var(--muted); font-size: 18px; }

.article-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 80px;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(40, 30, 30, 0.08);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.article-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(40, 30, 30, 0.12); }
.article-card small { color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.article-card h2 { margin: 12px 0 10px; font-size: 25px; }
.article-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.article-card span { margin-top: auto; font-size: 14px; font-weight: 700; }

@media (max-width: 800px) {
  .article-list { grid-template-columns: 1fr; }
  .article-card { min-height: 0; }
  .blog-header { align-items: flex-start; flex-direction: column; }
  .article-page { margin-top: 36px; }
}

.pull-quote {
  margin: 3rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid currentColor;
  font-weight: 500;
}

.pull-quote p {
  margin: 0;
}
