/* ══════════════════════════════════════════════════════════
   Blog Styles — Archive + Single Post
   BEM blocks: .jbz-blog, .jbz-blog-card, .jbz-single-post
   ══════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────
   A. Blog Archive — .jbz-blog
   ────────────────────────────────────── */

.jbz-blog {
  padding-bottom: var(--jbz-space-20);
}

/* Hero Header */
.jbz-blog__hero {
  background: var(--jbz-dark);
  padding: var(--jbz-space-16) 0 var(--jbz-space-12);
  margin-bottom: var(--jbz-space-12);
  position: relative;
  overflow: hidden;
}

.jbz-blog__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/patterns/geometric-star.svg') repeat;
  opacity: 0.04;
  pointer-events: none;
}

.jbz-blog__hero-inner {
  position: relative;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.jbz-blog__title {
  font-family: var(--jbz-font-heading);
  font-size: var(--jbz-font-size-5xl);
  font-weight: 700;
  line-height: var(--jbz-line-height-heading);
  color: var(--jbz-white);
  margin: 0 0 var(--jbz-space-4);
}

.jbz-blog__title-accent {
  color: var(--jbz-secondary);
}

.jbz-blog__description {
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 32rem;
  margin: 0 auto var(--jbz-space-6);
  line-height: var(--jbz-line-height-body);
}

.jbz-blog__count {
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-sm);
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Category Filter Tabs */
.jbz-blog__filters {
  display: flex;
  justify-content: center;
  gap: var(--jbz-space-2);
  margin-bottom: var(--jbz-space-10);
  flex-wrap: wrap;
  padding: 0 var(--jbz-space-4);
}

.jbz-blog__filter {
  display: inline-flex;
  align-items: center;
  padding: var(--jbz-space-2) var(--jbz-space-5);
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-sm);
  font-weight: 500;
  color: var(--jbz-grey-700);
  background: var(--jbz-white);
  border: 1px solid var(--jbz-grey-200);
  border-radius: var(--jbz-radius-full);
  text-decoration: none;
  transition:
    background var(--jbz-transition-fast),
    color var(--jbz-transition-fast),
    border-color var(--jbz-transition-fast),
    box-shadow var(--jbz-transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.jbz-blog__filter:hover {
  background: var(--jbz-grey-100);
  border-color: var(--jbz-grey-300);
  color: var(--jbz-dark);
}

.jbz-blog__filter--active,
.jbz-blog__filter--active:hover {
  background: var(--jbz-dark);
  border-color: var(--jbz-dark);
  color: var(--jbz-white);
}

.jbz-blog__filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  margin-left: var(--jbz-space-2);
  padding: 0 var(--jbz-space-1);
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: var(--jbz-radius-full);
  background: var(--jbz-grey-200);
  color: var(--jbz-grey-700);
}

.jbz-blog__filter--active .jbz-blog__filter-count {
  background: rgba(255, 255, 255, 0.2);
  color: var(--jbz-white);
}

/* Grid */
.jbz-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--jbz-space-8);
  margin-bottom: var(--jbz-space-12);
}

/* Featured (first) post — spans full width */
.jbz-blog__grid--has-featured .jbz-blog-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--jbz-space-6);
  align-items: center;
}

.jbz-blog__grid--has-featured .jbz-blog-card:first-child .jbz-blog-card__image-link {
  border-radius: var(--jbz-radius-lg);
}

.jbz-blog__grid--has-featured .jbz-blog-card:first-child .jbz-blog-card__body {
  justify-content: center;
  padding: var(--jbz-space-4) 0;
}

.jbz-blog__grid--has-featured .jbz-blog-card:first-child .jbz-blog-card__title {
  font-size: var(--jbz-font-size-3xl);
}

.jbz-blog__grid--has-featured .jbz-blog-card:first-child .jbz-blog-card__excerpt {
  font-size: var(--jbz-font-size-base);
  -webkit-line-clamp: 4;
}

/* No Results */
.jbz-blog__empty {
  text-align: center;
  padding: var(--jbz-space-20) 0;
}

.jbz-blog__empty-title {
  font-family: var(--jbz-font-heading);
  font-size: var(--jbz-font-size-2xl);
  font-weight: 700;
  color: var(--jbz-dark);
  margin: 0 0 var(--jbz-space-3);
}

