/* Blog index */
.blog-hero {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  padding: 140px 20px 80px;
  text-align: center;
}
.blog-hero h1 { color: #fff; font-size: clamp(2rem,5vw,3rem); font-weight: 900; margin-bottom: 12px; }
.blog-hero p { color: rgba(255,255,255,0.9); font-size: 1.1rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1120px;
  margin: 64px auto;
  padding: 0 24px 96px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.blog-card__cover {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
}
.blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card__tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  background: var(--purple-light); color: var(--purple-dark);
  padding: 4px 10px; border-radius: 50px; margin-bottom: 12px;
}
.blog-card__title { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-bottom: 8px; line-height: 1.3; }
.blog-card__excerpt { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.blog-card__meta { margin-top: 16px; font-size: 0.8rem; color: var(--text-muted); }

/* Article */
.article-hero {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  padding: 140px 20px 80px;
  text-align: center;
}
.article-hero h1 { color: #fff; font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 900; margin-bottom: 16px; max-width: 800px; margin-inline: auto; }
.article-hero .meta { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}
.article-body h2 { font-size: 1.6rem; font-weight: 800; color: var(--text); margin: 48px 0 16px; padding-bottom: 12px; border-bottom: 3px solid var(--purple); }
.article-body h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 32px 0 12px; }
.article-body p { font-size: 1.05rem; line-height: 1.8; color: #444; margin-bottom: 20px; }
.article-body ul { margin: 16px 0 20px; padding-left: 0; list-style: none; }
.article-body ul li { font-size: 1.05rem; line-height: 1.8; color: #555; margin-bottom: 10px; padding-left: 28px; position: relative; }
.article-body ul li::before { content: "▸"; position: absolute; left: 8px; color: var(--purple); font-weight: bold; }
.article-body strong { color: var(--text); font-weight: 700; }
.article-body a { color: var(--purple); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s; }
.article-body a:hover { border-bottom-color: var(--purple); }

.article-cta {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin: 48px 0;
}
.article-cta h3 { color: #fff; font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.article-cta p { color: rgba(255,255,255,0.9); margin-bottom: 20px; }

@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; } }
