.wp-block-casa-banner {

    .image-container {
        position: relative;
        width: 100%;
        aspect-ratio: 0.64;

        @media (min-width: 768px) {
            aspect-ratio: 1.85;
        }

        img {
            width: 100%;
            aspect-ratio: 0.64;
            object-fit: cover;

            @media (min-width: 768px) {
                aspect-ratio: 1.85;
            }
        }
    }

    &.short {

        .image-container {
            aspect-ratio: 0.93;

            @media (min-width: 768px) {
                aspect-ratio: 3.25;
            }

            img {
                aspect-ratio: 0.93;

                @media (min-width: 768px) {
                    aspect-ratio: 3.25;
                }
            }
        }
    }

    .overlay {
        position: absolute;
        z-index: 3;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(245deg, rgba(0, 0, 0, 0.00) 34.26%, #082583 93.66%), linear-gradient(3deg, rgba(0, 0, 0, 0.00) 14.17%, rgba(46, 64, 87, 0.80) 92.42%);
    }

    .headline-container {
        position: absolute;
        z-index: 5;
        left: 10%;
        bottom: 80px;
        width: var(--mobile-width);

        @media (min-width: 768px) {
            left: 11%;
            bottom: 120px;
            width: 60%;
        }

        .subheader {
            margin-bottom: 12px;
            color: var(--Light-Yellow, #F7CE93);
            font-size: 0.75rem;
            font-style: normal;
            font-weight: 700;
            line-height: 164%;
            color: var(--wp--preset--color--sun);

            @media (min-width: 1024px) {
                font-size: 1.125rem;
            }
        }

        .headline {
            font-size: 2.25rem;
            font-style: normal;
            font-weight: 700;
            line-height: 115%;
            color: #FFF;

            @media (min-width: 1024px) {
                font-size: 4rem;
            }

            span {
                color: var(--wp--preset--color--sun);
            }
        }

        .body {
            margin-top: 12px;
            font-size: 0.875rem;
            font-style: normal;
            font-weight: 500;
            line-height: 164%;
            color: #fff;

            @media (min-width: 1024px) {
                font-size: 1rem;
            }
        }

        &.has-pillars {
            left: 50%;
            top: 100px;
            bottom: auto;
            transform: translateX(-50%);

            @media (min-width: 768px) {
                width: var(--desktop-width);
            }

            .headline {
                width: 60%;
            }
        }
    }

    &.short {

        .headline-container {

            @media (min-width: 768px) {
                bottom: 63px;
            }
        }
    }

    .pillars {
        display: grid;
        grid-template-columns: 1fr;
        gap: 29px;
        margin-top: 56px;

        @media (min-width: 1024px) {
            grid-template-columns: repeat(3, 1fr);
        }

        .pillar {
            flex: 1;
            background: #fff;
            border: 1px solid var(--wp--preset--color--clouds);

            .inner-container {
                padding: 25px 32px;
            }

            .title {
                font-size: 1.125rem;
                font-style: normal;
                font-weight: 700;
                line-height: 135%;
                color: var(--wp--preset--color--blue);

                @media (min-width: 1024px) {
                    font-size: 1.625rem;
                }
            }

            .body {
                font-size: 0.875rem;
                font-style: normal;
                font-weight: 500;
                line-height: 164%;
                color: var(--wp--preset--color--grey);

                @media (min-width: 1024px) {
                    font-size: 1rem;
                }
            }
        }
    }
}
