/* Approved site-wide component corners, 4 September 2026.
 * Only card/panel surfaces and buttons: full-width sections, photography,
 * branding tokens and WordPress administration controls remain unchanged.
 * Shared with the editor so independently reused cards retain this treatment.
 */
:is(.wbs-card, .is-style-wbs-card, .wbs-mockup-card,
    .wbs-course-card, .wbs-profile-card, .wbs-testimonial-card,
    .wbs-award-card, .wbs-logo-card, .wbs-contact-card,
    .wbs-panel, .is-style-wbs-panel, .is-style-wbs-panel-tinted,
    .wbs-enquiry-form) {
    border-radius: 4px !important;
}

:where(body:not(.wp-admin), .editor-styles-wrapper)
:is(button, input[type="button"], input[type="submit"], input[type="reset"],
    .button, .wp-element-button, .wp-block-button__link, .wbs-button,
    .wbs-menu-toggle, .wbs-header-search__toggle,
    .wbs-primary-navigation .menu-item:last-child > a) {
    border-radius: 4px !important;
}

/* Arrow controls stay unboxed; rounding must not add a visible surface. */
.wbs-slider-controls button,
.wbs-slider-controls button:is(:hover, :active, :focus, :disabled),
#ast-scroll-top,
#ast-scroll-top:is(:hover, :active, :focus) {
    border-radius: 4px !important;
}
