/* ═══════════════════════════════════════
   INSIGHTS — Archive & Single styles
   ═══════════════════════════════════════ */

/* ── Page Header ─────────────────────────────────────────── */

.insights-header {
  padding-top: var(--nav-h);
  background: var(--cream);
  border-bottom: 1px solid var(--warm-gray);
}

.page-header-inner {
  padding: 56px 80px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.header-eyebrow::before {
  content: "";
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--accent);
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.page-title em {
  font-style: italic;
  color: var(--accent);
}

.page-desc {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 300;
  max-width: 440px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.archive-tabs {
  display: flex;
  align-self: flex-end;
  flex-shrink: 0;
}

.archive-tab {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-light);
  text-decoration: none;
  padding: 12px 24px;
  border-bottom: 2.5px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
  white-space: nowrap;
}

.archive-tab:hover {
  color: var(--text-dark);
}

.archive-tab.active {
  color: var(--accent);
  font-weight: 500;
  border-bottom-color: var(--accent);
}

/* ── Category Filter ─────────────────────────────────────── */

.filter-bar {
  padding: 0 80px;
  background: var(--cream);
  border-bottom: 1px solid var(--warm-gray);
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
}

.filter-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-right: 8px;
  flex-shrink: 0;
}

.cat-btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-mid);
  background: transparent;
  border: 1.5px solid var(--warm-gray);
  border-radius: 20px;
  padding: 6px 16px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.cat-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cat-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 500;
}

/* ── Featured Post ───────────────────────────────────────── */

.featured-post {
  padding: 48px 80px 0;
}

.featured-inner {
  display: block;
  background: var(--cream-mid);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--warm-gray);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s;
}

.featured-inner:hover {
  box-shadow: 0 12px 48px rgba(28, 26, 23, 0.1);
}

.featured-link {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.featured-img {
  overflow: hidden;
  background: var(--warm-gray);
  aspect-ratio: 16 / 10;
}

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

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

.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: var(--warm-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--stone);
  letter-spacing: 0.04em;
}

.featured-content {
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}

.featured-badge {
  display: inline-flex;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-pale);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.featured-cat {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.featured-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.featured-excerpt {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
  font-weight: 300;
  margin-bottom: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-light);
  font-weight: 300;
}

.meta-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--stone);
  flex-shrink: 0;
}

.read-more {
  margin-top: 28px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.read-more::after {
  content: "→";
  font-size: 15px;
}
.featured-inner:hover .read-more {
  gap: 10px;
}

/* ── Post Grid ───────────────────────────────────────────── */

.post-grid-section {
  padding: 40px 80px 80px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--warm-gray);
  transition:
    box-shadow 0.25s,
    transform 0.25s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  box-shadow: 0 8px 36px rgba(28, 26, 23, 0.09);
  transform: translateY(-3px);
}

.post-card.wide {
  grid-column: span 2;
  flex-direction: row;
}

.post-img {
  overflow: hidden;
  background: var(--warm-gray);
  flex-shrink: 0;
}

.post-card:not(.wide) .post-img {
  aspect-ratio: 16 / 10;
  width: 100%;
}

.post-card.wide .post-img {
  width: 48%;
  min-height: 260px;
}

.post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

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

.post-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: var(--cream-mid);
}

.post-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card.wide .post-content {
  padding: 36px;
  justify-content: center;
}

.post-cat {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.post-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.post-card.wide .post-title {
  font-size: 22px;
  margin-bottom: 14px;
}

.post-excerpt {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-light);
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  flex: 1;
}

.post-card.wide .post-excerpt {
  -webkit-line-clamp: 3;
  font-size: 14.5px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-light);
  font-weight: 300;
  margin-top: auto;
}

.post-meta .meta-divider {
  width: 2px;
  height: 2px;
  background: var(--stone);
}

.post-card.text-only {
  background: var(--cream-mid);
}
.post-card.text-only:hover {
  background: var(--accent-pale);
}
.post-card.text-only .post-content {
  padding: 32px;
}

.post-card.dark-card {
  background: var(--dark-bg);
  border-color: transparent;
}

.post-card.dark-card .post-cat {
  color: var(--accent-light);
}
.post-card.dark-card .post-title {
  color: var(--cream);
}
.post-card.dark-card .post-excerpt {
  color: rgba(250, 248, 244, 0.5);
}
.post-card.dark-card .post-meta {
  color: rgba(250, 248, 244, 0.3);
}
.post-card.dark-card .meta-divider {
  background: rgba(250, 248, 244, 0.2);
}
.post-card.dark-card:hover {
  background: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.25);
}

