/* Minimal readable defaults for brochure-style pages (static_pages,
   company_pages) whose body copy is staff-managed HTML from PageAsset.
   03_reset.css zeroes all spacing/list-style, so this is the minimum
   needed to make that copy legible — not a themed design pass. */

.content-page {

  .page-heading {
    font-size: var(--font-size-8);
    font-weight: 700;
    margin-bottom: var(--space-5);
  }

  .rich-text {
    max-width: 65ch;

    p, ul, ol, blockquote {
      margin-bottom: 1em;
      line-height: 1.6;
    }

    ul, ol {
      padding-left: 1.25em;
    }

    ul {
      list-style: disc;
    }

    ol {
      list-style: decimal;
    }

    blockquote {
      padding-left: 1em;
      border-left: 2px solid var(--color-black);
    }

    strong {
      font-weight: 700;
    }

    em {
      font-style: italic;
    }
  }

  .job-listing {
    margin-bottom: var(--space-6);
  }

  &.partners {

    .intro {
      width: 400px;
      margin-bottom: var(--space-6);
      font-size: var(--font-size-3);

      .eyebrow {
        font-size: var(--font-size-3);
        font-weight: 700;
      }
    }

    .partner-list {
      li {
        @media (prefers-reduced-motion: no-preference) {
          animation: partner-reveal 250ms ease-out var(--reveal-delay, 0s) both;
        }
      }

      a {
        display: inline-block;
        padding-block: 2px;
        font-size: var(--font-size-8);
        line-height: 1.25;
        color: var(--color-black);
        text-decoration: none;
        transition: color 250ms ease;

        &:hover {
          color: var(--color-text-primary-hover);
        }

        @media (min-width: 62rem) {
          font-size: var(--font-size-9);
        }
      }
    }

  }

  &.retail-partners {

    .hero {
      margin-bottom: var(--space-7);
    }

    .listing {
      display: grid;
      gap: var(--space-5);

      @media (min-width: 62rem) {
        grid-template-columns: 1fr 3fr;
      }
    }

    .intro {
      font-size: var(--font-size-3);
      color: var(--color-black);

      .eyebrow {
        font-size: var(--font-size-3);
        font-weight: 700;
      }
    }

    .partner-list {
      column-gap: var(--space-5);

      @media (min-width: 48rem) {
        columns: 2;
      }

      @media (min-width: 62rem) {
        columns: 3;
      }

      li {
        break-inside: avoid;
        margin-bottom: var(--space-2);
      }

      a {
        color: var(--color-black);
        text-decoration: none;
        transition: color 250ms ease;

        &:hover {
          color: var(--color-text-primary-hover);
        }
      }
    }

  }

}

@keyframes partner-reveal {
  from {
    opacity: 0;
    translate: 0 24px;
  }
}
