body[data-page="blog"] .site-main--subpage {
  padding-top: 88px;
}

.blog-page {
  background: #fff;
}

.blog-hero {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: 74px 24px 66px;
  text-align: center;
}

.blog-hero__eyebrow {
  margin: 0 0 12px;
  color: #6c6358;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-hero__title {
  margin: 0;
  color: #111;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.12;
}

.blog-hero__title + .blog-hero__eyebrow {
  margin: 10px 0 0;
}

.blog-hero__text {
  width: min(100%, 620px);
  margin: 18px auto 0;
  color: #4f4a43;
  font-size: 0.98rem;
  line-height: 1.9;
}

.blog-list,
.blog-related {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: 58px 0 104px;
}

.blog-list__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0 0 24px;
}

.blog-list__count {
  margin: 0;
  color: #6c6358;
  font-size: 0.86rem;
  font-weight: 700;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
}

.blog-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: #fff;
}

.blog-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f7f4ee;
}

.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.blog-card__placeholder {
  color: #6c6358;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card__body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.blog-card__meta,
.blog-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: #6c6358;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.blog-card__meta a,
.blog-single__meta a {
  color: #111;
}

.blog-card__title {
  margin: 0;
  color: #111;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
}

.blog-card__title a {
  color: inherit;
}

.blog-card__excerpt {
  margin: 0;
  color: #4f4a43;
  font-size: 0.92rem;
  line-height: 1.8;
}

.blog-card__link {
  justify-self: start;
  margin-top: 4px;
  color: #111;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.navigation.pagination {
  margin: 54px 0 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.page-numbers {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f0f0f0;
  color: #111;
  font-size: 0.86rem;
  font-weight: 800;
}

.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus-visible {
  background: #000;
  color: #fff;
}

.blog-empty {
  padding: 48px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.blog-empty h2 {
  margin: 0;
  color: #111;
  font-size: 1.5rem;
  font-weight: 700;
}

.blog-empty p {
  margin: 12px 0 0;
  color: #4f4a43;
  line-height: 1.8;
}

.blog-single {
  width: min(calc(100% - 48px), 980px);
  margin: 0 auto;
  padding: 54px 0 68px;
}

.blog-single__header {
  width: min(100%, 820px);
  margin: 0 auto;
  text-align: center;
}

.blog-single__meta {
  justify-content: center;
  margin-bottom: 16px;
}

.blog-single__title {
  margin: 0;
  color: #111;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.16;
}

.blog-single__media {
  margin: 42px 0 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f7f4ee;
}

.blog-single__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-single__content {
  width: min(100%, 760px);
  margin: 46px auto 0;
  color: #2a2520;
  font-size: 1.02rem;
  line-height: 2;
}

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

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

.blog-single__content p,
.blog-single__content ul,
.blog-single__content ol,
.blog-single__content blockquote {
  margin: 0 0 1.55em;
}

.blog-single__content h2,
.blog-single__content h3,
.blog-single__content h4 {
  margin: 2em 0 0.75em;
  color: #111;
  font-weight: 700;
  line-height: 1.35;
}

.blog-single__content h2 {
  font-size: 1.8rem;
}

.blog-single__content h3 {
  font-size: 1.35rem;
}

.blog-single__content a {
  color: #111;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.blog-single__content img {
  height: auto;
  border-radius: 8px;
}

.blog-single__content blockquote {
  padding: 22px 26px;
  border-left: 4px solid #000;
  background: #f7f4ee;
  color: #4f4a43;
}

.blog-single__footer {
  width: min(100%, 760px);
  margin: 44px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  color: #6c6358;
  font-size: 0.82rem;
  font-weight: 800;
}

.blog-single__tags a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #f0f0f0;
  color: #111;
}

.blog-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.blog-post-nav__item a {
  display: grid;
  gap: 6px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  color: #111;
  font-weight: 700;
  line-height: 1.5;
}

.blog-post-nav__item span {
  color: #6c6358;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.blog-post-nav__item--next {
  text-align: right;
}

.blog-related {
  padding-top: 26px;
}

.blog-related h2 {
  margin: 0 0 28px;
  color: #111;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
}

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

@media (max-width: 760px) {
  body[data-page="blog"] .site-main--subpage {
    padding-top: var(--header-height);
  }

  .blog-hero,
  .blog-list,
  .blog-related,
  .blog-single {
    width: min(calc(100% - 28px), 100%);
  }

  .blog-hero {
    padding: 50px 18px 44px;
  }

  .blog-list,
  .blog-related {
    padding: 38px 0 74px;
  }

  .blog-grid,
  .blog-grid--related {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .blog-card__body {
    padding: 20px;
  }

  .blog-single {
    padding: 42px 0 54px;
  }

  .blog-single__media {
    margin-top: 30px;
  }

  .blog-single__content {
    margin-top: 32px;
    font-size: 0.98rem;
  }

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

  .blog-post-nav__item--next {
    text-align: left;
  }
}
