/* ═══════════════════════════════════════════════════
   RAPTAX MEDIA — BLOG STYLES
═══════════════════════════════════════════════════ */

/* ─── BLOG HERO ──────────────────────────────────── */
.blog-hero {
  background:  var(--black);
  padding:     160px 0 60px;
  position:    relative;
  overflow:    hidden;
}

.blog-hero-glow {
  position:      absolute;
  top:           -100px;
  right:         -200px;
  width:         600px;
  height:        600px;
  background:    radial-gradient(circle, rgba(200,255,89,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.blog-hero-title {
  font-family:   var(--font-head);
  font-size:     clamp(2.5rem, 5vw, 4rem);
  font-weight:   800;
  color:         var(--white);
  line-height:   1.05;
  margin:        12px 0 16px;
}

.blog-hero-title span { color: var(--lime); }

.blog-hero-desc {
  font-size:     1rem;
  line-height:   1.8;
  color:         var(--gray);
  max-width:     500px;
  margin-bottom: 36px;
}

/* ─── SEARCH BAR ─────────────────────────────────── */
.blog-search-wrap {
  display:       flex;
  align-items:   center;
  gap:           0;
  background:    var(--surface);
  border:        1.5px solid var(--border);
  border-radius: var(--radius-sm);
  max-width:     500px;
  overflow:      hidden;
  transition:    var(--transition);
}

.blog-search-wrap:focus-within {
  border-color: var(--lime);
  box-shadow:   0 0 0 3px rgba(200,255,89,0.06);
}

.blog-search-wrap i {
  width:       18px;
  height:      18px;
  color:       var(--gray);
  margin-left: 16px;
  flex-shrink: 0;
}

.blog-search-wrap input {
  flex:       1;
  background: none;
  border:     none;
  color:      var(--white);
  font-size:  0.92rem;
  padding:    14px 16px;
  outline:    none;
}

.blog-search-wrap input::placeholder { color: #3a3a3a; }

.blog-search-btn {
  background:  var(--lime);
  color:       var(--black);
  border:      none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size:   0.85rem;
  padding:     14px 20px;
  cursor:      pointer;
  transition:  var(--transition);
  white-space: nowrap;
}

.blog-search-btn:hover {
  background: #b8ef49;
}

/* ─── CATEGORY BAR ───────────────────────────────── */
.blog-cats-bar {
  background:    var(--surface);
  border-top:    1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding:       16px 0;
  position:      sticky;
  top:           80px;
  z-index:       90;
}

.blog-cats {
  display:     flex;
  gap:         8px;
  flex-wrap:   wrap;
  align-items: center;
}

.blog-cat-btn {
  background:     none;
  border:         1.5px solid var(--border);
  color:          var(--gray);
  font-family:    var(--font-body);
  font-size:      0.82rem;
  font-weight:    600;
  padding:        7px 16px;
  border-radius:  99px;
  cursor:         pointer;
  transition:     var(--transition);
  white-space:    nowrap;
}

.blog-cat-btn:hover {
  border-color: var(--lime);
  color:        var(--lime);
}

.blog-cat-btn.active {
  background:   var(--lime);
  border-color: var(--lime);
  color:        var(--black);
}

/* ─── BLOG LAYOUT ────────────────────────────────── */
.blog-section { background: var(--black); }

.blog-layout {
  display:               grid;
  grid-template-columns: 1fr 320px;
  gap:                   48px;
  align-items:           start;
}

/* ─── LOADING ────────────────────────────────────── */
.blog-loading {
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  justify-content: center;
  gap:             16px;
  padding:         60px 0;
  color:           var(--gray);
  font-size:       0.88rem;
}

.blog-spinner {
  width:         32px;
  height:        32px;
  border:        2px solid var(--border);
  border-top:    2px solid var(--lime);
  border-radius: 50%;
  animation:     spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── EMPTY STATE ────────────────────────────────── */
.blog-empty {
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  justify-content: center;
  gap:             16px;
  padding:         80px 0;
  text-align:      center;
}

.blog-empty-icon {
  width:           64px;
  height:          64px;
  background:      var(--lime-dim);
  border-radius:   var(--radius-md);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--lime);
}

.blog-empty-icon i { width: 28px; height: 28px; }

.blog-empty h3 {
  font-family: var(--font-head);
  font-size:   1.2rem;
  color:       var(--white);
}

.blog-empty p {
  font-size: 0.9rem;
  color:     var(--gray);
}

/* ─── FEATURED CARD ──────────────────────────────── */
.blog-featured-card {
  display:       grid;
  grid-template-columns: 1fr 1fr;
  gap:           0;
  background:    var(--surface);
  border:        1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow:      hidden;
  margin-bottom: 32px;
  text-decoration: none;
  transition:    var(--transition);
}

.blog-featured-card:hover {
  border-color: rgba(200,255,89,0.25);
  transform:    translateY(-4px);
  box-shadow:   0 24px 64px rgba(0,0,0,0.5);
}

.blog-featured-img {
  position:   relative;
  overflow:   hidden;
  min-height: 320px;
}

.blog-featured-img img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-featured-card:hover .blog-featured-img img {
  transform: scale(1.04);
}

.blog-featured-overlay {
  position: absolute;
  top:      16px;
  left:     16px;
}

.blog-img-placeholder {
  width:           100%;
  height:          100%;
  min-height:      280px;
  background:      var(--surface);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--lime);
}

.blog-img-placeholder i { width: 48px; height: 48px; }

.blog-featured-content {
  padding:        36px;
  display:        flex;
  flex-direction: column;
  gap:            16px;
}

.blog-featured-label {
  display:     flex;
  align-items: center;
  gap:         8px;
  font-size:   0.75rem;
  font-weight: 700;
  color:       var(--lime);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-featured-label i { width: 14px; height: 14px; }

.blog-featured-title {
  font-family:   var(--font-head);
  font-size:     1.6rem;
  font-weight:   800;
  color:         var(--white);
  line-height:   1.2;
}

.blog-featured-excerpt {
  font-size:   0.9rem;
  line-height: 1.75;
  color:       var(--gray);
  flex:        1;
}

.blog-featured-cta {
  display:     inline-flex;
  align-items: center;
  gap:         8px;
  font-size:   0.88rem;
  font-weight: 700;
  color:       var(--lime);
  transition:  var(--transition);
}

.blog-featured-cta i { width: 16px; height: 16px; transition: transform 0.3s; }

.blog-featured-card:hover .blog-featured-cta i {
  transform: translateX(4px);
}

/* ─── BLOG GRID ──────────────────────────────────── */
.blog-grid {
  display:               grid;
  grid-template-columns: repeat(2, 1fr);
  gap:                   24px;
}

/* ─── BLOG CARD ──────────────────────────────────── */
.blog-card {
  background:    var(--surface);
  border:        1px solid var(--border);
  border-radius: var(--radius-md);
  overflow:      hidden;
  text-decoration: none;
  transition:    var(--transition);
  display:       flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: rgba(200,255,89,0.2);
  transform:    translateY(-4px);
  box-shadow:   0 16px 48px rgba(0,0,0,0.4);
}

.blog-card-img {
  position:     relative;
  aspect-ratio: 16/9;
  overflow:     hidden;
}

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

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-cat-tag {
  position:       absolute;
  top:            12px;
  left:           12px;
  background:     var(--lime);
  color:          var(--black);
  font-size:      0.68rem;
  font-weight:    800;
  padding:        4px 10px;
  border-radius:  99px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-card-content {
  padding:        20px;
  display:        flex;
  flex-direction: column;
  gap:            10px;
  flex:           1;
}

.blog-card-title {
  font-family:   var(--font-head);
  font-size:     1.05rem;
  font-weight:   700;
  color:         var(--white);
  line-height:   1.3;
  transition:    var(--transition);
}

.blog-card:hover .blog-card-title { color: var(--lime); }

.blog-card-excerpt {
  font-size:     0.85rem;
  line-height:   1.65;
  color:         var(--gray);
  flex:          1;
  display:       -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:      hidden;
}

/* ─── POST META ──────────────────────────────────── */
.blog-post-meta {
  display:     flex;
  align-items: center;
  gap:         8px;
  font-size:   0.78rem;
  color:       var(--gray);
  flex-wrap:   wrap;
}

.blog-meta-author {
  display:     flex;
  align-items: center;
  gap:         8px;
}

.blog-meta-avatar {
  width:           28px;
  height:          28px;
  border-radius:   50%;
  background:      var(--lime-dim);
  border:          1px solid rgba(200,255,89,0.2);
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-family:     var(--font-head);
  font-size:       0.62rem;
  font-weight:     700;
  color:           var(--lime);
}

.blog-meta-dot { color: var(--border); }

/* ─── SIDEBAR ────────────────────────────────────── */
.blog-sidebar {
  display:        flex;
  flex-direction: column;
  gap:            20px;
  position:       sticky;
  top:            120px;
}

.sidebar-widget {
  background:    var(--surface);
  border:        1px solid var(--border);
  border-radius: var(--radius-md);
  overflow:      hidden;
}

.sidebar-widget-header {
  display:       flex;
  align-items:   center;
  gap:           10px;
  padding:       16px 20px;
  border-bottom: 1px solid var(--border);
  font-family:   var(--font-head);
  font-size:     0.88rem;
  font-weight:   700;
  color:         var(--white);
  background:    rgba(200,255,89,0.03);
}

.sidebar-widget-header i {
  width:  16px;
  height: 16px;
  color:  var(--lime);
}

/* About Widget */
.sidebar-about {
  padding: 20px;
}

.sidebar-about-img {
  width:         80px;
  height:        80px;
  background:    var(--black);
  border-radius: var(--radius-sm);
  display:       flex;
  align-items:   center;
  justify-content: center;
  margin-bottom: 14px;
  padding:       12px;
  border:        1px solid var(--border);
}

.sidebar-about-img img {
  width:      100%;
  height:     100%;
  object-fit: contain;
}

.sidebar-about p {
  font-size:     0.85rem;
  line-height:   1.7;
  color:         var(--gray);
  margin-bottom: 0;
}

/* Category Items */
.sidebar-cats {
  padding: 8px;
}

.sidebar-cat-item {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding:         10px 12px;
  border-radius:   var(--radius-sm);
  font-size:       0.88rem;
  color:           var(--gray);
  cursor:          pointer;
  transition:      var(--transition);
  text-decoration: none;
}

.sidebar-cat-item:hover,
.sidebar-cat-item.active {
  background: var(--lime-dim);
  color:      var(--lime);
}

.sidebar-cat-count {
  background:    rgba(200,255,89,0.08);
  color:         var(--lime);
  font-size:     0.72rem;
  font-weight:   700;
  padding:       2px 8px;
  border-radius: 99px;
}

/* Recent Posts */
.sidebar-recent {
  padding: 8px;
}

.sidebar-recent-item {
  display:         flex;
  gap:             12px;
  padding:         10px 12px;
  border-radius:   var(--radius-sm);
  text-decoration: none;
  transition:      var(--transition);
  align-items:     center;
}

.sidebar-recent-item:hover {
  background: var(--lime-dim);
}

.sidebar-recent-img {
  width:         52px;
  height:        44px;
  border-radius: var(--radius-sm);
  overflow:      hidden;
  flex-shrink:   0;
  border:        1px solid var(--border);
}

.sidebar-recent-img img {
  width:      100%;
  height:     100%;
  object-fit: cover;
}

.sidebar-recent-placeholder {
  width:           100%;
  height:          100%;
  background:      var(--black);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--lime);
}

.sidebar-recent-placeholder i { width: 16px; height: 16px; }

.sidebar-recent-info h5 {
  font-family:         var(--font-head);
  font-size:           0.82rem;
  font-weight:         700;
  color:               var(--white);
  line-height:         1.3;
  margin-bottom:       4px;
  display:             -webkit-box;
  -webkit-line-clamp:  2;
  -webkit-box-orient:  vertical;
  overflow:            hidden;
}

.sidebar-recent-info span {
  font-size: 0.72rem;
  color:     var(--gray);
}

/* Tags Widget */
.sidebar-tags {
  padding:   16px;
  display:   flex;
  flex-wrap: wrap;
  gap:       8px;
}

.sidebar-tag {
  background:    rgba(200,255,89,0.06);
  border:        1px solid rgba(200,255,89,0.12);
  border-radius: 99px;
  padding:       5px 14px;
  font-size:     0.78rem;
  font-weight:   600;
  color:         var(--gray);
  cursor:        pointer;
  transition:    var(--transition);
}

.sidebar-tag:hover,
.sidebar-tag.active {
  background:   var(--lime);
  color:        var(--black);
  border-color: var(--lime);
}

/* CTA Widget */
.sidebar-cta {
  background: var(--lime-dim);
  border:     1px solid rgba(200,255,89,0.2);
  padding:    28px 20px;
  text-align: center;
  position:   relative;
  overflow:   hidden;
}

.sidebar-cta-glow {
  position:      absolute;
  top:           -40px;
  right:         -40px;
  width:         120px;
  height:        120px;
  background:    radial-gradient(circle, rgba(200,255,89,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.sidebar-cta-icon {
  width:         36px;
  height:        36px;
  color:         var(--lime);
  margin-bottom: 12px;
}

.sidebar-cta h4 {
  font-family:   var(--font-head);
  font-size:     1.1rem;
  font-weight:   800;
  color:         var(--white);
  line-height:   1.2;
  margin-bottom: 8px;
}

.sidebar-cta p {
  font-size:     0.85rem;
  color:         var(--gray);
  margin-bottom: 16px;
  line-height:   1.6;
}

/* Social Widget */
.sidebar-socials {
  padding:        8px;
  display:        flex;
  flex-direction: column;
  gap:            4px;
}

.sidebar-social {
  display:         flex;
  align-items:     center;
  gap:             12px;
  padding:         12px 14px;
  border-radius:   var(--radius-sm);
  text-decoration: none;
  transition:      var(--transition);
  font-size:       0.85rem;
  font-weight:     600;
  color:           var(--gray);
}

.sidebar-social:hover { background: rgba(255,255,255,0.04); }

.sidebar-social.instagram:hover { color: #E1306C; }
.sidebar-social.facebook:hover  { color: #1877F2; }
.sidebar-social.whatsapp:hover  { color: #25D366; }

.sidebar-social span:first-of-type { flex: 1; color: var(--white); }

.sidebar-social-handle {
  font-size:   0.72rem !important;
  color:       var(--gray) !important;
  font-weight: 400 !important;
}

/* ─── POST HERO ──────────────────────────────────── */
.post-hero {
  position:   relative;
  min-height: 480px;
  display:    flex;
  align-items: flex-end;
  overflow:   hidden;
  padding:    0 0 60px;
}

.post-hero-bg {
  position: absolute;
  inset:    0;
}

.post-hero-img {
  width:      100%;
  height:     100%;
  object-fit: cover;
}

.post-hero-overlay {
  position:   absolute;
  inset:      0;
  background: linear-gradient(
    to top,
    rgba(19,19,19,0.97) 0%,
    rgba(19,19,19,0.7) 40%,
    rgba(19,19,19,0.3) 100%
  );
}

.post-hero-content {
  position:      relative;
  z-index:       1;
  padding-top:   140px;
  max-width:     800px;
}

.post-back {
  display:         inline-flex;
  align-items:     center;
  gap:             8px;
  font-size:       0.82rem;
  font-weight:     600;
  color:           var(--gray);
  text-decoration: none;
  margin-bottom:   24px;
  transition:      var(--transition);
}

.post-back:hover { color: var(--lime); }

.post-back i { width: 16px; height: 16px; }

.post-hero-cat {
  display:        inline-flex;
  align-items:    center;
  gap:            6px;
  background:     var(--lime);
  color:          var(--black);
  font-size:      0.72rem;
  font-weight:    800;
  padding:        4px 12px;
  border-radius:  99px;
  margin-bottom:  16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-hero-cat i { width: 12px; height: 12px; }

.post-hero-title {
  font-family:   var(--font-head);
  font-size:     clamp(1.8rem, 4vw, 3rem);
  font-weight:   800;
  color:         var(--white);
  line-height:   1.15;
  margin-bottom: 20px;
}

.post-hero-meta {
  display:     flex;
  align-items: center;
  gap:         10px;
  flex-wrap:   wrap;
  font-size:   0.82rem;
  color:       var(--gray);
}

/* ─── POST LAYOUT ────────────────────────────────── */
.post-section { background: var(--black); }

.post-layout {
  display:               grid;
  grid-template-columns: 1fr 300px;
  gap:                   48px;
  align-items:           start;
}

.post-sidebar { top: 100px; }

/* ─── POST BODY ──────────────────────────────────── */
.post-body {
  font-size:     1rem;
  line-height:   1.9;
  color:         rgba(255,255,255,0.85);
  margin-bottom: 48px;
}

.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4 {
  font-family:   var(--font-head);
  color:         var(--white);
  font-weight:   700;
  line-height:   1.3;
  margin:        36px 0 16px;
}

.post-body h2 { font-size: 1.6rem; }
.post-body h3 { font-size: 1.3rem; color: var(--lime); }
.post-body h4 { font-size: 1.1rem; }

.post-body p { margin-bottom: 20px; }

.post-body a {
  color:           var(--lime);
  text-decoration: underline;
  transition:      var(--transition);
}

.post-body a:hover { color: var(--white); }

.post-body strong { color: var(--white); font-weight: 700; }

.post-body ul,
.post-body ol {
  padding-left:  24px;
  margin-bottom: 20px;
}

.post-body li {
  margin-bottom: 8px;
  color:         rgba(255,255,255,0.8);
}

.post-body blockquote {
  border-left:  3px solid var(--lime);
  padding:      16px 24px;
  margin:       28px 0;
  background:   var(--lime-dim);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style:   italic;
  color:        rgba(255,255,255,0.8);
}

.post-body img {
  max-width:     100%;
  border-radius: var(--radius-md);
  margin:        24px 0;
  border:        1px solid var(--border);
}

.post-body code {
  background:    var(--surface);
  color:         var(--lime);
  padding:       2px 8px;
  border-radius: 4px;
  font-size:     0.9em;
  font-family:   monospace;
}

.post-body pre {
  background:    var(--surface);
  border:        1px solid var(--border);
  border-radius: var(--radius-md);
  padding:       24px;
  overflow-x:    auto;
  margin:        24px 0;
}

.post-body pre code {
  background: none;
  padding:    0;
  color:      var(--lime);
}

.post-body hr {
  border:        none;
  border-top:    1px solid var(--border);
  margin:        40px 0;
}

/* ─── POST TAGS ──────────────────────────────────── */
.post-tags {
  padding:       24px 0;
  border-top:    1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.post-tags-label {
  display:       flex;
  align-items:   center;
  gap:           8px;
  font-size:     0.78rem;
  font-weight:   700;
  color:         var(--gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.post-tags-label i { width: 14px; height: 14px; color: var(--lime); }

.post-tags-list {
  display:   flex;
  flex-wrap: wrap;
  gap:       8px;
}

.post-tag {
  background:    var(--lime-dim);
  border:        1px solid rgba(200,255,89,0.15);
  border-radius: 99px;
  padding:       5px 14px;
  font-size:     0.8rem;
  font-weight:   600;
  color:         var(--lime);
}

/* ─── SHARE BUTTONS ──────────────────────────────── */
.post-share {
  display:       flex;
  align-items:   center;
  gap:           16px;
  flex-wrap:     wrap;
  margin-bottom: 40px;
}

.post-share-label {
  font-size:   0.82rem;
  font-weight: 700;
  color:       var(--gray);
  white-space: nowrap;
}

.post-share-btns {
  display:   flex;
  gap:       8px;
  flex-wrap: wrap;
}

.post-share-btn {
  display:         inline-flex;
  align-items:     center;
  gap:             8px;
  padding:         9px 18px;
  border-radius:   var(--radius-sm);
  font-size:       0.82rem;
  font-weight:     600;
  text-decoration: none;
  transition:      var(--transition);
  cursor:          pointer;
  border:          none;
  font-family:     var(--font-body);
}

.post-share-btn i { width: 16px; height: 16px; }

.share-wa {
  background: rgba(37,211,102,0.1);
  color:      #25D366;
  border:     1px solid rgba(37,211,102,0.2);
}

.share-wa:hover { background: #25D366; color: #fff; }

.share-fb {
  background: rgba(24,119,242,0.1);
  color:      #1877F2;
  border:     1px solid rgba(24,119,242,0.2);
}

.share-fb:hover { background: #1877F2; color: #fff; }

.share-copy {
  background: var(--surface);
  color:      var(--gray);
  border:     1px solid var(--border);
}

.share-copy:hover {
  border-color: var(--lime);
  color:        var(--lime);
}

/* ─── AUTHOR BOX ─────────────────────────────────── */
.post-author {
  display:       flex;
  gap:           20px;
  align-items:   flex-start;
  background:    var(--surface);
  border:        1px solid var(--border);
  border-radius: var(--radius-md);
  padding:       28px;
  border-left:   3px solid var(--lime);
  margin-bottom: 48px;
}

.post-author-avatar {
  width:           56px;
  height:          56px;
  border-radius:   50%;
  background:      var(--lime);
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-family:     var(--font-head);
  font-size:       1rem;
  font-weight:     800;
  color:           var(--black);
  flex-shrink:     0;
}

.post-author-info strong {
  display:     block;
  font-family: var(--font-head);
  font-size:   1rem;
  font-weight: 700;
  color:       var(--white);
  margin-bottom: 4px;
}

.post-author-info span {
  display:   block;
  font-size: 0.78rem;
  color:     var(--lime);
  margin-bottom: 10px;
}

.post-author-info p {
  font-size:   0.88rem;
  color:       var(--gray);
  line-height: 1.65;
}

/* ─── TABLE OF CONTENTS ──────────────────────────── */
.sidebar-toc {
  padding: 8px;
}

.toc-item {
  display:         flex;
  align-items:     center;
  gap:             8px;
  padding:         8px 12px;
  font-size:       0.85rem;
  color:           var(--gray);
  text-decoration: none;
  border-radius:   var(--radius-sm);
  transition:      var(--transition);
  border-left:     2px solid transparent;
  line-height:     1.4;
}

.toc-item:hover {
  color:        var(--lime);
  border-color: var(--lime);
  background:   var(--lime-dim);
  padding-left: 16px;
}

.toc-sub { padding-left: 24px; font-size: 0.8rem; }

.toc-dot {
  width:         6px;
  height:        6px;
  border-radius: 50%;
  background:    var(--border);
  flex-shrink:   0;
}

/* ─── RELATED POSTS ──────────────────────────────── */
.related-posts {
  margin-top:  64px;
  padding-top: 48px;
  border-top:  1px solid var(--border);
}

.related-header {
  margin-bottom: 32px;
}

.related-header h3 {
  font-family: var(--font-head);
  font-size:   1.4rem;
  font-weight: 700;
  color:       var(--white);
}

.related-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   24px;
}

/* ─── POST PAGE LOADING ───────────────────────────── */
.post-page-loading {
  display:         flex;
  align-items:     center;
  justify-content: center;
  min-height:      100vh;
  background:      var(--black);
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
    display:  grid;
    grid-template-columns: 1fr 1fr;
    gap:      20px;
  }

  .sidebar-cta { grid-column: 1 / -1; }

  .blog-featured-card {
    grid-template-columns: 1fr;
  }

  .blog-featured-img {
    min-height: 240px;
    aspect-ratio: 16/9;
  }

  .post-layout {
    grid-template-columns: 1fr;
  }

  .post-sidebar {
    position: static;
    display:  grid;
    grid-template-columns: 1fr 1fr;
    gap:      20px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-cats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .blog-grid { grid-template-columns: 1fr; }

  .blog-sidebar {
    grid-template-columns: 1fr;
  }

  .post-sidebar {
    grid-template-columns: 1fr;
  }

  .related-grid { grid-template-columns: 1fr; }

  .post-share {
    flex-direction: column;
    align-items:    flex-start;
  }
}