/* ==========================================================================
   blog.css — Truck Care Guides
   Layered on top of styles.css (same tokens, same black-and-gold identity).
   Reading-first: one column, 68ch measure, generous rhythm.
   ========================================================================== */

/* --- top bar reuses the legal bar, plus a call CTA --- */
.legal__bar { background: var(--navy); color: #fff; padding: 14px 0; }
.legal__bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.legal__bar a { color: var(--gold); text-decoration: none; font-weight: 600; }
.legal__bar .brand__text strong { color: #fff; letter-spacing: .5px; }
.legal__cta { white-space: nowrap; }

/* --- breadcrumbs --- */
.crumbs { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 10px 0; font-size: .86rem; }
.crumbs a { color: var(--gold-dk); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--muted); }

/* --- article --- */
.post { padding: 34px 0 64px; }
.post .container { max-width: 780px; }
.post h1 { font-family: 'Oswald', sans-serif; font-size: clamp(30px, 5vw, 46px); line-height: 1.12;
           text-wrap: balance; margin: 6px 0 10px; }
.post__meta { color: var(--muted); font-size: .9rem; margin-bottom: 26px; }
.post__lead { font-size: 1.12rem; color: var(--steel); max-width: 68ch; margin-bottom: 30px; }
.post article { max-width: 68ch; }
.post h2 { font-family: 'Oswald', sans-serif; font-size: 1.55rem; margin: 40px 0 12px;
           padding-top: 18px; border-top: 3px solid var(--gold); text-wrap: balance; }
.post h3 { font-size: 1.12rem; margin: 26px 0 6px; }
.post p, .post li { font-size: 1.02rem; line-height: 1.75; color: var(--ink); }
.post p { margin: 0 0 1.05rem; text-wrap: pretty; }
.post ul { padding-left: 1.25rem; margin: 0 0 1.2rem; }
.post li { margin: .45rem 0; }
.post a { color: var(--gold-dk); }
.post strong { color: var(--navy); }

/* --- service & area pages: price table + notes --- */
.post .price-table { max-width: 68ch; margin: 0 0 1.1rem; }
.post .price-table td { font-size: .98rem; }
.post__note { max-width: 68ch; color: var(--muted); font-size: .93rem; line-height: 1.65;
              border-left: 3px solid var(--gold); padding-left: .9rem; margin: 0 0 1.6rem; }
.post__note a { color: var(--gold-dk); font-weight: 600; }

/* --- hub/index pages get a wider measure than an article --- */
.post--wide .container { max-width: 1120px; }
.post--wide .post__lead, .post--wide .post__note { max-width: 76ch; }

/* --- index grid --- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; margin-top: 8px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
         padding: 1.25rem 1.35rem 1.35rem; box-shadow: var(--shadow);
         transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s; }
.pcard:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15,27,45,.12); }
.pcard h2 { font-family: 'Oswald', sans-serif; font-size: 1.14rem; line-height: 1.25;
            margin: 0 0 .5rem; border: 0; padding: 0; text-wrap: balance; }
.pcard h2 a { color: var(--navy); text-decoration: none; }
.pcard h2 a:hover { color: var(--gold-dk); }
.pcard p { color: var(--muted); font-size: .93rem; line-height: 1.6; margin: 0 0 .7rem; }
.pcard__meta { font-size: .8rem; color: var(--muted); margin: 0; }
.post .pgrid p { font-size: .93rem; }

/* --- closing CTA --- */
.postfoot { background: var(--steel-tex, var(--navy)); color: #fff; padding: 46px 0 54px; margin-top: 20px; }
.postfoot h2 { font-family: 'Oswald', sans-serif; font-size: clamp(24px, 4vw, 34px); margin: 0 0 .6rem; }
.postfoot p { color: #c6d0dc; max-width: 62ch; margin: 0 0 1.1rem; line-height: 1.7; }
.postfoot__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.3rem; }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.08); }

@media (max-width: 640px) {
  .post { padding: 24px 0 44px; }
  .post h2 { margin-top: 30px; }
  .legal__bar .container { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .pcard { transition: none; }
  .pcard:hover { transform: none; }
}
