.featuredBlock {
  background: var(--color-background-secondary);
  margin: calc(var(--spacing-sitepadding-block)*2) 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  &[data-background-color="deepBrick"] {
    background-color: var(--color-deepBrick);
  }

  &[data-background-color="neufPink"] {
    background-color: var(--color-neufPink);
  }

  &[data-background-color="goldenOrange"] {
    background-color: var(--color-goldenOrange);
    color: var(--color-deepBrick);
  }

  &[data-background-color="goldenBeige"] {
    background-color: var(--color-goldenBeige);
  }

  &[data-background-color="chateauBlue"] {
    background-color: var(--color-chateauBlue);
    color: var(--color-betongGray);
  }

  &:nth-of-type(even) {
    .text {
      order: 2;
    }

    .image {
      order: 1;
    }
  }
}

.text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--spacing-gap-row);
  padding: var(--spacing-l);

  h2 {
    font-size: var(--font-size-h2);
  }

  a {
    font-family: var(--font-serif);
    font-size: var(--font-size-lead);
    font-style: italic;
    text-decoration: none;
  }
}

.image {
  width: 100%;
  padding-top: 60%;
  position: relative;

  img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.placeholderImage {
  width: 100%;
  padding-top: 60%;
  background: var(--color-placeholder);
}

@media (max-width: 800px) {
  .featuredBlock {
    grid-template-columns: 1fr;

    .text {
      order: 2;
    }
  }
}