/*
 * blog-archive.css — Insights & Industry News archive
 * Reference: htmlblog/Blog 1.html (card-with-body design)
 * Tokens, header, breadcrumbs, bottom-cta, scroll-progress, particles, reveal
 * are inherited from base.css / components.css / header-footer.css.
 */

/* ─── HERO ────────────────────────────────────────────────────────────── */
.blog-archive .hero {
  position: relative; overflow: hidden;
  background: var(--navy-dark);
  padding: 38px max(48px, calc((100vw - 1380px) / 2)) 44px;
}
.blog-archive .hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 900px 500px at 50% 30%, rgba(43,91,160,0.28) 0%, transparent 65%),
    radial-gradient(ellipse 600px 400px at 85% 80%, rgba(232,168,56,0.10) 0%, transparent 70%),
    linear-gradient(180deg, rgba(12,30,61,0.98) 0%, rgba(21,47,92,0.95) 50%, rgba(12,30,61,1) 100%);
}
.blog-archive .hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.blog-archive #hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.blog-archive .hero-text-col {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.blog-archive .hero-text {
  display: flex; flex-direction: column; align-items: center;
  max-width: 780px; width: 100%;
}
.blog-archive .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--accent); text-transform: uppercase; letter-spacing: 1.4px;
  margin-bottom: 16px; padding: 5px 12px;
  background: rgba(232,168,56,0.08); border: 1px solid rgba(232,168,56,0.22);
  border-radius: 100px;
}
.blog-archive .hero-eyebrow::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 12px rgba(232,168,56,0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }
.blog-archive .hero-text h1 {
  font-size: 46px; font-weight: 800; color: var(--white);
  letter-spacing: -1.2px; line-height: 1.08; margin-bottom: 14px;
  position: relative; max-width: 820px;
}
.blog-archive .hero-text h1 .accent-text {
  background: linear-gradient(135deg, var(--accent) 0%, #f5c668 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.blog-archive .hero-text .tagline {
  font-size: 16px; color: var(--text-on-dark); line-height: 1.6;
  max-width: 640px; margin-bottom: 28px; font-weight: 400;
}
.blog-archive .hero-stats {
  display: flex; gap: 0; flex-wrap: wrap; justify-content: center;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 14px 8px; backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform-style: preserve-3d; will-change: transform; cursor: default;
}
.blog-archive .hero-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 28px; position: relative; transition: transform 0.2s ease;
}
.blog-archive .hero-stat:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); width: 1px; height: 32px;
  background: rgba(255,255,255,0.12);
}
.blog-archive .hero-stat-num {
  font-size: 22px; font-weight: 800; color: var(--accent);
  letter-spacing: -0.5px; line-height: 1; transition: text-shadow 0.2s ease;
}
.blog-archive .hero-stats:hover .hero-stat-num {
  text-shadow: 0 0 20px rgba(232,168,56,0.6), 0 0 40px rgba(232,168,56,0.3);
}
.blog-archive .hero-stat-lbl {
  font-size: 10px; color: rgba(255,255,255,0.55); font-weight: 600;
  margin-top: 6px; text-transform: uppercase; letter-spacing: 0.6px;
}

/* ─── FILTER BAR ──────────────────────────────────────────────────────── */
.blog-archive .filter-bar {
  background: var(--white); border-bottom: 1px solid var(--border-light);
  padding: 0 max(48px, calc((100vw - 1380px) / 2));
  position: static; top: calc(56px + 37px); z-index: 98; box-shadow: var(--shadow-xs);
}
.blog-archive .filter-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 54px; overflow-x: auto; scrollbar-width: none;
}
.blog-archive .filter-bar-inner::-webkit-scrollbar { display: none; }
.blog-archive .filter-tabs { display: flex; gap: 2px; flex-shrink: 0; }
.blog-archive .filter-tab {
  padding: 6px 16px; border: 1px solid transparent; border-radius: var(--radius-md);
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  background: none; cursor: pointer; transition: all 0.15s var(--ease);
  white-space: nowrap; text-decoration: none;
}
.blog-archive .filter-tab:hover { color: var(--navy); background: var(--navy-wash); border-color: var(--border-light); }
.blog-archive .filter-tab.active { color: var(--navy); background: var(--navy-wash); border-color: var(--navy); font-weight: 600; }
.blog-archive .filter-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.blog-archive .sort-select {
  padding: 6px 32px 6px 12px; border: 1px solid var(--border);
  border-radius: var(--radius-md); font-family: var(--font); font-size: 13px;
  color: var(--text-secondary); background: var(--white); outline: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237B8599' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; cursor: pointer;
}
.blog-archive .result-count { font-size: 12px; color: var(--text-muted); font-family: var(--mono); white-space: nowrap; }

