html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body.home {
  background: var(--wr-paper);
  color: var(--wr-ink);
}

body.home .content-in,
body.home #content-in {
  display: block;
}

body.home .main {
  width: 100%;
  max-width: none;
  padding: 0;
  border: 0;
}

body.home .sidebar {
  display: none;
}

.wr-home,
.wr-home *,
.entry-content,
.entry-content * {
  box-sizing: border-box;
}

.wr-home {
  width: 100%;
  overflow-wrap: anywhere;
}

.wr-hero {
  display: grid;
  min-height: min(42rem, 78vh);
  place-items: center;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 5vw, 4rem);
  border-bottom: 1px solid var(--wr-copper);
  background:
    linear-gradient(135deg, rgba(191, 180, 158, 0.34), transparent 55%),
    var(--wr-paper);
}

.wr-hero__inner {
  width: min(100%, 64rem);
}

.wr-hero__eyebrow,
.wr-section-heading__eyebrow,
.wr-story-card__category {
  margin: 0 0 0.75rem;
  color: var(--wr-copper);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.wr-hero h1 {
  max-width: 14em;
  margin: 0;
  color: var(--wr-brown);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.25rem, 6vw, 4.75rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.wr-hero__lead {
  max-width: 38rem;
  margin: 1.75rem 0 2rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.9;
}

.wr-button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border: 2px solid var(--wr-green);
  border-radius: var(--wr-radius);
  font-weight: 700;
  text-decoration: none;
  transition: filter 160ms ease, transform 160ms ease;
}

.wr-button--primary {
  background: var(--wr-green);
  color: #fff;
}

.wr-button:hover {
  filter: brightness(0.82);
  transform: translateY(-1px);
}

.wr-home__section {
  width: min(calc(100% - 2.5rem), 72rem);
  margin-inline: auto;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.wr-section-heading {
  max-width: var(--wr-content);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.wr-section-heading h2,
.wr-editorial-panel h2 {
  margin: 0 0 0.75rem;
  color: var(--wr-brown);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.45;
}

.wr-section-heading > p:last-child,
.wr-editorial-panel__body > p {
  line-height: 1.9;
}

.wr-story-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.wr-story-grid--featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.wr-story-card {
  min-width: 0;
  border-top: 3px solid var(--wr-copper);
  background: rgba(191, 180, 158, 0.2);
}

.wr-story-card__link {
  display: block;
  height: 100%;
  color: var(--wr-ink);
  text-decoration: none;
}

.wr-story-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.wr-story-card__body {
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.wr-story-card h3,
.wr-category-card h3 {
  margin: 0 0 0.75rem;
  color: var(--wr-brown);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 600;
  line-height: 1.55;
}

.wr-story-card__body > p:last-child,
.wr-category-card p {
  margin-bottom: 0;
  line-height: 1.8;
}

.wr-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-block: 1px solid var(--wr-copper);
}

.wr-category-card {
  min-width: 0;
  border-right: 1px solid rgba(140, 105, 75, 0.55);
  background: rgba(191, 180, 158, 0.2);
}

.wr-category-card:last-child {
  border-right: 0;
}

.wr-category-card a {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  color: var(--wr-ink);
  text-decoration: none;
}

.wr-category-card span {
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--wr-brown);
  font-weight: 700;
}

.wr-editorial-panel {
  display: grid;
  grid-template-columns: minmax(5rem, 0.25fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 6vw, 5rem);
  border-top: 1px solid var(--wr-copper);
}

.wr-editorial-panel__number {
  color: var(--wr-beige);
  font-family: Georgia, serif;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.9;
}

.wr-editorial-panel__body {
  max-width: var(--wr-content);
}

.wr-text-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--wr-brown);
  font-weight: 700;
  text-underline-offset: 0.25em;
}

.wr-empty-state {
  max-width: var(--wr-content);
  padding: 1.5rem;
  border-top: 1px solid var(--wr-copper);
  background: rgba(191, 180, 158, 0.2);
}

.wr-home__final-cta {
  max-width: var(--wr-content);
}

.entry-content {
  max-width: var(--wr-content);
  margin-inline: auto;
  overflow-wrap: anywhere;
}

.entry-content h2 {
  margin-top: 2.75em;
  color: var(--wr-brown);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  line-height: 1.55;
}

.entry-content h3 {
  margin-top: 2em;
  color: var(--wr-brown);
  font-size: clamp(1.25rem, 2.8vw, 1.55rem);
  line-height: 1.6;
}

.entry-content img,
.wr-home img {
  max-width: 100%;
  height: auto;
}

.wr-home a:focus-visible,
.wr-button:focus-visible,
.wr-text-link:focus-visible {
  outline: 3px solid var(--wr-copper);
  outline-offset: 4px;
}
