.seo-related-guides {
  width: min(1120px, calc(100% - 32px));
  margin: 32px auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(7, 12, 24, 0.82);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
  color: #f7f9ff;
}

.seo-related-guides h2 {
  margin: 0 0 14px;
  color: inherit;
  font: 800 clamp(1.05rem, 2vw, 1.3rem)/1.2 system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.seo-related-guides__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-related-guides a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: inherit;
  font: 700 0.92rem/1.2 system-ui, sans-serif;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.seo-related-guides a:hover,
.seo-related-guides a:focus-visible {
  transform: translateY(-2px);
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.13);
}

/* Long character guides render their below-the-fold sections on demand. */
@supports (content-visibility: auto) {
  main > section:not(:first-child) {
    content-visibility: auto;
    contain-intrinsic-size: auto 720px;
  }
}

@media (max-width: 600px) {
  .seo-related-guides {
    width: calc(100% - 20px);
    margin: 22px auto;
    padding: 17px;
    border-radius: 15px;
  }

  .seo-related-guides__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-related-guides a {
    justify-content: center;
    padding-inline: 10px;
    text-align: center;
  }
}