/* ─── ARCHIVE LAYOUT ──────────────────────────────────────────────────── */
.blog-archive .archive-section { padding: 48px max(48px, calc((100vw - 1380px) / 2)); }
.blog-archive .archive-layout {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 48px; align-items: start;
}

/* ─── FEATURED POST ───────────────────────────────────────────────────── */
.blog-archive .featured-post { margin-bottom: 40px; }
.blog-archive .featured-card {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  text-decoration: none; color: inherit; position: relative;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.blog-archive .featured-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-3px); }
.blog-archive .featured-card .card-img-wrap { position: relative; overflow: hidden; }
.blog-archive .featured-card .card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s var(--ease);
}
.blog-archive .featured-card:hover .card-img-wrap img { transform: scale(1.04); }
.blog-archive .featured-card .card-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(31,71,136,0.55) 0%, rgba(232,168,56,0.25) 100%);
  opacity: 0; transition: opacity 0.35s var(--ease); pointer-events: none; z-index: 1;
}
.blog-archive .featured-card:hover .card-img-wrap::after { opacity: 1; }
.blog-archive .featured-card .card-body {
  padding: 36px 32px; display: flex; flex-direction: column;
  justify-content: center; background: var(--white);
}
.blog-archive .featured-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; background: var(--accent-soft);
  border: 1px solid rgba(232,168,56,0.3); border-radius: var(--radius-sm);
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  color: var(--accent-hover); text-transform: uppercase; letter-spacing: 0.6px;
  margin-bottom: 14px; width: fit-content;
}
.blog-archive .featured-badge svg { width: 10px; height: 10px; }
.blog-archive .featured-card h2 {
  font-size: 22px; font-weight: 700; color: var(--navy-dark);
  letter-spacing: -0.4px; line-height: 1.3; margin-bottom: 10px;
}
.blog-archive .featured-card .card-excerpt {
  font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px;
}
.blog-archive .featured-card .card-meta { display: flex; align-items: center; gap: 14px; font-size: 11px; color: var(--text-muted); }
.blog-archive .featured-card .card-meta-tag {
  padding: 3px 8px; background: var(--navy-wash); border-radius: var(--radius-sm);
  color: var(--navy); font-weight: 600; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.4px;
}
.blog-archive .featured-card .read-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-size: 13px; font-weight: 600; color: var(--navy); transition: gap 0.2s;
}
.blog-archive .featured-card:hover .read-more { gap: 10px; }

/* ─── POSTS GRID ──────────────────────────────────────────────────────── */
.blog-archive .section-label {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px;
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.blog-archive .section-label::after { content: ''; flex: 1; height: 1px; background: var(--border-light); }
.blog-archive .posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ─── BLOG CARD (card-with-body design — Blog 1) ──────────────────────── */
.blog-archive .blog-card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border); background: var(--white);
  text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.blog-archive .blog-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-4px);
  border-color: rgba(31,71,136,0.2);
}
.blog-archive .blog-card .card-img-wrap {
  position: relative; overflow: hidden; aspect-ratio: 16/9; flex-shrink: 0;
}
.blog-archive .blog-card .card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s var(--ease);
}
.blog-archive .blog-card:hover .card-img-wrap img { transform: scale(1.06); }
.blog-archive .blog-card .card-img-wrap .tint {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(12,30,61,0.62) 0%, rgba(31,71,136,0.45) 50%, rgba(232,168,56,0.3) 100%);
  opacity: 0; transition: opacity 0.35s var(--ease); z-index: 1;
}
.blog-archive .blog-card:hover .card-img-wrap .tint { opacity: 1; }
.blog-archive .card-category-pill {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 10px; border-radius: var(--radius-sm);
  font-family: var(--mono); font-size: 9px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.6px;
  background: var(--navy-dark); color: var(--accent);
  border: 1px solid rgba(232,168,56,0.25); backdrop-filter: blur(6px);
  transition: background 0.2s, color 0.2s;
}
.blog-archive .blog-card:hover .card-category-pill { background: var(--accent); color: var(--navy-dark); }
.blog-archive .card-read-icon {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center; opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.blog-archive .blog-card:hover .card-read-icon { opacity: 1; }
.blog-archive .card-read-icon span {
  width: 44px; height: 44px; background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%; display: grid; place-items: center; color: #fff;
  transform: scale(0.8); transition: transform 0.3s var(--ease);
}
.blog-archive .blog-card:hover .card-read-icon span { transform: scale(1); }
.blog-archive .blog-card .card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.blog-archive .card-body-top { flex: 1; }
.blog-archive .blog-card h3 {
  font-size: 15px; font-weight: 700; color: var(--navy-dark);
  letter-spacing: -0.3px; line-height: 1.4; margin-bottom: 8px;
  transition: color 0.2s;
}
.blog-archive .blog-card:hover h3 { color: var(--navy); }
.blog-archive .blog-card .card-excerpt {
  font-size: 13px; color: var(--text-secondary); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-archive .card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border-light);
}
.blog-archive .card-author { display: flex; align-items: center; gap: 8px; }
.blog-archive .card-author-avatar {
  width: 26px; height: 26px; border-radius: 50%; background: var(--navy-wash);
  display: grid; place-items: center; font-size: 10px; font-weight: 700;
  color: var(--navy); flex-shrink: 0; overflow: hidden;
}
.blog-archive .card-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.blog-archive .card-author-name { font-size: 11px; font-weight: 600; color: var(--text-secondary); }
.blog-archive .card-date { font-family: var(--mono); font-size: 10px; color: var(--text-muted); }
.blog-archive .card-read-time { font-family: var(--mono); font-size: 10px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }

