/* LogicMotive Insights / Blog. Layout follows the approved Claude Design mockup. */

.blog-page {
  --blog-navy: #003366;
  --blog-blue: #0f5a9b;
  --blog-ink: #0f172a;
  --blog-text: #1e293b;
  --blog-muted: #475569;
  --blog-line: #e3ebf5;
  --blog-soft: #eef4fb;
  background: #ffffff;
}

.blog-page main,
.blog-preview-bar {
  color: var(--blog-ink);
}

.blog-shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.blog-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.blog-hero {
  background: linear-gradient(180deg, var(--blog-soft) 0%, #ffffff 100%);
  padding: 64px 0 36px;
}

.blog-breadcrumb {
  font-size: 14px;
  color: var(--blog-muted);
  margin-bottom: 22px;
}

.blog-breadcrumb a {
  color: var(--blog-muted);
  text-decoration: none;
}

.blog-breadcrumb a:hover {
  color: var(--blog-navy);
}

.blog-breadcrumb [aria-current] {
  color: var(--blog-navy);
  font-weight: 600;
}

.blog-kicker,
.blog-band-kicker,
.blog-ask-kicker,
.blog-side-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blog-blue);
  margin-bottom: 14px;
}

.blog-title {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  color: var(--blog-navy);
  max-width: 860px;
}

.blog-title-article {
  margin-top: 18px;
  font-size: clamp(32px, 4.4vw, 52px);
}

.blog-lead {
  margin-top: 18px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--blog-muted);
  max-width: 760px;
}

.blog-toolbar {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.blog-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #d5e0ee;
  background: #ffffff;
  color: var(--blog-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.blog-chip:hover {
  border-color: var(--blog-navy);
}

.blog-chip.is-active {
  background: var(--blog-navy);
  border-color: var(--blog-navy);
  color: #ffffff;
}

.blog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  width: 300px;
  max-width: 100%;
  padding: 0 18px;
  border: 1px solid #d5e0ee;
  border-radius: 999px;
  background: #ffffff;
  color: var(--blog-muted);
}

.blog-search:focus-within {
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 4px rgba(15, 90, 155, 0.12);
}

.blog-search input {
  border: 0;
  outline: none;
  width: 100%;
  background: transparent;
  font-size: 16px;
  color: var(--blog-ink);
}

/* ---------- Sections ---------- */
.blog-section {
  padding: 40px 0;
}

.blog-section-tight {
  padding: 16px 0 8px;
}

.blog-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.blog-h2-plain {
  font-size: 28px;
  font-weight: 800;
  color: var(--blog-navy);
  margin-bottom: 24px;
}

.blog-section-head .blog-h2-plain {
  margin-bottom: 0;
}

.blog-count {
  font-size: 14px;
  color: var(--blog-muted);
}

.blog-eyebrow {
  color: var(--blog-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.blog-meta {
  font-size: 14px;
  color: var(--blog-muted);
}

.blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blog-navy);
  font-weight: 700;
  text-decoration: none;
}

.blog-readmore:hover {
  color: var(--blog-blue);
}

.blog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.blog-btn-light {
  background: #ffffff;
  color: var(--blog-navy);
}

.blog-btn-light:hover {
  background: #e8f0fa;
}

/* ---------- Featured ---------- */
.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  background: #ffffff;
  border: 1px solid var(--blog-line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 51, 102, 0.1);
}

