:root {
  --blog-column: 56rem;
  --blog-gutter: max(1.5rem, var(--gutter));
  --blog-title: clamp(1.85rem, 3.5vw, 2.6rem);
  --blog-list-title: clamp(2rem, 4vw, 3rem);
  --blog-h2: clamp(1.35rem, 2.5vw, 1.6rem);
  --blog-h3: clamp(1.1rem, 2vw, 1.3rem);
  --blog-body: 1rem;
  --blog-small: 0.875rem;
  --blog-note: 0.75rem;
  --blog-tint: color-mix(in srgb, var(--accent) 6%, var(--panel));
  --blog-tint-strong: color-mix(in srgb, var(--accent) 12%, var(--panel));
  --blog-warning-tint: color-mix(in srgb, var(--warn) 10%, var(--panel));
  --blog-success-tint: color-mix(in srgb, var(--success) 9%, var(--panel));
  --blog-shadow: 0 14px 40px color-mix(in srgb, var(--accent) 10%, var(--clear));
  --blog-focus: 3px solid var(--accent);
}

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

.blog-index *,
.blog-article * {
  box-sizing: border-box;
}

.blog-index-column {
  padding-bottom: 3rem;
}

.blog-skip {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-sm);
  transform: translateY(-180%);
}

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

.blog-index a:focus-visible,
.blog-index button:focus-visible,
.blog-article a:focus-visible,
.blog-article button:focus-visible,
.article-body a:focus-visible,
.post-content a:focus-visible,
#related-posts a:focus-visible,
#post-nav a:focus-visible {
  outline: var(--blog-focus);
  outline-offset: 4px;
}

.breadcrumbs {
  margin-top: 1.5rem;
  padding-block: 0.25rem 1.25rem;
  color: var(--ink-muted);
  font-size: var(--blog-small);
  line-height: 1.8;
}

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

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

.breadcrumbs li + li::before {
  content: "›";
  padding-right: 0.65rem;
  color: var(--ink-muted);
}

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

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

.blog-list-hero {
  position: relative;
  isolation: isolate;
  padding: 2.5rem var(--blog-gutter);
  margin-block: 0.5rem 2.5rem;
  border: var(--stroke) solid var(--ink);
  border-radius: var(--r-sm);
  background: linear-gradient(to bottom, var(--blog-tint), var(--panel));
}

.blog-list-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1rem 1rem auto auto;
  width: 30%;
  height: 65%;
  border: var(--stroke) solid var(--line);
  background-image:
    linear-gradient(var(--line) 1px, var(--clear) 1px),
    linear-gradient(90deg, var(--line) 1px, var(--clear) 1px);
  background-size: 2rem 2rem;
  opacity: 0.35;
  pointer-events: none;
}

.blog-eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-dark);
  font-size: var(--blog-small);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
}

.blog-list-hero h1 {
  margin: 0;
  max-width: 24em;
  font-size: var(--blog-list-title);
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  line-height: 1.3;
}

.blog-list-hero .key,
.article-hero .key,
.blog-library-head .key {
  color: var(--accent);
  font-weight: var(--weight-key);
}

.blog-hero-summary {
  max-width: 43rem;
  margin: 1.25rem 0 0;
  color: var(--ink-muted);
  font-size: var(--blog-body);
  line-height: 1.9;
}

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

.blog-library-head h2 {
  margin: 0;
  font-size: var(--blog-h2);
  font-weight: var(--weight-normal);
}

.blog-status {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--blog-small);
  line-height: 1.8;
}

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

.blog-filters button {
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border: var(--stroke) solid var(--line);
  border-radius: var(--r-sm);
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: var(--blog-small);
  cursor: pointer;
}

.blog-filters button:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.blog-filters button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

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

.blog-post-grid > *,
.related-grid > * {
  min-width: 0;
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  margin: 0;
  padding: 1.5rem;
  border: var(--stroke) solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--r-sm);
  background: var(--panel);
  color: var(--ink);
  transition: border-color var(--duration-fast) var(--ease-out);
}

