.ndlh-brand-logos {
	background: #eeeeee;
	box-sizing: border-box;
	padding: 0.75rem;
	position: relative;
	width: 100%;
}

.ndlh-brand-logos__viewport {
	overflow: hidden;
}

.ndlh-brand-logos__track {
	display: flex;
	transition: transform 500ms ease;
}

.ndlh-brand-logos__slide {
	display: grid;
	flex: 0 0 100%;
	gap: 0.75rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: repeat(4, 9rem);
	min-width: 0;
}

.ndlh-brand-logos__item {
	align-items: center;
	background: #ffffff;
	box-sizing: border-box;
	display: flex;
	height: 9rem;
	justify-content: center;
	overflow: hidden;
	padding: 1rem;
	text-decoration: none;
	transition: opacity 150ms ease;
}

.ndlh-brand-logos__item:hover,
.ndlh-brand-logos__item:focus {
	opacity: 0.82;
}

.ndlh-brand-logos__item:focus-visible {
	outline: 3px solid #25465f;
	outline-offset: -3px;
}

.ndlh-brand-logos__item img {
	display: block;
	height: auto;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.ndlh-brand-logos__notice {
	background: #fff8e5;
	border-left: 4px solid #dba617;
	box-sizing: border-box;
	padding: 0.875rem 1rem;
}

.ndlh-brand-logos__controls {
	align-items: center;
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	padding-top: 0.75rem;
}

.ndlh-brand-logos__arrow,
.ndlh-brand-logos__dot,
.ndlh-brand-logos__toggle {
	appearance: none;
	background: #ffffff;
	border: 1px solid #b8c2c8;
	color: #25465f;
	cursor: pointer;
}

.ndlh-brand-logos__toggle {
	border-radius: 3px;
	font-size: 0.75rem;
	height: 1.75rem;
	line-height: 1;
	padding: 0;
	width: 1.75rem;
}

.ndlh-brand-logos__arrow {
	align-items: center;
	border-radius: 50%;
	display: flex;
	font-size: 1.75rem;
	height: 2.25rem;
	justify-content: center;
	line-height: 1;
	padding: 0 0 0.15rem;
	width: 2.25rem;
}

.ndlh-brand-logos__dots {
	display: flex;
	gap: 0.5rem;
}

.ndlh-brand-logos__dot {
	border-radius: 50%;
	height: 0.75rem;
	padding: 0;
	width: 0.75rem;
}

.ndlh-brand-logos__dot.is-active {
	background: #25465f;
}

.ndlh-brand-logos__arrow:hover,
.ndlh-brand-logos__arrow:focus,
.ndlh-brand-logos__dot:hover,
.ndlh-brand-logos__dot:focus,
.ndlh-brand-logos__toggle:hover,
.ndlh-brand-logos__toggle:focus {
	border-color: #25465f;
}

@media (max-width: 63.999rem) {
	.ndlh-brand-logos__slide {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 39.999rem) {
	.ndlh-brand-logos__slide {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.ndlh-brand-logos__item {
		transition: none;
	}

	.ndlh-brand-logos__track {
		transition: none;
	}
}
