.hero {
  min-height: min(690px, calc(100dvh - 72px));
  grid-template-columns: minmax(0, 1fr) minmax(340px, .78fr);
  gap: clamp(36px, 5vw, 72px);
  padding-block: clamp(54px, 7vw, 88px);
}

.hero-media {
  width: min(100%, 520px);
  justify-self: end;
  transform: rotate(.6deg);
}

.hero-media img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

.guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-card img,
.guide-card:not(.guide-card-large) img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.article-guide-grid a,
.article-guide-grid a:first-child,
.article-guide-grid a:last-child {
  min-height: 100%;
  justify-content: flex-start;
  padding: 24px;
}

.article-list-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

.article-guide-grid strong {
  margin-top: 4px;
}

.article-guide-grid span {
  margin-top: auto;
}

.breadcrumb {
  padding-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--line);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb + .article-hero {
  padding-top: 32px;
}

.article-hero {
  grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr);
  gap: clamp(38px, 5vw, 72px);
  padding-block: clamp(54px, 7vw, 88px);
}

.article-hero-media {
  width: min(100%, 520px);
  aspect-ratio: 3 / 2;
  justify-self: end;
}

.article-hero-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.category-hero-media {
  width: min(100%, 460px);
  aspect-ratio: auto;
  justify-self: end;
}

.category-hero-media img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 980px) {
  .hero,
  .article-hero {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .article-hero-media {
    width: min(100%, 560px);
    justify-self: start;
  }

  .category-hero-media {
    width: min(100%, 480px);
    aspect-ratio: auto;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-card:not(.guide-card-large) {
    display: flex;
  }

  .guide-card:not(.guide-card-large) img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 760px) {
  .hero,
  .article-hero {
    gap: 32px;
  }

  .hero-media,
  .article-hero-media {
    width: min(100%, 460px);
  }

  .category-hero-media {
    width: min(100%, 420px);
    aspect-ratio: auto;
  }

  .hero-media img {
    max-height: none;
  }

  .guide-card img,
  .guide-card:not(.guide-card-large) img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .article-guide-grid a,
  .article-guide-grid a:first-child,
  .article-guide-grid a:last-child {
    gap: 16px;
    padding: 22px 0;
  }

  .breadcrumb {
    padding-top: 18px;
  }

  .breadcrumb + .article-hero {
    padding-top: 24px;
  }
}
