
/* ================================================================
   BLOG-STYLE VENDOR PRICING GUIDE TEMPLATE
   Structure follows the approved wireframe; colors/tokens match the
   existing procurementvms.com design system.
   ================================================================ */

.blog-breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: var(--sp-5); }
.blog-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.blog-breadcrumb a:hover { color: var(--accent); }

.blog-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--sp-4); }
.blog-pill { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: var(--r-pill); background: var(--bg-overlay); color: var(--text-body); border: 1px solid var(--border-subtle); }
.blog-pill.verified { background: rgba(45,212,191,0.14); color: var(--accent); border-color: transparent; }

.blog-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--sp-10); align-items: center; }
.blog-dek { font-size: var(--fs-lg); color: var(--text-body); margin: var(--sp-4) 0 var(--sp-5); line-height: 1.6; }
.blog-byline-row { display: flex; align-items: center; gap: var(--sp-3); font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.blog-byline-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--clr-navy-950); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }

.blog-featured-tile {
  aspect-ratio: 4/3; border-radius: var(--r-xl); background: linear-gradient(160deg, #0F1E33 0%, #0A1420 100%);
  border: 1px solid var(--border-accent); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--sp-3); padding: var(--sp-6); text-align: center;
}
.blog-featured-tile .price-range { font-family: var(--ff-display); font-size: var(--fs-2xl); color: var(--accent); }
.blog-featured-tile .vendor-name { font-size: var(--fs-sm); color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }

.blog-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: var(--sp-14); align-items: start; }
.blog-article { max-width: 740px; font-size: 17px; line-height: 1.75; color: var(--text-body); }
.blog-article h2 { font-size: var(--fs-2xl); margin: var(--sp-10) 0 var(--sp-4); color: var(--clr-white); scroll-margin-top: 90px; }
.blog-article p { margin-bottom: var(--sp-4); }

.quick-answer-box {
  border-left: 4px solid var(--accent); background: rgba(45,212,191,0.07);
  border-radius: 0 var(--r-md) var(--r-md) 0; padding: var(--sp-5) var(--sp-6); margin: var(--sp-6) 0;
}
.quick-answer-box .qa-label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--sp-2); }

.key-takeaways-box { background: var(--bg-raised); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: var(--sp-5) var(--sp-6); margin: var(--sp-6) 0; }
.key-takeaways-box .kt-label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--sp-3); }
.key-takeaways-box ul { padding-left: 20px; margin: 0; }
.key-takeaways-box li { margin-bottom: 6px; }

.plan-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); margin: var(--sp-5) 0; }
@media (max-width: 700px) { .plan-strip { grid-template-columns: repeat(2, 1fr); } }
.plan-strip-card { background: var(--bg-raised); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: var(--sp-4); text-align: center; }
.plan-strip-card.featured { border: 2px solid var(--accent); }
.plan-strip-card .psc-name { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.plan-strip-card .psc-price { font-family: var(--ff-display); font-size: var(--fs-lg); color: var(--clr-white); }

.tier-trap-box { background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.3); border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5); margin: var(--sp-5) 0; font-size: 15px; }
.tier-trap-box b { color: #FBBF24; }

.calc-widget { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border-subtle); border-radius: var(--r-lg); overflow: hidden; margin: var(--sp-6) 0; }
.calc-widget .calc-inputs { padding: var(--sp-6); background: var(--bg-raised); }
.calc-widget .calc-result { padding: var(--sp-6); background: linear-gradient(160deg,#0F1E33,#0A1420); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.calc-widget .calc-result .cr-label { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.calc-widget .calc-result .cr-num { font-family: var(--ff-display); font-size: 2.2rem; color: var(--accent); line-height: 1; margin-bottom: 4px; }
.calc-widget .calc-result .cr-note { font-size: 12px; color: var(--text-muted); }
.calc-widget select, .calc-widget input[type=number] {
  width: 100%; padding: 10px 12px; margin-bottom: var(--sp-3); background: var(--bg-overlay);
  border: 1px solid var(--border-subtle); border-radius: var(--r-md); color: var(--clr-white); font-family: var(--ff-body);
}
.calc-widget label { font-size: 13px; color: var(--text-muted); display: block; margin-bottom: 4px; }
@media (max-width: 700px) { .calc-widget { grid-template-columns: 1fr; } }

.inline-cta-soft {
  border: 2px solid var(--clr-white); border-radius: var(--r-lg); padding: var(--sp-5) var(--sp-6);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); margin: var(--sp-8) 0; flex-wrap: wrap;
  background: var(--bg-raised);
}
.inline-cta-soft .ics-text b { display: block; color: var(--clr-white); margin-bottom: 2px; }
.inline-cta-soft .ics-text span { font-size: 14px; color: var(--text-muted); }

.price-timeline { position: relative; padding-left: 28px; margin: var(--sp-6) 0; }
.price-timeline::before { content: ""; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: var(--border-subtle); }
.price-timeline-item { position: relative; padding-bottom: var(--sp-5); }
.price-timeline-item::before { content: ""; position: absolute; left: -28px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg-overlay); border: 2px solid var(--border-subtle); }
.price-timeline-item.current::before { background: var(--accent); border-color: var(--accent); }
.price-timeline-item .pt-date { font-size: 12px; color: var(--text-muted); font-weight: 700; }
.price-timeline-item .pt-detail { font-size: 15px; color: var(--text-body); margin-top: 2px; }

