/* Inner container */
.hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

/* Heading */
.hero-home__heading {
  hyphens: auto;
  hyphenate-limit-chars: auto 3;
  hyphenate-limit-lines: 4;
}

/* Lede text */
.hero__lede {
  max-width: 75ch;
  font-size: var(--text-l);
}

/* Link wrapper — 3-column grid: left-link | separator | right-link */
.hero__link-wrapper {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  justify-content: center;
  align-items: center;
  gap: var(--space-s);
}

/* Links */
.hero__link {
  font-size: var(--text-l);
  --link-weight: 500;
}

.hero__link--left {
  justify-self: end;
}

.hero__link--right {
  justify-self: start;
}

/* Dot separator icon */
.hero__link-separator {
  justify-self: center;
  align-self: center;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
}

@media (max-width: 768px) {
  .hero__link-wrapper {
    grid-auto-flow: initial;
    grid-template-columns: var(--grid-1);
  }

  .hero__link--left,
  .hero__link--right {
    justify-self: center;
  }

  .hero__link-separator {
    display: none;
  }
}