.jbz-blog__empty-text {
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-base);
  color: var(--jbz-grey-500);
  margin: 0 0 var(--jbz-space-6);
}

/* Pagination */
.jbz-blog .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--jbz-space-2);
  flex-wrap: wrap;
}

.jbz-blog .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 var(--jbz-space-3);
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-sm);
  font-weight: 600;
  color: var(--jbz-grey-700);
  text-decoration: none;
  background: var(--jbz-white);
  border: 1px solid var(--jbz-grey-200);
  border-radius: var(--jbz-radius-md);
  transition:
    background var(--jbz-transition-fast),
    color var(--jbz-transition-fast),
    border-color var(--jbz-transition-fast);
}

.jbz-blog .page-numbers:hover {
  background: var(--jbz-grey-100);
  border-color: var(--jbz-grey-300);
  color: var(--jbz-dark);
}

.jbz-blog .page-numbers.current {
  background: var(--jbz-dark);
  border-color: var(--jbz-dark);
  color: var(--jbz-white);
}

.jbz-blog .page-numbers.dots {
  border: none;
  background: none;
  cursor: default;
  min-width: auto;
}

.jbz-blog .page-numbers.prev,
.jbz-blog .page-numbers.next {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ──────────────────────────────────────
   B. Blog Card — .jbz-blog-card
   ────────────────────────────────────── */

.jbz-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--jbz-white);
  border-radius: var(--jbz-radius-lg);
  overflow: hidden;
  border: 1px solid var(--jbz-grey-200);
  transition:
    box-shadow var(--jbz-transition-fast),
    transform var(--jbz-transition-fast);
}

.jbz-blog-card:hover {
  box-shadow: var(--jbz-shadow-lg);
  transform: translateY(-2px);
}

.jbz-blog-card__image-link {
  display: block;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

.jbz-blog-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.jbz-blog-card__image--placeholder {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--jbz-dark), var(--jbz-primary));
}

.jbz-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.jbz-blog-card:hover .jbz-blog-card__img {
  transform: scale(1.06);
}

.jbz-blog-card__badges {
  position: absolute;
  top: var(--jbz-space-3);
  left: var(--jbz-space-3);
  display: flex;
  gap: var(--jbz-space-2);
  z-index: 1;
}

.jbz-blog-card__badge {
  display: inline-block;
  padding: var(--jbz-space-1) var(--jbz-space-3);
  font-family: var(--jbz-font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--jbz-white);
  background: var(--jbz-primary);
  border-radius: var(--jbz-radius-sm);
  line-height: 1.4;
}

.jbz-blog-card__badge--wedding-trends { background: var(--jbz-baraat-red); }
.jbz-blog-card__badge--bridal-guides { background: var(--jbz-dark); }
.jbz-blog-card__badge--styling-tips { background: #7C3AED; }
.jbz-blog-card__badge--occasion-wear { background: var(--jbz-mehndi-green); }
.jbz-blog-card__badge--fabric { background: #B45309; }
.jbz-blog-card__badge--manchester { background: #0369A1; }

.jbz-blog-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--jbz-space-5) var(--jbz-space-5) var(--jbz-space-6);
}

.jbz-blog-card__date {
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-xs);
  color: var(--jbz-grey-500);
  margin-bottom: var(--jbz-space-2);
}

.jbz-blog-card__title {
  font-family: var(--jbz-font-heading);
  font-size: var(--jbz-font-size-lg);
  font-weight: 700;
  line-height: var(--jbz-line-height-heading);
  margin: 0 0 var(--jbz-space-3);
}

.jbz-blog-card__title a {
  color: var(--jbz-dark);
  text-decoration: none;
  transition: color var(--jbz-transition-fast);
}

.jbz-blog-card__title a:hover {
  color: var(--jbz-primary);
}

.jbz-blog-card__excerpt {
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-sm);
  color: var(--jbz-grey-500);
  line-height: var(--jbz-line-height-body);
  margin: 0 0 var(--jbz-space-4);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jbz-blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--jbz-space-4);
  border-top: 1px solid var(--jbz-grey-100);
}

.jbz-blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--jbz-space-2);
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-xs);
  color: var(--jbz-grey-500);
}

