:root {
  --blog-shell: min(1760px, calc(100vw - (var(--page-pad) * 2)));
  --blog-copy: rgba(235, 239, 249, 0.7);
  --blog-dim: rgba(235, 239, 249, 0.46);
  --blog-line: rgba(255, 255, 255, 0.14);
  --blog-panel: rgba(7, 10, 19, 0.66);
}

.blog-app {
  position: relative;
  overflow: clip;
  background: #02040a;
}

.blog-app a {
  transition: color 180ms ease, opacity 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.blog-kicker {
  margin: 0;
  color: rgba(235, 239, 249, 0.58);
  font-size: var(--type-kicker-size, 12px);
  font-weight: var(--type-kicker-weight, 680);
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.blog-hero {
  position: relative;
  min-height: var(--blog-hero-min-height, 760px);
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-height) + 58px) var(--page-pad) 74px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #050711;
}

.blog-hero__rays,
.blog-post-hero__rays {
  position: absolute;
  z-index: -3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.blog-hero__shade,
.blog-post-hero__shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(6, 9, 18, 0.02), rgba(3, 5, 12, 0.36) 60%, rgba(2, 4, 10, 0.86) 100%),
    linear-gradient(90deg, rgba(2, 4, 10, 0.88), rgba(2, 4, 10, 0.14) 46%, rgba(2, 4, 10, 0.34));
}

.blog-post-hero__shade {
  background:
    linear-gradient(180deg, rgba(2, 4, 10, 0.02) 0%, rgba(2, 4, 10, 0.1) 32%, rgba(2, 4, 10, 0.5) 68%, rgba(2, 4, 10, 0.88) 88%, #02040a 100%),
    radial-gradient(circle at 50% 34%, rgba(6, 9, 18, 0.02), rgba(3, 5, 12, 0.32) 58%, rgba(2, 4, 10, 0.78) 100%),
    linear-gradient(90deg, rgba(2, 4, 10, 0.82), rgba(2, 4, 10, 0.12) 46%, rgba(2, 4, 10, 0.3));
}

.blog-hero__inner {
  display: grid;
  width: var(--blog-shell);
  min-height: calc(var(--blog-hero-min-height, 760px) - var(--header-height) - 132px);
  margin: 0 auto;
  grid-template-rows: auto 1fr;
}

.blog-hero__copy {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.72fr);
  gap: clamp(52px, 9vw, 170px);
}

.blog-hero__copy .blog-kicker {
  grid-column: 1 / -1;
  margin-bottom: 30px;
}

.blog-hero__copy h1,
.blog-post-hero h1,
.blog-page__header h1 {
  max-width: 850px;
  margin: 0;
  font-family: Inter, "SF Pro Display", "Segoe UI Variable Display", system-ui, sans-serif;
  font-size: var(--type-display-size, clamp(3.1rem, 3.6vw, 4rem));
  font-weight: var(--type-display-weight, 410);
  line-height: var(--type-display-leading, 1.04);
  letter-spacing: var(--type-display-tracking, -0.045em);
  text-wrap: balance;
}

.blog-hero__intro {
  align-self: center;
  padding-bottom: 4px;
}

.blog-hero__intro p {
  max-width: 540px;
  margin: 0 0 18px;
  color: var(--blog-copy);
  font-size: var(--type-lead-size, 17px);
  line-height: var(--type-lead-leading, 1.62);
}

.blog-hero__intro a,
.blog-post__back {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.44);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--type-control-size, 15px);
}

.blog-hero__intro a:hover,
.blog-post__back:hover {
  border-color: #fff;
  color: #fff;
}

.blog-featured {
  position: relative;
  align-self: end;
  width: 100%;
  min-height: 390px;
  margin-top: 34px;
}

