/**
 * BridgeWP interactive component styles (theme layer).
 * Block-level CSS lives in bridgewp-core/blocks/*/style.css;
 * this file holds shared theme polish for accordion, tabs, modal,
 * carousel, gallery, stats, and testimonials.
 */

/* Accordion */
.bridgewp-accordion__trigger:focus-visible {
	outline: 2px solid var(--bridge-color-brand-primary, #2f5d50);
	outline-offset: 2px;
}

/* Tabs */
.bridgewp-tabs__tab:focus-visible {
	outline: 2px solid var(--bridge-color-brand-primary, #2f5d50);
	outline-offset: 2px;
}

/* Modal */
body.bridgewp-overlay-open {
	overflow: hidden;
}

.bridgewp-modal:focus {
	outline: none;
}

/* Carousel / slideshow shared */
[data-bridgewp-carousel] [data-bridgewp-carousel-track] {
	will-change: transform;
}

/* Gallery */
.bridgewp-gallery__figure {
	margin: 0;
}

/* Stats */
.bridgewp-stats__item:focus-within {
	outline: none;
}

/* Testimonials */
.bridgewp-testimonials__quote::before {
	content: none;
}
