/* Blog post v2 (Dec 2 2026), applied by scripts/apply-post-v2.py. Loads after article-layout.css and editorial-article.css.
   Light-blue top stays. Desktop gets a sticky contents rail, white content blocks with hairline
   edges instead of light-blue boxes, a navy trial band and option B cards at the end. */
body.post-v2 { background: #fff; }

/* Top: keep the light blue, darker title, topic label and reading time */
.post-v2 .article-layout .article-header h1 { color: var(--tb-ink); font-family: var(--tb-body); font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.post-v2 .pv2-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; font: 700 14px var(--tb-body); color: var(--tb-ink-2); }
.post-v2 .pv2-kicker a { background: #fff; color: var(--tb-deep); border-radius: 999px; padding: 5px 12px; text-decoration: none; border: 1px solid rgba(20,20,20,.08); }
.post-v2 .pv2-kicker a:hover { color: var(--tb-blue); }

/* Reading area: contents rail + 720px column */
.post-v2 .article-layout > .article-reading { max-width: 1168px; padding-top: 56px; }
@media (min-width: 1100px) {
  .post-v2 .post-content-main:not(:has(> .article-contents)) { max-width: 740px; margin: 0 auto; }
  .post-v2 .post-content-main:has(> .article-contents) { display: grid; grid-template-columns: 220px minmax(0, 740px); column-gap: 64px; justify-content: space-between; align-items: start; overflow: visible; }
  .post-v2 .post-content-main:has(> .article-contents)::before, .post-v2 .post-content-main:has(> .article-contents)::after { content: none; display: none; }
  .post-v2 .article-contents { grid-column: 1; grid-row: 1; align-self: start; position: sticky; top: 112px; max-height: calc(100vh - 136px); overflow: auto; }
  .post-v2 .post-content-main > .blog-content { grid-column: 2; grid-row: 1; }
}
.post-v2 .article-contents { margin: 0 0 36px; padding: 0; background: none; border: 0; border-radius: 0; }
.post-v2 .article-contents > p { margin: 0 0 10px; font: 900 22px/.9 var(--tb-display); text-transform: uppercase; color: var(--tb-ink); }
.post-v2 .article-contents ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid #E3E6E9; }
.post-v2 .article-contents li { padding: 0; }
.post-v2 .article-contents a { display: block; margin-left: -2px; padding: 7px 0 7px 14px; border-left: 2px solid transparent; color: var(--tb-ink-2); text-decoration: none; font: 500 14.5px/1.4 var(--tb-body); }
.post-v2 .article-contents a:hover { color: var(--tb-ink); }
.post-v2 .article-contents a.is-active { color: var(--tb-blue); border-left-color: var(--tb-blue); font-weight: 700; }
@media (max-width: 1099px) {
  .post-v2 .article-contents { border-block: 1px solid #E3E6E9; padding: 18px 0 14px; }
}

/* Body type */
.post-v2 .blog-content { color: var(--tb-ink); }
.post-v2 .blog-content p, .post-v2 .blog-content li { font-size: 18px; line-height: 1.7; color: #2B2B2B; }
.post-v2 .blog-content h2 { margin-top: 56px; font: 800 clamp(1.6rem, 2.6vw, 2rem)/1.2 var(--tb-body); letter-spacing: -.02em; color: var(--tb-ink); }
.post-v2 .blog-content h3 { font-family: var(--tb-body); font-weight: 800; color: var(--tb-ink); }
.post-v2 .blog-content a { color: var(--tb-blue); text-underline-offset: 3px; }

/* Quotes: a blue rule instead of a light-blue bubble */
.post-v2 .blog-content .field-quote { background: none; border: 0; border-left: 4px solid var(--tb-blue); border-radius: 0; box-shadow: none; padding: 4px 0 4px 22px; margin: 28px 0; }
.post-v2 .blog-content .field-quote p { font: 500 20px/1.5 var(--tb-body); color: var(--tb-ink); }
.post-v2 .field-quote footer { display: block; border-top: 0; padding-top: 0; margin-top: 8px; }
.post-v2 .field-quote .quote-source-icon { display: none; }
.post-v2 .blog-content .field-quote cite { color: var(--tb-muted); font-weight: 600; font-size: 14px; }

/* Charts, cards and tool promos: white with a hairline edge */
.post-v2 .blog-content .footwear-chart, .post-v2 .blog-content .article-tool-cta, .post-v2 .blog-content .climate-card,
.post-v2 .blog-content .comparison-table, .post-v2 .blog-content .article-figure img { box-shadow: none; }
.post-v2 .blog-content .footwear-chart, .post-v2 .blog-content .article-tool-cta { background: #fff; border: 1px solid #E3E6E9; border-radius: 14px; }
.post-v2 .blog-content .climate-card { background: var(--tb-ground); border: 0; border-radius: 12px; }
.post-v2 .blog-content .article-tool-cta h2, .post-v2 .blog-content .article-tool-cta h3 { margin-top: 0; }
.post-v2 .blog-content .article-tool-cta a { background: var(--tb-blue); color: #fff; border-radius: 999px; text-decoration: none; }
.post-v2 .blog-content .chart-title { font-family: var(--tb-body); font-weight: 800; color: var(--tb-ink); }

/* Trial pitch: one navy card, everything left-aligned. With a product preview it becomes two
   columns on wide screens, the screenshot bleeding off the bottom-right corner. */
.post-v2 .blog-content .article-cta { position: relative; overflow: hidden; margin: 56px 0 8px; padding: 36px 36px 34px; text-align: left; background: var(--tb-deep); border: 0; border-radius: 20px; box-shadow: none; }
.post-v2 .blog-content .article-cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 100% 0%, rgba(90,167,240,.28), transparent 60%); }
.post-v2 .blog-content .article-cta > *, .post-v2 .blog-content .article-cta-copy > * { position: relative; }
.post-v2 .blog-content .article-cta h2 { margin: 0 0 12px; max-width: 18ch; font: 900 clamp(2rem, 3.6vw, 2.6rem)/.9 var(--tb-display); text-wrap: balance; text-transform: uppercase; letter-spacing: .005em; color: #fff; text-align: left; }
.post-v2 .blog-content .article-cta p { margin: 0 0 22px; max-width: 40ch; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.86); text-align: left; }
.post-v2 .blog-content .article-cta a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin: 0; padding: 12px 24px; border-radius: 999px; background: var(--tb-sunset); color: #fff; font: 800 16px var(--tb-body); text-decoration: none; box-shadow: none; transition: background .15s; }
.post-v2 .blog-content .article-cta a:hover { background: var(--tb-sunset-press); }
.post-v2 .blog-content .article-cta .article-cta-note { margin: 12px 0 0; font-size: 14px; color: rgba(255,255,255,.62); }
/* Product variant */
.post-v2 .blog-content .article-cta-product { padding: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; background: var(--tb-deep); border: 0; }
.post-v2 .article-cta-product .article-cta-copy { padding: 40px 8px 40px 36px; align-self: center; }
.post-v2 .article-cta-product .article-cta-preview { position: relative; align-self: end; width: auto; max-width: none; margin: 44px -18px 0 0; padding: 6px 0 0 6px; background: rgba(255,255,255,.14); border-radius: 14px 0 0 0; }
.post-v2 .article-cta-product .article-cta-preview img { display: block; width: 100%; height: auto; border-radius: 10px 0 0 0; }
@media (max-width: 720px) {
  .post-v2 .blog-content .article-cta { padding: 28px 22px 26px; border-radius: 16px; }
  .post-v2 .blog-content .article-cta-product { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .post-v2 .article-cta-product .article-cta-copy { padding: 28px 22px 0; }
  .post-v2 .article-cta-product .article-cta-preview { margin: 26px 22px 0; padding: 5px 5px 0; border-radius: 12px 12px 0 0; }
  .post-v2 .article-cta-product .article-cta-preview img { border-radius: 8px 8px 0 0; }
  .post-v2 .blog-content .article-cta a { width: 100%; justify-content: center; }
}

/* End of post: option B cards under Truck Bed headings */
.post-v2 #suggested-reading, .post-v2 #suggested-tools { max-width: 1120px; margin: 0 auto; padding: 24px 24px 0; }
.post-v2 #suggested-tools { padding-top: 48px; }
.post-v2 .blog-content > :last-child { margin-bottom: 0; }
.post-v2 #suggested-tools { padding-bottom: 72px; }
.post-v2 #suggested-reading > h2, .post-v2 #suggested-tools > h2 { text-align: left; margin: 0 0 22px; font: 900 clamp(2rem, 4.5vw, 3.2rem)/.9 var(--tb-display); text-transform: uppercase; color: var(--tb-ink); }
.post-v2 .suggested-reading-cards, .post-v2 .suggested-tools-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-v2 .suggested-reading-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #E3E6E9; border-radius: 12px; overflow: hidden; box-shadow: none; transform: none; text-decoration: none; transition: border-color .15s; }
.post-v2 .suggested-reading-card:hover { border-color: #C3CAD1; transform: none; box-shadow: none; }
.post-v2 .suggested-reading-card img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; display: block; }
.post-v2 .suggested-reading-card-content { padding: 14px 16px 16px; background: #fff; }
.post-v2 .suggested-reading-card h3 { margin: 0; font: 700 17px/1.35 var(--tb-body); color: var(--tb-ink); }
.post-v2 .suggested-reading-card:hover h3 { color: var(--tb-blue); }
.post-v2 .suggested-tools-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; background: #fff; border: 1px solid #E3E6E9; border-radius: 12px; padding: 12px 14px; height: auto; min-height: 0; box-shadow: none; transform: none; text-decoration: none; text-align: left; transition: border-color .15s; }
.post-v2 .suggested-tools-card:hover { border-color: #C3CAD1; transform: none; box-shadow: none; }
.post-v2 .suggested-tools-icon-wrap { width: 56px; height: 56px; margin: 0; border-radius: 12px; background: var(--tb-tile); border: 0; display: grid; place-items: center; }
.post-v2 .suggested-tools-icon { width: 40px; height: 40px; object-fit: contain; }
.post-v2 .suggested-tools-card h3 { margin: 0; font: 700 16px/1.3 var(--tb-body); color: var(--tb-ink); text-align: left; }
.post-v2 .suggested-tools-card:hover h3 { color: var(--tb-blue); }
@media (max-width: 860px) { .post-v2 .suggested-reading-cards, .post-v2 .suggested-tools-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .post-v2 #suggested-reading, .post-v2 #suggested-tools { padding-left: 16px; padding-right: 16px; } .post-v2 .blog-content p, .post-v2 .blog-content li { font-size: 17px; } }
.post-v2 .blog-content .article-cta-product h2 { max-width: none; font-size: clamp(1.9rem, 2.9vw, 2.3rem); text-wrap: pretty; }
.post-v2 .article-cta-label { display: block; margin: 0 0 10px; font: 700 14px var(--tb-body); color: #8CC8F5; }
.post-v2 .blog-content .article-cta .article-cta-note a { display: inline; min-height: 0; padding: 0; background: none; color: #fff; text-decoration: underline; text-underline-offset: 3px; font: inherit; width: auto; }