.blog-featured__label {
  position: absolute;
  z-index: 6;
  bottom: 7px;
  left: 0;
  color: var(--blog-dim);
  font-size: var(--type-meta-size, 12px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-featured__viewport {
  position: absolute;
  inset: 0 0 48px;
  perspective: 1200px;
}

.blog-feature-card {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: min(680px, 54vw);
  min-height: 300px;
  flex-direction: column;
  padding: clamp(28px, 3vw, 50px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  opacity: 0;
  background:
    linear-gradient(126deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025) 44%, rgba(95, 131, 255, 0.055)),
    rgba(7, 10, 19, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 32px 90px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(30px) saturate(145%);
  transform: translate(-50%, -50%) scale(0.78);
  transition: transform 620ms cubic-bezier(.2, .8, .2, 1), opacity 500ms ease, filter 500ms ease;
  pointer-events: none;
}

.blog-feature-card.is-active {
  z-index: 4;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.blog-feature-card.is-prev,
.blog-feature-card.is-next {
  z-index: 2;
  opacity: 0.2;
  filter: blur(0.5px);
}

.blog-feature-card.is-prev {
  transform: translate(calc(-50% - min(38vw, 650px)), -50%) scale(0.86);
}

.blog-feature-card.is-next {
  transform: translate(calc(-50% + min(38vw, 650px)), -50%) scale(0.86);
}

.blog-feature-card__meta,
.blog-timeline-card__meta,
.blog-post-hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--blog-dim);
  font-size: var(--type-meta-size, 12px);
  font-weight: 620;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.blog-feature-card h2 {
  max-width: 580px;
  margin: auto 0 18px;
  font-size: var(--type-card-title-size, clamp(1.65rem, 2vw, 2.1rem));
  font-weight: 440;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.blog-feature-card h2 a:hover,
.blog-timeline-card h3 a:hover {
  color: #cbd8ff;
}

.blog-feature-card > p {
  display: -webkit-box;
  max-width: 580px;
  margin: 0 0 28px;
  overflow: hidden;
  color: var(--blog-copy);
  font-size: 16px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-feature-card__footer,
.blog-timeline-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 19px;
  border-top: 1px solid var(--blog-line);
  color: var(--blog-dim);
  font-size: var(--type-label-size, 13px);
}

.blog-feature-card__footer a,
.blog-read-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 550;
}

.blog-feature-card__footer a:hover,
.blog-read-link:hover {
  color: #fff;
}

.blog-featured__controls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

.blog-featured__progress {
  display: flex;
  gap: 8px;
}

.blog-featured__progress button {
  width: 24px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.blog-featured__progress button.is-active {
  width: 48px;
  background: rgba(222, 231, 255, 0.92);
}

.blog-featured__arrows {
  display: flex;
  gap: 10px;
}

.blog-featured__arrows button,
.blog-pagination a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  color: #fff;
  cursor: pointer;
}

.blog-featured__arrows button:hover,
.blog-pagination a:hover,
.blog-pagination a.is-current {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.11);
}

.blog-stream-backdrop {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: var(--blog-backdrop-height, 1180px);
  overflow: hidden;
  pointer-events: none;
}

.blog-stream-backdrop__rays {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.blog-stream-backdrop__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 18%, rgba(4, 7, 15, 0.02), rgba(2, 4, 10, 0.34) 52%, rgba(2, 4, 10, 0.72) 78%),
    linear-gradient(180deg, rgba(2, 4, 10, 0.08) 0%, rgba(2, 4, 10, 0.18) 30%, rgba(2, 4, 10, 0.76) 72%, #02040a 100%);
}

.blog-stream {
  position: relative;
  z-index: 1;
  width: var(--blog-shell);
  margin: 0 auto;
  padding: clamp(90px, 10vw, 170px) 0 clamp(120px, 12vw, 210px);
}

.blog-stream--home {
  padding-top: calc(var(--header-height) + clamp(58px, 7vw, 112px));
}

.blog-stream--compact {
  padding-top: calc(var(--header-height) + 74px);
}

.blog-stream__header {
  display: grid;
  align-items: end;
  margin-bottom: clamp(72px, 8vw, 130px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: clamp(52px, 10vw, 180px);
}

.blog-stream__header h2,
.blog-comments__header h2 {
  max-width: 820px;
  margin: 20px 0 0;
  font-size: var(--type-section-title-size, clamp(2.45rem, 3vw, 3.5rem));
  font-weight: var(--type-display-weight, 410);
  line-height: var(--type-display-leading, 1.04);
  letter-spacing: var(--type-display-tracking, -0.045em);
  text-wrap: balance;
}

.blog-stream__aside > p {
  max-width: 580px;
  margin: 0 0 24px;
  color: var(--blog-copy);
  font-size: var(--type-lead-size, 17px);
  line-height: 1.62;
}

.blog-search {
  display: flex;
  max-width: 580px;
  gap: 10px;
}

.blog-search input,
.blog-comment-form input,
.blog-comment-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: rgba(1, 3, 9, 0.58);
  color: #fff;
  outline: none;
}

.blog-search input {
  min-height: 48px;
  padding: 0 16px;
}

.blog-search button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  cursor: pointer;
}

.blog-search input:focus,
.blog-comment-form input:focus,
.blog-comment-form textarea:focus {
  border-color: rgba(173, 202, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(112, 147, 255, 0.12);
}

.blog-timeline {
  position: relative;
}

.blog-timeline::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 50%;
  width: 1px;
  content: "";
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.28) 8%, rgba(255, 255, 255, 0.14) 92%, transparent);
}

