#crisis-simulator {
    background-color: var(--wp--preset--color--secondary);
    position: relative;
    overflow: hidden;

    /* Cuadrícula secundaria fina (Minor Grid) */
    &::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(to top, color-mix(in srgb, var(--wp--preset--color--contrast) 6%, transparent) 1px, transparent 1px),
            linear-gradient(to right, color-mix(in srgb, var(--wp--preset--color--contrast) 6%, transparent) 1px, transparent 1px);
        background-size: 30px 30px;
        background-position: center top;
        z-index: 1;
        pointer-events: none;

        /* Máscara de transparencia de arriba a abajo */
        mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
        -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    }

    /* Cuadrícula principal más gruesa (Major Grid) */
    &::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(to top, color-mix(in srgb, var(--wp--preset--color--contrast) 12%, transparent) 1.5px, transparent 1.5px),
            linear-gradient(to right, color-mix(in srgb, var(--wp--preset--color--contrast) 12%, transparent) 1.5px, transparent 1.5px);
        background-size: 150px 150px;
        background-position: center top;
        z-index: 1;
        pointer-events: none;

        /* Máscara de transparencia de arriba a abajo */
        mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
        -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    }


    & .content {
        display: grid;
        gap: 3rem;

        & .data {
            & .title-section {
                margin-bottom: clamp(2rem, 3vw, 3rem);
            }
        }

        & .container {
            z-index: 4;
            display: grid;
            grid-template-rows: 1fr auto;
            box-shadow: var(--wp--preset--shadow--post-shadow-light);
            overflow: hidden;
            aspect-ratio: 21 / 9;
            position: relative;

            & .btn {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                z-index: 6;

                &.primary {
                    background-color: var(--wp--preset--color--focus);
                }
            }

            & .post__overlay {
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 4rem;
                box-shadow: rgba(0, 0, 0, .15) 0 -2px 0 inset;
                z-index: 2;
                transition: transform .3s ease .3s;
            }

            & .slideshow--wrapper {
                width: 100%;
                height: 100%;
                overflow: hidden;
                color: var(--wp--preset--color--contrast);
                position: relative;
                z-index: 5;

                & .slideshow {
                    height: 100%;
                    display: flex;

                    & .about-item {
                        opacity: 1;

                        &.active {
                            & .about-content {
                                opacity: 1;
                                filter: blur(0);
                                transition: opacity .3s ease-in, transform .3s ease-in, filter .3s ease-in;
                            }
                        }

                        & .about-content {
                            opacity: 0;
                            filter: blur(4px);
                            overflow: hidden;
                            transition: opacity .3s ease-in, transform .3s ease-in, filter .3s ease-in;

                            & .size-full {
                                width: 100%;
                                height: auto;
                            }
                        }
                    }
                }
            }

            & .slideshow-bullets-wrapper {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: .5rem;
                z-index: 5;
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;

                & .btn-pagination {
                    background-color: transparent;
                    color: var(--wp--preset--color--base);
                    opacity: .5;
                    transition: opacity .3s ease, transform .3s ease;

                    &:hover {
                        background-color: transparent;
                        opacity: 1;
                    }
                }

                & .slideshow-bullets {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 20px;

                    & .bullet {
                        width: 13px;
                        height: 13px;
                        border-radius: 50%;
                        background-color: transparent;
                        border: 2px solid var(--wp--preset--color--base);
                        transition: background-color .3s ease;

                        &.active {
                            background-color: var(--wp--preset--color--base);
                        }
                    }
                }
            }
        }
    }
}

@media (width >=768px) {
    #crisis-simulator {
        & .content {
            grid-template-columns: clamp(300px, 128px + 16.8vw, 450px) 1fr;
        }
    }
}