.blog-featured-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.blog-featured-body {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.blog-featured-tags {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.blog-badge {
  background: var(--blog-navy);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.blog-featured-title {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.15;
  font-weight: 800;
}

.blog-featured-title a,
.blog-card-title a {
  color: var(--blog-navy);
  text-decoration: none;
}

.blog-featured-title a:hover,
.blog-card-title a:hover {
  color: var(--blog-blue);
}

.blog-featured-excerpt {
  font-size: 17px;
  line-height: 1.65;
  color: var(--blog-muted);
}

/* ---------- Cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--blog-line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(0, 51, 102, 0.14);
}

.blog-card-media img,
.blog-card-placeholder {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-placeholder {
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(135deg, var(--blog-navy), var(--blog-blue));
  color: #ffffff;
  font-weight: 800;
  font-size: 20px;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.blog-card-title {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
}

.blog-card-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--blog-muted);
  flex-grow: 1;
}

.blog-ask {
  background: var(--blog-navy);
  color: #ffffff;
  border-radius: 22px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-height: 340px;
}

.blog-ask .blog-ask-kicker {
  color: #b7d4ff;
}

.blog-ask-title {
  font-size: 25px;
  line-height: 1.25;
  font-weight: 800;
}

.blog-ask-text {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #dbe7f6;
}

.blog-ask .blog-btn {
  align-self: flex-start;
}

.blog-empty {
  padding: 40px;
  border: 1px dashed #c7d6ea;
  border-radius: 22px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--blog-muted);
  text-align: center;
}

.blog-empty a {
  color: var(--blog-navy);
  font-weight: 700;
}

/* ---------- Pagination ---------- */
.blog-pagination {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-page-link {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #d5e0ee;
  color: var(--blog-navy);
  font-weight: 600;
  text-decoration: none;
}

.blog-page-link.is-current {
  background: var(--blog-navy);
  border-color: var(--blog-navy);
  color: #ffffff;
}

.blog-page-link.is-disabled {
  color: #94a3b8;
}

/* ---------- CTA band ---------- */
.blog-band {
  background: linear-gradient(135deg, var(--blog-navy), var(--blog-blue));
  border-radius: 28px;
  padding: 48px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.blog-band > div {
  max-width: 680px;
}

.blog-band .blog-band-kicker {
  color: #b7d4ff;
  margin-bottom: 10px;
}

.blog-band-title {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
}

.blog-band-text {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.6;
  color: #dbe7f6;
}

/* ---------- Article ---------- */
.blog-preview-bar {
  background: #fff7e6;
  border-bottom: 1px solid #f5d491;
  padding: 12px 24px;
  text-align: center;
  font-size: 15px;
}

.blog-preview-bar a {
  color: var(--blog-navy);
  font-weight: 700;
  margin-left: 10px;
}

.blog-hero-article {
  padding: 52px 0 32px;
}

.blog-pill {
  display: inline-block;
  background: #e1ecfa;
  color: var(--blog-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
}

.blog-article-head {
  max-width: 900px;
}

.blog-byline-row {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.blog-byline {
  display: flex;
  align-items: center;
  gap: 14px;
}

.blog-byline > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.blog-byline-name {
  font-weight: 700;
  color: var(--blog-ink);
}

.blog-avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blog-navy);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  object-fit: cover;
}

.blog-avatar-lg {
  width: 64px;
  height: 64px;
  font-size: 20px;
}

.blog-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-share-label {
  font-size: 14px;
  color: var(--blog-muted);
  margin-right: 4px;
}

.blog-share a,
.blog-share button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #d5e0ee;
  background: #ffffff;
  color: var(--blog-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  text-decoration: none;
}

.blog-share a:hover,
.blog-share button:hover,
.blog-share .is-copied {
  background: var(--blog-navy);
  border-color: var(--blog-navy);
  color: #ffffff;
}

.blog-cover {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: 26px;
}

.blog-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: flex-start;
}

.blog-main {
  flex: 999 1 560px;
  min-width: 0;
  max-width: 780px;
}

.blog-side {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-prose p {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--blog-text);
}

.blog-prose a,
.blog-list a,
.blog-takeaways a,
.blog-tip a {
  color: var(--blog-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-h2 {
  margin: 44px 0 16px;
  font-size: clamp(24px, 2.4vw, 28px);
  line-height: 1.25;
  font-weight: 800;
  color: var(--blog-navy);
}

.blog-h3 {
  margin: 30px 0 12px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--blog-navy);
}

.blog-main > :first-child {
  margin-top: 0;
}

.blog-list {
  margin: 0 0 24px;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--blog-text);
}

.blog-list strong,
.blog-prose strong {
  color: var(--blog-navy);
}

.blog-figure {
  margin: 12px 0 32px;
}

.blog-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.blog-figure figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--blog-muted);
}

.blog-quote {
  margin: 28px 0;
  padding: 4px 0 4px 26px;
  border-left: 4px solid var(--blog-navy);
}

.blog-quote p {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--blog-navy);
}

.blog-quote footer {
  margin-top: 10px;
  font-size: 14px;
  color: var(--blog-muted);
}

.blog-tip {
  display: flex;
  gap: 16px;
  margin: 4px 0 26px;
  padding: 22px 24px;
  border: 1px solid #cfe0f5;
  border-radius: 18px;
  background: #ffffff;
}

.blog-tip > i {
  color: var(--blog-blue);
  font-size: 22px;
  margin-top: 2px;
}

.blog-tip-title,
.blog-box-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--blog-navy);
  margin-bottom: 8px;
}

