/*
 * Critical visitor-only visibility rule. It is loaded in wp_head and no longer
 * depends on Elementor executing the widget's PHP render() method.
 * Editors and administrators never receive the elmfe-visitor body class.
 */
body.elmfe-visitor .gtwo-cont:not(.elmfe-open):not(.show) {
    display: none !important;
}


/* Editor and administrator modes remain editable even if an older plugin
 * left a generic display:none rule in the site's custom CSS. */
body.elmfe-unrestricted .gtwo-cont.e-grid {
    display: grid !important;
}
body.elmfe-unrestricted .gtwo-cont.e-con:not(.e-grid) {
    display: flex !important;
}
body.elmfe-unrestricted .gtwo-cont:not(.e-con):not(.e-grid) {
    display: block !important;
}

/* Button appearance (the target's flex/grid display is never overwritten). */
.elmfe-control {
    width: 100%;
    text-align: center;
}
.elmfe-button {
    display: inline-block;
    padding: 12px 26px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #151922;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.elmfe-button:hover {
    background: #333946;
    color: #fff;
}
.elmfe-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
.elmfe-editor-hint {
    margin-top: 8px;
    color: #687282;
    font-family: inherit;
    font-size: 12px;
}
