/* ============================================================
   COLLADIOX PRO — BLOG SHARED STYLESHEET
   Professional, clean, medical-grade design for health articles
   ============================================================ */

:root {
  --primary: #E8614D;
  --primary-deep: #D04A38;
  --primary-mid: #F07B6A;
  --primary-light: #F5A99E;
  --primary-pale: #FEF0EE;
  --green: #4DB892;
  --green-dark: #369B78;
  --green-pale: #E8F7F1;
  --blue: #3B82C9;
  --blue-pale: #EBF3FA;
  --amber: #D69E2E;
  --amber-pale: #FEFCBF;
  --red: #E53E3E;
  --red-pale: #FFF5F5;
  --text: #1E293B;
  --text-mid: #475569;
  --text-light: #64748B;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E0;
  --gray-400: #94A3B8;
  --white: #ffffff;
  --off-white: #FFFBFA;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-full: 9999px;
  --gradient-cta: linear-gradient(135deg, #E8614D, #D04A38);
  --gradient-brand: linear-gradient(135deg, #E8614D, #F07B6A);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== HEADER ========== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.header.scrolled { box-shadow: var(--shadow-md); border-bottom-color: var(--gray-200); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 800;
}
.logo-icon {
  width: 36px; height: 36px; border-radius: 10px; overflow: hidden;
}
.logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.logo-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-desktop a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-light);
  padding: 6px 0; position: relative;
}
.nav-desktop a:hover { color: var(--primary); }
.nav-desktop a.active { color: var(--primary); font-weight: 600; }
.nav-desktop a.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--primary); border-radius: 1px;
}

.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; background: var(--gradient-cta); color: #ffffff;
  font-family: 'Outfit', sans-serif; font-size: 0.95rem; font-weight: 700;
  border: none; border-radius: var(--r-full); cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(232, 97, 77, 0.3);
  position: relative; overflow: hidden; text-decoration: none; color: #ffffff !important;
}
.btn-cta::after {
  content: ''; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg); animation: btnShimmer 3.5s infinite;
  pointer-events: none;
}
@keyframes btnShimmer { 0% { left: -60%; } 100% { left: 160%; } }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232, 97, 77, 0.4); }
.nav-desktop .btn-cta { padding: 9px 22px; font-size: 0.85rem; color: #ffffff; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  width: 22px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 0; background: rgba(255,255,255,0.98);
  z-index: 999; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-menu.open { display: flex; opacity: 1; pointer-events: all; }
.mobile-menu a { font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--text); }
.mobile-menu .btn-cta { color: #ffffff; margin-top: 12px; }

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
  padding: 88px 0 0; font-size: 0.82rem; color: var(--text-light);
}
.breadcrumbs-inner {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 14px 0; border-bottom: 1px solid var(--gray-100);
}
.breadcrumbs a { color: var(--text-mid); font-weight: 500; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { color: var(--gray-300); font-size: 0.75rem; }
.breadcrumbs .current { color: var(--text-light); }

/* ========== ARTICLE HERO ========== */
.article-hero {
  padding: 40px 0 36px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 40px;
}

.article-hero-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}

.article-category {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--primary-pale); color: var(--primary-deep);
  font-size: 0.72rem; font-weight: 700; padding: 5px 14px;
  border-radius: var(--r-full); text-transform: uppercase; letter-spacing: 0.06em;
}

.article-date, .article-readtime {
  font-size: 0.82rem; color: var(--text-light);
  display: flex; align-items: center; gap: 5px;
}

.article-hero h1 {
  font-size: 2.4rem; font-weight: 800; line-height: 1.2;
  margin-bottom: 18px;
}

.article-hero-lead {
  font-size: 1.12rem; color: var(--text-mid); line-height: 1.7;
  max-width: 820px;
}

/* ========== ARTICLE LAYOUT ========== */
.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px;
  padding-bottom: 80px; align-items: start;
}

.article-main { min-width: 0; }
.article-sidebar { position: relative; }
.sidebar-sticky { position: sticky; top: 88px; }

/* ========== ARTICLE CONTENT ========== */
.article-content {
  font-size: 1.05rem; line-height: 1.85; color: var(--text-mid);
}
.article-content > *:first-child { margin-top: 0; }

.article-content h2 {
  font-size: 1.5rem; font-weight: 800; color: var(--text);
  margin: 52px 0 18px; padding-top: 28px;
  border-top: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: 12px;
}
.article-content h2 .h2-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--primary-pale); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}
.article-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

.article-content h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--text);
  margin: 32px 0 12px; padding-left: 14px;
  border-left: 3px solid var(--primary-light);
}

.article-content p { margin-bottom: 20px; }