.blog-tip p:not(.blog-tip-title) {
  font-size: 16px;
  line-height: 1.65;
  color: var(--blog-text);
  margin-bottom: 8px;
}

.blog-tip p:last-child {
  margin-bottom: 0;
}

.blog-takeaways {
  margin: 8px 0 28px;
  padding: 28px 30px;
  border-radius: 20px;
  background: var(--blog-soft);
}

.blog-takeaways ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--blog-text);
}

.blog-cta {
  margin: 36px 0 24px;
  padding: 32px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--blog-navy), var(--blog-blue));
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.blog-cta > div {
  max-width: 480px;
}

.blog-cta-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}

.blog-cta-text p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: #dbe7f6;
}

.blog-tags {
  margin-top: 32px;
  list-style: none;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-tags li {
  padding: 8px 14px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 14px;
}

.blog-author {
  margin-top: 32px;
  padding: 26px;
  border: 1px solid var(--blog-line);
  border-radius: 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.blog-author-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--blog-navy);
}

.blog-author-name a {
  color: var(--blog-blue);
  margin-left: 6px;
}

.blog-author-role {
  margin-top: 4px;
  font-size: 14px;
  color: var(--blog-muted);
}

.blog-author-bio {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: #334155;
}

/* Sidebar */
.blog-toc,
.blog-side-card {
  border-radius: 20px;
  padding: 24px;
}

.blog-toc {
  border: 1px solid var(--blog-line);
}

.blog-toc ol {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  color: #334155;
}

.blog-toc a {
  color: #334155;
  text-decoration: none;
}

.blog-toc a:hover {
  color: var(--blog-navy);
  text-decoration: underline;
}

.blog-side-card {
  background: var(--blog-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-side-card .blog-side-kicker {
  margin-bottom: 0;
}

.blog-side-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--blog-navy);
}

.blog-side-text {
  font-size: 15px;
  line-height: 1.6;
  color: #334155;
}

.blog-side-dark {
  background: var(--blog-navy);
}

.blog-side-dark .blog-side-title {
  color: #ffffff;
}

.blog-side-dark .blog-side-text {
  color: #dbe7f6;
}

.blog-side-dark .blog-btn {
  align-self: flex-start;
}

.blog-related {
  background: #f6f9fd;
  margin-top: 24px;
  padding: 48px 0;
}

/* ---------- Responsive ---------- */
@media (min-width: 1100px) {
  .blog-side {
    position: sticky;
    top: calc(var(--lm-fixed-header-height, 120px) + 24px);
  }
}

@media (max-width: 1000px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-featured {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-featured-media img {
    min-height: 0;
    height: 300px;
  }
}

@media (max-width: 680px) {
  .blog-shell {
    width: calc(100% - 32px);
  }

  .blog-hero {
    padding: 36px 0 24px;
  }

  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .blog-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -16px;
    padding: 0 16px 4px;
    width: calc(100% + 32px);
  }

  .blog-chip {
    flex-shrink: 0;
  }

  .blog-search {
    width: 100%;
  }

  .blog-featured-body,
  .blog-band,
  .blog-cta {
    padding: 24px;
  }

  .blog-featured-media img {
    height: 210px;
  }

  .blog-card-media img,
  .blog-card-placeholder {
    height: 190px;
  }

  .blog-prose p,
  .blog-list {
    font-size: 17px;
  }

  .blog-band .blog-btn,
  .blog-cta .blog-btn {
    width: 100%;
  }

  .blog-author {
    flex-direction: column;
  }
}

