/* Public button palette: matte black with white labels, requested by the owner. */
body:not(.wp-admin) :is(button, input[type=submit], input[type=button], input[type=reset], a[class*="button"], a[class*="btn"], a[class*="cta"], .wp-element-button, .jd2-mobile-actions a, .jdl-mobile-sticky a, .jd2-file-control__button, .jd2-photo-expand) {
    background: #171717 !important;
    color: #fff !important;
    border-color: #171717 !important;
    box-shadow: none;
    text-shadow: none;
}
body:not(.wp-admin) :is(button, input[type=submit], input[type=button], input[type=reset], a[class*="button"], a[class*="btn"], a[class*="cta"], .wp-element-button, .jd2-mobile-actions a, .jdl-mobile-sticky a, .jd2-file-control__button, .jd2-photo-expand):hover {
    background: #303030 !important;
    color: #fff !important;
    border-color: #303030 !important;
}
body:not(.wp-admin) :is(button, input[type=submit], input[type=button], input[type=reset], a[class*="button"], a[class*="btn"], a[class*="cta"], .wp-element-button, .jd2-mobile-actions a, .jdl-mobile-sticky a):focus-visible {
    outline: 2px solid #171717;
    outline-offset: 3px;
    box-shadow: 0 0 0 3px #fff;
}
/* Photo selection is a quieter gray control within the light gray forms. */
body:not(.wp-admin) .jd2-form .jd2-file-control__button,
body:not(.wp-admin) input[type=file]::file-selector-button {
    background: #d6d8db !important;
    color: #25272a !important;
    border-color: #d6d8db !important;
}
body:not(.wp-admin) .jd2-form .jd2-file-control:hover .jd2-file-control__button,
body:not(.wp-admin) input[type=file]:hover::file-selector-button {
    background: #c8cbd0 !important;
    color: #25272a !important;
    border-color: #c8cbd0 !important;
}
body:not(.wp-admin) .jd2-form input:not([type=submit]):not([type=button]):not([type=reset]),
body:not(.wp-admin) .jd2-form textarea,
body:not(.wp-admin) .jd2-form select,
body:not(.wp-admin) .jd2-file-control {
    background: #fff;
    color: #25272a;
}
body:not(.wp-admin) .jd2-menu-button span:not(.screen-reader-text) { background: #fff; }
body:not(.wp-admin) .jd2-filters button.is-active { text-decoration: underline; text-underline-offset: 4px; }
