@media (min-width: 769px) and (max-width: 1024px) {
  .wr-story-grid--featured,
  .wr-story-grid--latest {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .wr-category-card {
    border-bottom: 1px solid rgba(140, 105, 75, 0.55);
  }
}

@media (max-width: 768px) {
  .wr-hero {
    min-height: auto;
    place-items: start;
    padding-block: 4.5rem;
  }

  .wr-home__section {
    width: min(calc(100% - 2rem), 72rem);
    padding-block: 4rem;
  }

  .wr-story-grid--featured,
  .wr-story-grid--latest,
  .wr-category-grid,
  .wr-editorial-panel {
    grid-template-columns: 1fr;
  }

  .wr-category-grid {
    border-bottom: 0;
  }

  .wr-category-card,
  .wr-category-card:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--wr-copper);
  }

  .wr-editorial-panel {
    gap: 1.25rem;
  }

  .wr-editorial-panel__number {
    font-size: 4rem;
  }

  body:not(.home) .content-in {
    display: block;
  }

  body:not(.home) .main,
  body:not(.home) .sidebar {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .entry-content {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .wr-hero {
    padding-inline: 1rem;
  }

  .wr-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wr-button,
  .wr-cta__button,
  .wr-story-card__link {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
