/* Blueprint Brand Co. blog (blog/ and blog/<post>/). Loaded after trades.css, which supplies the
   tokens, header, buttons, breadcrumbs, footer and the .map-cta call-to-action band. This file adds
   only what the blog needs: the page heading, a readable article column, the post cards. */

/* Heading band: white paper under the sticky header, like the breadcrumb strip */
.blog-head{background:var(--white);border-bottom:1px solid #E2DED3;padding:clamp(36px,6vw,84px) 0 clamp(30px,4.5vw,56px)}
.blog-head .col{max-width:46rem}
.blog-head .eyebrow{margin-bottom:16px}
.blog-head h1{font-weight:800;font-size:clamp(2rem,4.6vw,3.4rem);line-height:1.08;letter-spacing:-.005em;text-wrap:balance}
.blog-head .lede{margin-top:20px;max-width:34em}
.byline{margin:22px 0 0;font-size:16px;color:var(--muted)}
.byline b{color:var(--navy);font-weight:600}
.byline .dot{margin:0 8px;color:#B9B4AA}

/* Article column: about 68 characters wide, larger than body copy, generous line height */
.post{padding:clamp(36px,5.5vw,72px) 0 clamp(40px,6vw,72px)}
.post-body{max-width:68ch;font-size:clamp(1.0625rem,.35vw + 1rem,1.1875rem);line-height:1.72;color:var(--body)}
.post-body>*:first-child{margin-top:0}
.post-body p{margin:0 0 1.25em}
.post-body h2{margin:2.1em 0 .6em;font-size:clamp(1.4rem,1.2vw + 1.15rem,1.85rem);font-weight:700;font-stretch:112%;line-height:1.2;letter-spacing:-.005em;text-wrap:balance}
.post-body h3{margin:1.8em 0 .5em;font-size:1.25rem;font-weight:700;font-stretch:112%;line-height:1.25}
.post-body ul,.post-body ol{margin:0 0 1.25em;padding-left:1.3em}
.post-body li{margin-bottom:.45em}
.post-body strong{color:var(--navy);font-weight:700}
.post-body blockquote{margin:1.8em 0;padding:.2em 0 .2em clamp(18px,2.4vw,28px);border-left:4px solid var(--blue)}
.post-body blockquote p{margin:0;color:var(--navy);font-size:1.18em;font-weight:600;font-stretch:106%;line-height:1.45}
.post-body a{color:var(--blue-ink)}

/* After the article: a quiet note, the back link */
.post-note{max-width:68ch;margin:clamp(28px,4vw,44px) 0 0;padding-top:22px;border-top:1px solid var(--rule);font-size:1.02rem}
.post-note a{color:var(--blue-ink);font-weight:600}
.back-link{display:inline-block;margin:0;font-weight:600;font-size:16px;color:var(--navy);text-decoration:none}
.back-link:hover{color:var(--blue-ink);text-decoration:underline}

/* Post cards: the blog index, and Keep reading at the foot of a post */
.keep{background:var(--white);padding:clamp(44px,6vw,80px) 0}
.keep h2,.blog-list h2{font-size:clamp(1.5rem,2.4vw,2rem);font-weight:700;font-stretch:112%;letter-spacing:-.005em}
.keep h2{margin-bottom:clamp(20px,3vw,30px)}
.blog-list{padding:clamp(36px,5vw,64px) 0 clamp(40px,6vw,72px)}
.cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.cards.cards-index{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.card{display:flex;flex-direction:column;height:100%;padding:22px 22px 20px;background:var(--cream);border:1px solid var(--rule);border-top:4px solid var(--blue);border-radius:4px;color:inherit;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.blog-list .card{background:var(--white)}
.card .topic{margin:0 0 10px;font-size:13px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--blue-ink)}
.card h3{font-size:clamp(1.15rem,.5vw + 1.05rem,1.4rem);font-weight:700;font-stretch:112%;line-height:1.2;color:var(--navy);text-wrap:balance}
.card .blurb{margin:12px 0 0;font-size:15.5px;line-height:1.55;color:var(--body)}
.card .when{margin:auto 0 0;padding-top:16px;font-size:14.5px;color:var(--muted)}
.card .go{margin:6px 0 0;color:var(--blue-ink);font-weight:600;font-size:15px}
.card .go::after{content:" \2192"}
a.card:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(14,39,71,.14);border-color:var(--line)}
a.card:hover .go{text-decoration:underline}

/* Call to action band reuses .sec-map and .map-cta from trades.css */
.cta-band .contact-line{margin:22px 0 0;font-size:1.02rem;color:var(--line)}
.cta-band .contact-line a{color:var(--white);font-weight:600}

@media (max-width:980px){
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .cards,.cards.cards-index{grid-template-columns:1fr}
  .byline .dot{margin:0 6px}
  .post-body{line-height:1.68}
  .cta-band .map-cta .btn{width:100%}
  .cta-band .map-cta .ctas{width:100%}
}
@media (prefers-reduced-motion:reduce){
  .card{transition:none}
  a.card:hover{transform:none}
}