.blog-timeline__item {
  position: relative;
  display: grid;
  min-height: 390px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr);
}

.blog-timeline__item::after {
  z-index: 2;
  width: 50%;
  height: 1px;
  align-self: center;
  justify-self: start;
  grid-column: 2;
  grid-row: 1;
  content: "";
  background: linear-gradient(90deg, rgba(207, 221, 255, 0.65), rgba(207, 221, 255, 0.14));
}

.blog-timeline__item:nth-child(even)::after {
  justify-self: end;
  background: linear-gradient(90deg, rgba(207, 221, 255, 0.14), rgba(207, 221, 255, 0.65));
}

.blog-timeline__node {
  z-index: 3;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(213, 226, 255, 0.9);
  border-radius: 50%;
  background: #060914;
  box-shadow: 0 0 0 7px rgba(104, 132, 220, 0.09), 0 0 28px rgba(120, 156, 255, 0.35);
}

.blog-timeline-card {
  position: relative;
  display: grid;
  min-height: 290px;
  overflow: hidden;
  grid-column: 1;
  grid-row: 1;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.blog-timeline__item:nth-child(even) .blog-timeline-card {
  grid-column: 3;
}

.blog-timeline__item:not(.has-image) .blog-timeline-card {
  grid-template-columns: 1fr;
}

.blog-timeline-card__image {
  display: block;
  min-height: 100%;
  overflow: hidden;
}

.blog-timeline-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2, .8, .2, 1);
}

.blog-timeline-card:hover .blog-timeline-card__image img {
  transform: scale(1.035);
}

.blog-timeline-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(26px, 2.5vw, 42px);
}

.blog-timeline-card h3 {
  margin: auto 0 14px;
  font-size: var(--type-card-title-size, clamp(1.65rem, 2vw, 2.1rem));
  font-weight: 440;
  line-height: 1.14;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.blog-timeline-card__excerpt {
  display: -webkit-box;
  margin: 0 0 24px;
  overflow: hidden;
  color: var(--blog-copy);
  font-size: 15px;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-timeline-card__footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
}

.blog-timeline-card__footer a:not(.blog-read-link):hover {
  color: #fff;
}

.blog-post-hooks:empty,
.blog-hook:empty,
.blog-post-plugin:empty {
  display: none;
}

.blog-post-hooks--after .tags-section {
  margin: 0;
}

.blog-post-hooks--after .tags-section > p {
  display: none;
}

.blog-post-hooks--after .tags-section ul,
.blog-post-hooks--after ul.chips,
.blog-post-hooks--after ul.tags {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 7px;
  list-style: none;
}

.blog-post-hooks--after .tags-section li,
.blog-post-hooks--after ul.chips li,
.blog-post-hooks--after ul.tags li {
  margin: 0;
  padding: 0;
}

.blog-post-hooks--after .tags-section a,
.blog-post-hooks--after ul.chips a,
.blog-post-hooks--after ul.tags a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid var(--blog-line);
  border-radius: 999px;
  color: var(--blog-copy);
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
}

