/* De rij van vier onder de eerste donkere sectie, en de losse
   kanaalblokken daaronder. */

@layer components {
  .feature-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    padding: var(--space-s);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-card);
  }

  .grid-cards .feature-card {
    height: 100%;
  }

  .feature-card__visual {
    display: grid;
    align-content: end;
    min-height: 9rem;
    padding: var(--space-s);
    border-radius: var(--radius-s);
    background: linear-gradient(160deg, #f6f4fe 0%, #ede9fe 100%);
  }

  .feature-card h3 {
    font-size: var(--step-1);
    font-weight: 700;
  }

  .feature-card p {
    color: var(--color-muted);
    font-size: var(--step--1);
  }

  .feature-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: var(--space-2xs);
  }

  .feature-card .link-arrow {
    margin-block-start: auto;
    font-size: var(--step--1);
  }

  .section--dark .feature-card {
    border-color: rgb(255 255 255 / 0.1);
    background: rgb(255 255 255 / 0.04);
    box-shadow: none;
    color: #ffffff;
  }

  .section--dark .feature-card p {
    color: rgb(255 255 255 / 0.65);
  }

  .section--dark .feature-card__visual {
    background: linear-gradient(160deg, rgb(124 58 237 / 0.35) 0%, rgb(6 182 212 / 0.22) 100%);
  }

  /* Kanaalblok: tekst naast een stukje product, om en om. */
  /* De kop van een channel-blok en het bijbehorende beeld beginnen op
     dezelfde hoogte; centreren maakte korte tekstblokken zwevend. */
  .channel {
    display: grid;
    gap: var(--space-l);
    align-items: start;
    padding-block: var(--space-xl);
    border-block-start: 1px solid var(--color-line);
  }

  .channel:first-of-type {
    border-block-start: 0;
  }

  .channel h3 {
    font-size: var(--step-2);
    font-weight: 700;
  }

  .channel p {
    color: var(--color-muted);
  }

  .channel__text {
    display: grid;
    gap: var(--space-s);
    justify-items: start;
  }

  .channel__list {
    display: grid;
    gap: var(--space-2xs);
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--color-muted);
    font-size: var(--step--1);
  }

  .channel__list li {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
  }

  .channel__list li::before {
    content: '✓';
    color: var(--color-mint);
    font-weight: 700;
  }

  @media (min-width: 56rem) {
    .channel {
      grid-template-columns: 1fr 1fr;
      gap: var(--space-2xl);
    }

    .channel--flip .channel__text {
      order: 2;
    }
  }
}
