.wp-caption:has(> img) {
    max-width: 100%;
}

.isolate {
    isolation: isolate;
}

.split-hover {
    * {
        transition: all 0.35s ease-in-out;
    }
    &:hover,
    &:focus {
        svg {
            transform: translateY(-5px);
            transition: all 0.35s ease-in-out;
        }

        .item_icon_title,
        .page_content {
            transform: translateY(5px);
            transition: all 0.35s ease-in-out;
        }
    }
}

.card {
    border-radius: 1rem;
    padding: 0.5rem 1rem;

    &.card-lg {
        padding: 1.5rem;
    }

    &.card-primary {
        background-color: #4633ff;
        color: var(--wp--preset--color--white);

        &.bordered {
            border-color: #4633ff;
            background: transparent;
            transition: all 0.35s ease-in-out;

            &:hover,
            &:focus {
                background-color: #4633ff;
                transform: translateY(-5px);
                transition: all 0.35s ease-in-out;

                .item_icon_title {
                    color: white;
                }
            }
        }

        .item_icon_title {
            color: #4633ff;
        }
    }

    &.card-green {
        background-color: #10cf7d;
        color: var(--wp--preset--color--white);
    }

    &.card-red {
        background-color: #ac3a25;
        color: var(--wp--preset--color--white);
    }

    &.card-yellow {
        background-color: #ffc914;
        color: #1c242c;
    }

    &.bordered {
        border: 1px solid var(--wp--preset--color--cyan-bluish-gray);
    }

    .item_icon_title {
        margin-top: 0;
        min-height: unset;
    }
}

.elm_svg {
    .glow-small {
        -webkit-filter: drop-shadow(0 0 1px #4633ff)
            drop-shadow(0 0 5px #4633ff);
        filter: drop-shadow(0 0 1px #4633ff) drop-shadow(0 0 5px #4633ff);
    }
}