.article-card:hover,
.article-card:focus-within {
  border-color: var(--accent);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem 0.75rem;
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--blog-small);
  line-height: 1.5;
}

.article-meta time,
.article-meta .read-time,
.article-meta .reading-time {
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--r-round);
  background: var(--panel);
  color: var(--ink-muted);
}

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

.article-meta .tag {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--accent);
  border-radius: var(--r-round);
  background: var(--accent);
  color: var(--white);
  font-size: var(--blog-small);
  font-weight: var(--weight-medium);
}

.article-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--blog-h3);
  font-weight: var(--weight-semibold);
  line-height: 1.65;
}

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

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

.article-card .article-summary {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--blog-body);
  line-height: 1.85;
}

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

.article-link:hover {
  text-decoration: underline;
}

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

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

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

.article-hero {
  position: relative;
  isolation: isolate;
  margin-block: 0.5rem 0;
  padding-block: 2rem 2.25rem;
}

.article-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0.5rem;
  right: var(--blog-gutter);
  bottom: 1rem;
  left: 30%;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  border-radius: var(--r-sm);
  background: var(--blog-tint-strong);
  pointer-events: none;
}

.article-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 1.25rem;
  right: calc(var(--blog-gutter) + 0.75rem);
  width: 4rem;
  height: 2rem;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  opacity: 0.35;
  pointer-events: none;
}

.article-hero h1 {
  position: relative;
  margin: 1.25rem 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--blog-title);
  font-weight: var(--weight-medium);
  line-height: 1.45;
}

.article-hero .article-meta,
.article-hero .article-summary,
.article-hero .article-deck,
.article-hero > p:not(.blog-eyebrow) {
  margin-left: 0.75rem;
}

.article-hero .article-summary,
.article-hero .article-deck,
.article-hero > p:not(.blog-eyebrow) {
  max-width: 48rem;
  margin-block: 1rem 0;
  color: var(--ink-muted);
  font-size: var(--blog-body);
  line-height: 1.9;
}

.reading-wrap {
  padding-block: 0.5rem 1.5rem;
}

.article-body,
.post-content,
article.prose {
  min-width: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--blog-body);
  line-height: 1.9;
  overflow-wrap: anywhere;
  counter-reset: blog-section;
}

.article-body h1,
.article-body h2,
.article-body h3,
.post-content h1,
.post-content h2,
.post-content h3,
article.prose h1,
article.prose h2,
article.prose h3,
.article-hero h1,
.blog-list-hero h1,
.article-card h3,
.related-title {
  display: block;
  text-wrap: pretty;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}

.article-body h2,
.post-content h2,
article.prose h2 {
  margin: 2.5rem 0 1rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--blog-h2);
  font-weight: var(--weight-semibold);
  line-height: 1.65;
  scroll-margin-top: var(--anchor-offset);
}

.article-body h2::before,
.post-content h2::before,
article.prose h2::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 0.2rem;
  margin-right: 0.65rem;
  vertical-align: middle;
  background: var(--accent);
  border-radius: var(--r-0);
}

.article-body h3,
.post-content h3,
article.prose h3 {
  margin: 1.8rem 0 0.75rem;
  color: var(--ink);
  font-size: var(--blog-h3);
  font-weight: var(--weight-semibold);
  line-height: 1.7;
}

.article-body > h2:first-child,
.post-content > h2:first-child,
article.prose > h2:first-child,
.article-body > section:first-child > h2:first-child,
.post-content > section:first-child > h2:first-child,
article.prose > section:first-child > h2:first-child {
  margin-top: 0.75rem;
}

.article-body p,
.post-content p,
article.prose p {
  margin-block: 0 1.15rem;
}

.article-body ul,
.article-body ol,
.post-content ul,
.post-content ol,
article.prose ul,
article.prose ol {
  padding-left: 1.5rem;
  margin-block: 1rem 1.5rem;
}

