/* ===================== POST PAGE ===================== */

/* Reading progress */
.progress-track { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: rgba(0,0,0,0.06); z-index: 99; }
.progress-bar { height: 100%; width: 0; background: #F00E0E; transition: width 0.1s linear; }

/* ===== POST HERO ===== */
.post-hero {
  padding: 160px 48px 80px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  background: #FFFFFF;
}
.post-hero-inner { max-width: 1400px; margin: 0 auto; position: relative; }
.post-hero .crumbs { margin-bottom: 56px; }

.post-meta-top { display: flex; gap: 32px; align-items: center; margin-bottom: 40px; flex-wrap: wrap; }
.post-meta-top .cat {
  font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 11px;
  letter-spacing: 3px; text-transform: uppercase;
  color: #F00E0E; padding: 8px 14px; border: 1px solid #F00E0E;
}
.post-meta-top .date, .post-meta-top .time {
  font-family: 'Satoshi', sans-serif; font-weight: 400; font-size: 12px;
  letter-spacing: 1.5px; text-transform: uppercase; color: rgba(0,0,0,0.45);
}

.post-title {
  font-family: 'Satoshi', sans-serif; font-weight: 900;
  font-size: clamp(40px, 7vw, 120px); line-height: 0.95; letter-spacing: -0.04em; color: #000000;
  max-width: 1100px;
}
.post-title em { font-style: normal; color: #F00E0E; font-weight: 700; }
.post-title .outline { color: #000000; }

.post-deck {
  margin-top: 48px;
  font-family: 'Satoshi', sans-serif; font-weight: 400;
  font-size: clamp(17px, 1.4vw, 22px); line-height: 1.55;
  color: rgba(0,0,0,0.6); max-width: 720px;
}

.post-author { margin-top: 64px; display: flex; gap: 16px; align-items: center; font-family: 'Satoshi', sans-serif; }
.post-author-avatar {
  width: 48px; height: 48px;
  background: #F00E0E;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Satoshi', sans-serif; font-weight: 900; font-size: 16px; color: #FFFFFF;
}
.post-author-info { line-height: 1.4; }
.post-author-name { font-weight: 500; font-size: 13px; color: #000000; letter-spacing: 0.5px; }
.post-author-role { font-weight: 400; font-size: 11px; color: rgba(0,0,0,0.45); letter-spacing: 1.5px; text-transform: uppercase; }

/* ===== ARTICLE ===== */
.article { padding: 120px 48px; background: #FFFFFF; }
.article-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 80px 1fr 80px; gap: 48px; }

.article-side {
  position: sticky; top: 120px; align-self: start;
  font-family: 'Satoshi', sans-serif; font-weight: 500; font-size: 10px;
  letter-spacing: 3px; text-transform: uppercase; color: rgba(0,0,0,0.25);
  writing-mode: vertical-rl; transform: rotate(180deg); height: fit-content;
}
.article-side-right { justify-self: end; }

.article-body {
  max-width: 720px; margin: 0 auto;
  font-family: 'Satoshi', sans-serif; font-weight: 400;
  font-size: 18px; line-height: 1.75; color: rgba(0,0,0,0.8);
}
.article-body > * + * { margin-top: 28px; }

.article-body h2 {
  font-family: 'Satoshi', sans-serif; font-weight: 700;
  font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -0.02em;
  color: #000000; margin-top: 80px !important; margin-bottom: 24px;
}
.article-body h2::before { content: ""; display: block; width: 48px; height: 2px; background: #F00E0E; margin-bottom: 24px; }

.article-body h3 {
  font-family: 'Satoshi', sans-serif; font-weight: 700;
  font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -0.01em;
  color: #000000; margin-top: 56px !important; margin-bottom: 16px;
}

.article-body p { font-size: 18px; line-height: 1.75; color: rgba(0,0,0,0.8); }
.article-body strong { color: #000000; font-weight: 700; }
.article-body em { font-style: italic; color: #F00E0E; }
.article-body a { color: #F00E0E; border-bottom: 1px solid #F00E0E; cursor: none; }
.article-body a:hover { background: #F00E0E; color: #FFFFFF; }

/* Post inline image */
.article-body .post-image {
  width: 100%; display: block;
  max-height: 400px; object-fit: cover;
  margin: 56px 0 !important;
}

.article-body ul, .article-body ol { padding-left: 0; list-style: none; }
.article-body ul li, .article-body ol li { position: relative; padding-left: 32px; margin-top: 12px; }
.article-body ul li::before { content: "·"; position: absolute; left: 0; color: #F00E0E; font-weight: 700; font-size: 22px; line-height: 1; top: 2px; }
.article-body ol { counter-reset: ol; }
.article-body ol li { counter-increment: ol; }
.article-body ol li::before { content: counter(ol, decimal-leading-zero); position: absolute; left: 0; color: #F00E0E; font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 2px; top: 6px; }

/* PULL QUOTE */
.pullquote {
  margin: 80px -120px !important;
  padding: 56px 0;
  border-top: 1px solid rgba(0,0,0,0.12);
  border-bottom: 1px solid rgba(0,0,0,0.12);
  font-family: 'Satoshi', sans-serif; font-weight: 700;
  font-size: clamp(28px, 3.5vw, 56px); line-height: 1.1; letter-spacing: -0.02em; color: #000000;
}
.pullquote::before { content: "✦"; display: block; font-size: 18px; color: #F00E0E; margin-bottom: 24px; }
.pullquote.outline { color: #000000; }

/* CALLOUT */
.callout {
  margin: 64px -80px !important;
  padding: 48px; background: #F00E0E; color: #FFFFFF;
  font-family: 'Satoshi', sans-serif; font-weight: 400; font-size: 16px; line-height: 1.6;
}
.callout-label { font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: #FFFFFF; margin-bottom: 16px; opacity: 0.8; }
.callout-title { font-family: 'Satoshi', sans-serif; font-weight: 900; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -0.02em; color: #FFFFFF; margin-bottom: 16px; }
.callout p { color: rgba(255,255,255,0.9); }

/* DROP CAP */
.dropcap::first-letter { font-family: 'Satoshi', sans-serif; font-weight: 900; font-size: 88px; line-height: 0.85; float: left; margin: 6px 16px 0 0; color: #F00E0E; }

/* HR */
.article-body hr { border: 0; height: 1px; background: rgba(0,0,0,0.1); margin: 80px 0 !important; position: relative; }
.article-body hr::after { content: "✦"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: #FFFFFF; padding: 0 16px; color: #F00E0E; font-size: 14px; }

/* ===== SHARE + RELATED ===== */
.post-share { padding: 80px 48px; border-top: 1px solid rgba(0,0,0,0.1); border-bottom: 1px solid rgba(0,0,0,0.1); }
.post-share-inner { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.post-share-label { font-family: 'Satoshi', sans-serif; font-weight: 500; font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: rgba(0,0,0,0.4); }
.post-share-links { display: flex; gap: 8px; flex-wrap: wrap; }
.post-share-links a {
  font-family: 'Satoshi', sans-serif; font-weight: 500; font-size: 11px;
  text-transform: uppercase; letter-spacing: 2px;
  padding: 12px 18px; border: 1px solid rgba(0,0,0,0.2); color: #000000;
}
.post-share-links a:hover { background: #F00E0E; border-color: #F00E0E; color: #FFFFFF; }

.related { padding: 120px 48px 160px; background: rgba(200,195,184,0.1); }
.related-inner { max-width: 1400px; margin: 0 auto; }
.related-label { font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: #F00E0E; margin-bottom: 24px; }
.related-title { font-family: 'Satoshi', sans-serif; font-weight: 900; font-size: clamp(36px, 5vw, 88px); line-height: 0.9; letter-spacing: -0.04em; color: #000000; margin-bottom: 64px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid rgba(0,0,0,0.1); }
.related-card {
  padding: 48px 32px; border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: background 0.25s ease; display: flex; flex-direction: column; gap: 24px;
}
.related-card:nth-child(odd) { border-right: 1px solid rgba(0,0,0,0.1); }
.related-card:hover { background: rgba(240,14,14,0.03); }
.related-card:hover .related-card-title { color: #F00E0E; }
.related-card:hover .related-card-arrow { color: #F00E0E; transform: translateX(8px); }
.related-card-cat { font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: #F00E0E; }
.related-card-title { font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: clamp(20px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.01em; color: #000000; transition: color 0.2s ease; }
.related-card-meta { font-family: 'Satoshi', sans-serif; font-weight: 400; font-size: 11px; color: rgba(0,0,0,0.4); letter-spacing: 1px; text-transform: uppercase; margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.related-card-arrow { font-family: 'Satoshi', sans-serif; font-weight: 400; font-size: 22px; color: rgba(0,0,0,0.35); transition: color 0.2s ease, transform 0.2s ease; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
html:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .post-hero { padding: 140px 32px 64px; }
  .article { padding: 100px 32px; }
  .article-inner { grid-template-columns: 40px 1fr 40px; gap: 32px; }
  .pullquote { margin-left: -60px !important; margin-right: -60px !important; }
  .callout { margin-left: -40px !important; margin-right: -40px !important; padding: 40px; }
  .post-share { padding: 72px 32px; }
  .related { padding: 100px 32px 140px; }
}
@media (max-width: 960px) {
  .article-inner { grid-template-columns: 1fr; gap: 0; }
  .article-side { display: none; }
  .pullquote { margin-left: 0 !important; margin-right: 0 !important; }
  .callout { margin-left: 0 !important; margin-right: 0 !important; }
}
@media (max-width: 640px) {
  .post-hero { padding: 120px 20px 56px; }
  .post-hero .crumbs { margin-bottom: 32px; }
  .post-meta-top { gap: 16px; margin-bottom: 28px; }
  .post-deck { margin-top: 32px; font-size: 16px; }
  .post-author { margin-top: 48px; }
  .article { padding: 72px 20px; }
  .article-body { font-size: 16px; line-height: 1.7; }
  .article-body p { font-size: 16px; line-height: 1.7; }
  .article-body h2 { margin-top: 56px !important; }
  .article-body h3 { margin-top: 40px !important; }
  .article-body hr { margin: 56px 0 !important; }
  .pullquote { padding: 40px 0; margin-top: 56px !important; margin-bottom: 56px !important; }
  .callout { padding: 32px 24px; margin-top: 48px !important; margin-bottom: 48px !important; }
  .dropcap::first-letter { font-size: 64px; margin: 4px 12px 0 0; }
  .post-share { padding: 56px 20px; }
  .post-share-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .related { padding: 80px 20px 100px; }
  .related-title { margin-bottom: 48px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { padding: 32px 16px; gap: 16px; }
  .related-card:nth-child(odd) { border-right: none; }
}
