/* ============================================================
   partnHR — blog.css
   Article typography, post header, sidebar, blog index
   Requires: main.css
   ============================================================ */

/* ── POST HERO ──────────────────────────────────────────────── */
.post-hero {
  background: var(--navy-deep);
  padding: calc(var(--nav-h) + 64px) 48px 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.post-hero-inner { max-width: 820px; }
.post-breadcrumb {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.post-breadcrumb a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.15s; }
.post-breadcrumb a:hover { color: var(--gold-light); }
.post-breadcrumb span { color: rgba(255,255,255,0.15); }
.post-category {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(200,128,26,0.12);
  border: 1px solid rgba(200,128,26,0.25);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.post-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}
.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.post-meta-bar .sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.2); }

/* ── POST LAYOUT ────────────────────────────────────────────── */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 64px;
  padding: 60px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── ARTICLE BODY ───────────────────────────────────────────── */
.post-body { min-width: 0; }
.post-body h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.post-body h2:first-child { margin-top: 0; }
.post-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 28px 0 10px;
}
.post-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: #2D3748;
  margin-bottom: 18px;
  font-weight: 300;
}
.post-body p:last-child { margin-bottom: 0; }
.post-body strong { color: var(--navy); font-weight: 600; }

.post-body ul,
.post-body ol {
  margin: 12px 0 20px;
  padding-left: 0;
  list-style: none;
}
.post-body ul li,
.post-body ol li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #2D3748;
  font-weight: 300;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}
.post-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.post-body ol { counter-reset: list-counter; }
.post-body ol li { counter-increment: list-counter; }
.post-body ol li::before {
  content: counter(list-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  top: 4px;
}

/* ── BLOCKQUOTE ─────────────────────────────────────────────── */
.post-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 22px;
  margin: 28px 0;
  background: var(--gold-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.post-body blockquote p {
  font-style: italic;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.75;
  font-size: 0.97rem;
}

/* ── LEGISLATION LIST ───────────────────────────────────────── */
.legislation-list {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin: 20px 0;
  list-style: none;
  padding: 0;
  overflow: hidden;
}
.legislation-list li {
  list-style: none !important;
  padding: 11px 18px !important;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.8rem !important;
  color: var(--navy) !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  letter-spacing: -0.01em;
}
.legislation-list li::before { display: none !important; }
.legislation-list li:last-child { border-bottom: none; }

/* ── DISCLAIMER ─────────────────────────────────────────────── */
.post-disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 40px;
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.6;
  font-style: italic;
  font-weight: 400;
}

/* ── SIDEBAR ────────────────────────────────────────────────── */
.post-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  max-height: calc(100vh - var(--nav-h) - 48px);
  overflow-y: auto;
}
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget:last-child { margin-bottom: 0; }
.widget-title {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 10px 16px;
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border);
}
.widget-link {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  padding: 10px 16px;
  border-bottom: 1px solid var(--cream-dark);
  line-height: 1.35;
  transition: all 0.15s;
  letter-spacing: -0.01em;
}
.widget-link:hover { background: var(--gold-pale); color: var(--gold); }
.widget-link:last-child { border-bottom: none; }

/* ── BLOG INDEX ─────────────────────────────────────────────── */
.blog-main { padding: 48px; background: var(--white); }
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .post-hero { padding: calc(var(--nav-h) + 36px) 24px 44px; }
  .post-title { font-size: 1.9rem; }
  .post-layout { grid-template-columns: 1fr; padding: 40px 24px 56px; gap: 40px; }
  .post-sidebar { position: static; max-height: none; }
  .blog-main { padding: 36px 24px; }
  .posts-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 600px) {
  .post-body h2 { font-size: 1.35rem; }
}