.jbz-blog-card__separator {
  color: var(--jbz-grey-300);
}

.jbz-blog-card__read-more {
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-sm);
  font-weight: 600;
  color: var(--jbz-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--jbz-space-1);
  transition: gap var(--jbz-transition-fast);
}

.jbz-blog-card__read-more:hover {
  gap: var(--jbz-space-2);
}

.jbz-blog-card__read-more svg {
  transition: transform var(--jbz-transition-fast);
}

.jbz-blog-card__read-more:hover svg {
  transform: translateX(2px);
}

/* ──────────────────────────────────────
   C. Single Post — .jbz-single-post
   ────────────────────────────────────── */

/* Reading Progress Bar */
.jbz-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--jbz-primary), var(--jbz-secondary));
  z-index: 9990;
  transition: width 50ms linear;
}

.jbz-single-post {
  padding-bottom: var(--jbz-space-20);
}

/* Hero Header */
.jbz-single-post__hero {
  background: var(--jbz-dark);
  padding: var(--jbz-space-12) 0 var(--jbz-space-16);
  margin-bottom: var(--jbz-space-12);
  position: relative;
  overflow: hidden;
}

.jbz-single-post__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/patterns/geometric-star.svg') repeat;
  opacity: 0.04;
  pointer-events: none;
}

.jbz-single-post__hero-inner {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

/* Categories */
.jbz-single-post__categories {
  display: flex;
  justify-content: center;
  gap: var(--jbz-space-2);
  margin-bottom: var(--jbz-space-5);
  flex-wrap: wrap;
}

.jbz-single-post__category {
  display: inline-block;
  padding: var(--jbz-space-1) var(--jbz-space-4);
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--jbz-white);
  background: var(--jbz-primary);
  border-radius: var(--jbz-radius-full);
  text-decoration: none;
  line-height: 1.4;
  transition: background var(--jbz-transition-fast);
}

.jbz-single-post__category:hover {
  background: var(--jbz-primary-hover);
  color: var(--jbz-white);
}

.jbz-single-post__title {
  font-family: var(--jbz-font-heading);
  font-size: var(--jbz-font-size-5xl);
  font-weight: 700;
  line-height: var(--jbz-line-height-heading);
  color: var(--jbz-white);
  margin: 0 0 var(--jbz-space-6);
}

.jbz-single-post__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--jbz-space-3);
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
}

.jbz-single-post__meta-separator {
  color: rgba(255, 255, 255, 0.3);
}

.jbz-single-post__author-link {
  color: var(--jbz-white);
  font-weight: 600;
  text-decoration: none;
}

.jbz-single-post__author-link:hover {
  color: var(--jbz-secondary);
}

/* Share Buttons (in hero) */
.jbz-single-post__share {
  display: flex;
  justify-content: center;
  gap: var(--jbz-space-3);
  margin-top: var(--jbz-space-6);
}

.jbz-single-post__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--jbz-radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--jbz-white);
  text-decoration: none;
  transition: background var(--jbz-transition-fast), transform var(--jbz-transition-fast);
}