.article-content ul, .article-content ol {
  margin: 12px 0 24px; padding-left: 0; list-style: none;
}
.article-content ul li, .article-content ol li {
  position: relative; padding: 8px 0 8px 28px; margin: 0;
  border-bottom: 1px solid var(--gray-50);
}
.article-content ul li:last-child, .article-content ol li:last-child { border-bottom: none; }

.article-content ul li::before {
  content: ''; position: absolute; left: 4px; top: 16px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary-light); border: 2px solid var(--primary);
}

.article-content ol { counter-reset: ol-counter; }
.article-content ol li { counter-increment: ol-counter; }
.article-content ol li::before {
  content: counter(ol-counter); position: absolute; left: 0; top: 8px;
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--primary-pale); color: var(--primary-deep);
  font-family: 'Outfit', sans-serif; font-size: 0.72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.article-content a {
  color: var(--primary); font-weight: 500;
  text-decoration: underline; text-decoration-color: rgba(232, 97, 77, 0.25);
  text-underline-offset: 3px;
}
.article-content a:hover { text-decoration-color: var(--primary); }

.article-content strong { font-weight: 600; color: var(--text); }

.article-content blockquote {
  margin: 32px 0; padding: 24px 28px 24px 32px;
  background: var(--gray-50); border-radius: 0 var(--r-lg) var(--r-lg) 0;
  border-left: 4px solid var(--primary);
  font-style: italic; color: var(--text-mid); font-size: 1.02rem; line-height: 1.75;
  position: relative;
}
.article-content blockquote::before {
  content: '\201C'; position: absolute; top: 8px; left: 12px;
  font-size: 2.5rem; color: var(--primary-light); font-family: Georgia, serif;
  line-height: 1;
}

/* ========== CALLOUT BOXES ========== */
.callout {
  margin: 32px 0; padding: 24px 24px 24px 60px;
  border-radius: var(--r-lg); position: relative;
  font-size: 0.95rem; line-height: 1.7;
}
.callout::before {
  content: ''; position: absolute; left: 20px; top: 26px;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; line-height: 24px; text-align: center;
}
.callout h4 {
  font-family: 'Outfit', sans-serif; font-size: 0.95rem;
  font-weight: 700; margin-bottom: 8px;
}
.callout p { margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }
.callout ul { margin: 8px 0 0; }

/* Info (blue) */
.callout-info {
  background: var(--blue-pale); border: 1px solid rgba(59,130,201,0.15);
}
.callout-info::before { content: 'i'; background: var(--blue); color: white; }
.callout-info h4 { color: #2563EB; }

/* Tip (green) */
.callout-tip {
  background: var(--green-pale); border: 1px solid rgba(77,184,146,0.15);
}
.callout-tip::before { content: '✓'; background: var(--green); color: white; }
.callout-tip h4 { color: var(--green-dark); }

/* Warning (red) */
.callout-warning {
  background: var(--red-pale); border: 1px solid rgba(229,62,62,0.15);
}
.callout-warning::before { content: '!'; background: var(--red); color: white; }
.callout-warning h4 { color: #C53030; }

/* Note (amber) */
.callout-note {
  background: var(--amber-pale); border: 1px solid rgba(214,158,46,0.2);
}
.callout-note::before { content: '★'; background: var(--amber); color: white; font-size: 0.7rem; }
.callout-note h4 { color: #92400E; }

/* ========== DATA TABLE ========== */
.data-table-wrap {
  margin: 28px 0; overflow-x: auto; border-radius: var(--r-lg);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-xs);
}
.data-table {
  width: 100%; border-collapse: collapse; font-size: 0.9rem;
}
.data-table thead { background: var(--gray-50); }
.data-table th {
  padding: 14px 18px; text-align: left; font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--text-mid); border-bottom: 2px solid var(--gray-200);
}
.data-table td {
  padding: 13px 18px; border-bottom: 1px solid var(--gray-100); color: var(--text-mid);
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--gray-50); }
.data-table .highlight-row { background: var(--primary-pale); }
.data-table .highlight-row:hover { background: #FDE8E4; }

/* ========== PRODUCT RECOMMENDATION BOX ========== */
.product-box {
  margin: 40px 0; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--gray-200);
}
.product-box-header {
  background: var(--gradient-cta); color: var(--white);
  padding: 14px 24px; font-family: 'Outfit', sans-serif;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; display: flex; align-items: center; gap: 8px;
}
.product-box-body {
  padding: 28px; background: linear-gradient(180deg, var(--primary-pale) 0%, var(--white) 100%);
  display: grid; grid-template-columns: 100px 1fr; gap: 24px; align-items: start;
}
.product-box-img {
  width: 100px; height: auto; filter: drop-shadow(0 4px 12px rgba(232,97,77,0.2));
}
.product-box-content h4 {
  font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 700;
  margin-bottom: 8px; color: var(--text);
}
.product-box-content p {
  font-size: 0.9rem; color: var(--text-mid); margin-bottom: 14px; line-height: 1.6;
}
.product-features {
  list-style: none; margin: 0 0 18px; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
}
.product-features li {
  font-size: 0.82rem; color: var(--text-mid); padding: 5px 0 5px 22px;
  position: relative; border: none;
}
.product-features li::before {
  content: '✓'; position: absolute; left: 0; top: 5px;
  color: var(--green); font-weight: 800; font-size: 0.85rem;
}
.product-box .btn-cta { padding: 10px 24px; font-size: 0.88rem; }

