:root {
  --blog-column: 56rem;
  --blog-copy-size: 1rem;
  --blog-list-h1: clamp(2rem, 4vw, 3rem);
  --blog-article-h1: clamp(1.8rem, 3.6vw, 2.6rem);
  --blog-h2: clamp(1.3rem, 2.5vw, 1.6rem);
  --blog-h3: clamp(1.1rem, 2vw, 1.3rem);
  --blog-small: 0.875rem;
  --blog-fact: 1.75rem;
  --blog-leading: 1.85;
  --blog-tracking: -0.01em;
  --blog-shadow: 0 18px 48px;
  --blog-card-shift: -4px;
}

.blog-index,
.article-page {
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
}

.blog-index main,
.article-page main,
.article-body,
[data-article-body] {
  min-width: 0;
}

.blog-index h1,
.blog-index h2,
.blog-index h3,
.article-hero h1,
.article-body h2,
.article-body h3,
[data-article-body] h2,
[data-article-body] h3,
#related-posts h2,
#related-posts h3 {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  letter-spacing: var(--blog-tracking);
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.blog-index a:focus-visible,
.blog-index button:focus-visible,
.article-page a:focus-visible,
.article-body a:focus-visible,
[data-article-body] a:focus-visible,
#related-posts a:focus-visible,
#post-nav a:focus-visible,
.float-cta:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 4px;
}

.blog-skip {
  position: absolute;
  top: 1rem;
  left: var(--gutter);
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--r-small);
  color: var(--text);
  background: var(--panel);
  transform: translateY(-200%);
}

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

.blog-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  background: linear-gradient(to bottom, var(--hero-top), var(--hero-bottom));
  border-bottom: 1px solid var(--hl);
}

.blog-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 18% 18%, color-mix(in srgb, var(--teal) 9%, var(--clear)), var(--clear) 65%),
    radial-gradient(ellipse at 30% 30%, color-mix(in srgb, var(--peri) 8%, var(--clear)), var(--clear) 60%);
}

.blog-hero__inner {
  text-align: center;
}

.blog-kicker {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: var(--blog-small);
}

.blog-hero h1 {
  max-width: 18em;
  margin: 0 auto 1rem;
  font-size: var(--blog-list-h1);
  line-height: 1.25;
}

.blog-hero__lede {
  max-width: 38rem;
  margin: 0 auto;
  font-size: var(--blog-copy-size);
  line-height: var(--blog-leading);
  color: var(--text-muted);
}

.blog-route {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
  font-size: var(--blog-small);
  color: var(--text-muted);
}

.blog-route span:not([aria-hidden]) {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--hl);
  border-radius: var(--r-pill);
  background: var(--panel);
}

.blog-catalog {
  padding-block: 2.5rem;
}

.blog-catalog__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
}

.blog-catalog__head h2 {
  margin: 0;
  font-size: var(--blog-h2);
}

.blog-catalog__head p,
.blog-status {
  color: var(--text-muted);
  font-size: var(--blog-small);
}

.blog-catalog__head p {
  margin: 0;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.blog-filter {
  min-height: 44px;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--text);
  background: var(--panel);
  font-family: var(--font-body);
  font-size: var(--blog-small);
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: background var(--speed) var(--ease-out), border-color var(--speed) var(--ease-out);
}

.blog-filter:hover {
  background: var(--panel-2);
  border-color: var(--text-muted);
}

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

.blog-status {
  min-height: 1.5em;
  margin-block: 1rem;
}

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

.article-card {
  --blog-card-tone: var(--teal);
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hl);
  border-top: 6px solid var(--blog-card-tone);
  border-radius: var(--r-card);
  background: var(--panel);
  box-shadow: var(--blog-shadow) color-mix(in srgb, var(--blog-card-tone) 12%, var(--clear));
  transition: transform var(--speed) var(--ease-out), border-color var(--speed) var(--ease-out);
}

.article-card.c-peri {
  --blog-card-tone: var(--peri);
}

.article-card.c-teal {
  --blog-card-tone: var(--teal);
}

.article-card.c-apricot {
  --blog-card-tone: var(--apricot);
}

.article-card.c-lemon {
  --blog-card-tone: var(--lemon);
}

.article-card.c-coral {
  --blog-card-tone: var(--coral);
}

.article-card:hover,
.article-card:focus-within {
  transform: translateY(var(--blog-card-shift));
  border-color: var(--blog-card-tone);
}

.article-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.article-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem 0.75rem;
  color: var(--text-muted);
  font-size: var(--blog-small);
}

.article-card__meta time {
  font-family: var(--font-mono);
  font-size: var(--blog-small);
}