.jbz-single-post__share-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.jbz-single-post__share-btn--whatsapp:hover { background: #128C7E; }
.jbz-single-post__share-btn--pinterest:hover { background: #E60023; }
.jbz-single-post__share-btn--facebook:hover { background: #1877F2; }
.jbz-single-post__share-btn--x:hover { background: #000; }

/* Featured Image */
.jbz-single-post__featured {
  max-width: 56rem;
  margin: -4rem auto var(--jbz-space-10);
  border-radius: var(--jbz-radius-xl);
  overflow: hidden;
  box-shadow: var(--jbz-shadow-xl);
  position: relative;
  z-index: 1;
}

.jbz-single-post__featured img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Layout: Content + TOC Sidebar */
.jbz-single-post__layout {
  display: grid;
  grid-template-columns: 1fr 16rem;
  gap: var(--jbz-space-12);
  max-width: 60rem;
  margin: 0 auto;
  align-items: start;
}

/* Table of Contents */
.jbz-single-post__toc {
  position: sticky;
  top: 6rem;
  padding: var(--jbz-space-5);
  background: var(--jbz-grey-100);
  border-radius: var(--jbz-radius-lg);
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
}

.jbz-single-post__toc-title {
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--jbz-grey-500);
  margin: 0 0 var(--jbz-space-3);
}

.jbz-single-post__toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jbz-single-post__toc-list li {
  margin-bottom: var(--jbz-space-1);
}

.jbz-single-post__toc-list a {
  display: block;
  padding: var(--jbz-space-1) var(--jbz-space-2);
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-xs);
  color: var(--jbz-grey-700);
  text-decoration: none;
  border-radius: var(--jbz-radius-sm);
  border-left: 2px solid transparent;
  transition: all var(--jbz-transition-fast);
  line-height: 1.4;
}

.jbz-single-post__toc-list a:hover,
.jbz-single-post__toc-list a.active {
  color: var(--jbz-primary);
  background: var(--jbz-white);
  border-left-color: var(--jbz-primary);
}

.jbz-single-post__toc-list .toc-h3 {
  padding-left: var(--jbz-space-5);
  font-size: 0.6875rem;
}

/* Content / Prose */
.jbz-single-post__content {
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-lg);
  line-height: 1.8;
  color: var(--jbz-grey-700);
}

.jbz-single-post__content p {
  margin-bottom: var(--jbz-space-6);
}

.jbz-single-post__content > p:first-child::first-letter {
  float: left;
  font-family: var(--jbz-font-heading);
  font-size: 3.5em;
  line-height: 0.8;
  font-weight: 700;
  color: var(--jbz-primary);
  margin-right: 0.08em;
  margin-top: 0.05em;
}

.jbz-single-post__content h2 {
  font-family: var(--jbz-font-heading);
  font-size: var(--jbz-font-size-3xl);
  font-weight: 700;
  color: var(--jbz-dark);
  margin: var(--jbz-space-12) 0 var(--jbz-space-4);
  line-height: var(--jbz-line-height-heading);
  scroll-margin-top: 5rem;
}

.jbz-single-post__content h3 {
  font-family: var(--jbz-font-heading);
  font-size: var(--jbz-font-size-2xl);
  font-weight: 700;
  color: var(--jbz-dark);
  margin: var(--jbz-space-10) 0 var(--jbz-space-3);
  line-height: var(--jbz-line-height-heading);
  scroll-margin-top: 5rem;
}

.jbz-single-post__content h4 {
  font-family: var(--jbz-font-heading);
  font-size: var(--jbz-font-size-xl);
  font-weight: 700;
  color: var(--jbz-dark);
  margin: var(--jbz-space-8) 0 var(--jbz-space-3);
}

.jbz-single-post__content ul,
.jbz-single-post__content ol {
  margin-bottom: var(--jbz-space-6);
  padding-left: var(--jbz-space-6);
}

.jbz-single-post__content li {
  margin-bottom: var(--jbz-space-2);
}

.jbz-single-post__content blockquote {
  margin: var(--jbz-space-8) 0;
  padding: var(--jbz-space-6) var(--jbz-space-8);
  border-left: 4px solid var(--jbz-secondary);
  background: var(--jbz-light);
  border-radius: 0 var(--jbz-radius-lg) var(--jbz-radius-lg) 0;
  font-style: italic;
  color: var(--jbz-grey-700);
}

.jbz-single-post__content blockquote p:last-child {
  margin-bottom: 0;
}

.jbz-single-post__content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--jbz-radius-lg);
  margin: var(--jbz-space-4) 0;
}

.jbz-single-post__content a {
  color: var(--jbz-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--jbz-transition-fast);
}

.jbz-single-post__content a:hover {
  color: var(--jbz-primary-hover);
}

.jbz-single-post__content figure {
  margin: var(--jbz-space-8) 0;
}

.jbz-single-post__content figcaption {
  font-size: var(--jbz-font-size-sm);
  color: var(--jbz-grey-500);
  text-align: center;
  margin-top: var(--jbz-space-2);
}

/* Tags */
.jbz-single-post__tags {
  margin: var(--jbz-space-10) 0;
  display: flex;
  align-items: center;
  gap: var(--jbz-space-2);
  flex-wrap: wrap;
}

.jbz-single-post__tags-label {
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-sm);
  font-weight: 600;
  color: var(--jbz-dark);
  margin-right: var(--jbz-space-1);
}