.section-divider {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}

.divider-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  flex-shrink: 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--warm-gray);
}

/* ── Pagination ──────────────────────────────────────────── */

.insights-pagination {
  padding: 0 80px 80px;
  display: flex;
  justify-content: center;
}

.insights-pagination ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.insights-pagination ul li a,
.insights-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1.5px solid var(--warm-gray);
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--text-mid);
  text-decoration: none;
  transition: all 0.15s;
}

.insights-pagination ul li a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.insights-pagination ul li span.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 500;
}

.insights-pagination ul li span.dots {
  border: none;
  color: var(--stone);
}

/* ── Empty state ─────────────────────────────────────────── */

.insights-empty {
  padding: 80px;
  text-align: center;
  color: var(--text-light);
}

/* ═══════════════════════════════════════
   SINGLE INSIGHT
   ═══════════════════════════════════════ */

body.single-insights {
  background: #fff;
}

/* ── Progress bar ─────────────────────────────────────────── */

.progress-bar {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: 2px;
  background: var(--warm-gray);
  z-index: 99;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.1s linear;
}

/* ── Hero ─────────────────────────────────────────────────── */

.post-hero {
  padding-top: var(--nav-h);
  position: relative;
  background: var(--dark-bg);
  overflow: hidden;
}

.post-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(235, 0, 125, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(235, 0, 125, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.hero-meta {
  padding: 52px 80px 36px;
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(250, 248, 244, 0.4);
  text-decoration: none;
  margin-bottom: 20px;
}

.breadcrumb::before {
  content: "←";
  font-size: 13px;
}

.breadcrumb span {
  color: var(--accent-light);
}

.post-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(235, 0, 125, 0.12);
  border: 1px solid rgba(235, 0, 125, 0.2);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 22px;
}

.post-hero .post-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-bottom: 24px;
}

.post-hero .post-excerpt {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(250, 248, 244, 0.55);
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto 32px;
}

.post-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: rgba(250, 248, 244, 0.4);
  font-weight: 300;
  padding-bottom: 44px;
}

.byline-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(250, 248, 244, 0.2);
}

.byline-author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(250, 248, 244, 0.6);
}

.byline-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(235, 0, 125, 0.2);
  border: 1px solid rgba(235, 0, 125, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--accent-light);
  font-weight: 500;
  flex-shrink: 0;
}

.hero-image {
  width: 100%;
  aspect-ratio: 21 / 8;
  overflow: hidden;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.7;
}

.hero-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: linear-gradient(160deg, #2a1e28 0%, #1c1118 50%, #261520 100%);
}

/* ── Content layout ───────────────────────────────────────── */

.post-layout {
  background: #fff;
  padding: 72px 0 0;
}

.post-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 100px 1fr 180px;
  gap: 48px;
  align-items: start;
}

/* ── Share column ─────────────────────────────────────────── */

.share-col {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
}

.share-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--warm-gray);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  text-decoration: none;
}

.share-btn:hover {
  border-color: var(--accent);
  background: var(--accent-pale);
}

.share-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--text-light);
  transition: fill 0.2s;
}

.share-btn:hover svg {
  fill: var(--accent);
}

.share-divider {
  width: 1px;
  height: 24px;
  background: var(--warm-gray);
  margin: 2px 0;
}

.copy-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--warm-gray);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.copy-btn:hover {
  border-color: var(--accent);
  background: var(--accent-pale);
}

.copy-btn svg {
  width: 15px;
  height: 15px;
  stroke: var(--text-light);
  fill: none;
  transition: stroke 0.2s;
}

.copy-btn:hover svg {
  stroke: var(--accent);
}

.copy-toast {
  position: absolute;
  left: 48px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.copy-toast.show {
  opacity: 1;
}

/* ── Article body ─────────────────────────────────────────── */

.article-body {
  min-width: 0;
  padding-bottom: 80px;
}

/* Inline TOC */
.toc {
  background: var(--cream);
  border: 1px solid var(--warm-gray);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 48px;
}

.toc-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-item a {
  font-size: 14px;
  color: var(--text-mid);
  text-decoration: none;
  font-weight: 300;
  line-height: 1.5;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  transition: color 0.15s;
}

.toc-item a::before {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--stone);
  flex-shrink: 0;
  margin-top: 1px;
  transition: background 0.15s;
}

