/* /blog/ only (2026-10-20 redesign: magazine index + article template). Tokens, header, buttons and footer come from styles.css. */
.blog-index, .post-page { background: var(--bsl-ivory); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: .5rem; z-index: 100; background: var(--bsl-ink); color: var(--bsl-ivory); padding: .5rem 1rem; border-radius: 8px; }
.skip-link:focus { left: .5rem; }
.blog-mobile-cta { display: none; }
@media (max-width: 599px) { .blog-mobile-cta { display: inline-flex; font-size: .85rem; padding: .5em 1.1em; } }

.eyebrow { font-family: var(--bsl-body); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bsl-cobalt); margin: 0 0 .5rem; }
.eyebrow--light { color: var(--bsl-sky); }

/* byline */
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; margin: 0; font-size: .9rem; color: var(--bsl-slate); }
.byline strong { color: var(--bsl-ink); font-weight: 600; }
.byline__avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--bsl-white); border: 1px solid rgba(16,35,68,.12); display: inline-grid; place-items: center; overflow: hidden; }
.byline__avatar img { width: 20px; height: 20px; }
.byline--sm { font-size: .82rem; }
.byline--sm .byline__avatar { width: 24px; height: 24px; }
.byline--sm .byline__avatar img { width: 16px; height: 16px; }

/* ---------- INDEX ---------- */
.blog-top { padding: 6rem 0 1.5rem; border-bottom: 1px solid rgba(16,35,68,.1); }
.blog-top__row { display: grid; gap: 1.5rem; align-items: end; }
.blog-top__title { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.08; margin: 0; max-width: 18ch; color: var(--bsl-ink); }
.blog-top__lede { font-size: 1.1rem; color: var(--bsl-slate); margin: .75rem 0 0; max-width: 38rem; }
@media (min-width: 900px) { .blog-top__row { grid-template-columns: 1fr 340px; } }
.search { display: flex; align-items: center; gap: .5rem; background: var(--bsl-white); border: 1.5px solid rgba(16,35,68,.18); border-radius: 999px; padding: .65rem 1.1rem; color: var(--bsl-slate); }
.search:focus-within { border-color: var(--bsl-cobalt); box-shadow: 0 0 0 3px rgba(36,88,243,.15); }
.search input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; width: 100%; color: var(--bsl-ink); }
.chips { display: flex; gap: .5rem; margin-top: 1.5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; font-weight: 600; font-size: .88rem; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid rgba(16,35,68,.18); background: var(--bsl-white); color: var(--bsl-ink); }
.chip:hover { border-color: var(--bsl-ink); }
.chip.is-active { background: var(--bsl-ink); border-color: var(--bsl-ink); color: var(--bsl-ivory); }

.blog-feed { padding: 2.5rem 0 4rem; }
.featured__link { display: grid; gap: 1.25rem; text-decoration: none; color: inherit; }
.featured__media { border-radius: 20px; overflow: hidden; background: var(--bsl-mist); aspect-ratio: 16 / 9; }
.featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.featured__link:hover .featured__media img { transform: scale(1.03); }
.featured__title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.12; margin: 0 0 .75rem; color: var(--bsl-ink); }
.featured__dek { font-size: 1.08rem; line-height: 1.55; color: var(--bsl-slate); margin: 0 0 1rem; }
.featured__more { display: inline-block; margin-top: 1.1rem; font-weight: 600; color: var(--bsl-cobalt); }
.featured__link:hover .featured__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
@media (min-width: 900px) { .featured__link { grid-template-columns: 1.35fr 1fr; gap: 2.5rem; align-items: center; } }

