/* --- Block Portfolio
-------------------------------------------------------- */

.wp-block-heading-has-columns {
    max-width: 730px;
}


.wp-block-portfolio .wp-block-cover {
    min-height: 280px;
    height: 100%;

    .wp-block-cover__background {
        opacity: 0 !important;
        transition: all 0.4s;
    }

    .wp-block-cover__image-background {
        transition: all 0.4s;
    }

    .wp-block-cover__inner-container.wp-block-cover__inner-container {
        position: static;
    }

    &:hover {
        .wp-block-portfolio-title {
            opacity: 1;
            visibility: visible;
        }

        .wp-block-cover__background.has-background-dim-10 {
            opacity: 0.1 !important;

        }

        .wp-block-cover__background.has-background-dim-20 {
            opacity: 0.2 !important;

        }

        .wp-block-cover__background.has-background-dim-30 {
            opacity: 0.3 !important;

        }

        .wp-block-cover__background.has-background-dim-40 {
            opacity: 0.4 !important;

        }

        .wp-block-cover__background.has-background-dim-50 {
            opacity: 0.5 !important;

        }

        .wp-block-cover__background.has-background-dim-60 {
            opacity: 0.6 !important;

        }

        .wp-block-cover__background.has-background-dim-70 {
            opacity: 0.7 !important;

        }

        .wp-block-cover__background.has-background-dim-80 {
            opacity: 0.8 !important;

        }

        .wp-block-cover__background.has-background-dim-90 {
            opacity: 0.9 !important;

        }
    }

    .wp-block-portfolio-title {
        position: absolute;
        top: 30px;
        left: 30px;
        right: 30px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s;

        a {
            font-size: var(--wp--preset--font-size--entry-title);
            font-family: var(--wp--preset--font-family--gelasio);
            font-weight: var(--wp--custom--typography--font-weight--bold);
            text-decoration: none;
            line-height: var(--wp--custom--typography--line-height--heading-four);
        }
    }
}

.wp-block-group-heading+figure.wp-block-image.alignleft.size-full {
    margin-inline-end: 0;
}