.toc-item a:hover {
  color: var(--accent);
}
.toc-item a:hover::before {
  background: var(--accent);
}
.toc-item.active a {
  color: var(--accent);
  font-weight: 400;
}
.toc-item.active a::before {
  background: var(--accent);
}
.toc-item.sub a {
  padding-left: 12px;
  font-size: 13px;
  color: var(--text-light);
}

/* Prose */
.prose h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
  scroll-margin-top: 96px;
}

.prose h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
  scroll-margin-top: 96px;
}

.prose p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-mid);
  font-weight: 300;
  margin-bottom: 24px;
}

.prose p strong {
  font-weight: 500;
  color: var(--text-dark);
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(235, 0, 125, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.prose a:hover {
  text-decoration-color: var(--accent);
}

.prose ul,
.prose ol {
  margin: 0 0 24px 0;
  padding-left: 0;
  list-style: none;
}

.prose ul li,
.prose ol li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-mid);
  font-weight: 300;
  position: relative;
}

.prose ul li {
  padding-left: 17px;
  margin-bottom: 10px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.prose ol {
  counter-reset: ol-counter;
}

.prose ol li {
  padding-left: 34px;
  margin-bottom: 10px;
}

.prose ol li::before {
  content: counter(ol-counter);
  counter-increment: ol-counter;
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-pale);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 28px;
  margin: 40px 0;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.5;
}

.prose blockquote p {
  margin-bottom: 0;
  font-size: 22px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-dark);
}

.prose code {
  font-size: 14px;
  background: var(--cream);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Courier New", Courier, monospace;
  color: var(--accent);
}

.prose pre {
  background: var(--dark-bg);
  border-radius: 10px;
  padding: 24px 28px;
  margin: 28px 0;
  overflow-x: auto;
}

.prose pre code {
  background: none;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(250, 248, 244, 0.8);
  padding: 0;
  white-space: pre;
}

/* Post footer */
.post-footer {
  border-top: 1px solid var(--warm-gray);
  padding-top: 36px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.post-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tags-label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-right: 4px;
}

.post-tag {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-mid);
  background: var(--cream);
  border: 1px solid var(--warm-gray);
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition:
    border-color 0.15s,
    color 0.15s;
}

.post-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer-share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-share-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

.footer-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid var(--warm-gray);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.footer-share-btn:hover {
  border-color: var(--accent);
  background: var(--accent-pale);
}

.footer-share-btn svg {
  width: 14px;
  height: 14px;
  fill: var(--text-light);
  transition: fill 0.15s;
}

.footer-share-btn:hover svg {
  fill: var(--accent);
}

/* Author bio */
.author-bio {
  background: var(--cream);
  border: 1px solid var(--warm-gray);
  border-radius: 14px;
  padding: 36px;
  margin-top: 56px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.author-avatar-lg {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-pale);
  border: 2px solid rgba(235, 0, 125, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--accent);
  font-weight: 500;
  flex-shrink: 0;
}

.author-bio-content {
  flex: 1;
}

.author-bio-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.author-bio-role {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.author-bio-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-mid);
  font-weight: 300;
  margin-bottom: 0;
}

/* ── Sidebar TOC ──────────────────────────────────────────── */

.toc-col {
  position: sticky;
  top: 96px;
  margin-bottom: 96px;
}

.toc-side-label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
  display: block;
}

.toc-side-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-side-item a {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 300;
  line-height: 1.5;
  display: block;
  padding: 5px 0 5px 12px;
  border-left: 2px solid var(--warm-gray);
  transition:
    color 0.15s,
    border-color 0.15s;
}

.toc-side-item a:hover {
  color: var(--text-dark);
  border-left-color: var(--stone);
}
.toc-side-item.active a {
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 400;
}
.toc-side-item.sub a {
  font-size: 12px;
  padding-left: 20px;
}

.side-divider {
  width: 100%;
  height: 1px;
  background: var(--warm-gray);
  margin: 24px 0;
}

.side-reading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-reading-num {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1;
}

.side-reading-label {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 300;
}

/* ── Related posts ────────────────────────────────────────── */

.related-section {
  background: var(--cream);
  padding: 80px;
  border-top: 1px solid var(--warm-gray);
}

.related-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}

.related-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.related-title em {
  font-style: italic;
  color: var(--accent);
}

