:root {
  --ink-950: #020b14;
  --ink-900: #061426;
  --paper: #ffffff;
  --text: #0b2034;
  --muted: #5f6f7d;
  --line: rgba(10, 31, 54, 0.13);
  --amber: #f5a623;
  --amber-bright: #ffb637;
  --cyan: #149fe8;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.container { width: min(1320px, calc(100% - 56px)); margin-inline: auto; }
.mobile-only { display: none !important; }

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  color: #fff;
  background: #020b14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: #fff;
}

.brand-mark__symbol {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 7px;
}

.brand-mark__symbol img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark__copy {
  display: grid;
  gap: 4px;
  line-height: 1;
}

.brand-mark__copy strong {
  font-size: 21px;
  letter-spacing: 0.04em;
}

.brand-mark__tagline {
  color: #9fb0bc;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: clamp(46px, 5vw, 82px);
}

.desktop-nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: #8fa0ad;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--amber-bright) 100%);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.desktop-nav a:hover { color: #fff; }

.desktop-nav a[aria-current="page"] {
  color: var(--amber);
  font-weight: 700;
}

.desktop-nav a[aria-current="page"]:hover { color: var(--amber-bright); }
.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }

.button {
  min-height: 42px;
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-2px); }

.button--primary {
  color: var(--ink-950);
  background: var(--amber);
  box-shadow: 0 10px 30px rgba(243, 167, 43, 0.18);
}

.button--primary:hover { background: var(--amber-bright); }

.menu-button {
  display: none;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  cursor: pointer;
}

.menu-button__icon {
  width: 18px;
  display: grid;
  gap: 5px;
}

