.blog-post {
  max-width: 56rem;
  margin: 8rem auto 0;
  padding: 1.25rem;
}

.blog-post__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
}

.blog-post__meta {
  display: flex;
  flex-direction: row;
  margin: 2rem 0 1rem;
}

.blog-post__author-image {
  flex-shrink: 0;
}

.blog-post__meta-text {
  display: flex;
  flex-direction: column;
  padding-left: 0.5rem;
}

.blog-post__author,
.blog-post__date {
  font-size: 1rem;
}

.blog-post__share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0.4rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.blog-post__share-label {
  display: block;
}

.blog-post__share-links {
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
}

.blog-post__hero-image {
  display: block;
  width: 100%;
  height: 24rem;
  margin-bottom: 2rem;
  object-fit: cover;
}

.blog-post__content,
.docs-content__body,
.markdown-page__content {
  color: inherit;
  line-height: 1.75;
}

.blog-post__content h1,
.blog-post__content h2,
.blog-post__content h3,
.blog-post__content h4,
.docs-content__body h1,
.docs-content__body h2,
.docs-content__body h3,
.docs-content__body h4,
.markdown-page__content h1,
.markdown-page__content h2,
.markdown-page__content h3,
.markdown-page__content h4 {
  line-height: 1.2;
  margin: 1.5em 0 0.7em;
  font-weight: 700;
}

.blog-post__content h1,
.docs-content__body h1,
.markdown-page__content h1 {
  font-size: 2.2rem;
}

.blog-post__content h2,
.docs-content__body h2,
.markdown-page__content h2 {
  font-size: 1.7rem;
}

.blog-post__content h3,
.docs-content__body h3,
.markdown-page__content h3 {
  font-size: 1.35rem;
}

.blog-post__content p,
.blog-post__content ul,
.blog-post__content ol,
.blog-post__content pre,
.blog-post__content blockquote,
.docs-content__body p,
.docs-content__body ul,
.docs-content__body ol,
.docs-content__body pre,
.docs-content__body blockquote,
.markdown-page__content p,
.markdown-page__content ul,
.markdown-page__content ol,
.markdown-page__content pre,
.markdown-page__content blockquote {
  margin: 1em 0;
}

.blog-post__content ul,
.blog-post__content ol,
.docs-content__body ul,
.docs-content__body ol,
.markdown-page__content ul,
.markdown-page__content ol {
  padding-left: 1.4rem;
}

.blog-post__content li,
.docs-content__body li,
.markdown-page__content li {
  margin: 0.35rem 0;
}

.blog-post__content a,
.docs-content__body a,
.markdown-page__content a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.blog-post__content pre,
.docs-content__body pre,
.markdown-page__content pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.06);
}

.blog-post__content code,
.docs-content__body code,
.markdown-page__content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.blog-post__content img,
.docs-content__body img,
.markdown-page__content img {
  max-width: 100%;
  height: auto;
}

.blog-list__hero {
  max-width: 64rem;
  margin: 8rem auto 3rem;
  text-align: center;
}

.blog-list__title {
  font-size: 2.25rem;
  font-weight: 800;
}

.blog-list__subtitle {
  font-size: 1.5rem;
  font-weight: 700;
}

.blog-list__content {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1rem;
}

.blog-list__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .blog-list__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.blog-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 0.75rem;
  padding: 1rem;
}

.blog-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.5rem;
}

.blog-card__date {
  font-size: 0.875rem;
  opacity: 0.7;
}

.docs-page {
  flex: 1 1 auto;
}

.docs-page__layout {
  position: relative;
  display: flex;
  flex-direction: row;
}

.docs-sidebar {
  position: fixed;
  top: 0.5rem;
  bottom: 0;
  left: -100%;
  z-index: 40;
  display: flex;
  width: 0;
  height: calc(100vh - 108px);
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid rgba(148, 163, 184, 0.24);
}

@media (min-width: 1024px) {
  .docs-sidebar {
    position: sticky;
    left: 0;
    z-index: auto;
    width: 420px;
    overflow-y: auto;
  }
}

.docs-sidebar__nav {
  padding: 3rem 1.25rem 1.25rem;
}

.docs-sidebar__category-title {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.docs-sidebar__category-title--disabled {
  opacity: 0.6;
}

.docs-sidebar__page-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.docs-sidebar__page-item {
  margin-bottom: 0.5rem;
}

.docs-sidebar__page-link {
  border-radius: 0.375rem;
  color: inherit;
  text-decoration: none;
}

.docs-sidebar__page-link:hover {
  text-decoration: underline;
}

.docs-sidebar__page-link--active {
  padding-bottom: 2px;
  border-bottom: 2px solid currentColor;
  font-weight: 600;
}

.docs-sidebar__page-link--disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.5;
}

.docs-content {
  width: 100%;
  height: calc(100vh - 108px);
  padding: 3rem 1.25rem 1.25rem;
}

@media (min-width: 1024px) {
  .docs-content {
    overflow-y: auto;
  }
}

.docs-content__inner {
  margin-bottom: 3rem;
}

.docs-content__article {
  max-width: 48rem;
  margin: 0 auto;
}

.markdown-page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.25rem;
}

.site-footer {
  margin-top: 6rem;
  padding: 2.5rem;
  color: #f8fafc;
  background: #111827;
}

.site-footer--flush {
  margin-top: 0;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.site-footer__section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__title {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__link {
  color: inherit;
  text-decoration: none;
  opacity: 0.9;
}

.site-footer__link:hover {
  text-decoration: underline;
}

.dl-footer {
  margin-top: 6rem;
  padding: 2.5rem 1.5rem;
  color: #e5e7eb;
  background:
    radial-gradient(circle at top, rgba(37, 99, 235, 0.12), transparent 32%),
    linear-gradient(180deg, #020617 0%, #111827 100%);
}

.dl-footer--flush {
  margin-top: 0;
}

.dl-footer-grid {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .dl-footer-grid {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  }
}

.dl-footer h4 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93c5fd;
}

.dl-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.dl-footer a {
  color: inherit;
  text-decoration: none;
  opacity: 0.88;
}

.dl-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

.dl-lead {
  margin: 0 0 1rem;
  color: #cbd5e1;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(15, 23, 42, 0.36);
}

.pulse-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  animation: site-pulse 1.8s infinite;
}

@keyframes site-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.site-extra-footer {
  width: 100%;
  margin-top: 6rem;
  padding: 4rem 1.5rem;
  background: rgba(15, 23, 42, 0.08);
}

.site-extra-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.site-extra-footer__title {
  max-width: 48rem;
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
}

.site-extra-footer__image {
  width: 100%;
  max-width: 48rem;
  height: auto;
}

.site-extra-footer__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .site-extra-footer__actions {
    flex-direction: row;
    justify-content: center;
  }
}

.site-extra-footer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.65rem;
  color: #fff;
  background: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.site-extra-footer__button:hover {
  background: #1d4ed8;
}