.blog-post-hooks--after .tags-section a:hover,
.blog-post-hooks--after ul.chips a:hover,
.blog-post-hooks--after ul.tags a:hover {
  border-color: rgba(223, 232, 255, 0.42);
  color: #fff;
}

.blog-timeline-card .blog-post-hooks--after {
  max-height: 72px;
  margin-bottom: 18px;
  overflow: hidden;
}

.blog-lazy-pagination {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 130px;
  margin-top: 58px;
  gap: 12px;
}

.blog-load-more {
  min-width: 190px;
  cursor: pointer;
}

.blog-load-more[disabled] {
  opacity: 0.58;
  cursor: wait;
}

.blog-load-more__status {
  min-height: 20px;
  color: var(--blog-dim);
  font-size: 13px;
}

.blog-timeline__item.is-lazy-loaded {
  animation: blog-card-arrive 540ms cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes blog-card-arrive {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

.blog-empty {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 54px;
  text-align: center;
}

.blog-empty h3 {
  margin: 0 0 28px;
  font-size: var(--type-card-title-size, 2rem);
}

.blog-plugin-widgets,
.blog-hook--footer,
.blog-post-plugin {
  width: var(--blog-shell);
  margin: 0 auto;
}

.blog-plugin-widgets {
  padding-bottom: 100px;
}

.blog-plugin-widgets__inner {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.blog-plugin-widget {
  padding: 26px;
  border: 1px solid var(--blog-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
}

.blog-plugin-widget ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.blog-plugin-widget a {
  color: var(--blog-copy);
}

.blog-plugin-widget a:hover {
  color: #fff;
}

.blog-plugin-widget.tag-plugin {
  position: relative;
  grid-column: 1 / -1;
  overflow: hidden;
}

.blog-plugin-widget.tag-plugin .tags.cloud {
  position: relative;
  display: flex;
  max-height: var(--blog-tags-collapsed-height, 168px);
  flex-wrap: wrap;
  align-content: flex-start;
  overflow: hidden;
  gap: 9px;
  transition: max-height 460ms cubic-bezier(.2, .8, .2, 1);
}

.blog-plugin-widget.tag-plugin .tags.cloud a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin: 0;
  padding: 7px 13px;
  border: 1px solid var(--blog-line);
  border-radius: 999px;
  opacity: 0.72 !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.blog-plugin-widget.tag-plugin .tags.cloud a:hover {
  border-color: rgba(223, 232, 255, 0.42);
  opacity: 1 !important;
}

.blog-plugin-widget.tag-plugin:not(.is-expanded)::after {
  position: absolute;
  right: 0;
  bottom: 74px;
  left: 0;
  height: 76px;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(7, 10, 19, 0.98));
}

.blog-plugin-widget.tag-plugin.is-expanded .tags.cloud {
  max-height: 4000px;
}

.blog-tags-toggle {
  position: relative;
  z-index: 2;
  min-height: 46px;
  margin-top: 20px;
  padding: 0 20px;
  border: 1px solid var(--blog-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.blog-tags-toggle:hover {
  border-color: rgba(223, 232, 255, 0.44);
  background: rgba(255, 255, 255, 0.1);
}

.blog-post-hero {
  position: relative;
  min-height: 640px;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-height) + 70px) var(--page-pad) 90px;
  background: linear-gradient(180deg, #050711 0%, #04060e 56%, #02040a 100%);
}

.blog-post-hero__inner {
  display: flex;
  width: min(1120px, calc(100vw - (var(--page-pad) * 2)));
  min-height: 470px;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
}

.blog-post__back {
  align-self: flex-start;
  margin-bottom: 64px;
}

.blog-post-hero .blog-kicker {
  margin-bottom: 24px;
}

.blog-post-hero h1 {
  max-width: 1050px;
}

.blog-post-hero__meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 32px;
  gap: 12px 24px;
}

.blog-post-hero__meta a:hover {
  color: #fff;
}

.blog-post__layout {
  width: min(1220px, calc(100vw - (var(--page-pad) * 2)));
  margin: -52px auto 0;
}

.blog-post__content {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 5.4vw, 86px);
}

.blog-post__cover {
  margin: calc(clamp(32px, 5.4vw, 86px) * -1) calc(clamp(32px, 5.4vw, 86px) * -1) 64px;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
}

.blog-post__cover img {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.blog-richtext {
  max-width: 850px;
  margin: 0 auto;
  color: rgba(242, 245, 252, 0.88);
  font-size: var(--type-body-size, 17px);
  line-height: 1.76;
}

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

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

.blog-richtext h2,
.blog-richtext h3,
.blog-richtext h4 {
  color: #f7f8fb;
  font-weight: 470;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.blog-richtext h2 {
  margin: 2em 0 0.65em;
  font-size: var(--type-section-title-size, clamp(2.45rem, 3vw, 3.5rem));
  line-height: 1.08;
}

.blog-richtext h3 {
  margin: 1.8em 0 0.6em;
  font-size: var(--type-card-title-size, 2rem);
  line-height: 1.16;
}

.blog-richtext p,
.blog-richtext ul,
.blog-richtext ol,
.blog-richtext blockquote {
  margin: 1.2em 0;
}

.blog-richtext a {
  color: #b9ccff;
  text-decoration: underline;
  text-decoration-color: rgba(185, 204, 255, 0.35);
  text-underline-offset: 0.2em;
}

.blog-richtext img,
.blog-richtext video,
.blog-richtext iframe {
  max-width: 100%;
  border-radius: 18px;
}

.blog-richtext blockquote {
  padding: 2px 0 2px 26px;
  border-left: 2px solid rgba(173, 202, 255, 0.68);
  color: rgba(235, 239, 249, 0.72);
}

.blog-richtext pre,
.blog-richtext code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.blog-richtext pre {
  overflow-x: auto;
  padding: 24px;
  border: 1px solid var(--blog-line);
  border-radius: 18px;
  background: rgba(0, 2, 7, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

.blog-richtext table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.blog-richtext th,
.blog-richtext td {
  padding: 12px 16px;
  border: 1px solid var(--blog-line);
  text-align: left;
}

.blog-album {
  display: grid;
  margin-top: 68px;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-album__item {
  margin: 0;
}

.blog-album__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  object-fit: cover;
}

.blog-album__item figcaption {
  margin-top: 8px;
  color: var(--blog-dim);
  font-size: 13px;
}

.blog-comments,
.blog-post-plugin {
  width: min(1120px, calc(100vw - (var(--page-pad) * 2)));
  margin: 0 auto;
}

.blog-comments {
  padding: 120px 0 160px;
}

.blog-comments__header {
  margin-bottom: 48px;
}

.blog-comments__list {
  margin-bottom: 44px;
}

.blog-comments__list.is-empty {
  padding: 24px 0;
  color: var(--blog-copy);
}

.blog-comment-children {
  display: grid;
  gap: 18px;
}

.blog-comment-children .blog-comment-children {
  margin-left: 44px;
  padding-left: 24px;
  border-left: 1px solid var(--blog-line);
}

.blog-comment {
  display: grid;
  padding: 26px 0;
  border-bottom: 1px solid var(--blog-line);
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
}

.blog-comment__avatar {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  object-fit: cover;
}

.blog-comment__body header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 14px;
}

.blog-comment__body time,
.blog-comment__staff {
  color: var(--blog-dim);
  font-size: 12px;
}

.blog-comment__text {
  margin-top: 12px;
  color: var(--blog-copy);
  font-size: 15px;
  line-height: 1.65;
}

.blog-comment__reply {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(197, 211, 255, 0.78);
  font-size: 13px;
  cursor: pointer;
}

.blog-comment-form {
  padding: clamp(28px, 4vw, 58px);
}

.blog-comment-form h3 {
  margin: 0 0 34px;
  font-size: var(--type-card-title-size, 2rem);
  font-weight: 440;
  letter-spacing: -0.035em;
}

.blog-comment-form__identity {
  display: grid;
  margin-bottom: 18px;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-comment-form label > span {
  display: block;
  margin-bottom: 8px;
  color: var(--blog-dim);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-comment-form input {
  min-height: 50px;
  padding: 0 15px;
}

.blog-comment-form textarea {
  min-height: 160px;
  resize: vertical;
  padding: 15px;
}

.blog-comment-form__message {
  display: block;
}

.blog-comment-form__actions {
  display: flex;
  align-items: center;
  margin-top: 22px;
  gap: 18px;
}

.blog-comment-form__status {
  color: var(--blog-copy);
  font-size: 13px;
}

.blog-comment-form__cancel {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--blog-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.blog-comment-node.is-replying > .blog-comment {
  border-color: rgba(173, 202, 255, 0.55);
}

.blog-field-error {
  display: block;
  margin-top: 7px;
  color: #ff9b9b;
  font-size: 12px;
}

.blog-comment-form__notice {
  color: var(--blog-copy);
}

.blog-auth-providers {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.blog-auth-providers a {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 0 15px;
  gap: 9px;
  border: 1px solid var(--blog-line);
  border-radius: 999px;
  color: var(--blog-copy);
}

.blog-auth-providers img {
  width: 20px;
  height: 20px;
}

.blog-auth-providers .is-selected a,
.blog-auth-providers a:hover {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.blog-comment-form__user {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  gap: 10px;
}

.blog-comment-form__user img {
  border-radius: 50%;
}

.blog-page {
  width: min(1220px, calc(100vw - (var(--page-pad) * 2)));
  margin: 0 auto;
  padding: calc(var(--header-height) + 84px) 0 160px;
}

.blog-page__header {
  width: min(900px, 100%);
  margin: 0 auto 54px;
}

.blog-page__header .blog-kicker {
  margin-bottom: 24px;
}

.blog-page__content {
  padding: clamp(32px, 5.4vw, 86px);
}

.blog-subpages {
  display: flex;
  flex-wrap: wrap;
  margin-top: 28px;
  gap: 10px;
}

.blog-subpages a {
  padding: 10px 16px;
  border: 1px solid var(--blog-line);
  border-radius: 999px;
  color: var(--blog-copy);
}

.blog-subpages a:hover {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

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

@media (max-width: 1100px) {
  .blog-hero__copy,
  .blog-stream__header {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    gap: 48px;
  }

  .blog-feature-card {
    width: min(650px, 67vw);
  }

  .blog-timeline__item {
    min-height: 360px;
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  }

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

  .blog-timeline-card__image {
    max-height: 210px;
  }

  .blog-timeline-card__image img {
    min-height: 210px;
    max-height: 210px;
  }
}

@media (max-width: 820px) {
  .blog-hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: 56px;
  }

  .blog-hero__inner {
    min-height: auto;
  }

  .blog-hero__copy,
  .blog-stream__header {
    display: block;
  }

  .blog-hero__copy .blog-kicker {
    margin-bottom: 22px;
  }

  .blog-hero__intro {
    margin-top: 24px;
  }

  .blog-featured {
    min-height: 420px;
    margin-top: 48px;
  }

  .blog-feature-card {
    width: min(640px, 82vw);
  }

  .blog-feature-card.is-prev {
    transform: translate(calc(-50% - 82vw), -50%) scale(0.88);
  }

  .blog-feature-card.is-next {
    transform: translate(calc(-50% + 82vw), -50%) scale(0.88);
  }

  .blog-featured__label {
    display: none;
  }

  .blog-stream {
    padding-top: 90px;
  }

  .blog-stream--home,
  .blog-stream--compact {
    padding-top: calc(var(--header-height) + 52px);
  }

  .blog-stream__aside {
    margin-top: 24px;
  }

  .blog-stream__header {
    margin-bottom: 70px;
  }

  .blog-timeline::before {
    left: 8px;
  }

  .blog-timeline__item {
    display: grid;
    min-height: 0;
    margin-bottom: 34px;
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .blog-timeline__item::after,
  .blog-timeline__item:nth-child(even)::after {
    position: absolute;
    top: 50%;
    left: 8px;
    width: 26px;
    background: linear-gradient(90deg, rgba(207, 221, 255, 0.62), rgba(207, 221, 255, 0.16));
  }

  .blog-timeline__node {
    grid-column: 1;
  }

  .blog-timeline-card,
  .blog-timeline__item:nth-child(even) .blog-timeline-card {
    grid-column: 2;
    grid-row: 1;
  }

  .blog-timeline-card {
    min-height: 0;
  }

  .blog-post-hero {
    min-height: 560px;
  }

  .blog-post-hero__inner {
    min-height: 390px;
  }

  .blog-post__back {
    margin-bottom: 48px;
  }

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

@media (max-width: 560px) {
  .blog-hero {
    padding-right: 22px;
    padding-left: 22px;
  }

  .blog-hero__inner,
  .blog-stream,
  .blog-plugin-widgets,
  .blog-hook--footer {
    width: 100%;
  }

  .blog-hero__copy h1,
  .blog-post-hero h1,
  .blog-page__header h1 {
    font-size: clamp(38px, 10.2vw, 48px);
  }

  .blog-hero__intro p,
  .blog-stream__aside > p {
    font-size: 15px;
  }

  .blog-featured {
    min-height: 450px;
  }

  .blog-feature-card {
    width: calc(100vw - 44px);
    min-height: 340px;
    padding: 28px 24px;
    border-radius: 24px;
  }

  .blog-feature-card__meta {
    display: grid;
    gap: 4px;
  }

  .blog-feature-card h2 {
    font-size: 27px;
  }

  .blog-feature-card__footer {
    align-items: flex-end;
  }

  .blog-featured__controls {
    justify-content: space-between;
  }

  .blog-featured__progress button {
    width: 18px;
  }

  .blog-featured__progress button.is-active {
    width: 34px;
  }

  .blog-featured__arrows button {
    width: 42px;
    height: 42px;
  }

  .blog-stream {
    padding-right: 22px;
    padding-bottom: 110px;
    padding-left: 22px;
  }

  .blog-stream__header h2,
  .blog-comments__header h2,
  .blog-richtext h2 {
    font-size: clamp(32px, 8.7vw, 40px);
  }

  .blog-search {
    display: grid;
    grid-template-columns: 1fr auto;
  }

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

  .blog-timeline::before {
    left: 6px;
  }

  .blog-timeline__item::after,
  .blog-timeline__item:nth-child(even)::after {
    left: 6px;
    width: 18px;
  }

  .blog-timeline__node {
    width: 12px;
    height: 12px;
  }

  .blog-timeline-card {
    border-radius: 24px;
  }

  .blog-timeline-card__body {
    padding: 24px 20px;
  }

  .blog-timeline-card h3 {
    font-size: 26px;
  }

  .blog-timeline-card__footer {
    align-items: flex-end;
  }

  .blog-timeline-card__footer > div {
    display: grid;
  }

  .blog-post-hero {
    min-height: 520px;
    padding-right: 22px;
    padding-left: 22px;
  }

  .blog-post-hero__inner,
  .blog-post__layout,
  .blog-comments,
  .blog-post-plugin,
  .blog-page {
    width: calc(100vw - 44px);
  }

  .blog-post__layout {
    margin-top: -32px;
  }

  .blog-post__content,
  .blog-page__content {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .blog-post__cover {
    margin: -28px -22px 38px;
    border-radius: 24px 24px 0 0;
  }

  .blog-richtext {
    font-size: 16px;
    line-height: 1.7;
  }

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

  .blog-comments {
    padding: 88px 0 110px;
  }

  .blog-comment-children .blog-comment-children {
    margin-left: 12px;
    padding-left: 12px;
  }

  .blog-comment {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .blog-comment__avatar {
    width: 38px;
    height: 38px;
  }

  .blog-comment-form {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .blog-tags-toggle,
  .blog-load-more {
    width: 100%;
  }

  .blog-page {
    padding-top: calc(var(--header-height) + 54px);
    padding-bottom: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-feature-card,
  .blog-timeline-card__image img,
  .blog-plugin-widget.tag-plugin .tags.cloud {
    transition: none;
  }

  .blog-timeline__item.is-lazy-loaded {
    animation: none;
  }
}
