/* ===== BLOG POST — SHARED STYLES ===== */

/* Post Hero */
.post-hero {
  margin-top: 72px;
  background: var(--bg-accent-light);
  padding: 80px 0 64px;
  text-align: center;
}
.post-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  max-width: 700px;
  margin: 0 auto 20px;
}
.post-meta {
  font-size: 15px;
  color: var(--text-light);
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 768px) {
  .post-hero { padding: 48px 0 40px; }
}

/* Article Content */
.post-content {
  padding: 64px 0;
}
.post-content h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-top: 48px;
  margin-bottom: 16px;
}
.post-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
}
.post-content p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.post-content ul,
.post-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.post-content li {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 8px;
}
.post-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin: 32px 0;
  font-size: 18px;
  font-style: italic;
  color: var(--text-heading);
  line-height: 1.7;
}
.post-content a {
  color: var(--accent);
  text-decoration: underline;
}
.post-content a:hover {
  color: var(--accent-hover);
}
.post-content img {
  width: 100%;
  border-radius: var(--radius);
  margin: 32px 0;
}
.post-content strong {
  color: var(--text-heading);
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  overflow-x: auto;
  display: block;
}
.post-content thead th {
  background: var(--bg-accent-light);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.post-content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.post-content tbody tr:hover {
  background: var(--bg-accent-light);
}

/* Author Section */
.post-author {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.post-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.post-author-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
}
.post-author-role {
  font-size: 14px;
  color: var(--text-light);
}

/* Cover Image / Video */
.post-cover {
  width: 100%;
  border-radius: var(--radius);
  margin: 24px 0 32px;
}
.post-video {
  position: relative;
  padding-bottom: 56.25%;
  margin: 24px 0 32px;
  border-radius: var(--radius);
  overflow: hidden;
}
.post-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Back to Blog */
.post-back {
  margin-bottom: 0;
}
.post-back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}
.post-back a:hover {
  gap: 10px;
}
