:root {
  --blog-reading: 56rem;
  --blog-article-title: clamp(1.8rem, 4vw, 2.6rem);
  --blog-list-title: clamp(2rem, 4.5vw, 3rem);
  --blog-h2: clamp(1.3rem, 2.8vw, 1.6rem);
  --blog-h3: clamp(1.1rem, 2.2vw, 1.3rem);
  --blog-tracking: -0.015em;
  --blog-body-size: 1rem;
  --blog-body-leading: 1.9;
  --blog-rule-width: 4px;
  --blog-focus-width: 3px;
  --blog-card-lift: -3px;
}

.blog-main,
.blog-library,
.blog-post-grid,
.related-grid,
.article-card,
.promo-copy,
.prose,
.article-body {
  min-width: 0;
}

.blog-main {
  padding-bottom: 3rem;
}

.blog-skip-link {
  position: fixed;
  top: 0.75rem;
  left: var(--gutter);
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  transform: translateY(-180%);
}

.blog-skip-link:focus {
  transform: none;
}

.blog-main :focus-visible,
.reading-wrap :focus-visible,
.article-hero :focus-visible,
.magazine-head :focus-visible,
#related-posts :focus-visible,
#post-nav :focus-visible {
  outline: var(--blog-focus-width) solid var(--accent);
  outline-offset: 4px;
}

.blog-index h1,
.blog-index h2,
.blog-index h3,
.article-hero h1,
.magazine-head h1,
.reading-wrap h1,
.reading-wrap h2,
.reading-wrap h3,
.prose h2,
.prose h3,
.article-body h2,
.article-body h3,
#related-posts h2,
#related-posts h3,
.promo-block h2 {
  display: block;
  font-family: var(--font-display);
  letter-spacing: var(--blog-tracking);
  text-wrap: pretty;
  overflow-wrap: break-word;
  word-break: normal;
}

.breadcrumbs {
  box-sizing: border-box;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding-top: 0.25rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.8;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  min-width: 0;
  overflow-wrap: anywhere;
}

.breadcrumbs li + li::before {
  content: "›";
  margin-right: 0.6rem;
  color: var(--text-faint);
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 0.2em;
}

.breadcrumbs a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.blog-list-hero {
  padding-block: 2.25rem 2.5rem;
  border-top: var(--blog-rule-width) solid var(--accent);
  border-bottom: 1px solid var(--border);
}

.blog-list-hero .section-eyebrow {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-sm);
  color: var(--accent-dark);
  background: var(--iris-tint);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: var(--weight-semibold);
}

.blog-list-hero h1 {
  max-width: 22ch;
  margin: 1rem 0;
  color: var(--text);
  font-size: var(--blog-list-title);
  font-weight: var(--weight-display);
  line-height: 1.3;
}

.blog-list-hero h1 .no-break {
  color: var(--accent);
}

.blog-list-hero > p {
  max-width: 44rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.85;
}

.blog-library {
  margin-top: 2.5rem;
}

.blog-library-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}

.blog-library-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: var(--weight-bold);
}

.blog-result-count {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.blog-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.625rem;
  max-width: 100%;
  margin-bottom: 1.5rem;
  padding: 0.3rem 0.25rem 0.7rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--border) var(--clear);
}

.blog-filter {
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  background: var(--bg-panel);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: var(--weight-medium);
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.blog-filter:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.blog-filter.is-active,
.blog-filter[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--on-accent);
  background: var(--accent);
}

.blog-post-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  background: var(--bg-panel);
  box-shadow: var(--panel-shadow);
  transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.article-card:hover,
.article-card:focus-within {
  border-color: var(--iris-line);
  border-top-color: var(--accent);
  transform: translateY(var(--blog-card-lift));
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.article-meta .tag {
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  padding: 0.25rem 0.625rem;
  overflow: hidden;
  border: 1px solid var(--accent);
  border-radius: var(--r-sm);
  color: var(--on-accent);
  background: var(--accent);
  font-weight: var(--weight-semibold);
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.article-meta time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.article-card h3 {
  margin: 0;
  font-size: 1.1875rem;
  font-weight: var(--weight-bold);
  line-height: 1.65;
}

.article-card h3 a {
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.article-card h3 a:hover {
  color: var(--accent);
}

.article-card .article-summary {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.85;
}

.article-card .article-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 0.25rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: var(--weight-semibold);
  line-height: 1.7;
  text-decoration: underline;
  text-decoration-color: var(--iris-line);
  text-underline-offset: 0.25em;
}

.article-card .article-link:hover {
  color: var(--accent-dark);
  text-decoration-color: var(--accent-dark);
}

.blog-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2rem;
  border: 1px dashed var(--border);
  border-radius: var(--r-md);
  color: var(--text-muted);
  background: var(--bg-panel);
  font-size: var(--blog-body-size);
  line-height: var(--blog-body-leading);
}

.blog-empty a {
  color: var(--accent);
}

/* 阅读列的盒宽包含两侧 gutter，正文与刊头使用相同的内边距。 */
.reading-wrap,
.article-hero,
.magazine-head,
.article-breadcrumbs,
.blog-article > .breadcrumbs,
.blog-article main > .breadcrumbs,
#related-posts,
#post-nav {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(var(--blog-reading) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.reading-wrap {
  padding-top: 0;
  padding-bottom: 2rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--blog-body-size);
  line-height: var(--blog-body-leading);
}