.jbz-single-post__tag {
  display: inline-block;
  padding: var(--jbz-space-1) var(--jbz-space-3);
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-xs);
  font-weight: 600;
  color: var(--jbz-grey-700);
  background: var(--jbz-grey-100);
  border-radius: var(--jbz-radius-full);
  text-decoration: none;
  transition: background var(--jbz-transition-fast), color var(--jbz-transition-fast);
}

.jbz-single-post__tag:hover {
  background: var(--jbz-dark);
  color: var(--jbz-white);
}

/* Bottom Share Bar */
.jbz-single-post__share-bottom {
  display: flex;
  align-items: center;
  gap: var(--jbz-space-3);
  padding: var(--jbz-space-6) 0;
  border-top: 1px solid var(--jbz-grey-200);
  border-bottom: 1px solid var(--jbz-grey-200);
  margin: var(--jbz-space-8) 0;
}

.jbz-single-post__share-label {
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-sm);
  font-weight: 600;
  color: var(--jbz-dark);
  margin-right: var(--jbz-space-2);
}

.jbz-single-post__share-bottom .jbz-single-post__share-btn {
  background: var(--jbz-grey-100);
  color: var(--jbz-grey-700);
}

/* Author Box */
.jbz-single-post__author-box {
  display: flex;
  gap: var(--jbz-space-6);
  padding: var(--jbz-space-8);
  background: var(--jbz-light);
  border-radius: var(--jbz-radius-xl);
  margin: var(--jbz-space-10) 0;
}

.jbz-single-post__author-avatar {
  flex-shrink: 0;
}

.jbz-single-post__author-avatar img {
  width: 5rem;
  height: 5rem;
  border-radius: var(--jbz-radius-full);
  object-fit: cover;
}

.jbz-single-post__author-info {
  flex: 1;
}

.jbz-single-post__author-label {
  display: block;
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--jbz-grey-500);
  margin-bottom: var(--jbz-space-1);
}

.jbz-single-post__author-name {
  font-family: var(--jbz-font-heading);
  font-size: var(--jbz-font-size-xl);
  font-weight: 700;
  color: var(--jbz-dark);
  margin: 0 0 var(--jbz-space-2);
}

.jbz-single-post__author-bio {
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-sm);
  color: var(--jbz-grey-500);
  line-height: var(--jbz-line-height-body);
  margin: 0;
}

/* CTA Box */
.jbz-single-post__cta {
  background: var(--jbz-dark);
  border-radius: var(--jbz-radius-xl);
  padding: var(--jbz-space-10) var(--jbz-space-8);
  text-align: center;
  margin: var(--jbz-space-12) 0;
  position: relative;
  overflow: hidden;
}

.jbz-single-post__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/patterns/geometric-star.svg') repeat;
  opacity: 0.04;
  pointer-events: none;
}

.jbz-single-post__cta-title {
  font-family: var(--jbz-font-heading);
  font-size: var(--jbz-font-size-2xl);
  font-weight: 700;
  color: var(--jbz-white);
  margin: 0 0 var(--jbz-space-3);
  position: relative;
}

.jbz-single-post__cta-text {
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-base);
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 var(--jbz-space-6);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.jbz-single-post__cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--jbz-space-3);
  flex-wrap: wrap;
  position: relative;
}

/* Post Navigation */
.jbz-single-post__nav {
  margin: var(--jbz-space-12) 0;
}

.jbz-single-post__nav .nav-links {
  display: flex;
  justify-content: space-between;
  gap: var(--jbz-space-6);
}

.jbz-single-post__nav .nav-previous,
.jbz-single-post__nav .nav-next {
  flex: 1;
  max-width: 50%;
}

.jbz-single-post__nav .nav-next {
  text-align: right;
  margin-left: auto;
}

.jbz-single-post__nav a {
  display: block;
  padding: var(--jbz-space-5);
  background: var(--jbz-white);
  border: 1px solid var(--jbz-grey-200);
  border-radius: var(--jbz-radius-lg);
  text-decoration: none;
  transition: box-shadow var(--jbz-transition-fast), border-color var(--jbz-transition-fast);
}

