.blog-shell {
  --reading-width: 680px;
}

.blog-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 30px;
  padding: 28px 22px;
  border: 1px solid #dce5f4;
  border-radius: 14px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(237, 243, 255, 0.92)),
    #ffffff;
  box-shadow: 0 14px 34px rgba(22, 55, 112, 0.08);
}

.blog-hero::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 18px;
  width: 70px;
  height: 100%;
  opacity: 0.34;
  background: repeating-linear-gradient(90deg, transparent 0 13px, rgba(40, 100, 216, 0.16) 13px 14px);
  content: '';
  transform: skewX(-12deg);
}

.blog-eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.blog-hero h1 {
  max-width: 660px;
  margin: 0;
  color: #111827;
  font-size: clamp(1.75rem, 7vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.blog-hero > p:last-child {
  max-width: 610px;
  margin: 15px 0 0;
  color: #475467;
  font-size: 0.96rem;
  line-height: 1.62;
}

.blog-filters {
  margin-bottom: 31px;
}

.blog-filters__heading,
.blog-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.blog-filters__heading h2,
.blog-section-heading h2,
.article-sources h2,
.article-entities h2,
.related-posts > h2 {
  margin: 0;
  color: #101828;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.blog-filters__heading span,
.blog-section-heading span {
  color: #667085;
  font-size: 0.76rem;
}

.blog-filter-list {
  display: flex;
  gap: 8px;
  margin: 0 calc(-1 * var(--shell-gutter));
  padding: 0 var(--shell-gutter) 5px;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: thin;
}

.blog-filter-list a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid #dfe4ec;
  border-radius: 999px;
  color: #475467;
  background: #ffffff;
  font-size: 0.79rem;
  font-weight: 750;
  white-space: nowrap;
}

.blog-filter-list a:hover,
.blog-filter-list a:focus-visible {
  color: #1f55b5;
  border-color: #9db9ee;
  outline: none;
}

.blog-filter-list a[aria-current='page'] {
  color: #ffffff;
  border-color: var(--blue);
  background: var(--blue);
}

.blog-section {
  margin-top: 34px;
}

.blog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe4ec;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.055);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.blog-card:hover,
.blog-card:focus-within {
  border-color: #b5c8eb;
  box-shadow: 0 14px 30px rgba(27, 65, 130, 0.11);
  transform: translateY(-2px);
}

.blog-card > a {
  display: grid;
  height: 100%;
  color: inherit;
}

.blog-card > a:focus-visible {
  outline: 3px solid rgba(40, 100, 216, 0.28);
  outline-offset: -3px;
}

.blog-card__image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9eef7;
}

.blog-card__image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-image-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(40, 100, 216, 0.08), rgba(40, 100, 216, 0.2)),
    repeating-linear-gradient(90deg, transparent 0 29px, rgba(255, 255, 255, 0.5) 29px 30px),
    #eef3fb;
}

.blog-image-placeholder > img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  opacity: 0.82;
}

.blog-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: start;
  padding: 18px;
}

