/* ══════════════════════════════════════
   FASTWMS — Blog
   ══════════════════════════════════════ */

.blog-hero {
  padding: 72px 0 48px;
  text-align: center;
}
.blog-hero .sec-h { margin-bottom: 12px; }
.blog-hero .sec-sub { margin-bottom: 0; }

.blog-list {
  padding: 0 0 100px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid #E8E8E8;
  border-radius: 16px;
  padding: 26px 24px 24px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.blog-card-img {
  width: calc(100% + 48px);
  max-width: none;
  height: 168px;
  object-fit: cover;
  margin: -26px -24px 16px;
}
.blog-card:hover {
  border-color: #CCC;
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #888;
  margin-bottom: 12px;
}
.blog-card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7c3aed;
}
.blog-card-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.4px;
  line-height: 1.25;
  color: #111;
  margin-bottom: 10px;
}
.blog-card-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.blog-card-more {
  font-size: 13px;
  font-weight: 700;
  color: #111;
}
.blog-empty {
  text-align: center;
  padding: 64px 24px;
  border: 1.5px dashed #E0E0E0;
  border-radius: 16px;
  color: #888;
}

.blog-post-wrap { padding: 40px 0 80px; }
.blog-bc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #888;
  margin-bottom: 28px;
}
.blog-bc a:hover { color: #111; }
.blog-bc-sep { color: #D0D0D0; }
.blog-article { max-width: 760px; margin: 0 auto; }
.blog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7c3aed;
  background: #f5f3ff;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.blog-article h1 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1.4px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.blog-cover {
  width: 100%;
  border-radius: 16px;
  margin: 8px 0 28px;
  border: 1.5px solid #E8E8E8;
}
.blog-cover.is-zoomable,
.post-content img.is-zoomable {
  cursor: zoom-in;
}
.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #888;
  margin-bottom: 36px;
  padding-bottom: 22px;
  border-bottom: 1px solid #EBEBEB;
}
.listen-bar { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.listen-bar[hidden] { display: none; }
.listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 10px;
  border: 1.5px solid #E8E8E8;
  background: #fff;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}
.listen-btn:hover { border-color: #7c3aed; color: #7c3aed; }
.listen-btn.is-on { background: #f5f3ff; border-color: #7c3aed; color: #7c3aed; }
.listen-btn .listen-pause { display: none; }
.listen-btn.is-on .listen-play { display: none; }
.listen-btn.is-on .listen-pause { display: block; }
.listen-stop {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  font-family: inherit;
}
.listen-stop:hover { color: #111; }
.listen-rate-wrap { display: inline-flex; align-items: center; }
.listen-rate {
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid #E8E8E8;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 8px center;
  border-radius: 100px;
  padding: 6px 26px 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}
.listen-rate:hover { border-color: #7c3aed; color: #7c3aed; }
.post-content { font-size: 17px; line-height: 1.75; color: #222; }
.post-content > *:first-child { margin-top: 0; }
.post-content h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.6px;
  margin: 40px 0 14px;
  line-height: 1.25;
}
.post-content h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.4px;
  margin: 32px 0 12px;
}
.post-content p { margin: 0 0 16px; }
.post-content ul, .post-content ol {
  margin: 0 0 18px;
  padding-left: 22px;
  list-style: disc;
}
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 8px; }
.post-content a { color: #111; font-weight: 600; border-bottom: 1.5px solid #7c3aed; }
.post-content a:hover { color: #7c3aed; }
.post-content img {
  border-radius: 14px;
  margin: 24px 0;
  border: 1.5px solid #E8E8E8;
}
.post-content blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  background: #F8F9FA;
  border-left: 3px solid #7c3aed;
  border-radius: 0 12px 12px 0;
  color: #333;
}
.post-content strong { font-weight: 700; }

.blog-cta {
  margin-top: 48px;
  background: #111;
  color: #fff;
  border-radius: 18px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.blog-cta h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin: 0 0 6px;
}
.blog-cta p { margin: 0; color: #999; font-size: 14px; }
.blog-cta .btn-dark { background: #fff; color: #111; }
.blog-cta .btn-dark:hover { background: #F3F4F4; }

.legal-doc { padding: 0 0 96px; }
.legal-doc .sec-inner { max-width: 760px; }
.legal-doc h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.4px;
  margin: 32px 0 12px;
}
.legal-doc p, .legal-doc li {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}
.legal-doc p { margin: 0 0 14px; }
.legal-doc ul { margin: 0 0 16px; padding-left: 22px; }
.legal-doc li { margin-bottom: 8px; }
.legal-doc a { color: #111; font-weight: 600; border-bottom: 1.5px solid #7c3aed; }

.blog-related { padding: 0 0 90px; }
.blog-related .sec-h { text-align: left; font-size: 28px; margin-bottom: 24px; }

@media (max-width: 768px) {
  .blog-hero { padding: 40px 0 28px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-article h1 { font-size: 30px; letter-spacing: -1px; }
  .listen-bar { margin-left: 0; width: 100%; }
  .post-content { font-size: 16px; }
  .post-content h2 { font-size: 22px; }
  .blog-cta { flex-direction: column; align-items: flex-start; padding: 24px; }
}