.feed-head { margin: 3.5rem 0 1.25rem; padding-top: 2rem; border-top: 1px solid rgba(16,35,68,.1); }
.feed-head__h { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; color: var(--bsl-ink); }
.feed-empty { margin: 2rem 0 0; color: var(--bsl-slate); }
.grid { display: grid; gap: 1.75rem; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: var(--bsl-white); border-radius: 18px; overflow: hidden; border: 1px solid rgba(16,35,68,.1); transition: transform .2s ease, box-shadow .2s ease; }
.card__link:hover { transform: translateY(-3px); box-shadow: 0 12px 28px -14px rgba(16,35,68,.35); opacity: 1; }
.card__media { aspect-ratio: 16 / 9; background: var(--bsl-mist); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-family: var(--bsl-body); font-weight: 600; font-size: 1.15rem; line-height: 1.3; margin: 0 0 .5rem; color: var(--bsl-ink); }
.card__link:hover .card__title { text-decoration: underline; text-underline-offset: .15em; }
.card__dek { font-size: .95rem; line-height: 1.5; color: var(--bsl-slate); margin: 0 0 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__body .byline { margin-top: auto; }

.guide-band { background: var(--bsl-ink); color: var(--bsl-ivory); padding: 3.5rem 0; }
.guide-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.guide-band .eyebrow { color: var(--bsl-sky); }
.guide-band__h { color: var(--bsl-ivory); font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 0 0 .6rem; }
.guide-band p { color: rgba(255,247,235,.85); margin: 0; max-width: 36rem; }
@media (min-width: 900px) { .guide-band__inner { grid-template-columns: 1fr auto; gap: 3rem; } }
.bp-strip { padding: 3.5rem 0 4rem; }
.bp-strip__h { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 1.5rem; color: var(--bsl-ink); }
.bp-strip__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 760px; }
.bp-card { display: flex; flex-direction: column; gap: .35rem; text-decoration: none; color: var(--bsl-ink); }
.bp-card img { width: 100%; aspect-ratio: 300 / 388; object-fit: cover; border-radius: 12px; border: 1px solid rgba(16,35,68,.12); transition: transform .2s ease; }
.bp-card:hover img { transform: translateY(-3px); }
.bp-card__name { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.bp-card__price { font-size: .9rem; color: var(--bsl-slate); }

/* ---------- ARTICLE ---------- */
.post-head { padding: 6rem 0 2.5rem; background: linear-gradient(180deg, var(--bsl-ivory) 0%, #FBEBDD 100%); border-bottom: 1px solid rgba(16,35,68,.08); }
.post-head__grid { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 900px) { .post-head { padding: 6.25rem 0 3.5rem; } .post-head__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3.5rem; } }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .88rem; font-weight: 600; margin-bottom: 1rem; color: var(--bsl-slate); }
.crumbs a { color: var(--bsl-cobalt); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.post-title { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.08; margin: 0 0 1rem; color: var(--bsl-ink); text-wrap: balance; }
.post-dek { font-size: clamp(1.08rem, 1.7vw, 1.22rem); line-height: 1.5; color: var(--bsl-slate); margin: 0 0 1.5rem; }
.post-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(16,35,68,.12); border-bottom: 1px solid rgba(16,35,68,.12); }
.post-hero { margin: 0; border-radius: 22px; overflow: hidden; background: var(--bsl-mist); aspect-ratio: 16 / 9; box-shadow: 0 18px 40px -24px rgba(16,35,68,.45); }
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .post-hero { order: -1; border-radius: 16px; } .post-head { padding-top: 5.5rem; } }
.head-offer { display: flex; align-items: center; gap: .9rem; margin-top: 1.5rem; padding: .9rem 1.1rem; background: var(--bsl-white); border-radius: 14px; border: 1px solid rgba(16,35,68,.1); text-decoration: none; color: var(--bsl-ink); max-width: 30rem; }
.head-offer:hover { border-color: var(--bsl-cobalt); opacity: 1; }
.head-offer__art img { width: 44px; height: 44px; }
.head-offer .eyebrow { display: block; margin: 0 0 .15rem; font-size: .72rem; }
.head-offer__t { display: block; font-weight: 600; line-height: 1.3; }
.head-offer__go { margin-left: auto; font-size: 1.3rem; color: var(--bsl-cobalt); }