.article-card__meta .chip {
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--text);
  background: var(--panel-2);
  font-size: var(--blog-small);
}

.article-card h2,
.article-card h3,
.article-card__title {
  margin: 0;
  font-size: var(--blog-h3);
  line-height: 1.6;
}

.article-card h2 a,
.article-card h3 a,
.related-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.article-card h2 a:hover,
.article-card h3 a:hover,
.related-card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.article-card__summary {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--blog-copy-size);
  line-height: var(--blog-leading);
}

.article-card__link {
  align-self: flex-start;
  margin-top: auto;
  padding-block: 0.4rem;
  color: var(--text);
  font-size: var(--blog-small);
  font-weight: var(--weight-semibold);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.blog-empty {
  grid-column: 1 / -1;
  padding: 2rem;
  border: 1px dashed var(--border);
  border-radius: var(--r-card);
  background: var(--panel);
}

.blog-empty h3 {
  margin-top: 0;
  font-size: var(--blog-h3);
}

.blog-empty p {
  color: var(--text-muted);
  line-height: var(--blog-leading);
}

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

.reading-wrap,
.article-hero,
.breadcrumbs,
.breadcrumb,
.article-breadcrumbs {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(var(--blog-column) + var(--gutter) + var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.breadcrumbs,
.breadcrumb,
.article-breadcrumbs {
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  color: var(--text-muted);
  font-size: var(--blog-small);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.breadcrumbs ol,
.breadcrumb ol,
.article-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs li + li::before,
.breadcrumb li + li::before,
.article-breadcrumbs li + li::before {
  content: "›";
  margin-right: 0.65rem;
  color: var(--text-muted);
}

.breadcrumbs a,
.breadcrumb a,
.article-breadcrumbs a {
  color: var(--text);
  text-underline-offset: 0.2em;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  align-items: start;
  column-gap: 2rem;
  row-gap: 1rem;
  padding-block: 1rem 1.5rem;
  background: var(--clear);
  border: 0;
}

.article-hero__content,
.article-hero__copy {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.article-hero h1 {
  margin: 0 0 1rem;
  font-size: var(--blog-article-h1);
  line-height: 1.4;
}

.article-hero__summary,
.article-hero__lede,
.article-hero__copy > p,
.article-hero__content > p {
  margin-block: 0;
  color: var(--text-muted);
  font-size: var(--blog-copy-size);
  line-height: var(--blog-leading);
}

.article-hero__meta {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.75rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--teal);
  border-radius: var(--r-node);
  color: var(--text-muted);
  background: var(--panel);
  font-size: var(--blog-small);
  line-height: 1.7;
  box-shadow: inset 0 1px 0 var(--hl), var(--blog-shadow) color-mix(in srgb, var(--teal) 10%, var(--clear));
}

.article-hero__meta > * {
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
}

.article-hero__meta time,
.article-hero__readtime {
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: var(--blog-small);
}

.article-hero__meta time {
  font-family: var(--font-mono);
}

.article-hero__meta .chip,
.article-hero__tag {
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--teal);
  border-radius: var(--r-pill);
  color: var(--text);
  background: var(--teal);
  font-weight: var(--weight-semibold);
}

.article-body,
[data-article-body] {
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--blog-copy-size);
  line-height: var(--blog-leading);
  overflow-wrap: anywhere;
}

.article-body.reading-wrap,
[data-article-body].reading-wrap {
  padding-block: 0 1.5rem;
}

.article-body > :first-child,
[data-article-body] > :first-child,
.article-body > section:first-child > :first-child,
[data-article-body] > section:first-child > :first-child {
  margin-top: 0;
}

.article-body h2,
[data-article-body] h2 {
  margin-block: 2.25rem 1rem;
  font-size: var(--blog-h2);
  line-height: 1.6;
  scroll-margin-top: var(--anchor-offset);
}

.article-body h2::before,
[data-article-body] h2::before {
  content: "";
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-right: 0.5em;
  border: 3px solid var(--teal);
  border-radius: var(--r-mini);
  background: var(--panel);
  vertical-align: 0.02em;
}

.article-body h3,
[data-article-body] h3 {
  margin-block: 1.5rem 0.65rem;
  font-size: var(--blog-h3);
  line-height: 1.6;
}

.article-body p,
[data-article-body] p {
  margin-block: 0 1.15rem;
}

.article-body ul,
.article-body ol,
[data-article-body] ul,
[data-article-body] ol {
  margin-block: 1rem 1.5rem;
  padding-left: 1.5rem;
}

.article-body li,
[data-article-body] li {
  margin-block: 0.4rem;
}

.article-body a,
[data-article-body] a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

.article-body a:hover,
[data-article-body] a:hover {
  text-decoration-color: var(--text);
}

.article-body strong,
[data-article-body] strong {
  font-weight: var(--weight-bold);
}

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

.article-body img,
[data-article-body] img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--r-small);
}

