/* Theme defaults replace Hello Elementor's pink button states. */
:root,
body {
    --lidery-button-background: var(--e-global-color-primary, #4779bc);
    --lidery-button-hover: #2a3a5a;
    --lidery-button-foreground: #fff;
    --lidery-button-focus: #193654;
}

button,
[type="button"],
[type="submit"],
[type="reset"],
body .lidery-button,
body .cl-load-more-btn {
    padding: 12px 32px;
    border: 0;
    border-radius: 8px;
    background-color: var(--lidery-button-background);
    color: var(--lidery-button-foreground);
    font: 600 15px/1.5 Gilroy, Montserrat, sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .2s;
}

body .lidery-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

button:focus,
[type="button"]:focus,
[type="submit"]:focus,
[type="reset"]:focus,
body .lidery-button:focus,
body .cl-load-more-btn:focus {
    background-color: var(--lidery-button-background);
    color: var(--lidery-button-foreground);
}

button:hover,
button:active,
[type="button"]:hover,
[type="button"]:active,
[type="submit"]:hover,
[type="submit"]:active,
[type="reset"]:hover,
[type="reset"]:active,
body .lidery-button:hover,
body .lidery-button:active,
body .cl-load-more-btn:hover,
body .cl-load-more-btn:active {
    background-color: var(--lidery-button-hover);
    color: var(--lidery-button-foreground);
}

button:focus-visible,
[type="button"]:focus-visible,
[type="submit"]:focus-visible,
[type="reset"]:focus-visible,
body .lidery-button:focus-visible,
body .cl-load-more-btn:focus-visible {
    outline: 2px solid var(--lidery-button-focus);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    body .lidery-button,
    body .cl-load-more-btn {
        transition: none;
    }
}