.share { display: flex; gap: .4rem; }
.share__btn { position: relative; width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--bsl-white); border: 1px solid rgba(16,35,68,.15); color: var(--bsl-ink); text-decoration: none; }
.share__btn:hover { background: var(--bsl-ink); color: var(--bsl-ivory); opacity: 1; }
.share__copied { position: absolute; top: -1.9rem; left: 50%; transform: translateX(-50%); background: var(--bsl-ink); color: var(--bsl-ivory); font-size: .75rem; padding: .2rem .5rem; border-radius: 6px; white-space: nowrap; }

.post-layout { display: grid; gap: 2rem; padding-top: 2.5rem; padding-bottom: 4rem; }
.post-toc .toc { background: var(--bsl-white); border: 1px solid rgba(16,35,68,.12); border-radius: 14px; padding: .9rem 1.1rem; }
.toc summary { font-weight: 600; cursor: pointer; color: var(--bsl-ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-size: 1.2rem; color: var(--bsl-slate); }
.toc[open] summary::after { content: "\2013"; }
.toc ol { list-style: none; margin: .75rem 0 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: .6rem; padding: .45rem 0 .45rem .75rem; margin-left: -.1rem; font-size: .92rem; line-height: 1.35; color: var(--bsl-slate); text-decoration: none; border-left: 2px solid rgba(16,35,68,.1); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 600; color: rgba(64,87,115,.6); font-size: .8rem; padding-top: .1rem; }
.toc a:hover { color: var(--bsl-ink); }
.toc a.is-active { color: var(--bsl-ink); font-weight: 600; border-left-color: var(--bsl-cobalt); }
.post-toc__share { display: none; }
.post-rail { display: none; }

@media (min-width: 1024px) {
  .post-layout { grid-template-columns: 230px minmax(0, 700px); justify-content: center; gap: 3.5rem; }
  .post-toc__inner { position: sticky; top: 6rem; }
  .post-toc .toc { background: transparent; border: 0; padding: 0; }
  .toc summary { pointer-events: none; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bsl-slate); }
  .toc summary::after { display: none; }
  .post-toc__share { display: block; margin-top: 1.75rem; }
  .post-toc .toc ol { max-height: calc(100vh - 14rem); overflow: auto; }
}
@media (min-width: 1280px) {
  .post-layout { grid-template-columns: 220px minmax(0, 700px) 250px; gap: 3rem; }
  .post-rail { display: block; }
  .rail-card { position: sticky; top: 6rem; background: var(--bsl-white); border: 1px solid rgba(16,35,68,.12); border-radius: 18px; padding: 1.1rem; font-size: .9rem; color: var(--bsl-slate); }
  .rail-card img { width: 100%; border-radius: 10px; margin-bottom: .9rem; aspect-ratio: 300 / 300; object-fit: cover; object-position: top; }
  .rail-card__title { font-family: var(--bsl-display); font-weight: 800; font-size: 1.15rem; line-height: 1.15; color: var(--bsl-ink); margin: 0 0 .4rem; }
  .rail-card p { margin: 0 0 .9rem; line-height: 1.45; }
  .rail-card .btn { justify-content: center; }
  .rail-card__alt { display: block; text-align: center; margin-top: .7rem; font-size: .85rem; font-weight: 600; }
}

