/* ============================================================
   VidVisual — blog.css (blog index + post pages)
   ============================================================ */

.blog-index {
  max-width: 1150px;
  margin: 0 auto;
  padding: clamp(110px, 15vh, 150px) clamp(18px, 5vw, 40px) 60px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 22px;
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 84, 112, .45);
  background: rgba(255, 0, 51, .05);
}
.blog-card time {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.blog-card h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-card p {
  color: var(--muted);
  font-size: 14px;
  flex: 1;
}
.blog-card__more {
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red-2);
}
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- single post ---------- */
.post { text-align: left; }
.post__head {
  text-align: center;
  margin-bottom: 44px;
}
.post__back {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 22px;
}
.post__back:hover { color: var(--red-2); }
.post__head h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  max-width: 820px;
  margin: 0 auto;
}
.post__meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 16px;
}
.post__body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.75;
  color: #cfcfd8;
}
.post__body h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 44px 0 14px;
}
.post__body h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin: 30px 0 10px;
}
.post__body p { margin-bottom: 16px; }
.post__body strong { color: var(--text); font-weight: 600; }
.post__body a { color: var(--red-2); font-weight: 500; }
.post__body a:hover { text-decoration: underline; }
.post__body ul, .post__body ol {
  margin: 0 0 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.post__body li::marker { color: var(--red-2); }
.post__more {
  max-width: 720px;
  margin: 60px auto 0;
  border-top: 1px solid var(--border);
  padding-top: 36px;
}
.post__more h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  margin-bottom: 18px;
}
.post__more-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post__more-links a {
  color: var(--muted);
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s ease, color .2s ease;
}
.post__more-links a:hover {
  color: var(--text);
  border-color: rgba(255, 84, 112, .45);
}
