/*
 * Blog v2 - redesign 2026-09-29 (Mike approved the "SmartSites blog redesign" mock: home option A "Editorial", post
 * option 1 "Clean long-form", option 2 as a per-post switch). inc/blog-v2.php; templates tpl-blog-home-v2.php,
 * category.php, archive.php, single.php; parts template-parts/blog-v2-*.php.
 * Everything is scoped to .blg (the Customizer "Additional CSS" copy, customizer-legacy.css, styles bare a / h1-h5 /
 * .single-post h3 - hence the explicit colours and a few !important margins in the post body).
 * Motion: none on load; hovers 150ms or less (README-CS2 "Reveal/animation policy"). [ss_chart] draw-in is off here.
 * Colours: the site palette tokens (inc/ss-glow.php). Glow: --ss-glow-gold on navy heroes only.
 * Critical copy: assets/css/critical/blog-v2.css (generated from the rendered first screen - README-CS2 "Blog v2").
 */
/*
 * Blog v2 SHARED rules (every blog route): tokens, base, header offset, avatar / byline / meta, buttons, generated
 * title card, section head, grid/rail card. Route sheets: blog-v2-list.css (/blog/, categories, archives) and
 * blog-v2-post.css (single posts) - inc/blog-v2.php enqueues this + the one the route needs. Split 2026-09-29 so a
 * post never downloads listing rules and vice versa.
 */

.blg {
  --ink: var(--ss-ink);
  --ink2: var(--ss-ink-2);
  --ink3: var(--ss-ink-3);
  --body: #1c2a36;
  --ln: var(--ss-line);
  --lns: var(--ss-line-strong);
  --gr: var(--ss-ground);
  --navy: var(--ss-navy);
  --nd: var(--ss-navy-deep);
  --gold: var(--ss-gold);
  --gold-deep: var(--ss-gold-deep);
  --gsoft: var(--ss-gold-soft);
  --blue: var(--ss-blue);
  --bld: var(--ss-blue-deep);
  --link: var(--ss-link);
  --onv: var(--ss-on-navy);
  --mist: var(--ss-mist);
  --font: "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.blg *,
.blg *::before,
.blg *::after {
  box-sizing: border-box;
}

.blg :where(img) {
  max-width: 100%;
  height: auto;
}

.blg :where(h1, h2, h3, h4, p) {
  margin: 0;
}

.blg article {
  margin: 0;
}

.blg :where(a) {
  color: inherit;
  text-decoration: none;
}


.blg .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Fixed-header offset (customizer-legacy.css pads .blog / .archive for the OLD blog top). */

body.blg-page.blg-page .site-header--alt + .site-content { /* beats customizer-legacy .archive.category ... */
  padding-top: 3.5625rem;
}

@media (min-width: 768px) {
  body.blg-page.blg-page .site-header--alt + .site-content { /* beats customizer-legacy .archive.category ... */
    padding-top: 4.1875rem;
  }
}

@media (min-width: 1200px) {
  body.blg-page.blg-page .site-header--alt + .site-content { /* beats customizer-legacy .archive.category ... */
    padding-top: 4.6875rem;
  }
}

.blg-wrap {
  max-width: 1312px;
  margin: 0 auto;
  padding: 0 64px;
}

.blg-gold {
  color: var(--gold);
}

/* ------------------------------------------------------------------ shared bits */

.blg-av {
  flex: none;
  border-radius: 50%;
  background: var(--ss-snow);
  object-fit: cover;
  object-position: 50% 30%;
}

.blg-av--i {
  display: inline-grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
}

.blg-av--brand {
  display: inline-grid;
  place-items: center;
  background: var(--nd);
  box-shadow: inset 0 0 0 1px rgba(var(--ss-gold-rgb), .45);
}

.blg .blg-av--brand img {
  width: 58% !important;
  height: 58% !important;
  border-radius: 0;
}

.blg-by {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink2);
  font-size: 14px;
  line-height: 1.35;
}

