/* Focused layout and overflow safeguards for the editorial homepage hero. */

.home-hero--editorial .home-hero__media {
  background: var(--espresso);
}

.home-hero--editorial .home-hero__inner {
  align-items: flex-start;
  gap: 0;
}

.home-hero--editorial .home-hero__copy {
  width: min(100%, 37rem);
  padding: clamp(2.25rem, 2.5vw, 2.75rem);
  container-type: inline-size;
}

.home-hero--editorial .home-hero__eyebrow {
  margin: 0 0 0.95rem;
}

.home-hero--editorial .home-hero__eyebrow span,
.home-hero--editorial h1 > span {
  display: block;
}

.home-hero--editorial h1 {
  max-width: 100%;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: var(--type-hero);
  font-weight: 500;
  letter-spacing: var(--tracking-display);
  line-height: 1.08;
}

.home-hero--editorial h1::after {
  display: none;
}

.home-hero--editorial h1 > span {
  overflow-wrap: normal;
  word-break: normal;
}

.home-hero--editorial .home-hero__title-closing {
  white-space: nowrap;
}

.home-hero--editorial .home-hero__body {
  max-width: 27rem;
  margin-bottom: 1.65rem;
  color: var(--muted-ink);
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  letter-spacing: 0;
  line-height: var(--leading-body);
}

.home-hero--editorial .home-hero__actions .button,
.home-hero--editorial .home-hero__actions .arrow-link {
  box-sizing: border-box;
  width: 100%;
  min-height: 3.2rem;
  justify-content: center;
  gap: 0;
  padding: 0.8rem 1rem;
  border: 1px solid var(--warm-gold);
  font-size: var(--type-ui);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.home-hero--editorial .home-hero__actions {
  display: grid;
  width: min(100%, 28rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.9rem;
}

.home-hero--editorial .home-hero__actions .arrow-link {
  color: var(--charcoal);
  background: transparent;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.home-hero--editorial .home-hero__actions .arrow-link:hover {
  color: var(--ivory);
  border-color: var(--charcoal);
  background: var(--charcoal);
}

@media (min-width: 64.0625rem) {
  .home-hero--editorial .home-hero__inner {
    align-items: stretch;
    padding-top: clamp(3.5rem, 5vw, 5rem);
    padding-bottom: clamp(3rem, 5vw, 5rem);
  }

  .home-hero--editorial .home-hero__copy {
    margin-left: 0;
  }
}

@media (min-width: 64.0625rem) and (max-width: 85rem) {
  .home-hero--editorial .home-hero__copy {
    width: min(100%, 34rem);
    padding: 2.35rem;
  }

  .home-hero--editorial h1 {
    font-size: var(--type-hero);
    line-height: 1.08;
  }
}

@media (min-width: 85.0625rem) {
  .home-hero--editorial .home-hero__copy {
    width: min(100%, 37rem);
    padding: 2.75rem;
  }

  .home-hero--editorial h1 {
    font-size: var(--type-hero);
  }
}

@media (max-width: 64rem) {
  .home-hero--editorial .home-hero__copy {
    width: min(100%, 36rem);
    margin-inline: auto;
  }
}

@media (max-width: 58rem) {
  .home-hero--editorial .home-hero__copy {
    width: 100%;
  }
}

@media (max-width: 44rem) {
  .home-hero--editorial .home-hero__copy {
    padding: clamp(1.5rem, 5vw, 1.9rem);
    border-radius: 1.15rem;
  }

  .home-hero--editorial h1 {
    font-size: var(--type-hero);
    line-height: 1.08;
  }

  .home-hero--editorial .home-hero__title-closing {
    white-space: normal;
  }
}

@media (max-width: 44rem) {
  .home-hero--editorial .home-hero__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .home-hero--editorial .home-hero__actions .button,
  .home-hero--editorial .home-hero__actions .arrow-link {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
}

@media (max-width: 30rem) {
  .home-hero--editorial .home-hero__copy {
    padding: 1.5rem;
  }

  .home-hero--editorial h1 {
    font-size: var(--type-hero);
    line-height: 1.08;
  }
}