.article-body figure,
[data-article-body] figure {
  margin: 1.5rem 0;
}

.article-body figcaption,
[data-article-body] figcaption {
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: var(--blog-small);
}

.article-body .table-scroll,
[data-article-body] .table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin-block: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-small);
  overscroll-behavior-inline: contain;
}

.article-body table,
[data-article-body] table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  background: var(--panel);
  font-size: var(--blog-copy-size);
  line-height: 1.8;
}

.article-body caption,
[data-article-body] caption {
  padding: 0.8rem 1rem;
  text-align: left;
  color: var(--text-muted);
  background: var(--panel);
  font-size: var(--blog-small);
}

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

.article-body thead th,
[data-article-body] thead th {
  color: var(--white);
  background: var(--text);
  font-weight: var(--weight-semibold);
}

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

.article-body tbody tr:hover,
[data-article-body] tbody tr:hover {
  background: color-mix(in srgb, var(--teal) 20%, var(--panel));
}

.article-body :not(pre) > code,
[data-article-body] :not(pre) > code {
  padding: 0.15rem 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--r-tight);
  color: var(--text);
  background: var(--panel-2);
  font-family: var(--font-mono);
  font-size: var(--blog-small);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-body pre,
[data-article-body] pre {
  position: relative;
  max-width: 100%;
  margin-block: 1.5rem;
  padding: 3rem 1.25rem 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--text-muted);
  border-radius: var(--r-small);
  color: var(--panel);
  background: var(--text);
  font-family: var(--font-mono);
  font-size: var(--blog-small);
  line-height: 1.85;
  tab-size: 2;
  overscroll-behavior-inline: contain;
}

.article-body pre::before,
[data-article-body] pre::before {
  content: "VPNPJ / 连接笔记";
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: var(--blog-small);
}

.article-body pre code,
[data-article-body] pre code {
  padding: 0;
  border: 0;
  color: inherit;
  background: var(--clear);
  font-family: inherit;
  font-size: inherit;
  white-space: pre;
  overflow-wrap: normal;
  word-break: normal;
}

.article-body blockquote,
[data-article-body] blockquote,
.callout {
  --blog-note-tone: var(--teal);
  position: relative;
  margin: 1.5rem 0;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--blog-note-tone);
  border-radius: var(--r-small);
  color: var(--text);
  background: color-mix(in srgb, var(--blog-note-tone) 12%, var(--panel));
}

.article-body blockquote::before,
[data-article-body] blockquote::before,
.callout::before {
  content: "i";
  position: absolute;
  top: 1.25rem;
  left: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--blog-note-tone);
  border-radius: var(--r-round);
  color: var(--text);
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: var(--blog-small);
  line-height: 1.5rem;
  text-align: center;
}

.callout--warning,
.callout.warning,
.article-body blockquote.callout--warning,
[data-article-body] blockquote.callout--warning {
  --blog-note-tone: var(--warn);
}

.callout--success,
.callout.success,
.article-body blockquote.callout--success,
[data-article-body] blockquote.callout--success {
  --blog-note-tone: var(--success);
}

.callout--warning::before,
.callout.warning::before {
  content: "!";
}

.callout p:last-child,
.article-body blockquote p:last-child,
[data-article-body] blockquote p:last-child {
  margin-bottom: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1rem;
  margin-block: 1.5rem;
}

.stat-card {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--hl);
  border-top: 4px solid var(--teal);
  border-radius: var(--r-node);
  color: var(--text);
  background: color-mix(in srgb, var(--teal) 19%, var(--panel));
  box-shadow: inset 0 1px 0 var(--hl);
}

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

.stat-card .stat-num {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--blog-fact);
  font-weight: var(--weight-bold);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

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

.article-body .check-list,
[data-article-body] .check-list,
.check-list {
  list-style: none;
  padding: 0;
  margin-block: 1.5rem;
}

.check-list li {
  margin-block: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-small);
  color: var(--text);
  background: var(--panel);
}

.verdict {
  margin-block: 1.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-small);
  color: var(--text);
  background: var(--panel);
}

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

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

.blog-promo-wrap {
  padding-bottom: 2.5rem;
}

.promo-block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-block: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--hl);
  border-radius: var(--r-card);
  color: var(--text);
  background: linear-gradient(120deg, color-mix(in srgb, var(--teal) 32%, var(--panel)), color-mix(in srgb, var(--peri) 28%, var(--panel)));
  box-shadow: var(--blog-shadow) color-mix(in srgb, var(--teal) 12%, var(--clear));
}