/* ---------- Picture framing chosen in the admin (fill / whole picture, focus point, size) ---------- */
.blog-cover--fill {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.blog-cover--fill.blog-cover--large { aspect-ratio: 16 / 9; max-height: 560px; }
.blog-cover--fill.blog-cover--medium { aspect-ratio: 2 / 1; max-height: 440px; }
.blog-cover--fill.blog-cover--small { aspect-ratio: 3 / 1; max-height: 320px; }

.blog-cover--whole {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 640px;
  margin: 0 auto;
  object-fit: contain;
}
.blog-cover--whole.blog-cover--medium { max-width: 78%; max-height: 520px; }
.blog-cover--whole.blog-cover--small { max-width: 56%; max-height: 420px; }

.blog-card-media img.blog-img--whole,
.blog-featured-media img.blog-img--whole {
  object-fit: contain;
  background: #eef3f9;
}

.blog-figure img {
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  margin: 0 auto;
}
.blog-figure--large img { width: 80%; }
.blog-figure--medium img { width: 60%; }
.blog-figure--small img { width: 40%; }
.blog-figure--large figcaption,
.blog-figure--medium figcaption,
.blog-figure--small figcaption { text-align: center; }

@media (max-width: 680px) {
  .blog-cover--whole.blog-cover--medium,
  .blog-cover--whole.blog-cover--small { max-width: 100%; }
  .blog-figure--large img,
  .blog-figure--medium img { width: 100%; }
  .blog-figure--small img { width: 70%; }
}

/* ==========================================================================
   Rich hero (Oct 2026): navy gradient band, glass breadcrumb trail, stats,
   search in the hero, topics bar, overlapping cover, reading progress bar.
   ========================================================================== */
.blog-hero--rich {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 44px 0 64px;
  color: #ffffff;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(56, 152, 236, 0.45), transparent 60%),
    radial-gradient(700px 380px at -5% 110%, rgba(15, 90, 155, 0.65), transparent 60%),
    linear-gradient(135deg, #001b36 0%, #002b55 45%, #003a73 100%);
}

.blog-hero--rich::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  opacity: 0.55;
}

.blog-hero-glow {
  position: absolute;
  z-index: -1;
  right: -120px;
  top: 40px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.025), 0 0 0 130px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.blog-hero-inner {
  position: relative;
}

/* Breadcrumb trail */
.blog-crumbs ol {
  list-style: none;
  margin: 0 0 26px;
  padding: 7px 8px 7px 8px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  max-width: 100%;
}

.blog-crumbs li {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  line-height: 1;
  min-width: 0;
}

.blog-crumbs li + li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin: 0 8px 0 4px;
  border-top: 2px solid rgba(255, 255, 255, 0.45);
  border-right: 2px solid rgba(255, 255, 255, 0.45);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.blog-crumbs a,
.blog-crumbs span[aria-current] {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #cfe0f5;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.blog-crumbs a:hover,
.blog-crumbs a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.blog-crumbs a i {
  font-size: 13px;
}

.blog-crumbs span[aria-current] {
  background: #ffffff;
  color: #003366;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 340px;
}

.blog-hero--rich .blog-kicker {
  color: #8fc1ff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.blog-hero--rich .blog-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #8fc1ff;
  border-radius: 2px;
}

.blog-hero--rich .blog-title {
  color: #ffffff;
  letter-spacing: -0.01em;
}

.blog-title-accent {
  background: linear-gradient(90deg, #8fc1ff 0%, #d7e9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.blog-hero--rich .blog-lead {
  color: #c9d9ec;
}

.blog-hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.blog-hero--rich .blog-search {
  flex: 0 1 520px;
  width: 100%;
  min-height: 58px;
  padding: 6px 6px 6px 20px;
  background: #ffffff;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(0, 12, 30, 0.35);
}

.blog-hero--rich .blog-search input {
  font-size: 16px;
}

.blog-search-btn {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  background: #003366;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 0 22px;
  min-height: 46px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.blog-search-btn:hover {
  background: #0f5a9b;
}

.blog-hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  color: #b6cbe3;
  font-size: 14px;
}

.blog-hero-stats li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.blog-hero-stats strong {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.blog-hero-stats li + li {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

/* Topics bar overlapping the bottom of the hero */
.blog-topics-bar {
  position: relative;
  z-index: 2;
  margin-top: -30px;
}

.blog-topics-bar .blog-chips {
  background: #ffffff;
  border: 1px solid var(--blog-line);
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(0, 51, 102, 0.10);
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.blog-chips-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blog-muted);
  margin: 0 8px 0 6px;
}

/* Wide "Ask our consultants" band when there is only one article */
.blog-ask--wide {
  min-height: 0;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
  background: var(--blog-soft);
  color: var(--blog-ink);
  border: 1px solid var(--blog-line);
}

.blog-ask--wide .blog-ask-kicker { color: var(--blog-blue); }
.blog-ask--wide .blog-ask-title { color: var(--blog-navy); }
.blog-ask--wide .blog-ask-text { color: var(--blog-muted); }
.blog-ask--wide .blog-btn-light {
  background: var(--blog-navy);
  color: #ffffff;
  flex-shrink: 0;
}
.blog-ask--wide .blog-btn-light:hover { background: var(--blog-blue); }

/* Article hero */
.blog-hero--rich.blog-hero-article {
  padding: 40px 0 56px;
}

.blog-hero--rich.blog-hero-article.has-cover {
  padding-bottom: 150px;
}

.blog-hero--rich .blog-pill {
  background: rgba(143, 193, 255, 0.16);
  color: #cfe5ff;
  border: 1px solid rgba(143, 193, 255, 0.35);
}

.blog-hero--rich .blog-pill:hover {
  background: rgba(143, 193, 255, 0.28);
}

.blog-hero--rich .blog-byline-row {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.blog-hero--rich .blog-byline-name {
  color: #ffffff;
}

.blog-hero--rich .blog-meta {
  color: #b6cbe3;
}

.blog-hero--rich .blog-meta i {
  margin-right: 2px;
  opacity: 0.85;
}

.blog-hero--rich .blog-avatar {
  background: #ffffff;
  color: #003366;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
}

.blog-hero--rich .blog-share-label {
  color: #b6cbe3;
}

.blog-hero--rich .blog-share a,
.blog-hero--rich .blog-share button {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.blog-hero--rich .blog-share a:hover,
.blog-hero--rich .blog-share button:hover,
.blog-hero--rich .blog-share .is-copied {
  background: #ffffff;
  border-color: #ffffff;
  color: #003366;
}

.blog-cover-wrap {
  position: relative;
  z-index: 2;
  margin-top: -110px;
}

.blog-cover-wrap .blog-cover {
  box-shadow: 0 28px 60px rgba(0, 27, 54, 0.28);
  background: #ffffff;
}

/* Reading progress bar */
.blog-progress {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  z-index: 100020;
  pointer-events: none;
}

.blog-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0f5a9b, #38bdf8);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

@media (max-width: 1000px) {
  .blog-hero-glow { display: none; }
}

@media (max-width: 680px) {
  .blog-hero--rich { padding: 28px 0 54px; }
  .blog-hero--rich.blog-hero-article.has-cover { padding-bottom: 96px; }
  .blog-cover-wrap { margin-top: -70px; }
  .blog-crumbs ol { margin-bottom: 20px; }
  .blog-crumbs li { font-size: 13px; }
  .blog-crumbs .blog-crumbs-current { display: none; }
  .blog-crumbs a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .blog-hero-actions { gap: 16px; }
  .blog-hero--rich .blog-search { flex-basis: 100%; min-height: 52px; }
  .blog-search-btn { padding: 0 16px; min-height: 42px; }
  .blog-hero-stats { gap: 8px 16px; font-size: 13px; }
  .blog-hero-stats li + li { padding-left: 16px; }
  .blog-topics-bar { margin-top: -24px; }
  .blog-topics-bar .blog-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0; width: auto; padding: 10px; border-radius: 16px; }
  .blog-chips-label { display: none; }
  .blog-ask--wide { flex-direction: column; align-items: flex-start; padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .blog-crumbs a, .blog-search-btn { transition: none; }
}

/* Pasted social posts: emoji bullet lists and #hashtag chips */
.blog-list-icons {
  list-style: none;
  padding: 0;
  gap: 0;
  border: 1px solid var(--blog-line);
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
}

.blog-list-icons li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 18px;
}

.blog-list-icons li + li {
  border-top: 1px solid var(--blog-line);
}

.blog-li-icon {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--blog-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
  margin-top: 1px;
}

.blog-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 24px;
}

.blog-hashtag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blog-soft);
  color: var(--blog-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.blog-hero--rich .blog-search { height: auto; }
.blog-hero--rich .blog-search input { flex: 1 1 auto; min-width: 0; }

.blog-topics-bar + .blog-section-tight { padding-top: 28px; }
