@use '../helpers/functions' as *; .qdrant-cloud-bento-cards { background-color: $neutral-94; padding-bottom: $spacer * 4; &__cards { gap: $spacer * 2; & > div:nth-of-type(1), & > div:nth-of-type(3) { img { max-width: pxToRem(255); } } } &__card { padding-bottom: 0; &-title { font-size: $spacer * 1.5; line-height: pxToRem(34); margin-bottom: pxToRem(12); color: $neutral-20; } &-description { margin-bottom: 0; color: $neutral-40; } img { display: block; margin: $spacer auto 0 auto; width: 100%; height: auto; object-fit: contain; } .link { margin-top: pxToRem(12); } } @include media-breakpoint-up(lg) { padding-bottom: $spacer * 5; &__cards { justify-content: space-between; column-gap: 0; & > div:nth-of-type(1), & > div:nth-of-type(3) { width: calc(25% - 3px); img { max-width: 100%; } } & > div:nth-of-type(2) { width: calc(50% - 6px); } & > div:nth-of-type(4), & > div:nth-of-type(5) { width: calc(50% - 3px); } } &__card { display: flex; flex-direction: column; justify-content: flex-start; padding-bottom: 0; img { margin-top: auto; } .link { margin-top: pxToRem(12); } } } }