
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
    --red:        #EB2A44;
      --red-dark: #c0101f;
      --black: #111111;
      --dark: #1A1A1A;
      --dark2: #222222;
      --gray: #5A5A5A;
      --gray2: #888888;
      --light: #F5F5F5;
      --border: #E2E2E2;
      --white: #FFFFFF;
      --nav-h: 68px;
      --radius: 16px;
      --max-w: 1160px;
    }

    html { scroll-behavior: smooth; }
    body {
      font-family: 'Inter', sans-serif;
      background: var(--light) !important;
      color: var(--black);
 
    }

    .container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
    @media(max-width:600px){ .container { padding: 0 18px; } }


/* .hero {
  position: sticky;
  top: var(--nav-h); 
  z-index: 0;

}

.featured-wrap,
.blog-section {
  position: relative;
  z-index: 1;
  background: var(--light);
}

.featured-wrap {
  border-radius: 24px 24px 0 0;
  margin-top: -24px; 
  background: var(--light);
} */

    .hero {
      text-align: center;
      padding: 64px 32px 48px;
      background: var(--light);
    }
    .hero-title {
      font-family: 'Anton' !important;
      font-weight: 900;
      font-size: clamp(5rem, 16vw, 17rem);
      line-height: 0.88;
      letter-spacing: -2px;
      color: var(--red);
      text-transform: uppercase;
      animation: fadeUp .7s ease both;
    }
    .hero-sub {
      margin-top: 24px;
      font-size: 15.5px;
      color: var(--gray);
      line-height: 1.65;
      max-width: 420px;
      margin-left: auto; margin-right: auto;
      animation: fadeUp .7s .1s ease both;
    }
    @keyframes fadeUp {
      from { opacity:0; transform: translateY(22px); }
      to   { opacity:1; transform: translateY(0); }
    }

    .search-wrap {
      display: flex; justify-content: center;
      padding: 32px 32px 0;
      animation: fadeUp .6s .2s ease both;
    }
    .search-box {
      position: relative; width: 100%; max-width: 540px;
    }
    .search-box input {
      width: 100%;
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: 100px;
      padding: 14px 52px 14px 22px;
      font-size: 14.5px; color: var(--black);
      outline: none;
      transition: border-color .2s, box-shadow .2s;
    }
    .search-box input::placeholder { color: #aaa; }
    .search-box input:focus {
      border-color: var(--red);
      box-shadow: 0 0 0 4px rgba(232,25,44,.08);
    }
    .search-icon {
      position: absolute; right: 18px; top: 50%;
      transform: translateY(-50%);
      color: #aaa; pointer-events: none;
    }

    .filters {
      display: flex; flex-direction: column;
      align-items: center; gap: 14px;
      padding: 28px 32px 0;
      animation: fadeUp .6s .3s ease both;
    }
    .filters-label {
      font-size: 13px; font-weight: 600;
      color: var(--gray); letter-spacing: .04em;
    }
    .filter-tabs {
      display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
    }
    .filter-tab {
      
      font-size: 13.5px; font-weight: 500;
      padding: 8px 20px; border-radius: 100px;
      border: 1.5px solid var(--border);
      background: var(--white); color: var(--gray);
      cursor: pointer; transition: all .2s;
    }
    .filter-tab:hover { border-color: var(--black); color: var(--black); }
    .filter-tab.active {
      background: var(--black); color: var(--white);
      border-color: var(--black);
    }
    .featured-img {
  overflow: hidden;
  border-radius: inherit; 
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}

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

    .featured-wrap {
      padding: 40px 32px 0;
      max-width: var(--max-w); margin: 0 auto;
      animation: fadeUp .7s .35s ease both;
    }
    .featured-card {
      /* background: var(--dark); */
      border-radius: 20px;
      overflow: hidden;
      display: flex; flex-direction: column;
      cursor: pointer;
      transition: transform .3s, box-shadow .3s;
      box-shadow: 0 4px 24px rgba(0,0,0,.12);
    }
    .featured-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 56px rgba(0,0,0,.22);
    }
    .featured-img {
      width: 100%; aspect-ratio: 2/1;
      background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
      position: relative; overflow: hidden;
      display: flex; align-items: center; justify-content: center;
    }
    .featured-img-placeholder {
      width: 80%; height: 75%;
      background: rgba(255,255,255,.06);
      border-radius: 12px;
    }
    .featured-body { padding: 28px 32px 32px; }
    .tag {
      display: inline-block;
      font-size: 12px; font-weight: 700;
      letter-spacing: .06em; text-transform: uppercase;
      color: var(--red); margin-bottom: 12px;
    }
    .featured-body h2 {
      font-weight: 800;
      font-size: clamp(22px, 3.5vw, 30px);
      color: black; line-height: 1.2;
      margin-bottom: 12px;
    }
    .featured-body p {
      font-size: 14.5px; color: #999; line-height: 1.65;
      /* max-width: 600px; */
    }
    .featured-meta {
      margin-top: 20px;
      font-size: 13px; color: #666;
      display: flex; align-items: center; gap: 6px;
    }
    .featured-meta span.dot-sep {
      width: 3px; height: 3px; background: #555;
      border-radius: 50%; display: inline-block;
    }


     .blog-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 32px;
}
.blog-section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 24px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,.09);
}