/* wide card (spans 2 cols) — body version */
.blog-archive .blog-card.wide {
  grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; flex-direction: unset;
}
.blog-archive .blog-card.wide .card-img-wrap { aspect-ratio: auto; height: 100%; }
.blog-archive .blog-card.wide .card-body { padding: 24px 22px 26px; }
.blog-archive .blog-card.wide h3 { font-size: 17px; }
.blog-archive .blog-card.wide .card-excerpt { -webkit-line-clamp: 4; }

/* ─── SIDEBAR ─────────────────────────────────────────────────────────── */
.blog-archive .sidebar { display: flex; flex-direction: column; gap: 24px; }
.blog-archive .sidebar-widget {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.blog-archive .widget-head {
  padding: 14px 18px; background: var(--navy);
  display: flex; align-items: center; gap: 8px;
}
.blog-archive .widget-head h4 { font-size: 13px; font-weight: 700; color: var(--white); }
.blog-archive .widget-head svg { color: var(--accent); }
.blog-archive .widget-body { padding: 16px 18px; }

.blog-archive .cat-list { display: flex; flex-direction: column; gap: 2px; }
.blog-archive .cat-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 10px; border-radius: var(--radius-md);
  text-decoration: none; color: var(--text-secondary); font-size: 13px;
  transition: all 0.15s var(--ease);
}
.blog-archive .cat-item:hover { background: var(--navy-wash); color: var(--navy); padding-left: 14px; }
.blog-archive .cat-item:hover .cat-count { background: var(--navy); color: var(--white); }
.blog-archive .cat-item-left { display: flex; align-items: center; gap: 8px; }
.blog-archive .cat-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.blog-archive .cat-count {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  color: var(--text-muted); background: var(--surface);
  padding: 2px 7px; border-radius: 10px; transition: all 0.15s;
}

