﻿.blog-wrap { max-width: 1200px; margin: 0 auto 120px; padding: 0 48px; }

.featured {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: stretch;
  margin-bottom: 48px;
}
.feat-img {
  aspect-ratio: 5/4;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.feat-img::before {
  content: ''; position: absolute; top: -40px; right: -40px; width: 400px; height: 400px;
  background: radial-gradient(circle, oklch(0.55 0.22 280 / 0.55), transparent 65%);
}
.feat-img .art {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 40px;
}
.feat-img .bar {
  width: 38px; border-radius: 8px;
  background: linear-gradient(to top, var(--brand), var(--brand2));
  opacity: 0.9; align-self: end;
  box-shadow: 0 10px 30px -10px oklch(0.55 0.22 280 / 0.6);
}
.feat-meta { display: flex; flex-direction: column; justify-content: center; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.feat-meta h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.1;
  margin-bottom: 18px; text-wrap: pretty;
}
.feat-meta h2 a { color: var(--ink); }
.feat-meta .excerpt { font-size: 16px; color: var(--ink2); line-height: 1.6; margin-bottom: 24px; text-wrap: pretty; }
.author { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink3); }
.author .av {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), oklch(0.6 0.24 310));
  color: white; display: grid; place-items: center; font-weight: 700; font-size: 12px;
}
.author .n { font-weight: 600; color: var(--ink2); }

.blog-toolbar {
  display: flex; gap: 10px; flex-wrap: wrap;
  background: white; border: 1px solid var(--border); border-radius: 100px;
  padding: 6px; margin-bottom: 32px;
}
.bt-chip {
  padding: 10px 18px; border-radius: 100px; font-size: 13px; font-weight: 600;
  border: none; background: transparent; color: var(--ink2); cursor: pointer;
  font-family: inherit; transition: all .2s;
}
.bt-chip:hover { color: var(--ink); }
.bt-chip.active { background: var(--ink); color: white; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post {
  background: white; border: 1px solid var(--border); border-radius: 20px;
  overflow: hidden; transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.post:hover { transform: translateY(-4px); box-shadow: 0 28px 48px -24px oklch(0.25 0.1 280 / 0.25); }
.post-thumb {
  aspect-ratio: 16/10;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.post-thumb .glyph {
  font-family: 'Fraunces', serif;
  font-size: 96px; font-weight: 600;
  opacity: 0.95; color: white; letter-spacing: -0.05em;
}
.p1 { background: linear-gradient(135deg, oklch(0.65 0.22 280), oklch(0.55 0.24 310)); }
.p2 { background: linear-gradient(135deg, oklch(0.7 0.18 55), oklch(0.65 0.2 30)); }
.p3 { background: linear-gradient(135deg, oklch(0.65 0.18 155), oklch(0.6 0.2 200)); }
.p4 { background: var(--dark); }
.p5 { background: linear-gradient(135deg, oklch(0.7 0.17 10), oklch(0.6 0.2 340)); }
.p6 { background: linear-gradient(135deg, oklch(0.68 0.15 240), oklch(0.55 0.2 270)); }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post .tag { margin-bottom: 10px; }
.post h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2;
  margin-bottom: 12px; text-wrap: pretty;
}
.post h3 a { color: var(--ink); }
.post .ex { font-size: 14px; color: var(--ink2); line-height: 1.55; margin-bottom: 18px; flex: 1; text-wrap: pretty; }
.post .foot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--ink3); }

.newsletter {
  margin-top: 72px;
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  border-radius: 28px; padding: 56px; color: white; position: relative; overflow: hidden;
  text-align: center;
}
.newsletter::before { content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(ellipse, oklch(0.55 0.22 280 / 0.45), transparent 65%); }
.newsletter > * { position: relative; }
.newsletter h3 { font-family: 'Fraunces', serif; font-size: 36px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 12px; }
.newsletter p { font-size: 16px; color: oklch(1 0 0 / 0.75); margin-bottom: 24px; max-width: 440px; margin-left: auto; margin-right: auto; }
.news-form { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
.news-form input {
  flex: 1; padding: 14px 20px; border-radius: 100px;
  border: 1px solid oklch(1 0 0 / 0.2);
  background: oklch(1 0 0 / 0.08); color: white; outline: none;
  font-family: inherit; font-size: 14px;
}
.news-form input::placeholder { color: oklch(1 0 0 / 0.5); }

@media (max-width: 900px) {
  .blog-wrap { padding: 0 20px 80px; }
  .featured, .posts-grid { grid-template-columns: 1fr; }
  .newsletter { padding: 36px 22px; }
  .news-form { flex-direction: column; }
  .news-form .btn { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .featured { padding: 24px 20px; }
  .newsletter h3 { font-size: 28px; }
}
