/* stylelint-disable */
@import "../../settings/includes/colors";
@import "../../settings/includes/breakpoints";

.c-hero-banner {
  width: 100%;
  display: flex;
  padding: 104px 2rem;
  justify-content: center;

  @media (min-width: $breakpoint-md) {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  &--cornflower--fiord {
    background: $Cornflower;
    color: $Fiord;
  }

  &--fiord--cornflower {
    background: $Fiord;
    color: $Cornflower;
  }

  &--mono--white {
    background-color: $Mono;
    color: $White;
  }

  &--mono-ten--demask {
    background-color: map-get($MonoPalette, 10);
    color: $Demask;
  }

  &--blush--goldenrod {
    background-color: $Blush;
    color: $Goldenrod;
  }

  &--mono-ten--paradiso {
    background-color: map-get($MonoPalette, 10);
    color: $Paradiso;
  }

  &--mono-twenty--sandy {
    background-color: map-get($MonoPalette, 20);
    color: $Sandy;
  }

  &__container {
    display: flex;
    max-width: 1200px;
    align-items: center;
    flex-direction: column;

    .c-hero-banner--reverse & {
      flex-direction: row-reverse;
    }

    @media (min-width: $breakpoint-md) {
      flex: 1;
      flex-direction: row;
      justify-content: space-between;

      .c-hero-banner--centered & {
        justify-content: center;
        text-align: center;
      }
    }
  }

  &__wrapper {
    &--content {
      max-width: 280px;

      @media (min-width: $breakpoint-md) {
        max-width: 540px;
        padding-right: 2rem;
        text-align: center;

        .c-hero-banner--reverse & {
          padding-right: 0;
          padding-left: 2rem;
        }
      }
    }

    &--media {
      img {
        max-width: 100%;
      }

      @media (min-width: $breakpoint-md) {
        padding-left: 2rem;

        .c-hero-banner--reverse & {
          padding-left: 0;
          padding-right: 2rem;
        }
      }
    }
  }
}