.plan-picker-list { list-style: none; padding: 0; margin: var(--sp-5) 0; counter-reset: pp; }
.plan-picker-list li { counter-increment: pp; padding: var(--sp-3) 0 var(--sp-3) 40px; position: relative; border-bottom: 1px solid var(--border-subtle); }
.plan-picker-list li::before { content: counter(pp); position: absolute; left: 0; top: var(--sp-3); width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--clr-navy-950); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.plan-picker-list li b { color: var(--clr-white); }

.pay-less-levers { list-style: none; padding: 0; counter-reset: lv; margin: var(--sp-5) 0; }
.pay-less-levers li { counter-increment: lv; padding-left: 40px; position: relative; margin-bottom: var(--sp-4); }
.pay-less-levers li::before { content: counter(lv); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: var(--r-sm); background: rgba(45,212,191,0.14); color: var(--accent); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.pay-less-levers li b { color: var(--clr-white); display: block; margin-bottom: 2px; }

.copy-email-box { background: var(--bg-raised); border: 1px dashed var(--border-subtle); border-radius: var(--r-md); padding: var(--sp-5); margin: var(--sp-5) 0; font-size: 14px; font-family: var(--ff-body); color: var(--text-body); white-space: pre-line; }
.copy-email-box .ce-label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--sp-2); }

.bigger-picture-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border-subtle); border-radius: var(--r-lg); overflow: hidden; margin: var(--sp-6) 0; }
.bp-head { padding: 10px 16px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.bp-head.leak { background: rgba(248,113,113,0.12); color: #F87171; }
.bp-head.close { background: rgba(45,212,191,0.12); color: var(--accent); }
.bp-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border-subtle); }
.bp-cell { padding: var(--sp-4) 16px; font-size: 14px; color: var(--text-body); }
@media (max-width: 700px) { .bigger-picture-grid, .bp-row { grid-template-columns: 1fr; } }

.author-box { display: flex; gap: var(--sp-4); background: var(--bg-raised); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: var(--sp-5); margin-top: var(--sp-10); }
.author-box .ab-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--clr-navy-950); display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.author-box .ab-sources { list-style: none; padding: 0; margin-top: 6px; font-size: 13px; color: var(--text-muted); }
.author-box .ab-sources li { margin-bottom: 2px; }

/* ── Sticky sidebar ───────────────────────────────────────────── */
.blog-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: var(--sp-4); }
.sidebar-box { background: var(--bg-raised); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5); }
.sidebar-box .sb-label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--sp-3); }
.sidebar-toc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.sidebar-toc-list a { font-size: 13.5px; color: var(--text-body); text-decoration: none; display: block; padding: 2px 0; border-left: 2px solid transparent; padding-left: 10px; }
.sidebar-toc-list a:hover, .sidebar-toc-list a.active { color: var(--accent); border-left-color: var(--accent); }
.sidebar-cta-box { background: linear-gradient(155deg, rgba(45,212,191,0.14), var(--bg-raised)); border: 1px solid var(--border-accent); border-radius: var(--r-md); padding: var(--sp-5); }
.sidebar-cta-box b { display: block; color: var(--clr-white); margin-bottom: 4px; }
.sidebar-cta-box p { font-size: 13.5px; color: var(--text-muted); margin-bottom: var(--sp-3); }
.share-row { display: flex; gap: 8px; }
.share-row span { font-size: 12px; padding: 6px 10px; border-radius: var(--r-pill); background: var(--bg-overlay); border: 1px solid var(--border-subtle); color: var(--text-muted); }

@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .blog-hero-grid { grid-template-columns: 1fr; }
}

.related-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
@media (max-width: 800px) { .related-posts-grid { grid-template-columns: 1fr; } }
.related-post-card { background: var(--bg-raised); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: var(--sp-5); text-decoration: none; display: block; transition: border-color .2s; }
.related-post-card:hover { border-color: var(--border-accent); }
.related-post-card .rpc-tag { font-size: 11px; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.related-post-card h4 { font-size: 15px; color: var(--clr-white); margin: 0; line-height: 1.4; }

.newsletter-band { background: linear-gradient(160deg,#0F1E33,#0A1420); border-radius: var(--r-xl); padding: var(--sp-8); text-align: center; }
.newsletter-band h3 { color: var(--clr-white); margin-bottom: var(--sp-3); }
.newsletter-band .nb-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: var(--sp-4); }
.newsletter-band input[type=email] { padding: 10px 16px; border-radius: var(--r-pill); border: 1px solid var(--border-subtle); background: var(--bg-overlay); color: var(--clr-white); min-width: 260px; }