.promo-block::before {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  border-top: 2px solid var(--text-muted);
  border-right: 2px solid var(--text-muted);
  border-radius: var(--r-mini);
  pointer-events: none;
}

.promo-block__copy {
  min-width: 0;
}

.promo-block__copy p {
  margin: 0 0 0.5rem;
  font-size: var(--blog-copy-size);
  line-height: 1.8;
}

.promo-block__copy .promo-block__brand {
  font-family: var(--font-display);
  font-size: var(--blog-h3);
  font-weight: var(--weight-bold);
}

.promo-block__copy .promo-block__fact {
  margin-bottom: 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: var(--blog-small);
}

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

.promo-block .btn--primary {
  border: 1px solid var(--hl);
  color: var(--text);
  background: var(--white);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--text) 10%, var(--clear));
}

.promo-block .btn--primary:hover {
  color: var(--text);
  background: var(--panel);
}

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

.promo-block .btn--ghost:hover {
  color: var(--text);
  background: var(--panel);
}

#related-posts,
#post-nav {
  min-width: 0;
  margin-block: 0;
}

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

#related-posts {
  padding-block: 1.5rem 1rem;
}

#related-posts > h2 {
  margin: 0 0 1rem;
  font-size: var(--blog-h2);
  line-height: 1.5;
}

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

.related-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--panel-2);
  border-radius: var(--r-node);
  color: var(--text);
  background: var(--panel);
  transition: transform var(--speed) var(--ease-out), border-color var(--speed) var(--ease-out);
}

.related-card h3 {
  margin: 1rem 0 0.75rem;
  font-size: var(--blog-h3);
  line-height: 1.6;
}

.related-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: var(--blog-small);
  line-height: var(--blog-leading);
}

.related-card:hover,
.related-card:focus-within {
  transform: translateY(var(--blog-card-shift));
  border-top-color: var(--teal);
}

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

.post-nav__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--panel-2);
  border-radius: var(--r-node);
  color: var(--text);
  background: var(--panel);
  text-decoration: none;
  transition: transform var(--speed) var(--ease-out), border-color var(--speed) var(--ease-out);
}

.post-nav__card--prev {
  grid-column: 1;
}

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

.post-nav__label,
.post-nav__tag {
  color: var(--text-muted);
  font-size: var(--blog-small);
  line-height: 1.8;
}

.post-nav__title {
  font-family: var(--font-display);
  font-size: var(--blog-copy-size);
  font-weight: var(--weight-semibold);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.post-nav__card:hover,
.post-nav__card:focus-visible {
  transform: translateY(var(--blog-card-shift));
  border-top-color: var(--peri);
}

.float-cta {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  max-width: calc(100vw - 3rem);
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--hl);
  border-radius: var(--r-pill);
  color: var(--white);
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: var(--blog-shadow) color-mix(in srgb, var(--accent) 14%, var(--clear));
  font-family: var(--font-body);
  font-size: var(--blog-small);
  font-weight: var(--weight-semibold);
  line-height: 1.5;
  text-decoration: none;
  transition: transform var(--speed) var(--ease-out);
}

.float-cta svg,
.float-cta__icon {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
}

.float-cta:hover {
  color: var(--white);
  transform: translateY(-2px);
}

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

  .article-body .table-scroll table,
  [data-article-body] .table-scroll table {
    display: table;
    width: 100%;
    min-width: 36rem;
    max-width: none;
  }

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

  .promo-block {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .article-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .article-hero__meta {
    grid-column: 1;
    grid-row: 1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem;
  }

  .article-hero__content,
  .article-hero__copy {
    grid-column: 1;
    grid-row: 2;
  }

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

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

  .blog-hero {
    padding-block: 2.5rem;
  }

  .blog-catalog {
    padding-block: 2rem;
  }

  .article-hero h1 {
    font-size: var(--blog-article-h1);
  }

  #post-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-nav__card--prev,
  .post-nav__card--next {
    grid-column: 1;
  }

  .promo-block__actions {
    width: 100%;
  }

  .promo-block__actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .float-cta {
    right: 0.75rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    max-width: calc(100vw - 1.5rem);
    min-height: 44px;
    padding: 0.65rem 1rem;
  }

  body:has(.float-cta) {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-filter,
  .article-card,
  .related-card,
  .post-nav__card,
  .float-cta {
    transition: none;
    animation: none;
  }

  .article-card:hover,
  .article-card:focus-within,
  .related-card:hover,
  .related-card:focus-within,
  .post-nav__card:hover,
  .post-nav__card:focus-visible,
  .float-cta:hover {
    transform: none;
  }
}