.iaew-logo-showcase {
	--iaew-logo-columns: 4;
	--iaew-logo-slides: 4;
	--iaew-logo-gap: 24px;
	--iaew-logo-card-height: 160px;
	--iaew-logo-image-height: calc(var(--iaew-logo-card-height) - 56px);
	--iaew-marquee-duration: 24s;
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
}

.iaew-logo-showcase__header {
	max-width: 720px;
	margin: 0 auto 36px;
	text-align: center;
}

.iaew-logo-showcase__heading {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.6rem);
	line-height: 1.05;
	color: #151515;
}

.iaew-logo-showcase__description {
	margin: 14px 0 0;
	font-size: 1rem;
	line-height: 1.7;
	color: #6d6d74;
}

.iaew-logo-showcase__items {
	display: grid;
	grid-template-columns: repeat(var(--iaew-logo-columns), minmax(0, 1fr));
	gap: var(--iaew-logo-gap);
}

.iaew-logo-showcase--masonry .iaew-logo-showcase__items {
	column-count: var(--iaew-logo-columns);
	column-gap: var(--iaew-logo-gap);
	display: block;
}

.iaew-logo-showcase--masonry .iaew-logo-showcase__item {
	break-inside: avoid;
	margin-bottom: var(--iaew-logo-gap);
}

.iaew-logo-showcase--masonry .iaew-logo-showcase__item:nth-child(4n + 1) .iaew-logo-showcase__card {
	min-height: 150px;
}

.iaew-logo-showcase--masonry .iaew-logo-showcase__item:nth-child(4n + 2) .iaew-logo-showcase__card {
	min-height: 210px;
}

.iaew-logo-showcase--masonry .iaew-logo-showcase__item:nth-child(4n + 3) .iaew-logo-showcase__card {
	min-height: 180px;
}

.iaew-logo-showcase--masonry .iaew-logo-showcase__item:nth-child(4n + 4) .iaew-logo-showcase__card {
	min-height: 240px;
}

.iaew-logo-showcase__item {
	position: relative;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.iaew-logo-showcase__item.is-hidden {
	display: none;
}

.iaew-logo-showcase__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	min-height: max(var(--iaew-logo-card-height), calc(var(--iaew-logo-image-height) + 56px));
	padding: 28px;
	border: 1px solid #dddfe6;
	border-radius: 22px;
	background: #ffffff;
	color: inherit;
	text-align: center;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.iaew-logo-showcase__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: var(--iaew-logo-image-height);
	overflow: hidden;
}

.iaew-logo-showcase__image {
	display: block;
	width: 100%;
	max-width: 100%;
	max-height: var(--iaew-logo-image-height);
	height: 100%;
	object-fit: contain;
	object-position: center center;
	transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}

.iaew-logo-showcase__content {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.iaew-logo-showcase__content--overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	padding: 16px;
	justify-content: flex-end;
	align-items: flex-start;
	text-align: left;
	pointer-events: none;
}

.iaew-logo-showcase--overlay-h-left .iaew-logo-showcase__content--overlay {
	align-items: flex-start;
	text-align: left;
}

.iaew-logo-showcase--overlay-h-center .iaew-logo-showcase__content--overlay {
	align-items: center;
	text-align: center;
}

.iaew-logo-showcase--overlay-h-right .iaew-logo-showcase__content--overlay {
	align-items: flex-end;
	text-align: right;
}

.iaew-logo-showcase--overlay-v-top .iaew-logo-showcase__content--overlay {
	justify-content: flex-start;
}

.iaew-logo-showcase--overlay-v-center .iaew-logo-showcase__content--overlay {
	justify-content: center;
}

.iaew-logo-showcase--overlay-v-bottom .iaew-logo-showcase__content--overlay {
	justify-content: flex-end;
}

.iaew-logo-showcase__item-title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: #1f2430;
}

.iaew-logo-showcase__item-caption {
	font-size: 0.95rem;
	line-height: 1.5;
	color: #707789;
}

.iaew-logo-showcase__item:hover .iaew-logo-showcase__image {
	transform: scale(1.03);
}

.iaew-logo-showcase__filters,
.iaew-logo-showcase__slider-controls,
.iaew-logo-showcase__dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.iaew-logo-showcase__filters {
	margin-bottom: 28px;
}

.iaew-logo-showcase__filter-button,
.iaew-logo-showcase__slider-button,
.iaew-logo-showcase__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #d9dce4;
	background: #ffffff;
	color: #191d28;
	transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.iaew-logo-showcase__filter-button {
	padding: 12px 18px;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
}

.iaew-logo-showcase__filter-button.is-active,
.iaew-logo-showcase__filter-button:hover {
	transform: translateY(-1px);
}

.iaew-logo-showcase__filter-button.is-active {
	background: #d8ff6b;
	border-color: #d8ff6b;
	color: #111111;
	box-shadow: 0 10px 24px rgba(162, 208, 49, 0.22);
}

.iaew-logo-showcase__dot.is-active {
	background: #111111;
	border-color: #111111;
	transform: scale(1.15);
}

.iaew-logo-showcase__slider {
	position: relative;
	display: flex;
	flex-direction: column;
}

.iaew-logo-showcase__slider-controls {
	margin-bottom: 18px;
	justify-content: flex-end;
}

.iaew-logo-showcase__slider--nav-layout-split .iaew-logo-showcase__slider-controls {
	width: 100%;
	justify-content: space-between !important;
}

.iaew-logo-showcase__slider--nav-center .iaew-logo-showcase__slider-controls {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	z-index: 2;
	margin: 0;
	transform: translateY(-50%);
	pointer-events: none;
}

