/* ════════════════════════════════════════════
   SINGLE POST — HERO
════════════════════════════════════════════ */
.post-hero {
  position: relative; min-height: 56vh; display: flex;
  align-items: flex-end; overflow: hidden; background: #0a0a0a;
}
.post-hero-img {
  position: absolute; inset: 0; background-size: cover;
  background-position: center; filter: brightness(.4);
  transition: transform 8s ease;
}
.post-hero:hover .post-hero-img { transform: scale(1.03); }
.post-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.3) 55%, transparent 100%);
}
.post-hero-no-img { position: absolute; inset: 0; background: linear-gradient(135deg, #0a0a0a 0%, #111 100%); }
.post-hero-inner { position: relative; z-index: 2; max-width: 1320px; width: 100%; margin: 0 auto; padding: 140px 60px 64px; }
.post-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.45); text-decoration: none;
  font-family: 'Barlow', sans-serif; font-size: 11px;
  font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 28px; transition: color .2s;
}
.post-back:hover { color: #fff; }
.post-cat { font-family: 'Barlow', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: #E32029; margin-bottom: 16px; }
.post-title { font-family: 'Barlow Condensed', Helvetica, sans-serif; font-weight: 900; font-size: clamp(38px, 5.5vw, 68px); text-transform: uppercase; line-height: .94; letter-spacing: -.01em; color: #fff; margin-bottom: 24px; max-width: 860px; }
.post-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.post-meta-item { display: flex; align-items: center; gap: 7px; font-family: 'Barlow', sans-serif; font-size: 12px; color: rgba(255,255,255,.45); letter-spacing: .04em; }
.post-meta-item svg { opacity: .6; flex-shrink: 0; }
.post-meta-sep { color: rgba(255,255,255,.2); }
.post-meta-author { color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.post-meta-author:hover { color: #E32029; }

/* ════════════════════════════════════════════
   POST LAYOUT — TOC | CONTENT | SIDEBAR
════════════════════════════════════════════ */
.post-layout { background: #000; padding: 64px 0 0; }
.post-layout-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 60px;
  display: grid; grid-template-columns: 220px minmax(0,1fr) 320px;
  gap: 56px; align-items: start;
}
.post-layout-inner.no-toc { grid-template-columns: minmax(0,1fr) 320px; }

/* ── TOC (left) ── */
.post-toc-aside { position: sticky; top: 110px; }
.post-toc-toggle {
  display: none; width: 100%; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  color: #fff; font-family: 'Barlow', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; padding: 14px 18px; cursor: none;
  margin-bottom: 12px;
}
.post-toc-toggle svg { transition: transform .2s; }
.post-toc-toggle.open svg { transform: rotate(180deg); }
.post-toc-label { font-family: 'Barlow', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 18px; }
.post-toc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; border-left: 1px solid rgba(255,255,255,.08); }
.post-toc-list li { margin: 0; }
.post-toc-list a {
  display: block; font-family: 'Barlow', sans-serif; font-size: 13px;
  color: rgba(255,255,255,.4); text-decoration: none; line-height: 1.5;
  padding: 8px 0 8px 18px; border-left: 2px solid transparent; margin-left: -1px;
  transition: color .2s, border-color .2s;
}
.post-toc-list li.toc-h3 a { font-size: 12px; padding-left: 30px; color: rgba(255,255,255,.3); }
.post-toc-list a:hover { color: #fff; }
.post-toc-list a.active { color: #E32029; border-left-color: #E32029; font-weight: 600; }

/* Scroll offset so sticky nav doesn't cover anchors */
.post-content h2[id], .post-content h3[id] { scroll-margin-top: 110px; }

/* ── MAIN content ── */
.post-main { min-width: 0; }
.post-excerpt {
  font-family: 'Barlow', sans-serif; font-size: 18px;
  color: rgba(255,255,255,.75); line-height: 1.75;
  border-left: 3px solid #E32029; padding-left: 24px;
  margin-bottom: 40px; font-weight: 500;
}
.post-content { font-family: 'Barlow', sans-serif; font-size: 17px; color: rgba(255,255,255,.72); line-height: 1.9; }
.post-content h1, .post-content h2 { font-family: 'Barlow Condensed', Helvetica, sans-serif; font-weight: 900; text-transform: uppercase; color: #fff; margin: 48px 0 16px; line-height: .96; letter-spacing: -.01em; }
.post-content h1 { font-size: clamp(30px, 4vw, 44px); }
.post-content h2 { font-size: clamp(24px, 3.4vw, 36px); }
.post-content h3 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(20px, 2.8vw, 28px); font-weight: 900; text-transform: uppercase; color: #fff; margin: 36px 0 12px; letter-spacing: .02em; }
.post-content h4, .post-content h5, .post-content h6 { font-family: 'Barlow', sans-serif; font-weight: 700; color: #fff; margin: 28px 0 10px; }
.post-content p { margin-bottom: 24px; }
.post-content a { color: #E32029; text-decoration: none; border-bottom: 1px solid rgba(227,32,41,.3); transition: border-color .2s; }
.post-content a:hover { border-color: #E32029; }
.post-content strong, .post-content b { color: #fff; font-weight: 700; }
.post-content em, .post-content i { font-style: italic; color: rgba(255,255,255,.85); }
.post-content ul, .post-content ol { padding-left: 22px; margin-bottom: 24px; }
.post-content li { margin-bottom: 9px; color: rgba(255,255,255,.68); }
.post-content blockquote { border-left: 3px solid #E32029; padding: 4px 0 4px 26px; margin: 32px 0; font-size: 18px; font-style: italic; color: rgba(255,255,255,.6); line-height: 1.7; }
.post-content blockquote p { margin-bottom: 0; }
.post-content img { width: 100%; height: auto; display: block; margin: 32px 0; }
.post-content figure { margin: 32px 0; }
.post-content figcaption { font-size: 12px; color: rgba(255,255,255,.3); text-align: center; margin-top: 10px; letter-spacing: .06em; }
.post-content hr { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 44px 0; }
.post-content pre, .post-content code { background: #0a0a0a; border: 1px solid rgba(255,255,255,.08); font-family: 'Courier New', monospace; font-size: 13px; color: rgba(255,255,255,.7); padding: 2px 8px; border-radius: 3px; }
.post-content pre { padding: 18px 22px; overflow-x: auto; margin: 26px 0; }
.post-content pre code { background: none; border: none; padding: 0; }
.post-content table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 14px; }
.post-content th { background: rgba(255,255,255,.05); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.1); }
.post-content td { padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.65); }
.post-content .wp-block-image { margin: 32px 0; }
.post-content .wp-block-quote { border-left: 3px solid #E32029; padding-left: 26px; margin: 32px 0; }
.post-content .wp-block-separator { border-color: rgba(255,255,255,.08); }

/* Tags */
.post-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 36px; margin-top: 44px; border-top: 1px solid rgba(255,255,255,.07); }
.post-tags-label { font-family: 'Barlow', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.28); }
.post-tag { font-family: 'Barlow', sans-serif; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.45); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); padding: 4px 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: border-color .2s, color .2s; }
.post-tag:hover { border-color: #E32029; color: #fff; }

/* ════════════════════════════════════════════
   AUTHOR CARD (in post)
════════════════════════════════════════════ */
.post-author-card {
  display: flex; gap: 20px; align-items: flex-start; text-decoration: none; color: inherit;
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.08);
  padding: 28px; margin-top: 40px; transition: border-color .2s, background .2s;
}
.post-author-card:hover { border-color: rgba(227,32,41,.3); background: rgba(227,32,41,.03); }
.post-author-avatar { flex-shrink: 0; }
.post-author-img { width: 64px; height: 64px; border-radius: 50%; display: block; border: 1px solid rgba(255,255,255,.1); }
.post-author-info { min-width: 0; }
.post-author-label { font-family: 'Barlow', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 4px; }
.post-author-name { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 900; text-transform: uppercase; color: #fff; letter-spacing: .04em; margin-bottom: 4px; }
.post-author-desig { font-family: 'Barlow', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #E32029; margin-bottom: 10px; }
.post-author-bio { font-family: 'Barlow', sans-serif; font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.7; margin: 0 0 14px; }
.post-author-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.post-author-view { font-family: 'Barlow', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #E32029; }
.post-author-socials { display: flex; gap: 8px; }
.pa-social { width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); }

/* ════════════════════════════════════════════
   PREV / NEXT (within main column)
════════════════════════════════════════════ */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.post-nav-btn { display: flex; flex-direction: column; gap: 6px; text-decoration: none; padding: 20px 22px; border: 1px solid rgba(255,255,255,.08); transition: border-color .2s, background .2s; }
.post-nav-btn:hover { border-color: #E32029; background: rgba(227,32,41,.04); }
.post-nav-btn--right { text-align: right; align-items: flex-end; }
.post-nav-label { font-family: 'Barlow', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.28); }
.post-nav-title { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 900; text-transform: uppercase; color: #fff; letter-spacing: .04em; line-height: 1.25; }

/* ════════════════════════════════════════════
   RIGHT SIDEBAR — related + lead form
════════════════════════════════════════════ */
.post-side-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 32px; }
.post-side-block {}
.post-side-label { font-family: 'Barlow', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #E32029; margin-bottom: 18px; }
.post-side-list { display: flex; flex-direction: column; gap: 14px; }
.post-side-item { display: flex; gap: 12px; text-decoration: none; padding: 10px; border: 1px solid transparent; transition: border-color .2s, background .2s; }
.post-side-item:hover { border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.02); }
.post-side-img { width: 64px; height: 64px; flex-shrink: 0; background-size: cover; background-position: center; }
.post-side-img--empty { background: #111; }
.post-side-body { min-width: 0; }
.post-side-cat { font-family: 'Barlow', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #E32029; margin-bottom: 4px; }
.post-side-title { font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; color: #fff; line-height: 1.25; letter-spacing: .02em; margin-bottom: 4px; }
.post-side-date { font-family: 'Barlow', sans-serif; font-size: 10px; color: rgba(255,255,255,.3); letter-spacing: .06em; }

/* Lead form */
.post-lead-form { background: rgba(227,32,41,.04); border: 1px solid rgba(227,32,41,.2); padding: 28px; }
.post-lead-eyebrow { font-family: 'Barlow', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #E32029; margin-bottom: 12px; }
.post-lead-title { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 900; text-transform: uppercase; color: #fff; line-height: 1.05; letter-spacing: .02em; margin-bottom: 10px; }
.post-lead-desc { font-family: 'Barlow', sans-serif; font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.7; margin-bottom: 18px; }
.post-lead-field { margin-bottom: 10px; }
.post-lead-field input {
  display: block; width: 100%; background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.1); outline: none;
  font-family: 'Barlow', sans-serif; font-size: 13px; color: #fff;
  padding: 12px 14px; transition: border-color .2s;
}
.post-lead-field input::placeholder { color: rgba(255,255,255,.25); }
.post-lead-field input:focus { border-color: #E32029; }
.post-lead-btn {
  width: 100%; background: #E32029; color: #fff; border: none;
  font-family: 'Barlow', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; padding: 14px;
  margin-top: 6px; transition: background .2s;
}
.post-lead-btn:hover { background: #c41c23; }
.post-lead-success { display: none; text-align: center; padding: 12px 0; }
.post-lead-success.show { display: block; }
.post-lead-success-icon { width: 36px; height: 36px; border: 1px solid #E32029; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.post-lead-success p { font-family: 'Barlow', sans-serif; font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.7; margin: 0; }

/* ════════════════════════════════════════════
   ARCHIVE / BLOG LISTING
════════════════════════════════════════════ */
.arch-hero { background: #000; padding: 180px 60px 90px; position: relative; overflow: hidden; }
.arch-hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 80px 80px; }
.arch-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.arch-hero-label { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.arch-hero-label-line { width: 40px; height: 1px; background: #E32029; }
.arch-hero-label-text { font-family: 'Barlow', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: #E32029; }
.arch-hero-h1 { font-family: 'Barlow Condensed', Helvetica, sans-serif; font-weight: 900; font-size: clamp(52px, 8vw, 96px); text-transform: uppercase; line-height: .88; letter-spacing: -.02em; color: #fff; margin-bottom: 20px; }
.arch-hero-desc { font-family: 'Barlow', sans-serif; font-size: 17px; color: rgba(255,255,255,.6); line-height: 1.75; max-width: 560px; }
.arch-hero-count { margin-top: 20px; font-family: 'Barlow', sans-serif; font-size: 11px; color: rgba(255,255,255,.3); letter-spacing: .12em; text-transform: uppercase; }

.arch-grid-section { background: #000; padding: 60px 60px 100px; }
.arch-grid-inner { max-width: 1200px; margin: 0 auto; }
.arch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.06); margin-bottom: 60px; }
.arch-card { display: flex; flex-direction: column; background: #000; text-decoration: none; transition: background .2s; }
.arch-card:hover { background: #080808; }
.arch-card-img { aspect-ratio: 16/9; background-size: cover; background-position: center; transition: transform .5s ease; overflow: hidden; }
.arch-card:hover .arch-card-img { transform: scale(1.03); }
.arch-card-img--empty { background: linear-gradient(135deg, #0d0d0d, #141414); }
.arch-card-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.arch-card-cat { font-family: 'Barlow', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #E32029; margin-bottom: 12px; }
.arch-card-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(20px, 2.5vw, 26px); font-weight: 900; text-transform: uppercase; color: #fff; line-height: 1.05; letter-spacing: .02em; margin-bottom: 12px; flex: 1; }
.arch-card-excerpt { font-family: 'Barlow', sans-serif; font-size: 13px; color: rgba(255,255,255,.42); line-height: 1.7; margin-bottom: 16px; }
.arch-card-meta { font-family: 'Barlow', sans-serif; font-size: 11px; color: rgba(255,255,255,.28); letter-spacing: .06em; display: flex; align-items: center; gap: 8px; margin-top: auto; }
.arch-card-sep { color: rgba(255,255,255,.15); }

/* Pagination */
.arch-pagination { display: flex; justify-content: center; }
.arch-pagination .page-numbers { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; flex-wrap: wrap; justify-content: center; }
.arch-pagination .page-numbers li a, .arch-pagination .page-numbers li span { font-family: 'Barlow', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.4); text-decoration: none; border: 1px solid rgba(255,255,255,.1); padding: 10px 18px; display: block; transition: border-color .2s, color .2s, background .2s; }
.arch-pagination .page-numbers li a:hover { border-color: #E32029; color: #fff; background: rgba(227,32,41,.06); }
.arch-pagination .page-numbers li span.current { border-color: #E32029; color: #fff; background: #E32029; }

/* Empty state */
.arch-empty { text-align: center; padding: 80px 20px; }
.arch-empty-icon { font-size: 48px; opacity: .15; margin-bottom: 20px; }
.arch-empty-title { font-family: 'Barlow Condensed', sans-serif; font-size: 32px; font-weight: 900; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.arch-empty-text { font-family: 'Barlow', sans-serif; font-size: 15px; color: rgba(255,255,255,.4); margin-bottom: 32px; }
.arch-empty-btn { background: #E32029; color: #fff; font-family: 'Barlow', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 14px 32px; text-decoration: none; display: inline-block; transition: background .2s; }
.arch-empty-btn:hover { background: #c41c23; }

/* ════════════════════════════════════════════
   AUTHOR PROFILE PAGE
════════════════════════════════════════════ */
.author-hero { background: #000; padding: 180px 60px 80px; position: relative; overflow: hidden; }
.author-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.author-hero-top { display: flex; align-items: center; gap: 28px; margin-bottom: 24px; flex-wrap: wrap; }
.author-hero-avatar { flex-shrink: 0; }
.author-hero-img { width: 96px; height: 96px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); display: block; }
.author-hero-name { font-family: 'Barlow Condensed', Helvetica, sans-serif; font-weight: 900; font-size: clamp(40px, 6vw, 72px); text-transform: uppercase; line-height: .95; letter-spacing: -.01em; color: #fff; }
.author-hero-desig { font-family: 'Barlow', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #E32029; margin-top: 8px; }
.author-hero-bio { font-family: 'Barlow', sans-serif; font-size: 16px; color: rgba(255,255,255,.55); line-height: 1.8; max-width: 640px; margin-bottom: 28px; }
.author-hero-socials { display: flex; gap: 12px; flex-wrap: wrap; }
.author-social-link { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.6); text-decoration: none; font-family: 'Barlow', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 10px 18px; transition: border-color .2s, color .2s, background .2s; }
.author-social-link:hover { border-color: #E32029; color: #fff; background: rgba(227,32,41,.06); }
.author-posts-label { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; }

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1280px) {
  .post-layout-inner { grid-template-columns: 200px minmax(0,1fr) 280px; gap: 40px; }
}
@media (max-width: 1100px) {
  .post-layout-inner, .post-layout-inner.no-toc {
    grid-template-columns: 1fr; gap: 0;
  }
  .post-toc-aside { position: static; order: -1; margin-bottom: 32px; }
  .post-toc-toggle { display: flex; }
  .post-toc { display: none; border: 1px solid rgba(255,255,255,.08); padding: 18px 20px; }
  .post-toc.open { display: block; }
  .post-toc-label { display: none; }
  .post-side-aside { position: static; margin-top: 48px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,.07); }
}
@media (max-width: 960px) {
  .post-hero-inner { padding: 120px 24px 56px; }
  .post-layout { padding: 48px 0 0; }
  .post-layout-inner { padding: 0 24px; }
  .arch-hero { padding: 140px 24px 70px; }
  .arch-grid-section { padding: 40px 24px 80px; }
  .arch-grid { grid-template-columns: repeat(2, 1fr); }
  .author-hero { padding: 140px 24px 60px; }
}
@media (max-width: 600px) {
  .post-hero-inner { padding: 100px 20px 48px; }
  .post-layout-inner { padding: 0 20px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-btn--right { text-align: left; align-items: flex-start; }
  .post-author-card { flex-direction: column; }
  .arch-hero { padding: 110px 20px 56px; }
  .arch-grid-section { padding: 32px 20px 60px; }
  .arch-grid { grid-template-columns: 1fr; }
  .author-hero { padding: 110px 20px 48px; }
  .author-hero-top { flex-direction: column; align-items: flex-start; gap: 16px; }
}
