/* ============================================================
   Blog post / article pages
============================================================ */

.blog-post-page {
    background: #ffffff;
  }
  
  .blog-post-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(78px, 10vw, 126px) 0 54px;
    background:
      radial-gradient(circle at 88% 10%, rgba(168, 15, 19, 0.12), transparent 27%),
      linear-gradient(180deg, #fff8f6 0%, #ffffff 100%);
  }
  
  .blog-post-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 13px;
  }
  
  .blog-post-breadcrumbs a {
    color: var(--brand);
    font-weight: 800;
  }
  
  .blog-post-breadcrumbs span[aria-hidden="true"] {
    color: #c7a5a6;
  }
  
  .blog-post-header {
    max-width: 930px;
  }
  
  .blog-post-category {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
  }
  
  .blog-post-header h1 {
    margin: 0;
    max-width: 900px;
    color: var(--brand-dark);
    font-size: clamp(42px, 7vw, 74px);
    line-height: 1.03;
    letter-spacing: -0.045em;
  }
  
  .blog-post-lead {
    max-width: 780px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.75;
  }
  
  .blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 13px;
  }
  
  .blog-post-meta strong {
    color: var(--brand-dark);
  }
  
  .blog-post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: clamp(36px, 6vw, 72px);
    align-items: start;
  }
  
  .blog-post-content {
    min-width: 0;
  }
  
  .blog-post-content > *:first-child {
    margin-top: 0;
  }
  
  .blog-post-content h2 {
    margin: 52px 0 16px;
    color: var(--brand-dark);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
  }
  
  .blog-post-content h3 {
    margin: 34px 0 12px;
    color: var(--brand-dark);
    font-size: 23px;
    line-height: 1.25;
  }
  
  .blog-post-content p,
  .blog-post-content li {
    color: #4f4445;
    font-size: 17px;
    line-height: 1.82;
  }
  
  .blog-post-content p {
    margin: 0 0 20px;
  }
  
  .blog-post-content ul,
  .blog-post-content ol {
    margin: 0 0 24px;
    padding-left: 24px;
  }
  
  .blog-post-content li + li {
    margin-top: 9px;
  }
  
  .blog-post-summary,
  .blog-post-note,
  .blog-post-disclaimer {
    margin: 28px 0;
    padding: 24px;
    border-radius: 18px;
  }
  
  .blog-post-summary {
    border: 1px solid #efd9da;
    background: #fff8f6;
  }
  
  .blog-post-summary h2 {
    margin-top: 0;
    font-size: 25px;
  }
  
  .blog-post-note {
    border-left: 5px solid var(--brand);
    background: #f8f6f3;
  }
  
  .blog-post-disclaimer {
    border: 1px solid #ead8c8;
    background: #fffaf2;
  }
  
  .blog-post-comparison {
    width: 100%;
    margin: 28px 0;
    border-collapse: collapse;
    border: 1px solid #efd9da;
    border-radius: 16px;
    overflow: hidden;
    font-size: 15px;
  }
  
  .blog-post-comparison th,
  .blog-post-comparison td {
    padding: 15px 16px;
    border-bottom: 1px solid #efd9da;
    text-align: left;
    vertical-align: top;
  }
  
  .blog-post-comparison th {
    background: var(--brand-dark);
    color: #ffffff;
  }
  
  .blog-post-comparison tr:last-child td {
    border-bottom: 0;
  }
  
  .blog-post-comparison tbody tr:nth-child(even) {
    background: #fffafa;
  }
  
  .blog-post-sidebar {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 18px;
  }
  
  .blog-post-sidebar-card {
    padding: 22px;
    border: 1px solid #efd9da;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(92, 7, 11, 0.055);
  }
  
  .blog-post-sidebar-card h2 {
    margin: 0 0 14px;
    color: var(--brand-dark);
    font-size: 19px;
  }
  
  .blog-post-sidebar-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .blog-post-sidebar-card a {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
  }
  
  .blog-post-sidebar-card a:hover {
    color: var(--brand);
  }
  
  .blog-post-sidebar-card p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
  }
  
  .blog-post-sidebar-card .btn-primary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  
  .blog-post-related {
    background: var(--cream);
  }
  
  .blog-post-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  
  .blog-post-related-card {
    padding: 24px;
    border: 1px solid #efd9da;
    border-radius: 18px;
    background: #ffffff;
  }
  
  .blog-post-related-card small {
    color: var(--brand);
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  
  .blog-post-related-card h3 {
    margin: 12px 0 10px;
    color: var(--brand-dark);
    font-size: 20px;
  }
  
  .blog-post-related-card p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.65;
  }
  
  .blog-post-related-card a {
    color: var(--brand);
    font-weight: 900;
  }
  
  @media (max-width: 980px) {
    .blog-post-layout {
      grid-template-columns: 1fr;
    }
  
    .blog-post-sidebar {
      position: static;
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .blog-post-related-grid {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 680px) {
    .blog-post-sidebar {
      grid-template-columns: 1fr;
    }
  
    .blog-post-comparison {
      display: block;
      overflow-x: auto;
    }
  
    .blog-post-meta {
      display: grid;
      gap: 8px;
    }
  }
  
  /* Article citations and market-insight components */
  
  .blog-post-content sup a {
    color: var(--brand);
    font-weight: 900;
    text-decoration: none;
  }
  
  .blog-post-market-chain {
    display: grid;
    grid-template-columns: repeat(6, minmax(120px, 1fr));
    gap: 10px;
    margin: 28px 0;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  
  .blog-post-market-chain span {
    min-height: 86px;
    display: grid;
    place-items: center;
    padding: 14px;
    border: 1px solid #efd9da;
    border-radius: 14px;
    background: #fffafa;
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.4;
    text-align: center;
  }
  
  .blog-post-market-chain span + span {
    position: relative;
  }
  
  .blog-post-market-chain span + span::before {
    content: "→";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--brand);
    font-weight: 900;
  }
  
  .blog-post-checklist {
    display: grid;
    gap: 12px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
  }
  
  .blog-post-checklist li {
    position: relative;
    margin: 0;
    padding: 16px 18px 16px 48px;
    border: 1px solid #efd9da;
    border-radius: 14px;
    background: #ffffff;
  }
  
  .blog-post-checklist li::before {
    content: "✓";
    position: absolute;
    left: 17px;
    top: 17px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff0ed;
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
  }
  
  .blog-post-sources {
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid #efd9da;
  }
  
  .blog-post-sources h2 {
    margin-top: 0;
  }
  
  .blog-post-reference-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding-left: 22px;
  }
  
  .blog-post-reference-list li {
    padding-left: 4px;
    font-size: 14px;
    line-height: 1.65;
  }
  
  .blog-post-reference-list a {
    color: var(--brand);
    font-weight: 800;
    overflow-wrap: anywhere;
  }
  
  .blog-post-reference-list a:hover {
    text-decoration: underline;
  }
  
  @media (max-width: 760px) {
    .blog-post-market-chain {
      grid-template-columns: repeat(6, 150px);
    }
  }