/**
 * Brands Carousel — Swiper logo strip
 *
 * Matches the Figma design: Eventure > node 102:282
 */

/* ---- Section wrapper ---- */
.brands-carousel-section {
	position: relative;
	overflow: hidden;
}

/* ---- Swiper container ---- */
.brands-carousel.swiper {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 2rem;
}

/* ---- Slide ---- */
.brands-carousel .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;
}

/* ---- Multi-row grid inside each slide ---- */
.brands-carousel--rows-2 .swiper-slide {
	flex-direction: column;
	gap: 2rem;
}

/* ---- Logo image ---- */
.brands-carousel-logo {
	max-height: 60px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	display: block;
	filter: grayscale(100%);
	opacity: 0.7;
	transition:
		filter 0.3s ease,
		opacity 0.3s ease;
}

.brands-carousel-logo:hover {
	filter: grayscale(0%);
	opacity: 1;
}

/* ---- Navigation arrows ---- */
.brands-carousel-section .swiper-button-prev,
.brands-carousel-section .swiper-button-next {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background-color: var(--wp--preset--color--violet-900);
	color: var(--wp--preset--color--white);
}

.brands-carousel-section .swiper-button-prev::after,
.brands-carousel-section .swiper-button-next::after {
	font-size: 1rem;
	font-weight: 700;
}

/* ---- Pagination bullets ---- */
.brands-carousel-section .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background-color: var(--wp--preset--color--violet-200);
	opacity: 1;
}

.brands-carousel-section .swiper-pagination-bullet-active {
	background-color: var(--wp--preset--color--violet-900);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
	.brands-carousel-section {
		padding: 1.5rem 0;
	}

	.brands-carousel-logo {
		max-height: 40px;
	}
}
