.nwbc-carousel {
	--nwbc-gap: 18px;
	--nwbc-desktop-slides: 5;
	--nwbc-slides: var(--nwbc-desktop-slides);
	position: relative;
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 42px;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 24px 0;
}

.nwbc-viewport {
	overflow: hidden;
	width: 100%;
}

.nwbc-track {
	display: flex;
	gap: var(--nwbc-gap);
	transform: translate3d(0, 0, 0);
	transition: transform 260ms ease;
	will-change: transform;
}

.nwbc-slide {
	flex: 0 0 calc((100% - (var(--nwbc-gap) * (var(--nwbc-slides) - 1))) / var(--nwbc-slides));
	min-width: 0;
}

.nwbc-brand {
	display: flex;
	min-height: 132px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 12px;
	padding: 18px;
	border: 1px solid rgba(20, 24, 28, 0.12);
	border-radius: 8px;
	background: #fff;
	color: inherit;
	text-align: center;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nwbc-brand:hover,
.nwbc-brand:focus-visible {
	border-color: rgba(20, 24, 28, 0.28);
	box-shadow: 0 8px 24px rgba(20, 24, 28, 0.08);
	transform: translateY(-2px);
	outline: none;
}

.nwbc-image-wrap {
	display: flex;
	width: 100%;
	height: 72px;
	align-items: center;
	justify-content: center;
}

.nwbc-brand-image {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 72px;
	object-fit: contain;
}

.nwbc-brand-placeholder {
	display: inline-flex;
	width: 72px;
	height: 72px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #f2f4f7;
	color: #323841;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
}

.nwbc-brand-name {
	display: block;
	max-width: 100%;
	color: #222;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.nwbc-nav {
	display: inline-flex;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(20, 24, 28, 0.16);
	border-radius: 50%;
	background: #fff;
	color: #222;
	cursor: pointer;
	font-size: 30px;
	line-height: 1;
	transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.nwbc-nav:hover,
.nwbc-nav:focus-visible {
	border-color: rgba(20, 24, 28, 0.34);
	background: #f7f8f9;
	outline: none;
}

.nwbc-nav[disabled] {
	cursor: default;
	opacity: 0.35;
}

.nwbc-admin-notice {
	padding: 12px 14px;
	border-left: 4px solid #d63638;
	background: #fff8f8;
	color: #1d2327;
}

@media (max-width: 900px) {
	.nwbc-carousel {
		--nwbc-slides: var(--nwbc-tablet-slides);
	}
}

@media (max-width: 640px) {
	.nwbc-carousel {
		--nwbc-slides: var(--nwbc-mobile-slides);
		grid-template-columns: 36px minmax(0, 1fr) 36px;
		gap: 8px;
	}

	.nwbc-nav {
		width: 36px;
		height: 36px;
		font-size: 26px;
	}

	.nwbc-brand {
		min-height: 118px;
		padding: 14px 10px;
	}

	.nwbc-brand-name {
		font-size: 13px;
	}
}

@media (max-width: 420px) {
	.nwbc-carousel {
		--nwbc-gap: 12px;
		--nwbc-slides: 1;
	}
}
