div#usa-map--wrapper .state {
    cursor: pointer;
}

#usa-map--wrapper .state-content {
    /* border: 1px solid var(--wp--preset--color--accent-3); */
    background-color: white;
    min-height: 180px;
    max-width: 100%;
    width: 320px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    opacity: 0;
}

#usa-map--wrapper .state-content.active {
    position: absolute;
    opacity: 1;
    animation: openModal 0.5s;
}

#usa-map--wrapper .state-content .modal-header {
    background-color: var(--wp--preset--color--contrast-3);
    padding: 10px;
}

#usa-map--wrapper .state-content .card-body {
    padding: 10px;
}

#usa-map--wrapper .state-content .modal-header .button__link {
    display: inline-block;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
}

@keyframes openModal {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#usa-map--wrapper>svg {
    max-width: 100%;
    height: auto;
}

#usa-map--wrapper>svg .state:hover path {
    fill: var(--wp--preset--color--accent-3);
}

#usa-map--wrapper>svg .state:hover .state-name path {
    fill: black;
}

#usa-map--wrapper>svg .state:hover path {
    fill: var(--wp--preset--color--accent-3);
}