.wp-block-cover {
    &.is-style-view-height {
        --offset: 80px;

        max-height: 1024px;
        height: calc(100dvh - var(--offset));

        @media (width < 1220px) {
            --offset: 65px;
        }
    }

    &.is-style-image-with-label {
        align-items: flex-start;
        justify-content: flex-start;
        align-items: stretch;

        .wp-block-cover__inner-container {
            display: grid;

            > * {
                &:last-child {
                    align-self: end;
                }
            }
        }
    }

    &.is-style-center-align-content {
        align-items: center;
    }
}
