/* ══════════════════════════════════════
   BLOG POST PAGE
══════════════════════════════════════ */

.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.post-breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color .15s; }
.post-breadcrumb a:hover { color: var(--accent); }
.post-breadcrumb span { color: var(--text-secondary); }

/* Article header */

.post-header { margin-bottom: 24px; }
.post-cat-badge {
  display: inline-block;
  background: rgba(232,51,74,.12);
  border: 1px solid rgba(232,51,74,.3);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.post-title {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: 1px;
  margin: 0 0 16px 0;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.post-meta-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.post-meta-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-hover);
  overflow: hidden;
  flex-shrink: 0;
}
.post-meta-avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-meta-author strong { color: var(--text-secondary); }
.post-meta-divider { width: 1px; height: 14px; background: var(--border-light); }

/* Hero image */

.post-hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  aspect-ratio: 16/7;
}
.post-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.post-hero-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 8px 14px;
  font-size: 11px;
  color: rgba(255,255,255,.6);
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
}

/* Article body */

.post-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 720px;
}
.post-body h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-primary);
  letter-spacing: 1px;
  margin: 32px 0 12px;
}
.post-body h3 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-primary);
  letter-spacing: .5px;
  margin: 24px 0 8px;
}
.post-body p { margin: 0 0 16px; }
.post-body a { color: var(--accent); text-decoration: none; }
.post-body a:hover { text-decoration: underline; }
.post-body strong { color: var(--text-primary); font-weight: 600; }
.post-body em { font-style: italic; color: var(--text-primary); }
.post-body blockquote {
  border-left: 3px solid var(--accent);
  margin: 24px 0;
  padding: 12px 20px;
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-primary);
  font-size: 15px;
}
.post-body ul, .post-body ol {
  margin: 0 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.post-body ul li::marker { color: var(--accent); }

/* Inline post image */

.post-img-block {
  margin: 24px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.post-img-block img {
  width: 100%;
  display: block;
}
.post-img-block figcaption {
  padding: 8px 14px;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-card);
  text-align: center;
}

/* In-article ad */

.post-ad-block {
  margin: 28px 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 8px;
}
.post-ad-block .ad-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 5px 0 4px;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.post-ad-block .ad-banner-holder {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 90px;
}

/* Tags */

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 28px 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.post-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  background: var(--bg-hover);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}
.post-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Share bar */

.post-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.post-share-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.post-share-btn {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  background: var(--bg-hover);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.post-share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Author box */

.post-author-box {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 32px;
}
.post-author-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-hover);
}
.post-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-author-info { flex: 1; }
.post-author-name {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-primary);
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.post-author-bio { font-size: 12px; color: var(--text-secondary); line-height: 1.65; }

/* Related posts */

.post-related { margin-bottom: 32px; }
.post-related-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.post-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.post-related-card {
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.post-related-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.post-related-img {
  aspect-ratio: 5/3;
  overflow: hidden;
}
.post-related-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.post-related-card:hover .post-related-img img { transform: scale(1.05); }
.post-related-body { padding: 10px 12px 12px; }
.post-related-body h4 {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-primary);
  margin: 0 0 4px;
  line-height: 1.3;
}
.post-related-body span { font-size: 11px; color: var(--text-muted); }