/*
 * Project-added public-site styles — kept separate from the vendored theme/assets/css/style.css (same
 * convention as the admin panel's own public/backend/vendor/css/dashboard.css). Covers the blog details
 * page, which the purchased theme's source HTML never included a template for (see cms-project/frontend.md).
 */

/* Hero meta row (publish date / read time) on the blog details page — .blog-meta's default gray-400 text
   is tuned for a white card body, not the dark, image-backed hero; lighten it to match .inner-hero-desc's
   own contrast treatment for the same background. */
.blog-meta-hero {
  justify-content: center;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.blog-meta-hero i {
  color: var(--accent);
}

.blog-category-hero {
  display: inline-block;
  margin-top: 8px;
}

/* Article body — CKEditor's sanitised output (see Http\Backend\Blogs\Api\BlogController::ALLOWED_TAGS)
   has no matching typography in the purchased theme, which only styles card excerpts, not full articles. */
.blog-article-content {
  color: var(--gray-800);
  font-size: 1.0625rem;
  line-height: 1.9;
}

.blog-article-content p {
  margin-bottom: 1.5em;
}

.blog-article-content h1,
.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4,
.blog-article-content h5,
.blog-article-content h6 {
  font-family: var(--font-display);
  color: var(--primary);
  margin: 1.75em 0 0.75em;
  line-height: 1.3;
}

.blog-article-content h1 { font-size: 1.9rem; }
.blog-article-content h2 { font-size: 1.6rem; }
.blog-article-content h3 { font-size: 1.35rem; }
.blog-article-content h4,
.blog-article-content h5,
.blog-article-content h6 { font-size: 1.15rem; }

.blog-article-content ul,
.blog-article-content ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.blog-article-content li {
  margin-bottom: 0.5em;
}

.blog-article-content a {
  color: var(--accent);
  text-decoration: underline;
}

.blog-article-content a:hover {
  color: var(--accent-hover);
}

.blog-article-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.5em 0 0.5em 1.5em;
  margin: 1.75em 0;
  color: var(--gray-600);
  font-style: italic;
}

.blog-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 1.5em 0;
}

/* Related-posts slider — reuses .blog-card as-is; only the slide wrapper needs a touch of bottom padding
   so the card's own box-shadow isn't clipped by the swiper's overflow. */
.related-blogs-swiper {
  padding-bottom: 8px;
}