.blog-card__category {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #1f55b5;
  background: #edf3ff;
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.blog-card h2,
.blog-card h3 {
  margin: 0;
  color: #101828;
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.blog-card__excerpt {
  display: -webkit-box;
  margin-top: 9px;
  overflow: hidden;
  color: #667085;
  font-size: 0.84rem;
  line-height: 1.53;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 17px;
  color: #667085;
  font-size: 0.72rem;
  line-height: 1.4;
}

.blog-card--featured {
  border-color: #cad8ef;
}

.blog-card--featured h2 {
  font-size: clamp(1.25rem, 5vw, 1.65rem);
  line-height: 1.2;
}

.blog-grid {
  display: grid;
  gap: 16px;
}

.blog-empty {
  padding: 28px 22px;
  border: 1px dashed #cbd5e1;
  border-radius: 13px;
  color: #475467;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.blog-empty strong {
  display: block;
  margin-bottom: 7px;
  color: #101828;
}

.blog-empty p {
  max-width: 500px;
  margin: 0 auto;
  font-size: 0.86rem;
  line-height: 1.55;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid #dfe4ec;
  border-radius: 10px;
  color: #344054;
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 760;
}

.blog-pagination span {
  border-color: transparent;
  color: #667085;
  background: transparent;
  font-weight: 650;
}

.article-page {
  min-width: 0;
}

.article-header {
  max-width: var(--reading-width);
  margin: 7px auto 25px;
}

.article-header__category {
  display: inline-flex;
  margin-bottom: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #1f55b5;
  background: #eaf1ff;
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-header h1 {
  margin: 0;
  color: #101828;
  font-size: clamp(2rem, 8.4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

.article-header__summary {
  margin: 17px 0 0;
  color: #475467;
  font-size: clamp(1rem, 3.8vw, 1.14rem);
  line-height: 1.6;
}

.article-meta {
  display: grid;
  gap: 8px 18px;
  margin: 20px 0 0;
  padding-top: 17px;
  border-top: 1px solid #e4e7ec;
  color: #667085;
  font-size: 0.76rem;
  line-height: 1.5;
}

.article-meta strong {
  color: #344054;
  font-weight: 760;
}

.article-cover {
  display: block;
  max-width: 800px;
  margin: 0 auto 31px;
  overflow: hidden;
  border: 1px solid #dfe4ec;
  border-radius: 14px;
  background: #e9eef7;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.07);
}

.article-cover > img {
  display: block;
  width: 100%;
  height: auto;
}

.article-body {
  max-width: var(--reading-width);
  margin: 0 auto;
  color: #293548;
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.article-body > :first-child {
  margin-top: 0;
}

.article-body h2,
.article-body h3 {
  color: #101828;
  line-height: 1.22;
  letter-spacing: -0.03em;
  scroll-margin-top: 90px;
}

.article-body h2 {
  margin: 2.25em 0 0.72em;
  font-size: 1.55rem;
}

.article-body h3 {
  margin: 1.8em 0 0.65em;
  font-size: 1.2rem;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin: 0 0 1.25em;
}

.article-body ul,
.article-body ol {
  padding-left: 1.35em;
}

.article-body li + li {
  margin-top: 0.45em;
}

.article-body a {
  color: #1f55b5;
  font-weight: 680;
  text-decoration: underline;
  text-decoration-color: rgba(31, 85, 181, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-body a:hover,
.article-body a:focus-visible {
  color: #16428e;
  text-decoration-color: currentColor;
}

.article-body blockquote {
  margin: 1.7em 0;
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  border-radius: 0 11px 11px 0;
  color: #344054;
  background: #f0f5ff;
}

.article-body blockquote p {
  margin: 0;
  font-size: 1.02rem;
}

.article-body blockquote cite {
  display: block;
  margin-top: 9px;
  color: #667085;
  font-size: 0.78rem;
  font-style: normal;
}

.article-callout {
  margin: 1.75em 0;
  padding: 17px 18px;
  border: 1px solid #c9d9f3;
  border-radius: 12px;
  background: #f3f7ff;
}

.article-callout--tip {
  border-color: #b9dec8;
  background: #effaf3;
}

.article-callout--attention {
  border-color: #f0d6a6;
  background: #fff8e8;
}

.article-callout strong {
  display: block;
  margin-bottom: 5px;
  color: #101828;
}

.article-callout p {
  margin: 0;
}

.article-table {
  margin: 1.7em 0;
  overflow-x: auto;
  border: 1px solid #dfe4ec;
  border-radius: 11px;
  background: #ffffff;
}

.article-table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.86rem;
  line-height: 1.5;
}

.article-table caption {
  padding: 13px 15px;
  color: #475467;
  font-weight: 720;
  text-align: left;
}

.article-table th,
.article-table td {
  padding: 12px 14px;
  border-top: 1px solid #e4e7ec;
  text-align: left;
  vertical-align: top;
}

.article-table th {
  color: #344054;
  background: #f8fafc;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.article-inline-image {
  margin: 1.8em 0;
}

.article-inline-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.article-inline-image figcaption {
  margin-top: 8px;
  color: #667085;
  font-size: 0.75rem;
  line-height: 1.45;
}

.article-sources,
.article-entities,
.related-posts {
  max-width: var(--reading-width);
  margin: 42px auto 0;
  padding-top: 28px;
  border-top: 1px solid #dfe4ec;
}

.article-sources ol {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.article-sources a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid #e1e6ee;
  border-radius: 10px;
  color: #344054;
  background: #ffffff;
}

.article-sources a strong,
.article-sources a span:not(:last-child) {
  grid-column: 1;
}

.article-sources a > span:last-child {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: #2864d8;
}

.article-sources a span:not(:last-child) {
  color: #667085;
  font-size: 0.73rem;
}

.article-entity-group {
  margin-top: 18px;
}

.article-entity-group h3 {
  margin: 0 0 10px;
  color: #475467;
  font-size: 0.78rem;
}

.article-entity-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.article-entity-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 8px;
  border: 1px solid #dfe4ec;
  border-radius: 999px;
  color: #344054;
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 750;
}

.article-entity-link:hover,
.article-entity-link:focus-visible {
  color: #1f55b5;
  border-color: #9db9ee;
}

.article-entity-link--station {
  padding-left: 13px;
}

.article-entity-link--station > span:first-child {
  color: #2864d8;
  font-size: 0.65rem;
}

.related-posts {
  max-width: 800px;
}

.related-posts > h2 {
  margin-bottom: 16px;
}

.article-unavailable {
  max-width: 600px;
  margin: 30px auto;
  padding: 30px 22px;
  border: 1px solid #dfe4ec;
  border-radius: 14px;
  background: #ffffff;
  text-align: center;
}

.article-unavailable h1 {
  margin: 0;
  font-size: 1.6rem;
}

.article-unavailable p {
  margin: 10px 0 20px;
  color: #667085;
  line-height: 1.55;
}

.article-unavailable a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 15px;
  border-radius: 10px;
  color: #ffffff;
  background: var(--blue);
  font-size: 0.82rem;
  font-weight: 780;
}

@media (min-width: 640px) {
  .blog-hero {
    padding: 38px 36px;
  }

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

  .blog-card--featured > a {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }

  .blog-card--featured .blog-card__image {
    height: 100%;
    aspect-ratio: auto;
  }

  .blog-card--featured .blog-card__content {
    padding: 25px;
  }

  .article-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .blog-shell {
    width: min(100%, 900px);
  }

  .blog-shell .detail-topbar {
    padding-right: max(var(--shell-gutter), calc((100vw - 900px) / 2 + var(--shell-gutter)));
    padding-left: max(var(--shell-gutter), calc((100vw - 900px) / 2 + var(--shell-gutter)));
  }

  .blog-shell .visual-breadcrumbs ol {
    max-width: calc(900px - var(--shell-gutter) - var(--shell-gutter));
  }

  .blog-grid {
    gap: 20px;
  }
}

@media (max-width: 420px) {
  .blog-pagination span {
    display: none;
  }

  .blog-pagination a {
    flex: 1;
  }
}

@media print {
  .article-shell .detail-topbar,
  .article-shell .visual-breadcrumbs,
  .article-shell .site-footer,
  .related-posts {
    display: none;
  }

  .article-shell {
    width: 100%;
    padding: 0;
  }

  .article-body,
  .article-header {
    max-width: none;
  }
}