.reading-wrap .reading-wrap,
.reading-wrap #related-posts,
.reading-wrap #post-nav,
.reading-wrap .article-hero,
.reading-wrap .magazine-head {
  width: 100%;
  max-width: 100%;
  padding-inline: 0;
}

.article-hero,
.magazine-head {
  position: relative;
  margin-top: 0;
  margin-bottom: 1.75rem;
  padding-block: 1.75rem 1.5rem;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.article-hero::before,
.magazine-head::before {
  position: absolute;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  height: var(--blog-rule-width);
  background: var(--accent);
  content: "";
}

.article-hero::after,
.magazine-head::after {
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  left: var(--gutter);
  height: 1px;
  background: var(--border);
  content: "";
}

.reading-wrap .article-hero::before,
.reading-wrap .article-hero::after,
.reading-wrap .magazine-head::before,
.reading-wrap .magazine-head::after {
  right: 0;
  left: 0;
}

.article-hero .article-meta,
.magazine-head .article-meta {
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.article-hero .article-meta time,
.magazine-head .article-meta time,
.article-hero .read-time,
.magazine-head .read-time,
.article-hero .reading-time,
.magazine-head .reading-time {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-muted);
  background: var(--clear);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.article-hero h1,
.magazine-head h1 {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: var(--blog-article-title);
  font-weight: var(--weight-display);
  line-height: 1.45;
}

.article-hero > p,
.magazine-head > p,
.article-hero .article-lead,
.magazine-head .article-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.9;
}

.prose,
.article-body {
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--blog-body-size);
  line-height: var(--blog-body-leading);
  overflow-wrap: break-word;
}

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

.prose p,
.article-body p {
  margin-block: 0 1.25rem;
}

.prose h2,
.article-body h2 {
  position: relative;
  margin: 2.5rem 0 1rem;
  padding-top: 0.8rem;
  color: var(--text);
  font-size: var(--blog-h2);
  font-weight: var(--weight-bold);
  line-height: 1.55;
  scroll-margin-top: var(--anchor-offset);
}

.prose h2::before,
.article-body h2::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.25rem;
  height: var(--blog-rule-width);
  border-radius: var(--r-xs);
  background: var(--accent);
  content: "";
}

.prose h3,
.article-body h3 {
  margin: 1.75rem 0 0.75rem;
  color: var(--text);
  font-size: var(--blog-h3);
  font-weight: var(--weight-bold);
  line-height: 1.6;
  scroll-margin-top: var(--anchor-offset);
}

.prose a,
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--iris-line);
  text-underline-offset: 0.2em;
}

.prose a:hover,
.article-body a:hover {
  color: var(--accent-dark);
  text-decoration-color: var(--accent-dark);
}

.prose strong,
.article-body strong {
  color: var(--text);
  font-weight: var(--weight-bold);
}

.prose ul,
.prose ol,
.article-body ul,
.article-body ol {
  margin: 0 0 1.5rem;
  padding-inline-start: 1.5rem;
}

.prose li,
.article-body li {
  margin-bottom: 0.5rem;
}

.prose li::marker,
.article-body li::marker {
  color: var(--accent);
  font-weight: var(--weight-semibold);
}

.prose hr,
.article-body hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.prose img,
.article-body img,
.prose svg,
.article-body svg {
  max-width: 100%;
  height: auto;
}

.prose figure,
.article-body figure {
  margin: 1.75rem 0;
}

