.post .site-header {
  position: static;
}

.post .section {
  line-height: 1.55;
  overflow-wrap: break-word;
}

.post .section h1 {
  font-size: clamp(32px, 7vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.post .section h2 {
  margin-top: 48px;
}

.post-date {
  font-size: 15px;
  color: var(--color-footer);
  margin-bottom: 8px !important;
}

.post-lede {
  font-size: 20px;
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 28px !important;
}

.post .section ol,
.post .section ul {
  margin: 0 0 16px;
  padding-left: 1.4em;
}

.post .section li + li {
  margin-top: 8px;
}

.post .section code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
}

.post .section p code,
.post .section li code {
  padding: 1px 5px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--color-text) 8%, transparent);
}

.post .section pre {
  margin: 20px 0 24px;
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: color-mix(in srgb, var(--color-text) 4%, transparent);
  line-height: 1.45;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.post .section pre code {
  font-size: 14px;
}

.post-figures {
  display: grid;
  gap: 16px;
  margin: 28px 0;
}

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

.post-figures figure {
  margin: 0;
}

.post-figures img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.post-figures figcaption {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--color-footer);
  text-align: center;
}

.post-date a {
  color: inherit;
}

.post-more {
  margin-top: 48px !important;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.post-list {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

.post-list li {
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
}

.post-list li + li {
  margin-top: 0;
}

.post .section .post-list h2 {
  margin: 0 0 8px;
}

.post-list h2 a {
  text-decoration: none;
}

.post-list h2 a:hover,
.post-list h2 a:focus {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .post-figures {
    gap: 10px;
  }

  .post .section pre {
    padding: 12px 14px;
  }

  .post .section pre code {
    font-size: 12.5px;
  }
}