.article-body li,
.post-content li,
article.prose li {
  margin-block: 0.45rem;
}

.article-body a,
.post-content a,
article.prose a {
  color: var(--accent-dark);
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
}

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

.article-body img,
.post-content img,
article.prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-sm);
}

.article-body blockquote,
.post-content blockquote,
article.prose blockquote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--blog-tint);
  color: var(--ink-muted);
}

.article-body blockquote p:last-child,
.post-content blockquote p:last-child,
article.prose blockquote p:last-child {
  margin-bottom: 0;
}

.article-body .table-scroll,
.post-content .table-scroll,
article.prose .table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin-block: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overscroll-behavior-inline: contain;
}

.article-body table,
.post-content table,
article.prose table {
  width: 100%;
  margin-block: 1.5rem;
  border-collapse: collapse;
  font-size: var(--blog-small);
  line-height: 1.8;
  background: var(--panel);
}

.article-body .table-scroll table,
.post-content .table-scroll table,
article.prose .table-scroll table {
  margin: 0;
}

.article-body th,
.article-body td,
.post-content th,
.post-content td,
article.prose th,
article.prose td {
  min-width: 8rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-body thead th,
.post-content thead th,
article.prose thead th {
  background: var(--indigo);
  color: var(--white);
  font-weight: var(--weight-semibold);
}

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

.article-body tbody tr:hover,
.post-content tbody tr:hover,
article.prose tbody tr:hover {
  background: var(--blog-tint-strong);
}

.article-body pre,
.post-content pre,
article.prose pre {
  position: relative;
  max-width: 100%;
  margin: 1.5rem 0;
  padding: 3rem 1.25rem 1.25rem;
  overflow-x: auto;
  border: var(--stroke) solid var(--ink);
  border-radius: var(--r-sm);
  background: var(--ink-bar);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: var(--blog-small);
  line-height: 1.8;
  white-space: pre;
  overscroll-behavior-inline: contain;
}

.article-body pre::before,
.post-content pre::before,
article.prose pre::before {
  content: "TERMINAL";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 1.25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--white) 25%, var(--clear));
  color: var(--white);
  font-family: var(--font-mono);
  font-size: var(--blog-note);
  letter-spacing: 0.12em;
}

.article-body code,
.post-content code,
article.prose code {
  padding: 0.15em 0.35em;
  border-radius: var(--r-cell);
  background: var(--panel-2);
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.article-body pre code,
.post-content pre code,
article.prose pre code {
  padding: 0;
  border: 0;
  border-radius: var(--r-0);
  background: var(--clear);
  color: inherit;
  font-size: inherit;
  overflow-wrap: normal;
}

.callout {
  position: relative;
  margin: 1.5rem 0;
  padding: 1.25rem 1.25rem 1.25rem 3.25rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  background: var(--blog-tint);
  color: var(--ink);
}

.callout::before {
  content: "i";
  position: absolute;
  top: 1.3rem;
  left: 1rem;
  display: inline-block;
  width: 1.4rem;
  height: 1.4rem;
  border: 1px solid var(--accent-dark);
  border-radius: var(--r-dot);
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-weight: var(--weight-bold);
  font-size: var(--blog-small);
  text-align: center;
  line-height: 1.3rem;
}

.callout.warning,
.callout--warning {
  border-left-color: var(--warn);
  background: var(--blog-warning-tint);
}

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

.callout.success,
.callout--success {
  border-left-color: var(--success);
  background: var(--blog-success-tint);
}

.callout.success::before,
.callout--success::before {
  border-color: var(--success);
  color: var(--ink);
}

.callout 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(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-sm);
  background: var(--blog-tint);
}

.stat-card:nth-child(even) {
  border-top-color: var(--indigo);
  background: var(--panel-2);
}

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

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

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

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

.check-list li {
  margin-block: 0.6rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--panel);
  list-style: none;
}

