body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  color: #111827;
  background: #f4f5f8;
}

.wrap {
  width: min(1120px, 94%);
  margin: 0 auto;
}

.blog-header {
  background: #fff;
  border-bottom: 1px solid #e3e7ef;
}

.blog-header .wrap {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  color: #111827;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.admin-link {
  color: #0f6bcf;
  text-decoration: none;
  font-weight: 600;
}

.blog-grid {
  padding: 24px 0 40px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.post-card {
  background: #fff;
  border: 1px solid #d9e4f2;
  border-radius: 12px;
  overflow: hidden;
}

.post-card img {
  width: 100%;
  display: block;
  max-height: 320px;
  object-fit: cover;
}

.post-body {
  padding: 14px;
}

.post-body h2 {
  margin: 0 0 6px;
  font-size: 30px;
  line-height: 1.15;
}

.post-body h2 a {
  text-decoration: none;
  color: #111827;
}

.meta {
  color: #6b7280;
  font-size: 13px;
}

.post-wrap {
  padding: 22px 0 40px;
}

.post-wrap h1 {
  margin: 14px 0 8px;
  font-size: 40px;
  line-height: 1.12;
}

.hero {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d9e4f2;
  max-height: 520px;
  object-fit: cover;
}

.content {
  font-size: 18px;
  line-height: 1.7;
}

@media (min-width: 980px) {
  .blog-grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .post-card.featured {
    grid-column: 1;
    grid-row: span 3;
  }
}
