.homegrade-blocks-timeline { @apply max-w-screen-xl mx-auto my-32; .section_titling { @apply mb-9; } &__container { @apply relative; } &__lateral-cover { img { @apply rounded-3xl mb-3; } .description, .caption { @apply m-0 p-0; } .caption { @apply font-semibold text-primary text-sm; } &--squared { img { @apply h-auto object-cover object-center; aspect-ratio: 1/1; } } &--md { img { @apply w-full object-cover object-center; max-height: 450px; } } &--illustration { img { @apply w-full; max-height: 450px; } } } &--has-lateral-cover { .homegrade-blocks-timeline__container { @apply grid grid-cols-3 gap-12; } .homegrade-blocks-timeline__innercontent { @apply col-span-2; } .homegrade-blocks-timeline-step { @apply !block; } } &--has-step-icons { .homegrade-blocks-timeline__container { &:before { @apply rounded-3xl bg-secondary opacity-10 absolute top-0 h-full; z-index: -1; content: ''; top: 0; left: calc(33% + 54px); width: 34px; } } } &--has-no-step-pictures { } .homegrade-blocks-timeline-step { @apply grid grid-cols-3 gap-12 py-16; ul { list-style: none; } &__innercontent { @apply -mt-12; } &__cover { @apply max-w-md h-auto; border-radius: 22px; img { @apply rounded-3xl mb-3; } .description, .caption { @apply m-0 p-0; } .caption { @apply font-semibold text-primary text-sm; } } &__icon { @apply w-24 h-24 shrink-0 bg-white shadowed p-4 rounded-3xl flex justify-center items-center; img { @apply mx-auto object-contain; max-width: 80%; max-height: 80%; } } &__content { @apply col-span-2 flex gap-8; &--has-step-icon { &:before { content: ''; height: 100%; width: 2px; background: red; } } } &__title { @apply text-secondary font-bold text-xl m-0; } &__subtitle { @apply text-neutral-900 font-bold text-2xl; } } } .section_titling + .homegrade-blocks-timeline { @apply mt-12; }