@use '../helpers/functions' as *; .recommendations-api { position: relative; padding-top: $spacer * 4; padding-bottom: $spacer * 4; background-color: $neutral-10; overflow: hidden; &__content { margin-bottom: $spacer * 2.5; z-index: 1; } &__title { font-size: $spacer * 2; line-height: pxToRem(38); margin-bottom: $spacer * 2; color: $neutral-98; } &__description { font-size: pxToRem(18); line-height: pxToRem(27); margin-bottom: $spacer * 2; color: $neutral-70; } &__preview { z-index: 1; img { width: 100%; } } @include media-breakpoint-up(xl) { padding-top: $spacer * 7.5; padding-bottom: $spacer * 7.5; &__content { margin-bottom: 0; padding-right: $spacer * 7; } &__title { font-size: $spacer * 3; line-height: pxToRem(57); } &__description { font-size: pxToRem(20); line-height: pxToRem(30); } &__preview { height: pxToRem(360); padding-bottom: 0; } } }