.blog-archive .popular-list { display: flex; flex-direction: column; gap: 12px; }
.blog-archive .popular-item {
  display: flex; gap: 12px; text-decoration: none; color: inherit;
  align-items: flex-start; transition: transform 0.15s;
}
.blog-archive .popular-item:hover { transform: translateX(3px); }
.blog-archive .popular-item:hover .pop-title { color: var(--navy); }
.blog-archive .popular-num { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--text-muted); min-width: 18px; margin-top: 2px; }
.blog-archive .pop-img { width: 54px; height: 42px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.blog-archive .pop-title { font-size: 12px; font-weight: 600; color: var(--text-primary); line-height: 1.4; transition: color 0.15s; }
.blog-archive .pop-date { font-family: var(--mono); font-size: 10px; color: var(--text-muted); margin-top: 3px; }

.blog-archive .newsletter-widget { background: var(--navy); border: none; }
.blog-archive .newsletter-body { padding: 20px 18px; }
.blog-archive .newsletter-body p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 14px; }
.blog-archive .newsletter-input {
  width: 100%; padding: 10px 12px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md); font-family: var(--font); font-size: 13px;
  color: var(--white); outline: none; margin-bottom: 8px;
}
.blog-archive .newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.blog-archive .newsletter-input:focus { border-color: rgba(232,168,56,0.5); background: rgba(255,255,255,0.13); }
.blog-archive .newsletter-btn {
  width: 100%; padding: 10px; background: var(--accent); color: var(--navy-dark);
  font-family: var(--font); font-size: 13px; font-weight: 700;
  border: none; border-radius: var(--radius-md); cursor: pointer; transition: background 0.2s;
}
.blog-archive .newsletter-btn:hover { background: var(--accent-hover); }
.blog-archive .newsletter-form { display: flex; flex-direction: column; gap: 0; }
.blog-archive .newsletter-field { margin-bottom: 10px; }
.blog-archive .newsletter-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 5px;
}
.blog-archive .newsletter-field .newsletter-input { margin-bottom: 0; }
.blog-archive .newsletter-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 32px;
  cursor: pointer;
}
.blog-archive .newsletter-select option { background: var(--navy-dark); color: var(--white); }
.blog-archive .newsletter-textarea { resize: vertical; min-height: 80px; line-height: 1.5; font-family: inherit; }
.blog-archive .newsletter-privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 14px;
}
.blog-archive .newsletter-privacy input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 14px;
  height: 14px;
  accent-color: var(--accent);
  cursor: pointer;
}
.blog-archive .newsletter-privacy label {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
.blog-archive .newsletter-privacy a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.blog-archive .newsletter-privacy a:hover { color: var(--accent-hover); }
.blog-archive .newsletter-msg {
  padding: 10px 12px; border-radius: var(--radius-md); font-size: 12.5px; line-height: 1.5;
  margin-bottom: 12px;
}
.blog-archive .newsletter-msg strong { font-weight: 700; }
.blog-archive .newsletter-msg-ok  { background: rgba(74,222,128,0.12); border: 1px solid rgba(74,222,128,0.35); color: #d1fae5; }
.blog-archive .newsletter-msg-err { background: rgba(248,113,113,0.12); border: 1px solid rgba(248,113,113,0.35); color: #fecaca; }
.blog-archive .newsletter-note { font-size: 10px; color: rgba(255,255,255,0.35); margin-top: 8px; line-height: 1.5; }

.blog-archive .tags-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.blog-archive .tag-chip {
  padding: 5px 10px; background: var(--surface);
  border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; transition: all 0.15s;
}
.blog-archive .tag-chip:hover { background: var(--navy-wash); border-color: var(--navy); color: var(--navy); }

/* ─── PAGINATION ──────────────────────────────────────────────────────── */
.blog-archive .pagination-wrap {
  margin-top: 40px; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.blog-archive .pagination { display: flex; gap: 4px; }
.blog-archive .page-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; transition: all 0.15s var(--ease); background: var(--white);
}
.blog-archive .page-btn:hover { border-color: var(--navy); color: var(--navy); background: var(--navy-wash); }
.blog-archive .page-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.blog-archive .page-btn.wide-btn { width: auto; padding: 0 14px; }
.blog-archive .page-info { font-size: 12px; color: var(--text-muted); font-family: var(--mono); }

/* ─── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .blog-archive .hero { padding: 30px 32px 36px; }
  .blog-archive .hero-text h1 { font-size: 42px; }
  .blog-archive .archive-section { padding: 40px 24px; }
  .blog-archive .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-archive .blog-card.wide { grid-column: span 2; }
  .blog-archive .archive-layout { grid-template-columns: 1fr 270px; gap: 32px; }
}
@media (max-width: 959px) {
  .blog-archive .filter-bar { top: calc(52px + 33px); }
  .blog-archive .hero { padding: 26px 20px 32px; }
  .blog-archive .hero-text h1 { font-size: 32px; }
  .blog-archive .hero-stat { padding: 0 20px; }
  .blog-archive .hero-stats { gap: 0; }
  .blog-archive .archive-section { padding: 32px 20px; }
  .blog-archive .archive-layout { grid-template-columns: 1fr; }
  .blog-archive .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
  .blog-archive .featured-card { grid-template-columns: 1fr; }
  .blog-archive .featured-card .card-img-wrap { aspect-ratio: 16/9; }
  .blog-archive .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-archive .blog-card.wide { grid-column: span 2; }
}
@media (max-width: 767px) {
  .blog-archive .filter-bar { top: calc(48px + 31px); padding: 0 16px; }
  .blog-archive .filter-tabs { gap: 1px; }
  .blog-archive .filter-tab { padding: 5px 12px; font-size: 12px; }
  .blog-archive .hero { padding: 20px 16px 28px; }
  .blog-archive .hero-text h1 { font-size: 26px; line-height: 1.15; }
  .blog-archive .hero-stats { flex-wrap: wrap; gap: 0; }
  .blog-archive .hero-stat { padding: 12px 16px; flex: 1 1 40%; }
  .blog-archive .hero-stat:not(:last-child)::after { display: none; }
  .blog-archive .archive-section { padding: 24px 16px; }
  .blog-archive .posts-grid { grid-template-columns: 1fr; }
  .blog-archive .blog-card.wide { grid-column: span 1; display: flex; flex-direction: column; }
  .blog-archive .blog-card.wide .card-img-wrap { aspect-ratio: 16/9; height: auto; }
  .blog-archive .sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .blog-archive .hero-text h1 { font-size: 20px; }
  .blog-archive .posts-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-archive .hero-text h1 { animation: none; }
  .blog-archive .blog-card,
  .blog-archive .featured-card { transition: none; }
  .blog-archive .blog-card .card-img-wrap img,
  .blog-archive .featured-card .card-img-wrap img { transition: none; }
}