/* ========== SIDEBAR ========== */
.sidebar-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); margin-bottom: 20px;
  box-shadow: var(--shadow-xs); overflow: hidden;
}
.sidebar-card-header {
  padding: 16px 20px; background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  font-family: 'Outfit', sans-serif; font-size: 0.88rem;
  font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}

/* TOC */
.sidebar-toc { padding: 8px 0; }
.sidebar-toc a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; font-size: 0.84rem; color: var(--text-mid);
  border-left: 3px solid transparent; transition: all 0.2s;
}
.sidebar-toc a:hover {
  color: var(--primary); background: var(--primary-pale);
  border-left-color: var(--primary);
}
.sidebar-toc a.active {
  color: var(--primary-deep); background: var(--primary-pale);
  border-left-color: var(--primary); font-weight: 600;
}
.toc-num {
  width: 20px; height: 20px; border-radius: 5px;
  background: var(--gray-200); color: var(--text-mid);
  font-size: 0.68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sidebar-toc a:hover .toc-num,
.sidebar-toc a.active .toc-num {
  background: var(--primary); color: var(--white);
}

/* Sidebar Product */
.sidebar-product {
  border-color: var(--primary-light);
  background: linear-gradient(180deg, var(--primary-pale), var(--white));
}
.sidebar-product-img {
  width: 80px; height: auto; margin: 0 auto 12px;
  filter: drop-shadow(0 4px 10px rgba(232,97,77,0.2));
}
.sidebar-product-body { padding: 20px; text-align: center; }
.sidebar-product-body h4 {
  font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700;
  margin-bottom: 8px; color: var(--primary-deep);
}
.sidebar-product-body p {
  font-size: 0.84rem; color: var(--text-mid); margin-bottom: 14px; line-height: 1.55;
}
.sidebar-product-body .btn-cta { width: 100%; padding: 11px; font-size: 0.88rem; }

/* ========== CTA SECTION ========== */
.cta-section {
  margin: 56px 0; border-radius: var(--r-2xl); overflow: hidden;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary), var(--primary-mid));
  padding: 52px 40px; text-align: center; color: var(--white);
  position: relative;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(255,255,255,0.07)'/%3E%3C/svg%3E");
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 {
  font-size: 1.7rem; font-weight: 800; margin-bottom: 12px;
  color: var(--white); border: none; padding: 0; display: block;
}
.cta-section p {
  font-size: 1.02rem; opacity: 1; max-width: 520px; color: rgba(255,255,255,0.92);
  margin: 0 auto 28px; line-height: 1.65;
}
.cta-section .btn-cta {
  background: var(--white); color: var(--primary-deep) !important;
  padding: 16px 40px; font-size: 1.05rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cta-section .btn-cta:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.2); }

/* ========== RELATED ARTICLES ========== */
.related-section {
  padding: 64px 0 72px; background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}
.related-section h2 {
  font-size: 1.5rem; font-weight: 800; text-align: center;
  margin-bottom: 36px; color: var(--text);
}
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.related-card {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--gray-200); transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
}
.related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.related-card-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--primary-pale), rgba(245,169,158,0.3));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem; overflow: hidden;
}
.related-card-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.related-card-tag {
  font-size: 0.68rem; font-weight: 700; color: var(--primary-deep);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px;
}
.related-card-body h3 {
  font-size: 0.98rem; font-weight: 700; margin-bottom: 8px;
  color: var(--text); line-height: 1.35;
}
.related-card-body p {
  font-size: 0.82rem; color: var(--text-light); line-height: 1.55; flex: 1;
}
.related-card-link {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 12px;
  font-size: 0.82rem; font-weight: 600; color: var(--primary);
  transition: gap 0.2s;
}
.related-card:hover .related-card-link { gap: 8px; }

