.sanomart-logo-carousel {
	margin: 1rem 0 1.5rem;
}

.sanomart-logo-carousel__inner {
	background: #f3f4f6;
	border-radius: 0.5rem;
	padding: 0.75rem 0.5rem;
	display: grid;
	grid-template-columns: 44px 1fr 44px;
	gap: 0.5rem;
	align-items: center;
}

.sanomart-logo-carousel__viewport {
	overflow: hidden;
	width: 100%;
}

.sanomart-logo-carousel__track {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	transition: transform 0.4s ease;
	will-change: transform;
}

.sanomart-logo-carousel__item {
	flex: 0 0 auto;
	width: clamp(92px, 14vw, 160px);
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px 6px;
	box-sizing: border-box;
}

.sanomart-logo-carousel__item img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center center;
	display: block;
}

.sanomart-logo-carousel__arrow {
	width: 40px;
	height: 40px;
	border: 1px solid #c7ced8;
	border-radius: 999px;
	background: #fff;
	color: #7a8699;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	line-height: 1;
	flex-shrink: 0;
}

.sanomart-logo-carousel__arrow:hover {
	color: var(--sanomart-primary, #283b91);
	border-color: var(--sanomart-primary, #283b91);
}

.sanomart-logo-carousel__arrow:disabled,
.sanomart-logo-carousel__arrow[hidden] {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

@media (max-width: 767px) {
	.sanomart-logo-carousel__inner {
		grid-template-columns: 36px 1fr 36px;
		padding: 0.6rem 0.35rem;
	}

	.sanomart-logo-carousel__arrow {
		width: 34px;
		height: 34px;
		font-size: 18px;
	}

	.sanomart-logo-carousel__track {
		gap: 0.75rem;
	}

	.sanomart-logo-carousel__item {
		width: 96px;
		height: 56px;
	}
}
