/*
 * @file
 * Styles for text component.
 */

.text {
  max-width: var(--text-max-width, none);
  text-box: inherit;

  p {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    font-family: inherit;
    color: inherit;
  }
}

.text--centered {
  margin-inline: auto;
  text-align: center;

  ul,
  ol,
  li {
    width: fit-content;
    margin-inline: auto;
  }
}

/* 
 *  SSG Overrides
 */

/* Tagline and Positioning */
.ssg-tagline h2,
.ssg-page-intro h2 {
  color: var(--color-primary);
}

.ssg-tagline p,
.text.ssg-page-intro p {
  font-size: 1.1rem;
  line-height: 1.1;
  letter-spacing: 0.002em;

  @media (width > 500px) {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  @media (width > 1200) {
    font-size: 1.8rem;
    line-height: 1.8;
  }
}