.blg-by b {
  color: var(--ink);
  font-weight: 700;
}

.blg-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--ink3);
  font-size: 13.5px;
  line-height: 1.4;
}

.blg-meta b {
  color: var(--bld);
  font-weight: 700;
}

.blg .blg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--ss-gold-grad);
  color: var(--nd);
  cursor: pointer;
  font: 700 16px/1.2 var(--font);
  white-space: nowrap;
  transition: filter .15s;
}


.blg .blg-btn--ghost {
  border: 1.5px solid var(--nd);
  background: #fff;
}


/* generated navy title card (hero slots without 1600px art; never the 740x460 art upscaled). The outer span is the
   size container, the inner one is laid out in cqi of it. */

.blg-tc {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--nd);
  background-image: radial-gradient(ellipse 70% 80% at 100% 0%, rgba(var(--ss-gold-rgb), .26), rgba(var(--ss-gold-rgb), 0) 62%), radial-gradient(ellipse 50% 60% at 0% 100%, rgba(var(--ss-gold-rgb), .12), rgba(var(--ss-gold-rgb), 0) 70%), linear-gradient(140deg, var(--bld) 0%, var(--navy) 45%, var(--nd) 100%);
  color: #fff;
  container-type: size;
  text-align: left;
}

.blg-tc__in {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 7cqi 7cqi 8cqi;
}

.blg-tc__cat {
  margin-bottom: 2.4cqi;
  color: var(--gold);
  font-size: max(11px, 3.4cqi);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blg-tc__t {
  display: -webkit-box;
  max-width: 90%;
  overflow: hidden;
  font-size: 6.6cqi;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.blg-tc__brand {
  position: absolute;
  top: 6cqi;
  left: 7cqi;
  color: rgba(255, 255, 255, .72);
  font-size: max(10px, 2.6cqi);
  font-weight: 700;
  letter-spacing: .04em;
}

.blg-tc--sm .blg-tc__t {
  font-size: 7.6cqi;
  -webkit-line-clamp: 3;
}

.blg-tc--xl .blg-tc__in {
  padding: 5cqi 6cqi;
}

.blg-tc--xl .blg-tc__t {
  max-width: 78%;
  font-size: 4.2cqi;
}

.blg-tc--xl .blg-tc__cat {
  margin-bottom: 1.6cqi;
  font-size: max(11px, 1.7cqi);
}

/* art-only variant (post hero, /blog/ lead): the category word sits centred-left over the glow, the mark bottom-right */
.blg-tc--art .blg-tc__in {
  justify-content: center;
}

.blg-tc--art .blg-tc__cat {
  margin: 0;
  color: rgba(var(--ss-gold-rgb), .9);
  font-size: max(22px, 5.4cqi);
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: none;
}

.blg-tc--art .blg-tc__brand,
.blg-tc--xl .blg-tc__brand {
  top: auto;
  right: 6cqi;
  bottom: 5cqi;
  left: auto;
  font-size: max(11px, 1.8cqi);
}

.blg-shead {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.blg .blg-shead h2 {
  color: var(--ink);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12;
  text-wrap: balance;
}

.blg-shead h2 span {
  display: block;
  color: var(--blue);
}

.blg-shead p {
  max-width: 640px;
  margin: 14px auto 0;
  color: var(--ink2);
  font-size: 18px;
}

.blg-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.blg-card__img {
  display: block;
  aspect-ratio: 740 / 460;
  overflow: hidden;
  border-radius: 14px;
  background: var(--navy);
  transition: transform .15s;
}

.blg-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.blg-card__txt {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blg .blg-card__t {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}

.blg .blg-card__t a {
  color: var(--ink);
  transition: color .15s;
}


.blg-card__dek {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink2);
  font-size: 15.5px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 767.98px) {
  .blg-wrap {
    padding: 0 16px;
  }

  .blg-shead {
    margin-bottom: 26px;
  }

  .blg .blg-shead h2 {
    font-size: 29px;
  }

  .blg-shead p {
    font-size: 16px;
  }
}
