@use '../helpers/functions' as *; .leadership { padding-top: $spacer * 4; padding-bottom: $spacer * 5; background-color: $neutral-94; &__title { font-size: map-get($font-sizes, 4); line-height: pxToRem(48); text-align: center; color: $neutral-20; margin-bottom: $spacer * 2.5; } &__cards { max-width: pxToRem(882); margin: 0 auto; } &__card { padding: pxToRem(10); display: flex; flex-direction: column; justify-content: space-between; row-gap: $spacer; background-color: $neutral-98; } &__card-image { width: 100%; border-radius: pxToRem(6); } &__card-name { width: 100%; font-weight: bold; color: $neutral-20; text-align: center; margin-bottom: pxToRem(4); font-size: map-get($font-sizes-text, md); } &__card-position { width: 100%; margin: 0; color: $neutral-40; text-align: center; font-size: map-get($font-sizes-text, xs); } @include media-breakpoint-up(xl) { padding-top: $spacer * 5; padding-bottom: $spacer * 5; &__title { font-size: map-get($font-sizes, 2); line-height: pxToRem(67); margin-bottom: $spacer * 4; } &__cards { row-gap: pxToRem(30); } &__card { padding: $spacer; } } }