/* ============================================
   blog.css – DKM Sirsa Enterprises
   Blog Listing + Single Post Page Styles
   ============================================ */

/* ===== SHARED HERO ===== */
.blog-hero, .post-hero {
  position: relative; overflow: hidden;
}
.blog-hero-bg, .post-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.blog-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1400&h=500&fit=crop&auto=format');
}
.blog-hero-overlay, .post-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,5,0,.93) 0%, rgba(28,14,0,.89) 60%, rgba(10,5,0,.95) 100%);
  z-index: 1;
}

/* Breadcrumb */
.blog-breadcrumb {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.5);
}
.blog-breadcrumb a { color: var(--orange-end); text-decoration: none; transition: var(--transition); }
.blog-breadcrumb a:hover { color: #fff; }

/* Hero tag */
.blog-hero-tag {
  display: inline-block;
  background: rgba(247,147,30,.18); color: var(--orange-end);
  font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 50px;
  border: 1px solid rgba(247,147,30,.35);
}
.blog-hero-heading {
  font-size: clamp(28px,5vw,50px); font-weight: 900;
  color: #fff; line-height: 1.2; margin-bottom: 16px;
}
.blog-hero-sub {
  font-size: 15px; color: rgba(255,255,255,.68); line-height: 1.8;
  max-width: 620px; margin: 0 auto 28px;
}

/* Search bar */
.blog-search-wrap {
  display: flex; align-items: center;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 50px; overflow: hidden;
  max-width: 520px; margin: 0 auto;
  backdrop-filter: blur(8px); transition: var(--transition);
}
.blog-search-wrap:focus-within {
  border-color: var(--orange-start);
  box-shadow: 0 0 0 4px rgba(247,147,30,.15);
}
.blog-search-icon { color: rgba(255,255,255,.5); padding: 0 14px; font-size: 15px; flex-shrink: 0; }
.blog-search-input {
  flex: 1; border: none; outline: none; background: transparent;
  color: #fff; font-family: Mulish, sans-serif; font-size: 14px; font-weight: 600;
  padding: 14px 0;
}
.blog-search-input::placeholder { color: rgba(255,255,255,.4); font-weight: 500; }
.blog-search-btn {
  background: linear-gradient(90deg, var(--orange-start), var(--orange-end));
  border: none; color: #fff; font-family: Mulish, sans-serif; font-weight: 800;
  font-size: 13px; padding: 14px 22px; cursor: pointer;
  white-space: nowrap; transition: var(--transition);
}
.blog-search-btn:hover { opacity: .9; }

/* ===== FILTER BAR ===== */
.blog-filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.blog-fbtn {
  background: #fff; border: 1.5px solid #e8e0d4;
  color: var(--text-muted); font-family: Mulish, sans-serif; font-weight: 700;
  font-size: 13px; padding: 8px 18px; border-radius: 50px; cursor: pointer;
  transition: var(--transition); display: inline-flex; align-items: center; gap: 6px;
}
.blog-fbtn:hover, .blog-fbtn.active {
  background: linear-gradient(90deg, var(--orange-start), var(--orange-end));
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 14px rgba(247,147,30,.35);
}
.blog-fcount {
  background: rgba(0,0,0,.1); border-radius: 50px;
  font-size: 11px; padding: 1px 8px;
}
.blog-fbtn.active .blog-fcount { background: rgba(255,255,255,.25); }

/* No results */
.blog-no-results {
  text-align: center; padding: 48px; background: #fff; border-radius: 18px;
  font-size: 15px; font-weight: 700; color: var(--text-muted);
}

/* ===== BLOG CARD ===== */
.blog-post-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.07); border: 1px solid #fff0e0;
  display: flex; flex-direction: column; transition: var(--transition);
}
.blog-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 44px rgba(247,147,30,.15);
  border-color: rgba(247,147,30,.28);
}

/* Image wrap */
.blog-post-img-wrap { position: relative; overflow: hidden; height: 220px; }
.blog-featured-img  { height: 340px; }
.blog-post-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform .45s ease;
}
.blog-post-card:hover .blog-post-img-wrap img { transform: scale(1.05); }
.blog-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55) 100%);
  display: flex; align-items: flex-start; padding: 14px;
}

