.mg-category-page .mg-category-masthead > nav:first-child {
  flex-wrap: wrap;
  row-gap: 4px;
}

.mg-category-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: 26px;
  margin-top: 26px;
}

.mg-category-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid var(--mg-line);
  border-radius: 5px;
  background: #f8f7f3;
}

.mg-category-page .mg-category-intro h1 {
  margin: 12px 0 18px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.042em;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.mg-category-page .mg-category-intro p {
  color: var(--mg-muted);
  font-size: 18px;
  line-height: 1.5;
}

.mg-category-count {
  margin-top: 26px;
  color: var(--mg-muted);
  font-size: 14px;
}

.mg-category-page a.mg-archive-jump {
  min-height: 44px;
  margin-top: 8px;
  color: var(--mg-gold);
}

.mg-category-page .mg-story--cover {
  min-height: 430px;
}

.mg-category-page .mg-story--cover h2 {
  font-size: clamp(25px, 2.7vw, 36px);
}

.mg-category-page .mg-story--standard .mg-category-link {
  display: none;
}

.mg-category-page .mg-category-related {
  padding-bottom: 68px;
}

.mg-category-page .mg-category-related .mg-section-heading > a {
  min-height: 44px;
  margin-top: 0;
}

@media (max-width: 800px) {
  .mg-category-lead {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mg-category-page .mg-category-intro h1 {
    font-size: clamp(36px, 8vw, 62px);
  }

  .mg-category-page .mg-story--cover {
    min-height: 360px;
  }
}

@media (max-width: 800px) {
  .mg-category-page .mg-story--cover > .mg-story-photo::after {
    background: linear-gradient(180deg, rgba(10, 18, 16, .12) 0%, rgba(10, 18, 16, .66) 18%, rgba(10, 18, 16, .95) 100%);
  }
}