.prose figcaption,
.article-body figcaption {
  margin-top: 0.625rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

.prose .table-scroll,
.article-body .table-scroll {
  max-width: 100%;
  margin-block: 1.5rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  scrollbar-width: thin;
  scrollbar-color: var(--border) var(--bg-panel);
}

.prose table,
.article-body table {
  width: 100%;
  margin-block: 1.5rem;
  border-collapse: collapse;
  color: var(--text);
  background: var(--bg-panel);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.prose .table-scroll table,
.article-body .table-scroll table {
  min-width: 36rem;
  margin: 0;
}

.prose caption,
.article-body caption {
  padding: 0.875rem 1rem;
  color: var(--text-muted);
  background: var(--bg-panel-2);
  font-size: 0.875rem;
  text-align: left;
  caption-side: top;
}

.prose th,
.prose td,
.article-body th,
.article-body td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.prose thead th,
.article-body thead th {
  color: var(--on-accent);
  background: var(--accent-dark);
  font-weight: var(--weight-semibold);
}

.prose tbody tr:nth-child(even),
.article-body tbody tr:nth-child(even) {
  background: var(--bg-panel-2);
}

.prose tbody tr:hover,
.article-body tbody tr:hover {
  background: var(--iris-tint);
}

.prose :not(pre) > code,
.article-body :not(pre) > code {
  padding: 0.15em 0.4em;
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  color: var(--accent-dark);
  background: var(--bg-panel-2);
  font-family: var(--font-mono);
  font-size: 0.875em;
  overflow-wrap: anywhere;
}

.prose pre,
.article-body pre {
  position: relative;
  box-sizing: border-box;
  max-width: 100%;
  margin: 1.5rem 0;
  padding: 3.25rem 1.25rem 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--text-muted);
  border-radius: var(--r-md);
  color: var(--on-dark);
  background: var(--text);
  scrollbar-width: thin;
  scrollbar-color: var(--text-muted) var(--text);
}

.prose pre::before,
.article-body pre::before {
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
  color: var(--on-dark-dim);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: var(--weight-medium);
  letter-spacing: 0.12em;
  content: "CONNECTION NOTES";
}

.prose pre code,
.article-body pre code {
  display: block;
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.85;
  white-space: pre;
  word-break: normal;
  overflow-wrap: normal;
}

.prose blockquote,
.article-body blockquote,
.callout {
  position: relative;
  box-sizing: border-box;
  margin: 1.5rem 0;
  padding: 1.25rem 1.25rem 1.25rem 3.75rem;
  border: 1px solid var(--iris-line);
  border-left: var(--blog-rule-width) solid var(--accent);
  border-radius: var(--r-sm);
  color: var(--text);
  background: var(--iris-tint);
  font-style: normal;
}

.prose blockquote::before,
.article-body blockquote::before,
.callout::before {
  position: absolute;
  top: 1.3rem;
  left: 1rem;
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid currentColor;
  border-radius: var(--r-circle);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: var(--weight-bold);
  line-height: 1.6rem;
  text-align: center;
  content: "i";
}

.callout.warning,
.callout-warning {
  border-color: color-mix(in srgb, var(--warn) 35%, var(--border));
  border-left-color: var(--warn);
  background: color-mix(in srgb, var(--warn) 9%, var(--bg-panel));
}

.callout.warning::before,
.callout-warning::before {
  color: var(--warn);
  content: "!";
}

.callout.success,
.callout-success {
  border-color: color-mix(in srgb, var(--success) 35%, var(--border));
  border-left-color: var(--success);
  background: color-mix(in srgb, var(--success) 8%, var(--bg-panel));
}

.callout.success::before,
.callout-success::before {
  color: var(--success);
  content: "i";
}

.prose blockquote > :last-child,
.article-body blockquote > :last-child,
.callout > :last-child {
  margin-bottom: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}

.stat-card {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--iris-line);
  border-top: var(--blog-rule-width) solid var(--accent);
  border-radius: var(--r-md);
  color: var(--text);
  background: var(--iris-tint);
}

.stat-card:nth-child(even) {
  border-color: color-mix(in srgb, var(--success) 30%, var(--border));
  border-top-color: var(--success);
  background: color-mix(in srgb, var(--success) 8%, var(--bg-panel));
}

.stat-num {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: var(--weight-display);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.stat-card:nth-child(even) .stat-num {
  color: var(--text);
}

.stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.8;
}

.prose .check-list,
.article-body .check-list,
.check-list {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.check-list > li {
  margin: 0 0 0.625rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  background: var(--bg-panel);
  list-style: none;
  line-height: 1.85;
}

.verdict {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--iris-line);
  border-left: var(--blog-rule-width) solid var(--accent);
  border-radius: var(--r-sm);
  color: var(--text);
  background: linear-gradient(110deg, var(--iris-tint), var(--bg-panel));
  line-height: var(--blog-body-leading);
}

.verdict > :last-child {
  margin-bottom: 0;
}

.verdict strong:first-child {
  color: var(--accent-dark);
  font-weight: var(--weight-bold);
}

.promo-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  gap: 1.5rem 2rem;
  width: 100%;
  max-width: calc(var(--blog-reading) + var(--gutter) * 2);
  margin: 2rem auto;
  padding: 2rem var(--gutter);
  border: 1px solid var(--accent);
  border-radius: var(--r-md);
  color: var(--on-accent);
  background: linear-gradient(125deg, var(--accent-dark), var(--accent));
  box-shadow: var(--panel-shadow);
}

