/* =========================================================
   Ron Logos Carousel — Frontend Styles
   All selectors are prefixed with .ron_ / #ron_ to avoid
   conflicts with themes and other plugins.
   ========================================================= */

.ron_logos_wrapper {
	position: relative;
	--ron-columns: 6;
	--ron-space-between: 40px;
	padding: 10px 56px;
	box-sizing: border-box;
}

.ron_logos_wrapper * {
	box-sizing: border-box;
}

.ron_logos_title {
	margin: 0 0 32px;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	color: #1b1b1b;
}

.ron_logos_swiper {
	width: 100%;
	overflow: hidden;
}

.ron_logos_swiper_wrapper {
	align-items: center;
}

.ron_logo_slide {
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ron_logo_item {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.25s ease;
}

.ron_logo_link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ron_logo_img {
	max-height: 90px;
	max-width: 100%;
	width: auto;
	object-fit: contain;
	transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Grayscale mode: logos appear desaturated by default and
   gain full color on hover / focus. */
.ron_logos_wrapper.ron_grayscale .ron_logo_img {
	filter: grayscale(100%);
	opacity: 0.75;
}

.ron_logos_wrapper.ron_grayscale .ron_logo_item:hover .ron_logo_img,
.ron_logos_wrapper.ron_grayscale .ron_logo_item:focus-within .ron_logo_img {
	filter: grayscale(0%);
	opacity: 1;
}

/* -------------------- Continuous / marquee scroll -------------------- */

.ron_logos_wrapper.ron_continuous_active .ron_logos_swiper .swiper-wrapper {
	transition-timing-function: linear !important;
}

/* -------------------- Arrows -------------------- */

.ron_arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	line-height: 40px;
	border-radius: 50%;
	background-color: #8a8f98;
	color: #ffffff;
	text-align: center;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease, opacity 0.2s ease;
	z-index: 2;
	user-select: none;
}

.ron_arrow:hover {
	background-color: #6d7178;
}

.ron_arrow_icon {
	font-size: 20px;
	line-height: 1;
}

.ron_arrow_prev {
	left: 0;
}

.ron_arrow_next {
	right: 0;
}

.ron_arrow.ron_arrow_disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

/* -------------------- Pagination Dots -------------------- */

.ron_pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 28px;
}

.ron_pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #d6d9de;
	opacity: 1;
	margin: 0;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.ron_pagination .swiper-pagination-bullet-active {
	background-color: #2b2f36;
	transform: scale(1.15);
}

/* -------------------- Responsive -------------------- */

@media (max-width: 1024px) {
	.ron_logos_wrapper {
		padding: 10px 48px;
	}
}

@media (max-width: 767px) {
	.ron_logos_wrapper {
		padding: 10px 40px;
	}

	.ron_logos_title {
		font-size: 24px;
	}

	.ron_arrow {
		width: 32px;
		height: 32px;
		line-height: 32px;
	}

	.ron_arrow_icon {
		font-size: 16px;
	}
}