.iaew-logo-showcase__slider--nav-center .iaew-logo-showcase__slider-button {
	pointer-events: auto;
}

.iaew-logo-showcase__slider--nav-bottom .iaew-logo-showcase__slider-controls {
	order: 2;
	margin-top: 18px;
	margin-bottom: 0;
}

.iaew-logo-showcase__slider-button {
	min-width: 48px;
	min-height: 48px;
	padding: 0;
	border-radius: 999px;
	cursor: pointer;
}

.iaew-logo-showcase__slider-button[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}

.iaew-logo-showcase__slider-viewport {
	overflow-x: auto;
	scrollbar-width: none;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
}

.iaew-logo-showcase__slider-viewport::-webkit-scrollbar {
	display: none;
}

.iaew-logo-showcase__slider-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--iaew-logo-gap) * (var(--iaew-logo-slides) - 1))) / var(--iaew-logo-slides));
	gap: var(--iaew-logo-gap);
}

.iaew-logo-showcase__item--slide {
	scroll-snap-align: start;
}

.iaew-logo-showcase__dots {
	margin-top: 22px;
}

.iaew-logo-showcase__dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border-radius: 999px;
	cursor: pointer;
}

.iaew-logo-showcase__marquee-stack {
	display: grid;
	gap: var(--iaew-logo-gap);
}

.iaew-logo-showcase__marquee-stack--horizontal {
	grid-template-columns: 1fr;
}

.iaew-logo-showcase__marquee-stack--vertical {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
	max-height: 720px;
}

.iaew-logo-showcase__marquee-line {
	display: flex;
	gap: var(--iaew-logo-gap);
	overflow: hidden;
}

.iaew-logo-showcase__marquee-group {
	display: grid;
	gap: var(--iaew-logo-gap);
	flex-shrink: 0;
}

.iaew-logo-showcase__marquee-line--forward .iaew-logo-showcase__marquee-group {
	animation: iaew-logo-marquee-horizontal-forward var(--iaew-marquee-duration) linear infinite;
}

.iaew-logo-showcase__marquee-line--reverse .iaew-logo-showcase__marquee-group {
	animation: iaew-logo-marquee-horizontal-reverse var(--iaew-marquee-duration) linear infinite;
}

.iaew-logo-showcase__marquee-stack--horizontal .iaew-logo-showcase__marquee-group {
	grid-auto-flow: column;
	grid-auto-columns: minmax(220px, 1fr);
}

.iaew-logo-showcase__marquee-stack--vertical .iaew-logo-showcase__marquee-line {
	flex-direction: column;
	height: 720px;
}

.iaew-logo-showcase__marquee-stack--vertical .iaew-logo-showcase__marquee-group {
	grid-auto-flow: row;
	grid-template-columns: 1fr;
}

.iaew-logo-showcase__marquee-stack--vertical .iaew-logo-showcase__marquee-line--forward .iaew-logo-showcase__marquee-group {
	animation-name: iaew-logo-marquee-vertical-forward;
}

.iaew-logo-showcase__marquee-stack--vertical .iaew-logo-showcase__marquee-line--reverse .iaew-logo-showcase__marquee-group {
	animation-name: iaew-logo-marquee-vertical-reverse;
}

.iaew-logo-showcase--pause-hover:hover .iaew-logo-showcase__marquee-group {
	animation-play-state: paused;
}

@keyframes iaew-logo-marquee-horizontal-forward {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(calc(-100% - var(--iaew-logo-gap)));
	}
}

@keyframes iaew-logo-marquee-horizontal-reverse {
	from {
		transform: translateX(calc(-100% - var(--iaew-logo-gap)));
	}

	to {
		transform: translateX(0);
	}
}

@keyframes iaew-logo-marquee-vertical-forward {
	from {
		transform: translateY(0);
	}

	to {
		transform: translateY(calc(-100% - var(--iaew-logo-gap)));
	}
}

@keyframes iaew-logo-marquee-vertical-reverse {
	from {
		transform: translateY(calc(-100% - var(--iaew-logo-gap)));
	}

	to {
		transform: translateY(0);
	}
}

@media (max-width: 1024px) {
	.iaew-logo-showcase__items {
		grid-template-columns: repeat(min(3, var(--iaew-logo-columns)), minmax(0, 1fr));
	}

	.iaew-logo-showcase--masonry .iaew-logo-showcase__items {
		column-count: min(3, var(--iaew-logo-columns));
	}
}

@media (max-width: 767px) {
	.iaew-logo-showcase__header {
		margin-bottom: 26px;
	}

	.iaew-logo-showcase__items {
		grid-template-columns: repeat(min(2, var(--iaew-logo-columns)), minmax(0, 1fr));
	}

	.iaew-logo-showcase--masonry .iaew-logo-showcase__items {
		column-count: min(2, var(--iaew-logo-columns));
	}

	.iaew-logo-showcase__card {
		padding: 22px 18px;
		min-height: 130px;
	}

	.iaew-logo-showcase__slider-track {
		grid-auto-columns: 100%;
	}

	.iaew-logo-showcase__marquee-stack--vertical {
		grid-template-columns: 1fr;
		max-height: none;
	}

	.iaew-logo-showcase__marquee-stack--vertical .iaew-logo-showcase__marquee-line {
		height: auto;
	}

	.iaew-logo-showcase__marquee-stack--horizontal .iaew-logo-showcase__marquee-group,
	.iaew-logo-showcase__marquee-stack--vertical .iaew-logo-showcase__marquee-group {
		grid-template-columns: 1fr;
		grid-auto-columns: minmax(220px, 1fr);
	}
}