.menu-button__icon i {
  height: 1.5px;
  display: block;
  background: currentColor;
  border-radius: 1px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-button[aria-expanded="true"] .menu-button__icon i:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-button__icon i:nth-child(2) { opacity: 0; }

.menu-button[aria-expanded="true"] .menu-button__icon i:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.mobile-nav.is-open {
  position: absolute;
  top: 72px;
  right: 0;
  left: 0;
  display: grid;
  overflow: hidden;
  background: rgba(6, 20, 38, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav > div {
  min-height: 0;
  display: grid;
}

.mobile-nav a {
  padding: 17px 0;
  color: #d6e0e8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.mobile-nav a[aria-current="page"] { color: var(--amber); }

.site-footer {
  color: #d6e0e8;
  background: #020b14;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) repeat(4, minmax(108px, 0.55fr));
  gap: 32px;
  padding-block: 54px 42px;
}

.site-footer__brand p {
  margin: 22px 0 0;
  color: #8fa2b2;
  font-size: 13px;
  line-height: 1.8;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-column__links {
  display: grid;
  gap: 14px;
}

.footer-column h2 {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.footer-column a {
  color: #8fa2b2;
  font-size: 13px;
}

.footer-column a:hover { color: #fff; }

.site-footer__bottom {
  padding-block: 28px 34px;
  color: #71879a;
  font-size: 11px;
}

.site-footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__copyright {
  color: #71879a;
  letter-spacing: 0.02em;
}

.site-footer__icp {
  color: #8fa2b2;
  letter-spacing: 0.04em;
  transition: color 160ms ease;
}

.site-footer__icp:hover { color: #fff; }

@media (max-width: 1280px) {
  .brand-mark__tagline { display: none; }
  .site-footer__top {
    grid-template-columns: 1.4fr repeat(2, 0.8fr);
    gap: 36px;
  }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .site-header__inner { height: 64px; }
  .desktop-nav,
  .desktop-only,
  .site-header__actions > .button { display: none !important; }
  .mobile-only { display: inline-flex !important; }
  .mobile-nav.is-open { top: 64px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 36px, 1320px); }
  .site-header__inner { height: 64px; }
  .brand-mark__symbol { width: 35px; height: 35px; }
  .brand-mark__copy strong { font-size: 20px; }
  .site-footer__top {
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 24px;
  }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__meta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }
}
/* Sticky footer: short pages (empty list, 404) still push the footer to the viewport bottom. */
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.blog-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 48px 0 88px;
  background: #ffffff;
}

.blog-main > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.blog-index {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.blog-empty {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem;
  color: var(--muted);
  background: #f5f8fa;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.blog-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding: clamp(1.35rem, 2.4vw, 2.25rem);
  color: inherit;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(2, 11, 20, 0.06);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.blog-feature:hover {
  border-color: rgba(20, 159, 232, 0.35);
  box-shadow: 0 28px 72px rgba(2, 11, 20, 0.1);
  transform: translateY(-2px);
}

.blog-feature__body {
  min-width: 0;
}

.blog-feature__meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.9rem;
  color: #71818c;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.blog-feature__badge {
  padding: 0.22rem 0.6rem;
  color: #8a5d0b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: rgba(245, 166, 35, 0.14);
  border: 1px solid rgba(245, 166, 35, 0.4);
  border-radius: 999px;
}

.blog-feature__title {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-size: clamp(22px, 2.5vw, 31px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #071724;
  transition: color 160ms ease;
}

.blog-feature:hover .blog-feature__title {
  color: #087fa5;
}

.blog-feature__summary {
  margin: 0 0 1.4rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.blog-feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #087fa5;
  font-size: 14px;
  font-weight: 650;
}

.blog-feature__cta-arrow {
  transition: transform 160ms ease;
}

.blog-feature:hover .blog-feature__cta-arrow {
  transform: translateX(4px);
}

.blog-feature__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8edf0;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.blog-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.blog-feature:hover .blog-feature__media img {
  transform: scale(1.03);
}

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

.blog-list-heading {
  margin: 2.5rem 0 0.9rem;
  color: #087fa5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.blog-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(10, 31, 54, 0.1);
}

.blog-list__item {
  border-bottom: 1px solid rgba(10, 31, 54, 0.1);
  animation: blog-list-in 420ms ease both;
  animation-delay: calc(var(--blog-stagger, 0) * 45ms);
}

.blog-list__item:last-child {
  border-bottom: none;
}

.blog-list__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 1.25rem;
  padding: 1.3rem 0.85rem 1.3rem 0.9rem;
  margin: 0 -0.85rem;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.blog-list__link:hover {
  background: rgba(20, 159, 232, 0.05);
  border-left-color: var(--cyan);
}

.blog-list__link:hover .blog-list__title {
  color: #087fa5;
}

.blog-list__link:hover .blog-list__arrow {
  color: #087fa5;
  transform: translateX(3px);
}

.blog-list__date {
  margin-top: 0.28rem;
  white-space: nowrap;
  color: #71818c;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.blog-list__content {
  min-width: 0;
}

.blog-list__title {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #091b28;
  transition: color 160ms ease;
}

.blog-list__summary {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.blog-list__arrow {
  align-self: center;
  color: #9aabb6;
  font-size: 1.05rem;
  line-height: 1;
  transition: color 160ms ease, transform 160ms ease;
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  /* Pin to the bottom of the list column when the page is short. */
  margin-top: auto;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(10, 31, 54, 0.1);
}

.blog-pagination__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #087fa5;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.blog-pagination__nav:hover {
  color: #075e7c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-pagination__nav--disabled {
  color: #9aabb6;
  cursor: default;
}

.blog-pagination__nav-arrow {
  font-size: 1rem;
  line-height: 1;
}

.blog-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-pagination__page-item {
  margin: 0;
}

.blog-pagination__page,
.blog-pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.blog-pagination__page {
  color: #54626d;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.blog-pagination__page:hover {
  color: #087fa5;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(20, 159, 232, 0.18);
}

.blog-pagination__page--current {
  color: #075e7c;
  font-weight: 700;
  background: rgba(20, 159, 232, 0.1);
  border: 1px solid rgba(20, 159, 232, 0.28);
}

.blog-pagination__ellipsis {
  color: #9aabb6;
}

@keyframes blog-list-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-article-layout {
  display: grid;
  /* Match the with-TOC content column: use the full site container width. */
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
}

.blog-article-layout--with-toc {
  grid-template-columns: minmax(0, 1fr) 15.5rem;
  gap: clamp(2.5rem, 4vw, 4.5rem);
  justify-content: stretch;
}

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

.blog-article__header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(10, 31, 54, 0.1);
}

.blog-article__meta {
  margin: 0;
  color: #71818c;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.blog-article__title {
  margin: 0.55rem 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #071724;
}

.blog-article__lede {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.blog-article__cover {
  display: block;
  width: 100%;
  margin: 0 0 1.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.blog-article__footer {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(10, 31, 54, 0.1);
}

.blog-article__footer .blog-back {
  margin-bottom: 0;
}

.blog-article-layout__toc {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
  scrollbar-width: thin;
}

.blog-toc__title {
  margin: 0 0 0.7rem;
  color: #087fa5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.blog-toc__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1rem;
  border-left: 1px solid rgba(10, 31, 54, 0.1);
}

.blog-toc__link {
  position: relative;
  display: block;
  padding: 0.32rem 0.4rem 0.32rem 0;
  color: #62727e;
  font-size: 13px;
  line-height: 1.55;
  transition: color 150ms ease;
}

.blog-toc__link::before {
  content: "";
  position: absolute;
  top: 0.28rem;
  bottom: 0.28rem;
  left: calc(-1rem - 1px);
  width: 2px;
  border-radius: 2px;
  background: var(--cyan);
  opacity: 0;
  transition: opacity 150ms ease;
}

.blog-toc__link:hover {
  color: #087fa5;
}

.blog-toc__link.is-active {
  color: #075e7c;
  font-weight: 600;
}

.blog-toc__link.is-active::before {
  opacity: 1;
}

.blog-toc__item--depth-3 .blog-toc__link {
  padding-left: 1rem;
  color: #7d8c97;
  font-size: 12.5px;
}

.blog-toc__item--depth-3 .blog-toc__link:hover {
  color: #087fa5;
}

.blog-toc__item--depth-3 .blog-toc__link.is-active {
  color: #075e7c;
}

.blog-content {
  color: #263743;
  font-size: 16px;
  line-height: 1.85;
}

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

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

.blog-content :is(h1, h2, h3, h4) {
  scroll-margin-top: 6rem;
  font-family: var(--display);
  letter-spacing: -0.02em;
  color: #091b28;
}

.blog-content h1 {
  margin: 2.6rem 0 1rem;
  font-size: 1.8rem;
  line-height: 1.3;
}

.blog-content h2 {
  position: relative;
  margin: 2.9rem 0 1.05rem;
  padding-left: 0.85rem;
  font-size: 1.5rem;
  line-height: 1.35;
}

.blog-content h2::before {
  content: "";
  position: absolute;
  top: 0.25em;
  bottom: 0.25em;
  left: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--cyan);
}

.blog-content h3 {
  margin: 2.1rem 0 0.8rem;
  font-size: 1.2rem;
  line-height: 1.4;
}

.blog-content h4 {
  margin: 1.8rem 0 0.6rem;
  font-size: 1.02rem;
}

.blog-content p {
  margin: 0 0 1.15rem;
  color: #445966;
}

.blog-content strong {
  color: #10262f;
  font-weight: 650;
}

.blog-content a {
  color: #087fa5;
  text-decoration: underline;
  text-decoration-color: rgba(8, 127, 165, 0.35);
  text-underline-offset: 3px;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

.blog-content a:hover {
  color: #075e7c;
  text-decoration-color: currentColor;
}

.blog-content :is(ul, ol) {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
  color: #445966;
}

.blog-content li {
  margin: 0.4rem 0;
  padding-left: 0.2rem;
}

.blog-content li::marker {
  color: var(--cyan);
  font-weight: 600;
}

.blog-content li > :is(ul, ol) {
  margin: 0.45rem 0 0.15rem;
}

.blog-content hr {
  margin: 2.6rem 0;
  border: 0;
  height: 1px;
  background: rgba(10, 31, 54, 0.1);
}

.blog-content code {
  padding: 0.14em 0.4em;
  color: #0b6076;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86em;
  background: rgba(20, 159, 232, 0.08);
  border: 1px solid rgba(20, 159, 232, 0.14);
  border-radius: 5px;
}

.blog-content pre:not(.mermaid) {
  margin: 1.6rem 0;
  padding: 1.05rem 1.2rem;
  overflow-x: auto;
  color: #dbe7ef;
  font-size: 13.5px;
  line-height: 1.75;
  tab-size: 2;
  background: #0a1a2c;
  border: 1px solid rgba(10, 31, 54, 0.85);
  border-radius: 8px;
}

.blog-content pre code {
  padding: 0;
  color: inherit;
  font-size: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.blog-content pre.mermaid {
  margin: 1.6rem 0;
  padding: 1.25rem 1rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.blog-content img {
  display: block;
  width: fit-content;
  max-width: 100%;
  height: auto;
  margin: 1.75rem auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.blog-content video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 1.75rem auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #020b14;
}

.blog-content blockquote {
  margin: 1.6rem 0;
  padding: 0.9rem 1.2rem;
  color: #54626d;
  background: rgba(245, 166, 35, 0.07);
  border-left: 3px solid var(--amber);
  border-radius: 0 8px 8px 0;
}

.blog-content blockquote p {
  margin: 0 0 0.6rem;
  color: inherit;
}

.blog-content blockquote > :last-child {
  margin-bottom: 0;
}

.blog-content table {
  width: 100%;
  margin: 1.6rem 0;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.65;
}

.blog-content :is(th, td) {
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(10, 31, 54, 0.13);
  text-align: left;
  vertical-align: top;
}

.blog-content th {
  color: #091b28;
  font-weight: 650;
  background: #eef3f6;
}

.blog-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: #087fa5;
  font-size: 14px;
  font-weight: 600;
}

.blog-back:hover {
  color: #075e7c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-not-found h1 {
  margin-top: 0;
  font-family: var(--display);
}

@media (max-width: 1100px) {
  .blog-article-layout--with-toc {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-article-layout__toc {
    display: none;
  }
}

@media (max-width: 900px) {
  .blog-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }

  .blog-feature__media {
    order: -1;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 720px) {
  .blog-main {
    padding: 32px 0 64px;
  }

  .blog-feature {
    padding: 1.1rem;
    border-radius: 12px;
  }

  .blog-feature__summary {
    font-size: 14px;
  }

  .blog-list-heading {
    margin-top: 2rem;
  }

  .blog-list__link {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "date date"
      "content arrow";
    gap: 0.35rem 0.9rem;
    padding: 1.15rem 0.55rem 1.15rem 0.7rem;
    margin: 0 -0.55rem;
  }

  .blog-list__date {
    grid-area: date;
    margin-top: 0;
    font-size: 12px;
  }

  .blog-list__content {
    grid-area: content;
  }

  .blog-list__title {
    font-size: 1.08rem;
  }

  .blog-list__summary {
    font-size: 13px;
  }

  .blog-list__arrow {
    grid-area: arrow;
    align-self: center;
  }

  .blog-pagination {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
  }

  .blog-pagination__pages {
    display: none;
  }

  .blog-pagination__nav {
    min-width: 0;
  }

  .blog-pagination__nav--next {
    justify-content: flex-end;
    margin-left: auto;
  }

  .blog-article__header {
    margin-bottom: 1.4rem;
    padding-bottom: 1.3rem;
  }

  .blog-article__lede {
    font-size: 15px;
  }

  .blog-content h2 {
    padding-left: 0.75rem;
    font-size: 1.35rem;
  }

  .blog-content pre:not(.mermaid) {
    padding: 0.9rem 1rem;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .blog-list__summary {
    display: none;
  }
}