.jbz-single-post__nav a:hover {
  box-shadow: var(--jbz-shadow-md);
  border-color: var(--jbz-grey-300);
}

.jbz-single-post__nav .meta-nav {
  display: block;
  font-family: var(--jbz-font-body);
  font-size: var(--jbz-font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--jbz-grey-500);
  margin-bottom: var(--jbz-space-1);
}

.jbz-single-post__nav .post-title {
  font-family: var(--jbz-font-heading);
  font-size: var(--jbz-font-size-base);
  font-weight: 600;
  color: var(--jbz-dark);
  line-height: var(--jbz-line-height-heading);
}

/* Related Posts */
.jbz-single-post__related {
  margin-top: var(--jbz-space-16);
  padding-top: var(--jbz-space-12);
  border-top: 1px solid var(--jbz-grey-200);
}

.jbz-single-post__related-title {
  font-family: var(--jbz-font-heading);
  font-size: var(--jbz-font-size-3xl);
  font-weight: 700;
  color: var(--jbz-dark);
  text-align: center;
  margin: 0 0 var(--jbz-space-10);
}

.jbz-single-post__related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--jbz-space-8);
}

/* ──────────────────────────────────────
   D. Responsive
   ────────────────────────────────────── */

@media (max-width: 1023px) {
  .jbz-blog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--jbz-space-6);
  }

  .jbz-blog__grid--has-featured .jbz-blog-card:first-child {
    grid-template-columns: 1fr;
  }

  .jbz-single-post__layout {
    grid-template-columns: 1fr;
  }

  .jbz-single-post__toc {
    position: static;
    max-height: none;
    margin-bottom: var(--jbz-space-8);
    order: -1;
  }

  .jbz-single-post__related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--jbz-space-6);
  }
}

@media (max-width: 767px) {
  .jbz-blog__hero {
    padding: var(--jbz-space-10) 0 var(--jbz-space-8);
  }

  .jbz-blog__title {
    font-size: var(--jbz-font-size-3xl);
  }

  .jbz-blog__description {
    font-size: var(--jbz-font-size-base);
  }

  .jbz-blog__grid {
    grid-template-columns: 1fr;
    gap: var(--jbz-space-6);
  }

  .jbz-blog__filters {
    gap: var(--jbz-space-2);
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--jbz-space-2);
  }

  .jbz-blog__filters::-webkit-scrollbar {
    display: none;
  }

  .jbz-single-post__hero {
    padding: var(--jbz-space-8) 0 var(--jbz-space-10);
  }

  .jbz-single-post__title {
    font-size: var(--jbz-font-size-3xl);
  }

  .jbz-single-post__featured {
    margin-top: -2rem;
    border-radius: var(--jbz-radius-lg);
  }

  .jbz-single-post__content {
    font-size: var(--jbz-font-size-base);
  }

  .jbz-single-post__content h2 {
    font-size: var(--jbz-font-size-2xl);
  }

  .jbz-single-post__content h3 {
    font-size: var(--jbz-font-size-xl);
  }

  .jbz-single-post__featured img {
    aspect-ratio: 16 / 9;
  }

  .jbz-single-post__author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--jbz-space-6);
  }

  .jbz-single-post__nav .nav-links {
    flex-direction: column;
  }

  .jbz-single-post__nav .nav-previous,
  .jbz-single-post__nav .nav-next {
    max-width: 100%;
  }

  .jbz-single-post__nav .nav-next {
    text-align: left;
  }

  .jbz-single-post__related-grid {
    grid-template-columns: 1fr;
    gap: var(--jbz-space-6);
  }

  .jbz-single-post__cta {
    padding: var(--jbz-space-8) var(--jbz-space-5);
  }

  .jbz-single-post__share-bottom {
    flex-wrap: wrap;
  }
}

/* ──────────────────────────────────────
   E. Print
   ────────────────────────────────────── */

@media print {
  .jbz-single-post__toc,
  .jbz-single-post__share,
  .jbz-single-post__share-bottom,
  .jbz-single-post__cta,
  .jbz-single-post__nav,
  .jbz-blog__filters {
    display: none;
  }

  .jbz-single-post__content {
    max-width: 100%;
  }

  .jbz-single-post__layout {
    grid-template-columns: 1fr;
  }
}