/* Image — fixed 16/9 ratio */
.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e8e8e8;
  flex-shrink: 0;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
}

/* Body */
.blog-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-body h3 {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--black);
  line-height: 1.38;
  margin-bottom: 0;
  flex: 1;
}

/* Meta — date · read time */
.blog-card-meta {
  font-size: 12.5px;
  color: var(--gray);
  margin: 10px 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-card-meta span + span::before {
  content: '·';
  margin-right: 6px;
}

/* Read more link */
.read-more {
  font-size: 13.5px;
  font-weight: 600;
  color: #1A6FD4;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}
.read-more:hover {
  gap: 7px;
}

/* Responsive */
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-section { padding: 32px 18px; }
}
    .read-more:hover { gap: 9px; }
    .read-more svg { width: 13px; height: 13px; }
    .card-date { font-size: 12px; color: #666; }

    .cta-section {
      padding: 40px 32px 56px;
      background: var(--light);
    }
    .cta-card {
      max-width: var(--max-w);
      margin: 0 auto;
      background: #1A1A1A;
      border-radius: 24px;
      padding: 72px 48px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .cta-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(232,25,44,.12) 0%, transparent 70%);
      pointer-events: none;
    }
    .cta-card h2 {
     
      font-weight: 800;
      font-size: clamp(28px, 4.5vw, 48px);
      color: var(--white);
      line-height: 1.15;
      margin-bottom: 20px;
    }
    .cta-divider {
      width: 200px; height: 3px;
      background: var(--red);
      border-radius: 2px;
      margin: 0 auto 28px;
    }
    .cta-card p {
      font-size: 15px; color: #999;
      line-height: 1.65;
      max-width: 380px;
      margin: 0 auto 36px;
    }
    .cta-buttons {
      display: flex; align-items: center;
      justify-content: center; gap: 14px;
      flex-wrap: wrap;
    }
    .cta-btn-primary {
      background: var(--red);
      color: var(--white);
     
      font-size: 15px; font-weight: 700;
      padding: 14px 32px;
      border-radius: 12px; border: none;
      cursor: pointer; text-decoration: none;
      transition: background .2s, transform .15s, box-shadow .2s;
      box-shadow: 0 4px 20px rgba(232,25,44,.35);
    }
    .cta-btn-primary:hover {
      background: #c0101f;
      transform: translateY(-2px);
      box-shadow: 0 8px 32px rgba(232,25,44,.45);
    }
    .cta-btn-secondary {
      background: transparent;
      color: var(--white);
     
      font-size: 15px; font-weight: 600;
      padding: 13px 32px;
      border-radius: 12px;
      border: 1.5px solid rgba(255,255,255,.2);
      cursor: pointer; text-decoration: none;
      transition: border-color .2s, background .2s, transform .15s;
    }
    .cta-btn-secondary:hover {
      border-color: rgba(255,255,255,.5);
      background: rgba(255,255,255,.06);
      transform: translateY(-2px);
    }
    @media(max-width:600px) {
      .cta-section { padding: 32px 18px 48px; }
      .cta-card { padding: 52px 24px; }
      .cta-buttons { flex-direction: column; }
      .cta-btn-primary, .cta-btn-secondary { width: 100%; text-align: center; }
    }
    @media(max-width:960px) {
     
      .blog-grid { grid-template-columns: repeat(2, 1fr); }
     
    }
    @media(max-width:640px) {
      .hero { padding: 48px 18px 32px; }
      .search-wrap, .filters { padding-left: 18px; padding-right: 18px; }
      .featured-wrap, .blog-section { padding-left: 18px; padding-right: 18px; }
      .blog-grid { grid-template-columns: 1fr; }
     
    }

/* Blog Container with TOC and Sidebar */
.blog-container {
  display: grid;
  grid-template-columns: 250px 1fr 300px;
  gap: 2rem;
  max-width: 1400px;
  margin: 3rem auto;
  padding: 0 1rem;
  width: 100%;
}

/* Recent Posts Sidebar */
.recent-posts-sidebar {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 100px;
  height: fit-content;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.recent-posts-sidebar h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
  color: #333;
}

.recent-post-card {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  transition: transform 0.2s;
}

.recent-post-card:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.recent-post-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.8rem;
  transition: transform 0.3s;
}

