/* Blog pages. Uses the site's own colour tokens, so light and dark themes both work. */
.bl-main { padding-block: 2rem var(--s-section-y); }
.bl-empty { color: var(--s-muted); }
/* Blog cards reuse the industry card styles (.indk in industries.css); only the rows differ. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 768px) {
    .bl-cards > .indk.bl-card { grid-row: span 4; }
    .bl-cards > .bl-card > .indk-cta { grid-row: 4; }
  }
}
.bl-card .indk-media { margin-bottom: 8px; }
.bl-card .indk-photo { aspect-ratio: 1200 / 628; }
.bl-card .indk-title { overflow-wrap: anywhere; }
.bl-card .indk-blurb { overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; align-self: start; }
.bl-noimage { display: grid; place-items: center; }
.bl-noimage img { opacity: .55; }
.bl-date { font-size: .85rem; color: var(--s-faint); }
.bl-author { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2.5rem; padding: 1.25rem; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius); }
.bl-author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.bl-author strong { display: block; font-size: 1.1rem; color: var(--s-text); }
.bl-author p { margin-top: .35rem; color: var(--s-muted); font-size: .96rem; overflow-wrap: anywhere; }
.bl-author-label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--s-faint); }
.bl-post { padding-block: 2rem var(--s-section-y); }
.bl-wrap { max-width: 780px; margin-inline: auto; padding-inline: 1.25rem; }
.bl-post h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); margin-block: 1rem .6rem; overflow-wrap: anywhere; }
.bl-cover { width: 100%; border-radius: var(--s-radius); margin-top: 1.25rem; }
.bl-video { aspect-ratio: 16 / 9; margin-top: 1.25rem; }
.bl-video iframe { width: 100%; height: 100%; border: 0; border-radius: var(--s-radius); }
.bl-body { margin-top: 1.75rem; overflow-wrap: anywhere; }
.bl-body > * + * { margin-top: 1rem; }
.bl-body h2 { font-size: 1.6rem; margin-top: 2rem; }
.bl-body h3 { font-size: 1.25rem; margin-top: 1.5rem; }
.bl-body ul, .bl-body ol { padding-left: 1.25rem; }
.bl-body blockquote { border-left: 3px solid var(--s-accent); padding-left: 1rem; color: var(--s-muted); }
.bl-body table { width: 100%; border-collapse: collapse; }
.bl-body th, .bl-body td { border: 1px solid var(--s-line); padding: .4rem .6rem; }
.bl-body img { max-width: 100%; border-radius: var(--s-radius-sm); }

/* Header: with the Blog link the menu has seven items; tighten it only on smaller desktop screens. */
@media (min-width: 992px) and (max-width: 1279.98px) {
  .site-header .navbar .nav-pills-s .nav-link { padding-inline: .5rem; font-size: .84rem; white-space: nowrap; }
  .site-header .navbar .nav-pills-s { gap: 0; }
}
@media (min-width: 992px) and (max-width: 1099.98px) {
  .site-header .navbar .nav-pills-s .nav-link { padding-inline: .36rem; font-size: .8rem; }
  .site-header .nav-tools .btn-x { padding-inline: .7rem; font-size: .8rem; }
  .site-header .brand-name { font-size: .88rem; }
  .site-header .brand-sub { font-size: .66rem; }
}
