/* Partprice.ai — blog article page. Loads after base.css */

:root { --green: #15803d; }  /* dark-green for success text on this page */

/* ── ARTICLE SHELL ── */
    .article-wrap { max-width: 720px; margin: 0 auto; padding: 120px 24px 0; }

    .breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 28px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
    .breadcrumb a { color: var(--muted); text-decoration: none; transition: color .2s; }
    .breadcrumb a:hover { color: var(--blue); }
    .breadcrumb .sep { color: var(--border); }
    .breadcrumb .current { color: var(--text); }

    .eyebrow {
      display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--blue);
      text-transform: uppercase; letter-spacing: .09em; margin-bottom: 18px;
    }
    h1 {
      font-family: 'DM Serif Display', serif; font-weight: 400;
      font-size: clamp(32px, 5vw, 46px); line-height: 1.15; color: var(--navy);
      letter-spacing: -.4px; margin-bottom: 22px;
    }
    .deck { font-size: 20px; line-height: 1.55; color: var(--muted); margin-bottom: 32px; }

    .byline {
      display: flex; align-items: center; gap: 12px;
      padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1px solid var(--border);
    }
    .byline-avatar {
      width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
      background: var(--navy); display: flex; align-items: center; justify-content: center;
    }
    .byline-avatar svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .byline-meta { font-size: 14px; }
    .byline-name { font-weight: 600; color: var(--navy); }
    .byline-sub { color: var(--muted); font-size: 13px; }

    /* ── ARTICLE BODY ── */
    .article-body { padding: 40px 0 24px; }
    .article-body > p { font-size: 18px; line-height: 1.78; color: var(--text); margin-bottom: 26px; }
    .article-body > p:first-of-type { font-size: 19.5px; }
    .article-body h2 {
      font-family: 'DM Serif Display', serif; font-weight: 400;
      font-size: 28px; line-height: 1.25; color: var(--navy);
      margin: 48px 0 18px; letter-spacing: -.2px;
    }
    .article-body h3 { font-size: 19px; font-weight: 600; color: var(--navy); margin: 32px 0 12px; }
    .article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
    .article-body strong { color: var(--navy); font-weight: 600; }
    .article-body ul { margin: 0 0 26px; padding-left: 0; list-style: none; }
    .article-body ul li {
      font-size: 18px; line-height: 1.7; color: var(--text);
      padding-left: 30px; margin-bottom: 14px; position: relative;
    }
    .article-body ul li::before {
      content: ''; position: absolute; left: 4px; top: 11px;
      width: 7px; height: 7px; border-radius: 2px; background: var(--blue);
    }

    blockquote {
      margin: 36px 0; padding: 6px 0 6px 28px; border-left: 4px solid var(--blue);
      font-family: 'DM Serif Display', serif; font-style: italic;
      font-size: 24px; line-height: 1.4; color: var(--navy);
    }

    /* ── KEY FINDINGS CALLOUT (signature) ── */
    .findings {
      margin: 40px 0; border-radius: var(--radius-lg);
      background: var(--navy);
      background-image: radial-gradient(ellipse at 80% 0%, #2a3a6b 0%, var(--navy) 62%);
      padding: 32px 32px 30px; color: #fff;
    }
    .findings-label {
      font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
      color: #9db0ff; margin-bottom: 22px;
    }
    .findings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .finding-stat { border-left: 2px solid rgba(157,176,255,.35); padding-left: 16px; }
    .finding-num { font-family: 'DM Serif Display', serif; font-size: 42px; line-height: 1; color: #fff; }
    .finding-desc { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.72); margin-top: 10px; }

    /* ── BAR CHART ── */
    .figure { margin: 40px 0; }
    .figure-title { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
    .figure-sub { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
    .bar-row { display: grid; grid-template-columns: 140px 1fr 48px; align-items: center; gap: 14px; margin-bottom: 14px; }
    .bar-cat { font-size: 13.5px; color: var(--text); font-weight: 500; text-align: right; }
    .bar-track { height: 26px; background: var(--bg); border-radius: 6px; overflow: hidden; }
    .bar-fill {
      height: 100%; border-radius: 6px;
      background: linear-gradient(90deg, var(--blue) 0%, #6f86f0 100%);
      transform-origin: left; animation: grow 1s cubic-bezier(.2,.7,.2,1) both;
    }
    @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    .bar-val { font-size: 14px; font-weight: 700; color: var(--navy); }
    .figure-note { font-size: 12.5px; color: var(--muted); margin-top: 8px; font-style: italic; }

    /* ── DATA TABLE ── */
    .data-table-wrap { margin: 36px 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
    table.data-table { width: 100%; border-collapse: collapse; }
    table.data-table caption {
      caption-side: top; text-align: left; padding: 16px 18px 12px;
      font-size: 13px; font-weight: 600; color: var(--navy); background: #fafbff;
    }
    table.data-table th {
      font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em;
      text-align: left; padding: 10px 18px; background: #fafbff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    }
    table.data-table th.num, table.data-table td.num { text-align: right; }
    table.data-table td { font-size: 14px; padding: 11px 18px; border-bottom: 1px solid #f0f2f8; }
    table.data-table tr:last-child td { border-bottom: none; }
    .item-name { font-weight: 600; color: var(--navy); }
    .price-lo { color: var(--green); font-weight: 600; }
    .price-hi { color: var(--muted); }
    .spread-badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--blue); background: var(--blue-lt); padding: 2px 9px; border-radius: 20px; }

    /* ── IN-ARTICLE CTA ── */
    .cta-box {
      margin: 52px 0; border-radius: var(--radius-lg); border: 1px solid var(--border);
      background: var(--bg); padding: 32px; text-align: center;
    }
    .cta-box h3 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 24px; color: var(--navy); margin-bottom: 10px; }
    .cta-box p { font-size: 15px; color: var(--muted); margin-bottom: 22px; max-width: 460px; margin-left: auto; margin-right: auto; }
    .cta-box a {
      display: inline-block; padding: 13px 30px; font-size: 15px; font-weight: 600; color: #fff;
      background: var(--blue); border-radius: 10px; text-decoration: none;
      box-shadow: 0 4px 18px rgba(85,110,230,.4); transition: background .2s, transform .15s;
    }
    .cta-box a:hover { background: var(--blue-dk); transform: translateY(-2px); }
    .cta-box .fine { font-size: 12.5px; color: var(--muted); margin-top: 14px; margin-bottom: 0; }

    /* ── RELATED ── */
    .related { background: var(--bg); border-top: 1px solid var(--border); margin-top: 72px; padding: 64px 6%; }
    .related-inner { max-width: 1100px; margin: 0 auto; }
    .related h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 26px; color: var(--navy); margin-bottom: 28px; }
    .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .related-card {
      background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
      padding: 24px; text-decoration: none; display: block; transition: box-shadow .25s, transform .25s;
    }
    .related-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
    .related-cat { font-size: 11.5px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .07em; }
    .related-card h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin: 12px 0 10px; line-height: 1.35; }
    .related-read { font-size: 12.5px; color: var(--muted); }

      background: var(--navy); padding: 28px 6%;
      display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 720px) {
      .findings-grid { grid-template-columns: 1fr; gap: 22px; }
      .bar-row { grid-template-columns: 96px 1fr 42px; gap: 10px; }
      .bar-cat { font-size: 12px; }
      .related-grid { grid-template-columns: 1fr; }
      blockquote { font-size: 21px; }
      .deck { font-size: 18px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .bar-fill { animation: none; }
      html { scroll-behavior: auto; }
    }
  