/* Category badges */
.blog-cat-badge {
  display: inline-block; font-size: 11px; font-weight: 800;
  padding: 4px 14px; border-radius: 50px; letter-spacing: .8px;
  text-transform: uppercase;
}
.blog-cat-guide      { background: #fff3cd; color: #856404; }
.blog-cat-comparison { background: linear-gradient(90deg, var(--orange-start), var(--orange-end)); color: #fff; }
.blog-cat-tips       { background: #d1fae5; color: #065f46; }
.blog-cat-news       { background: #dbeafe; color: #1e40af; }

/* Post body */
.blog-post-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }

/* Meta row */
.blog-post-meta {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  margin-bottom: 12px;
}
.blog-post-meta span { display: inline-flex; align-items: center; gap: 4px; }
.blog-post-meta i { color: var(--orange-start); }

/* Title */
.blog-post-title { font-size: 17px; font-weight: 800; color: var(--black); line-height: 1.35; margin-bottom: 10px; }
.blog-featured-title { font-size: 22px; }
.blog-post-title a { color: inherit; text-decoration: none; transition: var(--transition); }
.blog-post-title a:hover { color: var(--orange-start); }

/* Excerpt */
.blog-post-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.75; flex: 1; margin-bottom: 18px; }
.blog-excerpt-sm   { font-size: 13px; }

/* Footer */
.blog-post-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.blog-footer-sm   { margin-top: 14px; }
.blog-post-tags   { display: flex; flex-wrap: wrap; gap: 6px; }
.blog-tag {
  background: #f5f0e8; border-radius: 6px; font-size: 11.5px; font-weight: 700;
  color: #666; padding: 3px 10px; text-decoration: none;
  transition: var(--transition); cursor: pointer;
}
.blog-tag:hover { background: rgba(247,147,30,.15); color: var(--orange-dark); }
.blog-read-btn   { font-size: 13px; padding: 9px 20px; }
.blog-read-link  {
  color: var(--orange-start); font-size: 13px; font-weight: 800;
  text-decoration: none; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 6px;
}
.blog-read-link:hover { color: var(--orange-dark); gap: 10px; }

/* ===== PAGINATION (Shared across Blog & Products) ===== */
.pagination-container {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 2rem;
}
.pagination-container nav {
    width: 100%;
}
.pagination-container p.small.text-muted {
    color: var(--text-muted) !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 14px;
    margin-bottom: 0;
}
.pagination-container span.fw-semibold {
    color: var(--black);
    font-weight: 800;
}
.pagination-container .pagination {
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-radius: 50px;
    background: #fff;
    padding: 6px;
    border: 1px solid #e8e0d4;
    gap: 5px;
    margin: 0;
    align-items: center;
}
.pagination-container .page-item .page-link {
    border: none;
    border-radius: 50px !important;
    color: var(--text-dark);
    font-family: Mulish, sans-serif;
    font-weight: 800;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: transparent;
    font-size: 14px;
}
.pagination-container .page-item:not(.active):not(.disabled) .page-link:hover {
    background: rgba(247,147,30,.08);
    color: var(--orange-start);
    transform: translateY(-2px);
}
.pagination-container .page-item.active .page-link {
    background: linear-gradient(135deg, var(--orange-start), var(--orange-end));
    color: #fff;
    box-shadow: 0 4px 14px rgba(247,147,30,.35);
    border: none;
}
.pagination-container .page-item.disabled .page-link {
    color: #d1d5db;
    background: transparent;
}
.pagination-container .page-item:first-child .page-link,
.pagination-container .page-item:last-child .page-link {
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 575.98px) {
    .pagination-container .pagination {
        justify-content: center !important;
        margin-top: 15px;
    }
    .pagination-container nav {
        text-align: center;
    }
}

/* ===== SIDEBAR ===== */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 80px; }
.blog-widget {
  background: #fff; border-radius: 16px;
  border: 1px solid #fff0e0; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.blog-widget-header {
  background: linear-gradient(90deg, rgba(247,147,30,.12), rgba(255,186,0,.08));
  padding: 14px 20px; font-size: 14px; font-weight: 800; color: var(--black);
  border-bottom: 1px solid #fff0e0;
}
.blog-widget-header i { color: var(--orange-start); }
.blog-widget-body { padding: 18px 20px; }

/* About widget */
.blog-about-widget p { font-size: 13px; color: var(--text-muted); line-height: 1.75; margin: 0 0 10px; }
.baw-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.baw-logo img { height: 36px; width: auto; object-fit: contain; }
.baw-logo strong { font-size: 14px; font-weight: 800; color: var(--black); }

/* Category list */
.blog-cat-list { list-style: none; padding: 0; margin: 0; }
.blog-cat-list li { border-bottom: 1px solid #f5f0e8; }
.blog-cat-list li:last-child { border-bottom: none; }
.blog-cat-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; font-size: 13.5px; font-weight: 700;
  color: var(--text-dark); text-decoration: none; transition: var(--transition);
}
.blog-cat-list a i { color: var(--orange-start); font-size: 10px; }
.blog-cat-list a span {
  background: rgba(247,147,30,.12); color: var(--orange-dark);
  font-size: 11px; font-weight: 800; padding: 2px 10px; border-radius: 50px;
}
.blog-cat-list a:hover { color: var(--orange-start); padding-left: 4px; }

/* Popular posts */
.popular-post {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid #f5f0e8;
}
.popular-post:last-child { border-bottom: none; padding-bottom: 0; }
.popular-post img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.pp-text a { font-size: 13px; font-weight: 700; color: var(--black); text-decoration: none; line-height: 1.4; display: block; margin-bottom: 4px; transition: var(--transition); }
.pp-text a:hover { color: var(--orange-start); }
.pp-text span { font-size: 11.5px; color: var(--text-muted); font-weight: 600; }
.pp-text span i { color: var(--orange-start); }

/* Tags cloud */
.blog-tags-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.blog-tag-link {
  background: #f5f0e8; border-radius: 8px; font-size: 12px; font-weight: 700;
  color: #555; padding: 5px 13px; text-decoration: none; transition: var(--transition);
}
.blog-tag-link:hover { background: rgba(247,147,30,.15); color: var(--orange-dark); }

/* CTA widget */
.blog-cta-widget {
  background: linear-gradient(140deg, #1a0e00, #2d1800) !important;
  border-color: rgba(247,147,30,.35) !important;
}
.blog-cta-content { padding: 24px 20px; text-align: center; }
.blog-cta-icon {
  font-size: 42px; display: block; margin: 0 auto 14px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.blog-cta-content h5 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.blog-cta-content p  { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.btn-wa-widget {
  display: flex; align-items: center; justify-content: center;
  background: rgba(37,211,102,.12);
  border: 1.5px solid rgba(37,211,102,.3);
  color: #25d366; font-family: Mulish, sans-serif; font-weight: 700;
  padding: 9px; border-radius: 50px; text-decoration: none; transition: var(--transition);
}
.btn-wa-widget:hover { background: #25d366; color: #fff; border-color: #25d366; }

/* Subscribe form */
.blog-sub-input {
  width: 100%; border: 1.5px solid #e8e0d4; border-radius: 10px;
  padding: 10px 14px; font-family: Mulish, sans-serif; font-size: 13.5px;
  font-weight: 600; color: var(--text-dark); outline: none; transition: var(--transition);
  display: block;
}
.blog-sub-input:focus { border-color: var(--orange-start); box-shadow: 0 0 0 3px rgba(247,147,30,.1); }
.blog-sub-input::placeholder { color: var(--text-muted); font-weight: 500; }

/* WhatsApp float */
.wa-float-btn {
  position: fixed; bottom: 88px; right: 30px;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128C7E);
  color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.5); text-decoration: none; z-index: 999;
  animation: waBounce 3s ease-in-out infinite; transition: var(--transition);
}
.wa-float-btn:hover { transform: scale(1.12); color: #fff; }
@keyframes waBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ===== POST PAGE ===== */
.post-hero-title {
  font-size: clamp(22px,3.5vw,38px); font-weight: 900;
  color: #fff; line-height: 1.25;
}
.post-reading-time { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.65); }
.post-hero-meta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.post-author { display: flex; align-items: center; gap: 12px; }
.post-author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-start), var(--orange-end));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff;
}
.post-author strong { display: block; font-size: 14px; font-weight: 800; color: #fff; }
.post-author span   { font-size: 12px; color: rgba(255,255,255,.55); font-weight: 600; }
.post-share { display: flex; align-items: center; gap: 8px; }
.post-share span { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.55); }
.post-share-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 14px; transition: var(--transition);
}
.post-share-btn:hover { background: var(--orange-start); color: #fff; border-color: var(--orange-start); }

/* Article */
.post-article {
  background: #fff; border-radius: 18px; padding: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07); border: 1px solid #fff0e0;
}

/* TOC */
.post-toc {
  background: #fff8f0; border-radius: 14px; border: 1px solid #ffe5c0;
  overflow: hidden; margin-bottom: 36px;
}
.post-toc-header {
  padding: 12px 18px; background: rgba(247,147,30,.12);
  font-size: 13px; font-weight: 800; color: var(--black);
  border-bottom: 1px solid #ffe5c0;
}
.post-toc-header i { color: var(--orange-start); }
.post-toc-list { padding: 14px 18px 14px 34px; margin: 0; }
.post-toc-list li { margin-bottom: 8px; }
.post-toc-list a { font-size: 13.5px; font-weight: 700; color: var(--orange-start); text-decoration: none; transition: var(--transition); }
.post-toc-list a:hover { color: var(--orange-dark); text-decoration: underline; }

/* Post sections */
.post-section { margin-bottom: 36px; }
.post-section h2 { font-size: 22px; font-weight: 800; color: var(--black); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #fff0e0; }
.post-section p  { font-size: 15px; color: #333; line-height: 1.85; margin-bottom: 14px; }
.post-lead       { font-size: 16.5px; font-weight: 600; color: var(--text-dark); line-height: 1.8; }

/* Highlight boxes */
.post-highlight-box {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 18px; border-radius: 12px; font-size: 14px; font-weight: 600;
  line-height: 1.7; margin: 18px 0;
}
.post-highlight-green {
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #065f46;
}
.post-highlight-orange {
  background: #fff8f0; border: 1px solid #ffe5c0; color: #7c4a00;
}
.post-highlight-box i { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.post-highlight-green i { color: #16a34a; }
.post-highlight-orange i { color: var(--orange-start); }

/* Post list */
.post-list { list-style: none; padding: 0; margin: 14px 0; display: flex; flex-direction: column; gap: 10px; }
.post-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: #333; }
.post-list li i { color: #16a34a; font-size: 14px; flex-shrink: 0; }

/* Method cards */
.post-method-cards { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.pmc-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff8f0; border: 1px solid #ffe5c0; border-radius: 12px; padding: 16px 18px;
}
.pmc-num {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px;
  background: linear-gradient(135deg, var(--orange-start), var(--orange-end));
  color: #fff; font-size: 14px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.pmc-card strong { font-size: 14.5px; font-weight: 800; color: var(--black); display: block; margin-bottom: 4px; }
.pmc-card p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* Cost table */
.post-cost-table { border-radius: 12px; overflow: hidden; border: 1px solid #e8e0d4; margin: 18px 0; }
.pct-row {
  display: grid; grid-template-columns: 2fr 1.5fr 1.5fr;
  padding: 11px 16px; font-size: 13.5px; font-weight: 600;
  border-bottom: 1px solid #f5f0e8;
}
.pct-row:last-child { border-bottom: none; }
.pct-header { background: linear-gradient(90deg, var(--orange-start), var(--orange-end)); color: #fff; font-weight: 800; font-size: 13px; }
.pct-total  { background: #fff8f0; }
.pct-zero   { color: #16a34a; font-weight: 800; }
.pct-winner { color: #16a34a; font-weight: 900; }

/* Compare table */
.post-compare-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; border-radius: 12px; overflow: hidden; }
.post-compare-table thead tr { background: linear-gradient(90deg, var(--orange-start), var(--orange-end)); color: #fff; }
.post-compare-table thead th { padding: 13px 16px; font-weight: 800; font-size: 13px; }
.post-compare-table thead .col-steel { background: linear-gradient(90deg, #1a0e00, #3a1e00); }
.post-compare-table tbody tr { border-bottom: 1px solid #f5f0e8; transition: var(--transition); }
.post-compare-table tbody tr:hover { background: #fff8f0; }
.post-compare-table tbody td { padding: 12px 16px; }
.cell-yes     { color: #16a34a; font-weight: 800; }
.cell-yes i   { color: #16a34a; }
.cell-no      { color: #dc3545; font-weight: 800; }
.cell-no i    { color: #dc3545; }
.cell-partial { color: var(--orange-dark); font-weight: 800; }

/* Verdict box */
.post-verdict-box {
  background: linear-gradient(135deg, #1a0e00, #2d1800);
  border: 2px solid rgba(247,147,30,.4); border-radius: 16px;
  padding: 28px; display: flex; align-items: flex-start; gap: 18px;
}
.pvb-icon {
  width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange-start), var(--orange-end));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
}
.post-verdict-box h4 { font-size: 18px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.post-verdict-box p  { font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.8; margin: 0; }

/* Author box */
.post-author-box {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff8f0; border: 1px solid #ffe5c0; border-radius: 14px;
  padding: 22px; margin-top: 36px;
}
.post-author-avatar-lg {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange-start), var(--orange-end));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
}
.post-author-box strong { font-size: 15px; font-weight: 800; color: var(--black); display: block; margin-bottom: 6px; }
.post-author-box p { font-size: 13px; color: var(--text-muted); line-height: 1.75; margin: 0; }

/* Tags & Share */
.post-tags-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 28px; font-size: 13px; font-weight: 700; color: var(--text-muted); }
.post-share-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--text-muted); border-top: 1px solid #f0e8dd; padding-top: 18px; }
.post-share-btn-lg {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 800;
  text-decoration: none; transition: var(--transition);
  background: #f5f0e8; color: var(--text-dark);
}
.post-share-btn-lg:hover { background: linear-gradient(90deg, var(--orange-start), var(--orange-end)); color: #fff; }

/* Related posts */
.post-related-title { font-size: 18px; font-weight: 800; color: var(--black); }
.related-card {
  display: block; border-radius: 14px; overflow: hidden; text-decoration: none;
  border: 1px solid #fff0e0; box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: var(--transition); background: #fff; height: 100%;
}
.related-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(247,147,30,.15); border-color: rgba(247,147,30,.3); }
.related-card img { width: 100%; height: 140px; object-fit: cover; display: block; }
.rc-body { padding: 14px; }
.rc-body h6 { font-size: 14px; font-weight: 800; color: var(--black); margin: 8px 0 0; line-height: 1.4; }

/* Reading progress bar */
.reading-progress-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange-start), var(--orange-end));
  z-index: 9999; width: 0%; transition: width .1s linear;
}

/* Fade-in animation (used by blog.js) */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.delay-1 { transition-delay: .1s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .blog-sidebar { position: static; }
  .post-article { padding: 24px; }
}
@media (max-width: 767.98px) {
  .blog-filter-bar { gap: 6px; }
  .blog-fbtn { font-size: 12px; padding: 7px 14px; }
  .blog-post-img-wrap { height: 180px; }
  .post-hero-title { font-size: 22px; }
  .pct-row { grid-template-columns: 1.8fr 1.2fr 1.2fr; font-size: 12px; padding: 9px 10px; }
  .post-verdict-box { flex-direction: column; }
}

/* ===== POST DETAIL ENHANCEMENTS ===== */
.post-hero-inner {
  z-index: 2;
  padding: 80px 0 60px;
}
.post-bc-current {
  color: rgba(255,255,255,.72);
  font-weight: 600;
  max-width: 100%;
}
.post-hero-lead {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,.72);
  font-weight: 600;
  max-width: 42rem;
  margin-bottom: 0;
}
.post-hero--fallback .post-hero-bg--pattern {
  background-image:
    radial-gradient(ellipse 120% 80% at 20% 30%, rgba(247,147,30,.25) 0%, transparent 55%),
    radial-gradient(ellipse 100% 60% at 80% 70%, rgba(180,90,0,.2) 0%, transparent 50%),
    linear-gradient(145deg, #1a0f00 0%, #2d1a08 45%, #120a00 100%);
  background-size: cover;
  background-position: center;
}
.post-cat-link {
  text-decoration: none !important;
  transition: var(--transition);
}
.post-cat-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}

.post-back-wrap {
  font-size: 13px;
  font-weight: 700;
}
.post-back-link {
  color: var(--orange-start);
  text-decoration: none;
  transition: var(--transition);
}
.post-back-link:hover {
  color: var(--orange-dark);
  text-decoration: underline;
}
.post-back-dot {
  color: var(--text-muted);
  margin: 0 0.35rem;
}

.post-lead-card {
  background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
  border: 1px solid #ffe5c0;
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 28px;
  border-left: 4px solid var(--orange-start);
}
.post-lead-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 8px;
}
.post-lead-label i { color: var(--orange-start); opacity: 0.85; }
.post-lead-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dark);
  font-weight: 600;
}

.post-toc--dynamic[hidden] {
  display: none !important;
}

.post-prose {
  font-size: 16px;
  line-height: 1.85;
  color: #2d2a26;
}
.post-prose > *:first-child { margin-top: 0; }
.post-prose h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--black);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #fff0e0;
  scroll-margin-top: 96px;
}
.post-prose h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 1.5rem 0 0.65rem;
  color: var(--black);
  scroll-margin-top: 96px;
}
.post-prose p { margin-bottom: 1rem; }
.post-prose ul, .post-prose ol { margin: 1rem 0 1rem 1.25rem; }
.post-prose li { margin-bottom: 0.45rem; }
.post-prose blockquote {
  margin: 1.25rem 0;
  padding: 14px 18px;
  border-left: 4px solid var(--orange-start);
  background: #fffaf4;
  border-radius: 0 10px 10px 0;
  font-weight: 600;
  color: #444;
}
.post-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1rem 0;
  border: 1px solid #f0e8dd;
}
.post-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 1.25rem 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8e0d4;
}
.post-prose th, .post-prose td {
  padding: 10px 14px;
  border-bottom: 1px solid #f5f0e8;
}
.post-prose th {
  background: linear-gradient(90deg, rgba(247,147,30,.15), rgba(255,186,0,.08));
  font-weight: 800;
}
.post-prose pre, .post-prose code {
  font-family: ui-monospace, monospace;
  font-size: 13px;
}
.post-prose pre {
  background: #1a1510;
  color: #f5f0e8;
  padding: 16px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 1rem 0;
}

.post-prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 32px 0 8px;
}
.post-pn-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #fff0e0;
  background: #fffbf7;
  text-decoration: none;
  transition: var(--transition);
  min-height: 88px;
}
.post-pn-card:hover {
  border-color: rgba(247,147,30,.45);
  box-shadow: 0 8px 28px rgba(247,147,30,.12);
  transform: translateY(-2px);
}
.post-pn-prev { text-align: left; }
.post-pn-next { text-align: right; align-items: flex-end; }
.post-pn-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-start);
}
.post-pn-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.35;
}
.post-pn-placeholder { visibility: hidden; pointer-events: none; border: none; background: transparent; }

.related-card-placeholder {
  height: 140px;
  background: linear-gradient(135deg, #f5f0e8, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
}
.popular-post-ph {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff5eb, #f0ebe0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-start);
  font-size: 1.25rem;
}

.post-share-btn--btn {
  cursor: pointer;
  font-family: inherit;
}
.post-share-btn.post-share-btn--btn:hover {
  background: var(--orange-start);
  color: #fff;
}

@media (max-width: 575.98px) {
  .post-prev-next {
    grid-template-columns: 1fr;
  }
  .post-pn-next { text-align: left; align-items: flex-start; }
}