.promo-copy {
  flex: 1 1 22rem;
}

.promo-kicker {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--on-accent);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.7;
}

.promo-block .promo-copy h2 {
  margin: 0 0 0.75rem;
  padding: 0;
  color: var(--on-accent);
  font-size: 1.6rem;
  font-weight: var(--weight-display);
  line-height: 1.4;
}

.promo-block .promo-copy h2::before {
  content: none;
}

.promo-block .promo-copy p {
  margin: 0;
  color: var(--on-accent);
  font-size: 0.9375rem;
  line-height: 1.85;
}

.promo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.promo-block .btn {
  min-height: 2.75rem;
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  text-decoration: none;
}

.promo-block .btn-primary {
  border: 1px solid var(--on-accent);
  color: var(--accent-dark);
  background: var(--on-accent);
  box-shadow: none;
}

.promo-block .btn-primary:hover {
  border-color: var(--bg-panel-2);
  color: var(--accent-dark);
  background: var(--bg-panel-2);
}

.promo-block .btn-ghost {
  border: 1px solid var(--on-accent);
  color: var(--on-accent);
  background: var(--clear);
}

.promo-block .btn-ghost:hover {
  color: var(--accent-dark);
  background: var(--on-accent);
}

.promo-block :focus-visible {
  outline: var(--blog-focus-width) solid var(--on-accent);
  outline-offset: 4px;
}

.blog-list-promo {
  max-width: none;
  margin-top: 2.5rem;
  margin-bottom: 0;
}

.reading-wrap .promo-block {
  max-width: 100%;
  padding-inline: 1.5rem;
}

#related-posts {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

#related-posts:empty,
#post-nav:empty {
  display: none;
}

#related-posts > h2 {
  margin: 0 0 1.25rem;
  padding: 0;
  color: var(--text);
  font-size: var(--blog-h2);
  font-weight: var(--weight-bold);
  line-height: 1.55;
}

#related-posts > h2::before {
  content: none;
}

.related-grid {
  gap: 1rem;
}

.related-card {
  padding: 1.25rem;
}

.related-card h3 {
  font-size: 1.0625rem;
}

.related-card .article-meta {
  gap: 0.5rem;
}

#post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.post-nav-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.75rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  background: var(--bg-panel);
  text-decoration: none;
  transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.post-nav-previous {
  grid-column: 1;
}

.post-nav-next {
  grid-column: 2;
}

.post-nav-label {
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: var(--weight-semibold);
}

.post-nav-title {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: var(--weight-bold);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.post-nav-card time {
  margin-top: auto;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.post-nav-card:hover,
.post-nav-card:focus-visible {
  border-color: var(--iris-line);
  border-top-color: var(--accent);
  transform: translateY(var(--blog-card-lift));
}

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

  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .prose table,
  .article-body table {
    display: block;
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .prose .table-scroll table,
  .article-body .table-scroll table {
    display: table;
    width: 100%;
    max-width: none;
  }

  .prose th,
  .prose td,
  .article-body th,
  .article-body td {
    min-width: 8rem;
  }

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

@media (max-width: 640px) {
  .no-break {
    white-space: normal;
  }

  .blog-list-hero {
    padding-block: 1.75rem 2rem;
  }

  .blog-list-hero h1 {
    max-width: none;
  }

  .blog-library {
    margin-top: 1.75rem;
  }

  .blog-post-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    padding: 1.25rem;
  }

  .article-hero,
  .magazine-head {
    padding-block: 1.5rem 1.25rem;
    margin-bottom: 1.5rem;
  }

  .article-hero h1,
  .magazine-head h1 {
    line-height: 1.5;
  }

  .article-hero > p,
  .magazine-head > p,
  .article-hero .article-lead,
  .magazine-head .article-lead {
    font-size: var(--blog-body-size);
  }

  .prose h2,
  .article-body h2 {
    margin-top: 2rem;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .promo-block,
  .reading-wrap .promo-block {
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .promo-copy {
    flex-basis: 100%;
  }

  .promo-actions {
    width: 100%;
  }

  .promo-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }

  #post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav-previous,
  .post-nav-next {
    grid-column: 1;
  }

  .blog-empty {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-skip-link,
  .blog-filter,
  .article-card,
  .post-nav-card,
  .promo-block .btn {
    animation: none;
    transition: none;
  }

  .article-card:hover,
  .article-card:focus-within,
  .post-nav-card:hover,
  .post-nav-card:focus-visible {
    transform: none;
  }

  .blog-filters,
  .table-scroll,
  .prose table,
  .article-body table {
    scroll-behavior: auto;
  }
}