/* ========== BLOG & HARNESS SHARED STYLES ========== */
/* Convince-X Stories & Harness — Newsletter-grade design */

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

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-50: #eef4ff;
  --teal: #14b8a6;
  --teal-dark: #0d9488;
  --orange: #f59e0b;
  --red: #ef4444;
  --green: #10b981;
  --purple: #8b5cf6;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --bg: #f0f4f8;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Pretendard, -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  color: var(--gray-800);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========== HEADER (shared with main site) ========== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 24px;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gray-900);
}

.logo-area img { width: 36px; height: 36px; }

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-text .x-highlight {
  background: linear-gradient(135deg, var(--primary), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-500);
  text-decoration: none;
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--gray-900);
  background: var(--gray-100);
}

.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.lang-toggle {
  display: flex;
  background: var(--gray-100);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.lang-btn {
  padding: 6px 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
  transition: all 0.2s;
  font-family: inherit;
}

.lang-btn.active {
  background: var(--primary);
  color: white;
}

/* ========== LIST PAGE ========== */
.list-hero {
  margin-top: 64px;
  padding: 80px 24px 48px;
  text-align: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.list-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(37,99,235,0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(20,184,166,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.list-hero-content {
  position: relative;
  max-width: 650px;
  margin: 0 auto;
}

.list-hero .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Harness variant */
.list-hero.harness-hero::before {
  background:
    radial-gradient(circle at 30% 40%, rgba(20,184,166,0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(139,92,246,0.1) 0%, transparent 50%);
}

.list-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.list-hero h1 .gradient-text {
  background: linear-gradient(90deg, #3b82f6, #14b8a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.list-hero p {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.7;
}

/* Filter tags */
.filter-bar {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tag {
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--gray-200);
  background: white;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-tag:hover,
.filter-tag.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* Post cards grid */
.posts-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.post-card {
  display: flex;
  gap: 24px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.post-card-visual {
  width: 200px;
  min-height: 140px;
  border-radius: var(--radius);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.post-card-visual .visual-number {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 3.5rem;
  font-weight: 900;
  opacity: 0.15;
  color: white;
}

.post-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.post-card-tag {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tag-startup { background: #fef3c7; color: #92400e; }
.tag-tech { background: #dbeafe; color: #1e40af; }
.tag-csuite { background: #ede9fe; color: #5b21b6; }
.tag-feature { background: #d1fae5; color: #065f46; }
.tag-failure { background: #fee2e2; color: #991b1b; }
.tag-global { background: #e0f2fe; color: #075985; }
.tag-insight { background: #fce7f3; color: #9d174d; }
.tag-security { background: #fef9c3; color: #854d0e; }
.tag-harness { background: #f0fdf4; color: #166534; }
.tag-framework { background: #ecfdf5; color: #047857; }
.tag-agent { background: #eef2ff; color: #3730a3; }
.tag-principle { background: #faf5ff; color: #7c3aed; }

.post-card-date {
  font-size: 0.78rem;
  color: var(--gray-400);
  font-weight: 500;
}

.post-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.post-card-excerpt {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-read {
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ========== POST PAGE ========== */
.post-hero {
  margin-top: 64px;
  padding: 80px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: white;
}

.post-hero.stories-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.post-hero.harness-post-hero {
  background: linear-gradient(135deg, #0f172a 0%, #0d3b2e 50%, #0f172a 100%);
}

.post-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}

.post-hero.stories-hero::before {
  background:
    radial-gradient(circle at 20% 50%, rgba(37,99,235,0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(20,184,166,0.1) 0%, transparent 50%);
}

.post-hero.harness-post-hero::before {
  background:
    radial-gradient(circle at 20% 50%, rgba(20,184,166,0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(139,92,246,0.15) 0%, transparent 50%);
}

.post-hero-content {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.post-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.post-hero .back-link:hover { color: white; }

.post-hero .post-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.post-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.post-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--gray-400);
}

.post-meta-row .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-meta-row .meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gray-500);
}

/* ========== POST BODY ========== */
.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.post-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 20px;
}

.post-body h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 40px 0 16px;
  letter-spacing: -0.02em;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
}

.post-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 36px 0 16px;
}

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

.post-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.post-body li {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gray-700);
  margin-bottom: 8px;
}

/* ── Visual Elements ── */

/* Lead paragraph */
.lead {
  font-size: 1.2rem !important;
  color: var(--gray-600) !important;
  line-height: 1.8 !important;
  font-weight: 400;
}

/* Section divider */
.divider {
  text-align: center;
  margin: 28px 0;
  color: var(--gray-300);
  font-size: 1rem;
  letter-spacing: 0.5em;
}

/* Pull quote */
.pull-quote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--primary);
  background: var(--primary-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.pull-quote p {
  font-size: 1.15rem !important;
  font-weight: 600;
  color: var(--gray-800) !important;
  margin: 0 !important;
  line-height: 1.7 !important;
}

.pull-quote.teal {
  border-left-color: var(--teal);
  background: #f0fdfa;
}

.pull-quote.orange {
  border-left-color: var(--orange);
  background: #fffbeb;
}

.pull-quote.red {
  border-left-color: var(--red);
  background: #fef2f2;
}

.pull-quote.purple {
  border-left-color: var(--purple);
  background: #faf5ff;
}

/* Stat cards grid */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0;
}

.stat-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-card .stat-label {
  font-size: 0.82rem;
  color: var(--gray-500);
  font-weight: 500;
}

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

/* Highlight box */
.highlight-box {
  margin: 36px 0;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: white;
}

.highlight-box.blue {
  border-color: rgba(37,99,235,0.2);
  background: var(--primary-light);
}

.highlight-box.teal {
  border-color: rgba(20,184,166,0.2);
  background: #f0fdfa;
}

.highlight-box.amber {
  border-color: rgba(245,158,11,0.2);
  background: #fffbeb;
}

.highlight-box.red {
  border-color: rgba(239,68,68,0.2);
  background: #fef2f2;
}

.highlight-box .box-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.highlight-box.blue .box-title { color: var(--primary); }
.highlight-box.teal .box-title { color: var(--teal-dark); }
.highlight-box.amber .box-title { color: #b45309; }
.highlight-box.red .box-title { color: var(--red); }

.highlight-box p {
  font-size: 0.95rem !important;
  margin-bottom: 8px !important;
  color: var(--gray-700) !important;
}

.highlight-box p:last-child { margin-bottom: 0 !important; }

/* Timeline */
.timeline {
  margin: 36px 0;
  padding-left: 24px;
  border-left: 3px solid var(--gray-200);
}

.timeline-item {
  position: relative;
  padding: 0 0 28px 24px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item.done::before { background: var(--green); box-shadow: 0 0 0 2px var(--green); }
.timeline-item.current::before { background: var(--orange); box-shadow: 0 0 0 2px var(--orange); }

.timeline-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 36px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.compare-table th {
  background: var(--gray-900);
  color: white;
  padding: 14px 20px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
}

.compare-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

.compare-table tr:nth-child(even) td {
  background: var(--gray-50);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

/* Progress bar */
.progress-item {
  margin-bottom: 16px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.progress-bar {
  height: 8px;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  transition: width 0.6s ease;
}

/* Code block */
.code-block {
  margin: 32px 0;
  background: var(--gray-900);
  border-radius: var(--radius);
  padding: 24px;
  overflow-x: auto;
}

.code-block code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  color: #e2e8f0;
  line-height: 1.7;
}

.code-block .code-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}

/* Emoji icon card */
.icon-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 36px 0;
}

.icon-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.icon-card .ic-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: 10px;
  flex-shrink: 0;
}

.icon-card .ic-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.icon-card .ic-desc {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Number list (visual) */
.number-list {
  margin: 36px 0;
  counter-reset: numlist;
}

.number-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.number-item::before {
  counter-increment: numlist;
  content: counter(numlist);
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 800;
  flex-shrink: 0;
}

.number-item-content {
  flex: 1;
}

.number-item-content .ni-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.number-item-content .ni-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ========== POST FOOTER ========== */
.post-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* CTA card */
.cta-card {
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  color: white;
  margin-bottom: 40px;
}

.cta-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  line-height: 1.6;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: white;
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Author card */
.author-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  margin-bottom: 32px;
}

.author-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.author-card .author-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.author-card .author-role {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
}

.author-card .author-bio {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 4px;
  line-height: 1.5;
}

/* Share bar */
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.share-bar span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  background: white;
}

.share-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.share-btn.linkedin {
  background: #0a66c2;
  color: white;
  border-color: #0a66c2;
}

.share-btn.linkedin:hover {
  background: #004182;
}

/* ========== FOOTER ========== */
footer {
  margin-top: auto;
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid var(--gray-200);
  background: white;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-brand img { width: 24px; height: 24px; }

.footer-brand span {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--gray-400);
}

/* ========== COMPARISON GRIDS (responsive) ========== */
.market-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 36px 0;
}

.jd-compare {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 0;
  align-items: stretch;
  margin: 20px 0 28px;
}

.pipeline-flow {
  display: flex;
  gap: 0;
  align-items: stretch;
  margin: 32px 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .list-hero { padding: 64px 20px 40px; }
  .list-hero h1 { font-size: 2rem; }

  .post-card {
    flex-direction: column;
    gap: 16px;
  }

  .post-card-visual {
    width: 100%;
    min-height: 120px;
  }

  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .stat-cards-4 { grid-template-columns: repeat(2, 1fr); }
  .icon-cards { grid-template-columns: 1fr; }

  .post-hero h1 { font-size: 1.8rem; }
  .post-body { padding: 32px 20px 48px; }

  .market-compare { grid-template-columns: 1fr; }
  .jd-compare { grid-template-columns: 1fr; }
  .jd-compare .jd-arrow { display: none; }
  .jd-compare > div:first-child { border-radius: 12px 12px 0 0; }
  .jd-compare > div:last-child { border-radius: 0 0 12px 12px; }
  .pipeline-flow { flex-direction: column; }
  .pipeline-flow .flow-arrow { transform: rotate(90deg); padding: 4px 0; }
  .pipeline-flow > div:first-child { border-radius: 12px 12px 0 0; }
  .pipeline-flow > div:last-child { border-radius: 0 0 12px 12px; }

  .author-card { flex-direction: column; text-align: center; }

  .nav-links { display: flex; gap: 2px; }
  .nav-link { font-size: 0.78rem; padding: 6px 10px; min-height: 44px; display: flex; align-items: center; }
  .lang-btn { min-height: 44px; }

  .filter-bar { padding: 16px 20px 0; }
}

@media (max-width: 480px) {
  .list-hero h1 { font-size: 1.6rem; }
  .post-hero h1 { font-size: 1.5rem; }
  .stat-cards { grid-template-columns: 1fr; }
  .stat-cards-2 { grid-template-columns: 1fr; }
  .post-meta-row { flex-direction: column; gap: 8px; }
  .share-bar { flex-wrap: wrap; }
}