/* ========== AUTHOR BOX ========== */
.author-box {
  display: flex; align-items: center; gap: 16px; margin: 40px 0;
  padding: 24px; background: var(--gray-50); border-radius: var(--r-lg);
  border: 1px solid var(--gray-100);
}
.author-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary-pale);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info { flex: 1; }
.author-name { font-weight: 700; font-size: 0.92rem; color: var(--text); }
.author-title { font-size: 0.82rem; color: var(--text-light); }

/* ========== STATS HIGHLIGHT ========== */
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0;
}
.stat-item {
  text-align: center; padding: 20px 12px;
  background: var(--white); border-radius: var(--r-md);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-xs);
}
.stat-value {
  font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800;
  color: var(--primary-deep); line-height: 1;
}
.stat-label {
  font-size: 0.78rem; color: var(--text-light); margin-top: 6px; line-height: 1.35;
}

/* ========== FOOTER (4-col grid, matches homepage) ========== */
.footer {
  padding: 56px 0 32px; background: #1E293B; color: rgba(255,255,255,0.75); font-size: 0.85rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 32px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 800; color: #fff;
}
.footer-about { font-size: 0.82rem; line-height: 1.6; color: rgba(255,255,255,0.65); max-width: 280px; }
.footer-col h4 {
  font-family: 'Outfit', sans-serif; font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.85); margin-bottom: 16px;
}
.footer-col nav { display: flex; flex-direction: column; }
.footer-col nav a {
  color: rgba(255,255,255,0.7); font-size: 0.82rem; padding: 5px 0;
  text-decoration: none; transition: color 0.2s, padding-left 0.2s;
}
.footer-col nav a:hover { color: var(--primary-light, #F5A99E); padding-left: 4px; text-decoration: none; }
.footer-bottom { text-align: center; }
.footer-bottom p { margin-bottom: 8px; }
.footer .disclaimer {
  font-size: 0.72rem; max-width: 700px; margin: 0 auto 14px; line-height: 1.55; color: rgba(255,255,255,0.55);
}
.footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer a:hover { color: var(--primary-light, #F5A99E); }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 768px) {
  .footer { padding: 32px 0 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px 14px; text-align: left; padding-bottom: 20px; margin-bottom: 18px; }
  .footer-grid > .footer-col:first-child { grid-column: 1 / -1; }
  .footer-logo { font-size: 1rem; margin-bottom: 6px; }
  .footer-about { font-size: 0.72rem; max-width: 100%; }
  .footer-col h4 { margin-bottom: 6px; font-size: 0.68rem; }
  .footer-col nav a { padding: 2px 0; font-size: 0.75rem; }
  .footer .disclaimer { font-size: 0.65rem; }
}
@media (max-width: 480px) {
  .footer { padding: 24px 0 16px; }
  .footer-grid { gap: 14px 10px; }
  .footer-about { font-size: 0.68rem; }
  .footer-col h4 { font-size: 0.65rem; }
  .footer-col nav a { font-size: 0.7rem; }
  .footer .disclaimer { font-size: 0.62rem; }
}

/* ========== SCROLL PROGRESS ========== */
.reading-progress {
  position: fixed; top: 64px; left: 0; width: 0; height: 3px;
  background: var(--gradient-cta); z-index: 999; transition: width 0.1s linear;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; gap: 0; }
  .article-sidebar { display: none; }
  .product-box-body { grid-template-columns: 80px 1fr; gap: 18px; }
  .product-features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .breadcrumbs { padding-top: 76px; }
  .article-hero { padding: 28px 0 28px; }
  .article-hero h1 { font-size: 1.7rem; }
  .article-hero-lead { font-size: 1rem; }
  .article-content { font-size: 1rem; }
  .article-content h2 { font-size: 1.3rem; margin-top: 40px; }
  .article-content h3 { font-size: 1.05rem; }
  .related-grid { grid-template-columns: 1fr; gap: 16px; }
  .stats-row { grid-template-columns: 1fr; gap: 10px; }
  .stat-item { display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 18px; }
  .stat-value { font-size: 1.5rem; }
  .cta-section { padding: 36px 24px; }
  .cta-section h2 { font-size: 1.35rem; }
  .product-box-body { grid-template-columns: 1fr; }
  .product-box-img { width: 80px; margin: 0 auto; }
  .callout { padding-left: 52px; }
  .author-box { flex-direction: column; text-align: center; }
  .data-table { font-size: 0.82rem; }
  .data-table th, .data-table td { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .article-hero h1 { font-size: 1.45rem; }
  .article-content h2 { font-size: 1.2rem; }
  .callout { padding: 20px 16px 20px 48px; }
  .callout::before { left: 14px; top: 22px; width: 22px; height: 22px; font-size: 0.72rem; }
}