/* body copy */
.post-body { font-size: 1.125rem; line-height: 1.75; color: var(--bsl-ink); min-width: 0; }
@media (min-width: 768px) { .post-body { font-size: 1.1875rem; } }
.post-body > p:first-child { font-size: 1.12em; line-height: 1.65; }
.post-body h2 { font-family: var(--bsl-display); font-weight: 800; font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1.18; margin: 3rem 0 1rem; color: var(--bsl-ink); scroll-margin-top: 6rem; }
.post-body h3 { font-family: var(--bsl-body); font-weight: 600; font-size: 1.2em; margin: 2rem 0 .6rem; }
.post-body p { margin: 0 0 1.35rem; }
.post-body ul, .post-body ol { margin: 0 0 1.5rem; padding-left: 1.4rem; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: .55rem; padding-left: .2rem; }
.post-body li::marker { color: var(--bsl-cobalt); font-weight: 600; }
.post-body a { color: var(--bsl-cobalt); text-underline-offset: .18em; text-decoration-thickness: 1.5px; overflow-wrap: anywhere; }
.post-body strong { font-weight: 600; }
.post-body blockquote { margin: 2.25rem 0; padding: .25rem 0 .25rem 1.5rem; border-left: 4px solid var(--bsl-tangerine); font-family: var(--bsl-display); font-weight: 800; font-size: 1.35em; line-height: 1.3; color: var(--bsl-ink); }
.post-body blockquote p { margin: 0; }
.post-body table { border-collapse: collapse; width: 100%; margin: 0 0 1.5rem; font-size: .92em; display: block; overflow-x: auto; }
.post-body th, .post-body td { border-bottom: 1px solid rgba(16,35,68,.15); padding: .65rem .75rem; text-align: left; vertical-align: top; }
.post-body th { background: var(--bsl-mist); font-weight: 600; }

/* inline guide CTA */
.cta-guide { display: grid; gap: 1rem; align-items: center; margin: 2.5rem 0; padding: 1.5rem; border-radius: 18px; background: var(--bsl-peach); font-size: 1rem; line-height: 1.5; }
.cta-guide__art img { width: 56px; height: 56px; }
.cta-guide__title { font-family: var(--bsl-display); font-weight: 800; font-size: 1.35rem; line-height: 1.2; margin: 0 0 .35rem !important; }
.cta-guide p { margin: 0; }
.cta-guide .btn { justify-self: start; text-decoration: none; }
@media (min-width: 640px) { .cta-guide { grid-template-columns: auto 1fr; padding: 1.75rem 2rem; } .cta-guide__btn { grid-column: 2; } }

/* end blueprint CTA */
.cta-blueprint { display: grid; gap: 1.5rem; margin: 3.5rem 0 2rem; padding: 1.75rem; border-radius: 22px; background: var(--bsl-ink); color: rgba(255,247,235,.88); font-size: 1rem; line-height: 1.55; }
.cta-blueprint__cover img { width: 150px; border-radius: 10px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.cta-blueprint__title { font-family: var(--bsl-display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.15; color: var(--bsl-ivory); margin: 0 0 .6rem !important; }
.cta-blueprint p { margin: 0 0 1.1rem; }
.cta-blueprint .btn { text-decoration: none; }
.cta-blueprint__more { font-size: .9rem; margin: 1rem 0 0 !important; }
.cta-blueprint__more a { color: var(--bsl-sky); }
@media (min-width: 640px) { .cta-blueprint { grid-template-columns: 170px minmax(0, 1fr); padding: 2.25rem; gap: 2rem; align-items: center; } .cta-blueprint__cover img { width: 170px; } }

.post-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid rgba(16,35,68,.12); }
.post-foot .eyebrow { margin: 0; color: var(--bsl-slate); }

.related { background: var(--bsl-mist); padding: 3.5rem 0 4rem; }
.related__h { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 1.5rem; color: var(--bsl-ink); }
.post-body .btn { text-decoration: none; }
.post-body .btn-primary { color: var(--bsl-ivory); }
.post-body .btn-tangerine { color: var(--bsl-ink); }
.cta-guide .eyebrow { color: var(--bsl-ink); }
.bp-card img, .rail-card img, .cta-blueprint__cover img, .bcard img, .featured__media img, .post-hero img { height: auto; }
.card__media img, .featured__media img, .post-hero img { height: 100%; }
.cta-blueprint .btn, .cta-guide .btn { white-space: normal; text-align: center; max-width: 100%; }
