@use '../../00-settings/settings' as *;
@use '../../00-mixins/mixins' as *;

.highlight {
  position: relative;
  z-index: 0;

  .highlight__inner {
    @include theme('background-color', 'color-tertiary-light', 'highlight-background');
    @include theme-content('color-tertiary-pastel', 'highlight-shadow-color') {
      @include abstract-shadow('bottom', 'right', $theme-color, null, 190px, 190px);

      @include phablet {
        @include abstract-shadow('bottom', 'right', $theme-color, null, 220px, 220px);
      }
    }

    padding: 30px;

    @include tablet {
      padding: 60px;
    }

    & > i {
      @include theme('color', 'color-tertiary', 'highlight-icon-color');

      display: inline-block;
      width: 40px;
      height: 40px;
      vertical-align: top;

      &::before {
        display: block;
        margin: 0 8px 0 0;
        font-size: 2rem;
      }
    }

    h2,
    h3 {
      display: inline-block;
      margin: 0 0 20px;
      vertical-align: top;
    }

    p:first-of-type {
      margin-top: 0;
    }

    > *:last-child {
      margin-bottom: 0;
    }
  }
}
