.blog-index {
  padding-block: 5rem;
  padding-inline: 1rem;
}

.blog-index__empty {
  text-align: center;
  color: rgb(119, 119, 119);
  font-size: 1.125rem;
  padding-block: 3rem;
}

.blog-index__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin-inline: auto;
}

.blog-post-card {
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  background-color: #fff;
}

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

.blog-post-card__image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background-color: rgb(240, 240, 240);
}

.blog-post-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}

.blog-post-card__date {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(178, 0, 0);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-post-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgb(85, 85, 85);
  text-transform: uppercase;
  line-height: 1.3;
}

.blog-post-card__description {
  color: rgb(119, 119, 119);
  line-height: 1.75;
  font-size: 0.9375rem;
  flex: 1;
}

.blog-post-card__cta {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* Blog post detail — page banner */
.blog-show__banner {
  position: relative;
}

.blog-show__banner-image {
  width: 100%;
  height: clamp(20rem, 55vh, 36rem);
  object-fit: cover;
  display: block;
}

.blog-show__banner-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.45);
}

.blog-show__banner-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-inline: 1rem;
  padding-bottom: 2.5rem;
  color: #fff;
  text-align: center;
}

.blog-show__banner-date {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
  margin-block-end: 0.75rem;
}

.blog-show__banner-title {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  font-family: "VAG Rounded", Arial, sans-serif;
  -webkit-text-stroke-width: 2px;
  max-width: 48rem;
}

/* Blog post detail — layout */
.blog-show__layout {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
  padding-block: 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

/* Blog post detail — article content */
.blog-show__article {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.blog-show__body {
  color: rgb(119, 119, 119);
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Blog post detail — prev/next navigation */
.blog-show__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgb(230, 230, 230);
}

.blog-show__nav-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1.75rem 1.25rem;
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.blog-show__nav-link--next {
  justify-content: flex-end;
  text-align: right;
}

.blog-show__nav-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgb(85, 85, 85);
  line-height: 1.3;
  transition: color 0.15s;
}

.blog-show__nav-link:hover .blog-show__nav-title {
  color: rgb(40, 40, 40);
}

.blog-show__nav-icon {
  color: rgb(119, 119, 119);
  font-size: 1rem;
  flex-shrink: 0;
  transition: color 0.15s;
}

.blog-show__nav-link:hover .blog-show__nav-icon {
  color: rgb(40, 40, 40);
}

/* Blog post detail — aside (recent articles) */
.blog-show__aside-heading {
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(85, 85, 85);
  margin-block-end: 1rem;
}

.blog-show__recent-card {
  display: flex;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid rgb(230, 230, 230);
  text-decoration: none;
}

.blog-show__recent-card:first-of-type {
  border-top: 1px solid rgb(230, 230, 230);
}

.blog-show__recent-card:hover .blog-show__recent-card-title {
  color: rgb(40, 40, 40);
}

.blog-show__recent-card-image {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 0.375rem;
  flex-shrink: 0;
}

.blog-show__recent-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex: 1;
}

.blog-show__recent-card-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(178, 0, 0);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-show__recent-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgb(85, 85, 85);
  line-height: 1.3;
  flex: 1;
  transition: color 0.15s;
}

@media (min-width: 48rem) {
  .blog-index__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-show__banner-title {
    font-size: 2.5rem;
    -webkit-text-stroke-width: 3px;
  }
}

@media (min-width: 64rem) {
  .blog-show__layout--has-aside {
    grid-template-columns: 1fr 22rem;
  }

  .blog-show__aside {
    position: sticky;
    top: 8rem;
  }
}

@media (min-width: 80rem) {
  .blog-index__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