.verdict {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  background: var(--blog-tint-strong);
  color: var(--ink);
}

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

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

.promo-block {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-block: 2rem;
  padding: 2rem 1.5rem;
  border: var(--stroke) solid var(--indigo-deep);
  border-radius: var(--r-sm);
  background: linear-gradient(120deg, var(--indigo), var(--indigo-deep));
  color: var(--white);
}

.promo-block::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.5rem;
  border: 1px solid color-mix(in srgb, var(--white) 24%, var(--clear));
  border-radius: var(--r-cell);
  background-image: repeating-radial-gradient(
    ellipse at 100% 100%,
    var(--clear) 0 1.5rem,
    color-mix(in srgb, var(--white) 6%, var(--clear)) 1.5rem 1.6rem,
    var(--clear) 1.6rem 3rem
  );
  pointer-events: none;
}

.promo-copy {
  flex: 1 1 20rem;
  min-width: 0;
}

.promo-block .promo-copy h2 {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: var(--blog-h2);
  font-weight: var(--weight-semibold);
  line-height: 1.5;
}

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

.promo-copy p {
  margin: 0.4rem 0;
  color: var(--white);
  font-size: var(--blog-body);
  line-height: 1.85;
}

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

.promo-block .btn-primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--indigo-deep);
}

.promo-block .btn-primary:hover {
  border-color: var(--white);
  background: var(--panel-2);
  color: var(--indigo-deep);
}

.promo-block .btn-ghost {
  border-color: var(--white);
  background: var(--clear);
  color: var(--white);
}

.promo-block .btn-ghost:hover {
  background: color-mix(in srgb, var(--white) 12%, var(--clear));
  color: var(--white);
}

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

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

.related-title {
  margin: 0 0 1.25rem;
  color: var(--ink);
  font-size: var(--blog-h2);
  font-weight: var(--weight-semibold);
  line-height: 1.6;
}

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

.related-grid .article-card {
  padding: 1.25rem;
}

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

.post-nav-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  padding: 1.25rem;
  border: var(--stroke) solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--r-sm);
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.post-nav-card:hover,
.post-nav-card:focus-visible {
  border-color: var(--accent);
}

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

.post-nav-caption {
  color: var(--accent-dark);
  font-size: var(--blog-small);
  font-weight: var(--weight-semibold);
}

.post-nav-title {
  color: var(--ink);
  font-size: var(--blog-body);
  font-weight: var(--weight-semibold);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.post-nav-date {
  margin-top: auto;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: var(--blog-note);
}

.float-cta {
  position: fixed;
  z-index: 40;
  right: 1.5rem;
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  max-width: calc(100vw - 3rem);
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: var(--stroke) solid var(--ink);
  border-radius: var(--r-round);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--blog-shadow);
  font-family: var(--font-body);
  font-size: var(--blog-small);
  font-weight: var(--weight-semibold);
  line-height: 1.5;
  text-decoration: none;
}

.float-cta svg {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  color: inherit;
}

.float-cta:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: var(--white);
}

.float-cta:focus-visible {
  outline: var(--blog-focus);
  outline-offset: 4px;
}

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

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

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

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

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

  .blog-list-hero::before {
    width: 35%;
    height: 40%;
  }

  .article-hero {
    padding-block: 1.5rem;
  }

  .article-hero::before {
    left: 23%;
    bottom: 0.5rem;
  }

  .article-hero .article-meta,
  .article-hero .article-summary,
  .article-hero .article-deck,
  .article-hero > p:not(.blog-eyebrow) {
    margin-left: 0;
  }

  .article-card {
    padding: 1.25rem;
  }

  .promo-block {
    padding: 1.5rem;
  }

  .promo-actions {
    width: 100%;
  }

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

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

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

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

@media (prefers-reduced-motion: reduce) {
  .article-card,
  .post-nav-card,
  .float-cta,
  .blog-filters button,
  .blog-skip {
    transition: none;
    animation: none;
    scroll-behavior: auto;
  }
}