.related-all {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}

.related-all:hover {
  gap: 9px;
}
.related-all::after {
  content: "→";
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  background: #fff;
  border: 1px solid var(--warm-gray);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    box-shadow 0.22s,
    transform 0.22s;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  box-shadow: 0 8px 32px rgba(28, 26, 23, 0.08);
  transform: translateY(-3px);
}

.related-img {
  aspect-ratio: 16 / 9;
  background: var(--warm-gray);
  overflow: hidden;
}

.related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--cream-mid);
}

.related-content {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.related-cat {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.related-post-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  flex: 1;
}

.related-meta {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 300;
  margin-top: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}

.related-meta .dot {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--stone);
}

/* ── CTA strip ────────────────────────────────────────────── */

.insight-cta-strip {
  padding: 80px;
  background: var(--accent);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}

.cta-headline {
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #fff;
}

.cta-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 10px;
  font-weight: 300;
  line-height: 1.65;
  max-width: 440px;
}

/* ═══════════════════════════════════════
   RESPONSIVE — Archive
   ═══════════════════════════════════════ */

@media (max-width: 1200px) {
  .page-header-inner {
    padding: 48px 48px 0;
  }
  .filter-bar {
    padding: 0 48px;
  }
  .featured-post {
    padding: 40px 48px 0;
  }
  .post-grid-section {
    padding: 32px 48px 64px;
  }
}

@media (max-width: 992px) {
  .page-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 40px 48px 0;
  }
  .archive-tabs {
    align-self: flex-start;
    margin-top: 8px;
  }
  .filter-bar {
    padding: 0 24px;
  }
  .filter-inner {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }
  .featured-post {
    padding: 32px 48px 0;
  }
  .featured-link {
    grid-template-columns: 1fr;
  }
  .featured-img {
    aspect-ratio: 16 / 9;
  }
  .featured-content {
    padding: 32px;
  }
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .post-card.wide {
    grid-column: span 2;
  }
  .section-divider {
    grid-column: span 2;
  }
  .insights-pagination {
    padding: 0 48px 64px;
  }
}

@media (max-width: 768px) {
  .page-header-inner {
    padding: 32px 24px 0;
  }
  .filter-bar {
    padding: 0 24px;
  }
  .featured-post {
    padding: 24px 24px 0;
  }
  .featured-content {
    padding: 24px;
  }
  .post-grid-section {
    padding: 24px 24px 56px;
  }
  .post-grid {
    grid-template-columns: 1fr;
  }
  .post-card.wide {
    grid-column: span 1;
    flex-direction: column;
  }
  .post-card.wide .post-img {
    width: 100%;
  }
  .section-divider {
    grid-column: span 1;
  }
  .insights-pagination {
    padding: 0 24px 48px;
  }
}

@media (max-width: 480px) {
  .page-header-inner {
    padding: 24px 16px 0;
  }
  .filter-bar {
    padding: 0 16px;
  }
  .featured-post {
    padding: 16px 16px 0;
  }
  .post-grid-section {
    padding: 16px 16px 48px;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Single post
   ═══════════════════════════════════════ */

@media (max-width: 1200px) {
  .post-inner {
    grid-template-columns: 80px 1fr 160px;
    gap: 40px;
    padding: 0 40px;
  }
}

@media (max-width: 992px) {
  .hero-meta {
    padding: 40px 48px 28px;
  }
  .post-inner {
    grid-template-columns: 1fr 160px;
    gap: 40px;
    padding: 0 48px;
  }
  .share-col {
    display: none;
  }
  .related-section {
    padding: 56px 48px;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .insight-cta-strip {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 64px 48px;
  }
}

@media (max-width: 768px) {
  .hero-meta {
    padding: 32px 24px 24px;
    text-align: left;
  }
  .post-byline {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
  .post-layout {
    padding: 48px 0 0;
  }
  .post-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 24px;
  }
  .share-col,
  .toc-col {
    display: none;
  }
  .related-section {
    padding: 48px 24px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .insight-cta-strip {
    padding: 56px 24px;
  }
}

@media (max-width: 480px) {
  .hero-meta {
    padding: 24px 16px 20px;
  }
  .post-layout {
    padding: 40px 0 0;
  }
  .post-inner {
    padding: 0 16px;
  }
  .related-section {
    padding: 40px 16px;
  }
  .insight-cta-strip {
    padding: 48px 16px;
  }
}
