/* ==========================================================================
   ZENEROM UAE - SINGLE BLOG ARTICLE STYLESHEET (css/blog-single.css)
   ========================================================================== */

/* Reading Progress Bar */
.blog-reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--brand-flamingo, #f26934);
  width: 0%;
  z-index: 99999;
  transition: width 0.08s ease-out;
}

.blog-single-page {
  background-color: var(--blog-bg-light, #faf9f6);
  color: #1e293b;
}

.blog-single-hero {
  padding-top: 140px;
  padding-bottom: 40px;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-single-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.blog-single-header-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.blog-single-title {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--black-900, #0a0a0a);
  margin: 0 0 1.75rem;
  max-width: 980px;
}

.blog-single-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
}

.blog-single-author-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.blog-single-author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #f1f5f9;
}

.blog-single-author-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black-900, #0a0a0a);
}

.blog-single-author-sub {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.15rem;
}

/* Featured Hero Image */
.blog-single-featured-img-wrap {
  margin: 2.5rem 0;
  border-radius: 20px;
  overflow: hidden;
  max-height: 520px;
  background: #f1f5f9;
}

.blog-single-featured-img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* Article Layout Grid (TOC Sidebar + Content) */
.blog-single-body-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
  padding: 50px 0 80px;
}

/* Sticky TOC Sidebar */
.blog-single-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-toc-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.5rem;
}

.blog-toc-title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-flamingo, #f26934);
  margin: 0 0 1rem;
}

.blog-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.blog-toc-link {
  font-size: 0.875rem;
  color: #64748b;
  text-decoration: none;
  line-height: 1.4;
  display: block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.blog-toc-link:hover,
.blog-toc-link.is-active {
  color: var(--brand-flamingo, #f26934);
  transform: translateX(3px);
  font-weight: 600;
}

.blog-sidebar-cta {
  background: #0d0f12;
  color: #ffffff;
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.blog-sidebar-cta h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #ffffff;
}

.blog-sidebar-cta p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #94a3b8;
  margin: 0 0 1.25rem;
}

.blog-sidebar-wa-btn {
  display: block;
  background: var(--brand-flamingo, #f26934);
  color: #ffffff;
  padding: 0.65rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.blog-sidebar-wa-btn:hover {
  background: #f28255;
  color: #ffffff;
}

/* Article Main Content */
.blog-article-content {
  background: #ffffff;
  border-radius: 24px;
  padding: 3.5rem;
  font-size: 1.1rem;
  line-height: 1.85;
  color: #334155;
}

.blog-article-content h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 750;
  color: #0a0a0a;
  margin: 2.5rem 0 1.25rem;
  letter-spacing: -0.02em;
  scroll-margin-top: 110px;
}

.blog-article-content h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 700;
  color: #0a0a0a;
  margin: 2rem 0 1rem;
  scroll-margin-top: 110px;
}

.blog-article-content p {
  margin: 0 0 1.5rem;
}

.blog-article-content ul,
.blog-article-content ol {
  padding-left: 1.75rem;
  margin: 0 0 1.75rem;
}

.blog-article-content li {
  margin-bottom: 0.65rem;
}

.blog-article-content blockquote {
  border-left: 4px solid var(--brand-flamingo, #f26934);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  background: #f8fafc;
  border-radius: 0 16px 16px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: #1e293b;
}

.blog-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 2rem 0;
  display: block;
}

/* Related Articles Section */
.blog-related-section {
  padding: 60px 0 90px;
  background-color: var(--blog-bg-light, #faf9f6);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

@media screen and (max-width: 991px) {
  .blog-single-body-layout {
    grid-template-columns: 1fr;
  }
  .blog-single-sidebar {
    position: static;
  }
  .blog-article-content {
    padding: 2.25rem 1.75rem;
  }
}