.recent-post-card:hover {
  transform: translateY(-2px);
}

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

.recent-post-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;
}

.recent-post-card:hover .recent-post-title {
  color: #0077ff;
}

.recent-post-excerpt {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;
}

.recent-post-meta {
  font-size: 0.8rem;
  color: #999;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}


#blogBody h1,
#blogBody h2,
#blogBody h3,
#blogBody h4 {
  scroll-margin-top: 120px;
}

/* Responsive for tablets */
@media (max-width: 1200px) {
  .blog-container {
    grid-template-columns: 220px 1fr 280px;
    gap: 1.5rem;
  }

  .recent-posts-sidebar {
    padding: 1.2rem;
  }

  .recent-post-img {
    height: 120px;
  }
}

/* Responsive for small tablets */
@media (max-width: 1024px) {
  .blog-container {
    grid-template-columns: 1fr 280px;
    gap: 1.5rem;
  }

  .toc {
    display: none;
  }
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .blog-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .recent-posts-sidebar {
    position: relative;
    top: 0;
    max-height: none;
  }

  .recent-post-img {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .recent-posts-sidebar {
    padding: 1rem;
  }

  .recent-posts-sidebar h3 {
    font-size: 1.1rem;
  }

  .recent-post-title {
    font-size: 0.9rem;
  }

  .recent-post-excerpt {
    font-size: 0.8rem;
  }
}
/* Responsive - Tablet */
@media (max-width: 1024px) {
  .header h1 {
    font-size: 1.8rem;
  }
  
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .blog-body {
    padding: 1.5rem;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .header {
    padding: 1.5rem 0.5rem;
  }
  
  .header h1 {
    font-size: 1.5rem;
  }
  
  .blog-section {
    padding: 2rem 3%;
  }
  
  .section-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0;
  }
  
  .blog-img {
    height: 200px;
  }
  
  .blog-content {
    padding: 1rem;
  }
  
  .blog-title {
    font-size: 1rem;
  }
  
  .blog-meta {
    font-size: 0.85rem;
  }
  
  .blog-link {
    font-size: 0.9rem;
  }
  
  .blog-container {
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    padding: 0 3%;
  }
  
  .blog-content-section {
    padding: 0;
    box-shadow: none;
    margin: 1rem 0;
  }
  
  .blog-body {
    padding: 1rem;
  }
  
  .blog-body h1 {
    font-size: 24px;
  }
  
  .blog-body h2 {
    font-size: 20px;
  }
  
  .blog-body h3 {
    font-size: 18px;
  }
  
  .blog-body p {
    font-size: 15px;
  }
  
  .blog-body ul,
  .blog-body ol {
    margin-left: 1rem;
  }
  
  .blog-body table {
    font-size: 0.85rem;
  }
  
  .blog-body th,
  .blog-body td {
    padding: 8px 10px;
  }
  
  .footer {
    font-size: 0.8rem;
    padding: 1.5rem 1rem;
  }
  
  .pagination {
    gap: 0.5rem;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
  .blog-section {
    padding: 1.5rem 2%;
  }
  
  .blog-img {
    height: 160px;
  }
  
  .header h1 {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 1.2rem;
  }
  
  .blog-body {
    padding: 0.8rem;
  }
  
  .blog-body p {
    font-size: 14px;
  }
  
  .blog-body h1 {
    font-size: 20px;
  }
  
  .blog-body h2 {
    font-size: 18px;
  }
  
  .blog-body h3 {
    font-size: 16px;
  }
  
  .blog-body ul,
  .blog-body ol {
    margin-left: 0.8rem;
  }
  
  .blog-body table {
    font-size: 0.8rem;
  }
  
  .blog-body th,
  .blog-body td {
    padding: 6px 8px;
    white-space: nowrap;
  }
  
  .pagination {
    gap: 0.4rem;
  }
  
  .page-number,
  .page-arrow {
    padding: 5px 8px;
    font-size: 0.9rem;
  }
  
  .footer {
    font-size: 0.75rem;
  }
}

/* TOC Mobile Hide */
@media (max-width: 900px) {
  .blog-container {
    flex-direction: column;
  }

  .toc {
    display: none;
    position: relative;
    top: 0;
    width: 100%;
    margin-bottom: 1.5rem;
  }
} 


  /* .blog-section { max-width: var(--max-w); margin: 0 auto; padding: 48px 32px; }
    .blog-section-title { font-size: 17px; font-weight: 700; color: var(--black); margin-bottom: 24px; }
    
    .blog-card { background: var(--dark); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform .3s, box-shadow .3s; box-shadow: 0 2px 12px rgba(0,0,0,.1); text-decoration: none; display: block; }
    .blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.2); }
    .card-img { width: 100%; aspect-ratio: 16/9; background: #2a2a2a; overflow: hidden; display: flex; align-items: center; justify-content: center; }
    .card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .card-img-placeholder { width: 78%; height: 72%; background: rgba(255,255,255,.05); border-radius: 8px; }
    .card-body { padding: 18px 20px 20px; }
    .card-body .tag { margin-bottom: 8px; }
    .card-body h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15.5px; color: var(--white); line-height: 1.35; margin-bottom: 16px; }
    .card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.07); }
    .read-more { font-size: 13px; font-weight: 600; color: var(--white); text-decoration: none; display: flex; align-items: center; gap: 5px; transition: gap .2s; }
    .read-more:hover { gap: 9px; }
    .card-date { font-size: 12px; color: #666; } */
 
    /* ── SKELETON LOADER ── */
    .skeleton { background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; }
    @keyframes shimmer { 0%{ background-position:200% 0; } 100%{ background-position:-200% 0; } }
    .skeleton-card { background: var(--dark); border-radius: var(--radius); overflow: hidden; }
    .skeleton-img { width:100%; aspect-ratio:16/9; }
    .skeleton-body { padding: 18px 20px 20px; display:flex; flex-direction:column; gap:10px; }
    .skeleton-tag { height:12px; width:60px; border-radius:4px; }
    .skeleton-title { height:16px; width:90%; border-radius:4px; }
    .skeleton-title2 { height:16px; width:70%; border-radius:4px; }
    .skeleton-line { height:12px; width:40%; border-radius:4px; margin-top:8px; }
 
    /* ── EMPTY STATE ── */
    .empty-state { grid-column: 1/-1; text-align:center; padding: 60px 20px; color: #666; }
    .empty-state svg { width:48px; height:48px; margin-bottom:16px; opacity:.3; }
    .empty-state p { font-size:15px; }
 
    /* ── PAGINATION ── */
    .pagination { display:flex; justify-content:center; gap:8px; padding: 8px 32px 48px; flex-wrap:wrap; }
    .page-btn { width:38px; height:38px; border-radius:10px; border:1.5px solid var(--border); background:var(--white); color:var(--gray); font-family:'DM Sans',sans-serif; font-size:14px; font-weight:600; cursor:pointer; transition:all .2s; display:flex; align-items:center; justify-content:center; }
    .page-btn:hover { border-color:var(--black); color:var(--black); }
    .page-btn.active { background:var(--black); color:var(--white); border-color:var(--black); }
    .page-btn:disabled { opacity:.3; cursor:not-allowed; }