.ecllm-logo-showcase {
	width: 100%;
}

.ecllm-logo-showcase__header {
	margin-bottom: 32px;
	text-align: center;
}

.ecllm-logo-showcase__heading {
	margin: 0;
	color: #14213d;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.12;
}

.ecllm-logo-showcase__description {
	max-width: 680px;
	margin: 12px auto 0;
	color: #667085;
	font-size: 16px;
	line-height: 1.7;
}

.ecllm-logo-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	overflow: hidden;
	padding: 1px;
	column-gap: 1px;
	row-gap: 1px;
	border-radius: 12px;
	background: #dfe3ea;
	box-shadow: 0 10px 30px rgba(16, 24, 40, 0.14);
}

.ecllm-logo-card {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 170px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	overflow: hidden;
	padding: 24px;
	background: #fff;
	color: inherit;
	text-align: center;
	text-decoration: none !important;
	transition:
		background-color 300ms ease,
		box-shadow 300ms ease,
		transform 300ms ease,
		opacity 360ms ease;
}

.ecllm-logo-card::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background: currentColor;
	color: #ea1d2c;
	content: "";
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 300ms ease;
}

.ecllm-logo-card:hover,
.ecllm-logo-card:focus-visible {
	z-index: 2;
	background: #f6f9ff;
	box-shadow: inset 0 0 0 1px rgba(31, 74, 163, 0.12);
	color: inherit;
	text-decoration: none !important;
}

.ecllm-logo-card:hover::after,
.ecllm-logo-card:focus-visible::after {
	transform: scaleX(1);
}

.ecllm-logo-card:focus-visible {
	outline: 3px solid rgba(38, 99, 235, 0.45);
	outline-offset: -4px;
}

.ecllm-logo-card[hidden] {
	display: none !important;
}

.ecllm-logo-card.ecllm-is-entering {
	opacity: 0;
	transform: translateY(18px) scale(0.97);
}

.ecllm-logo-card.ecllm-is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
	transition-delay: var(--ecllm-delay, 0ms);
}

.ecllm-logo-card__image {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.ecllm-logo-card__image img {
	display: block;
	width: auto;
	max-width: 78%;
	height: auto;
	max-height: 95px;
	object-fit: contain;
	filter: grayscale(0%);
	transform: scale(1);
	transition:
		transform 320ms cubic-bezier(0.2, 0.72, 0.25, 1),
		filter 320ms ease,
		opacity 320ms ease;
}

.ecllm-logo-card:hover .ecllm-logo-card__image img,
.ecllm-logo-card:focus-visible .ecllm-logo-card__image img {
	filter: grayscale(0%);
	transform: scale(1.06);
}

.ecllm-logo-card__name {
	display: block;
	margin-top: 14px;
	color: #344054;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.ecllm-load-more-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 30px;
}

.ecllm-load-more {
	display: inline-flex;
	min-width: 220px;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	gap: 11px;
	padding: 15px 34px;
	border: 2px solid #ea1d2c;
	border-radius: 3px;
	background: transparent;
	box-shadow: none;
	color: #ea1d2c;
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1;
	text-decoration: none;
	transition:
		background-color 260ms ease,
		border-color 260ms ease,
		color 260ms ease,
		transform 260ms ease,
		box-shadow 260ms ease;
}

.ecllm-load-more:hover,
.ecllm-load-more:focus-visible {
	border-color: #ea1d2c;
	background: #ea1d2c;
	box-shadow: 0 10px 25px rgba(234, 29, 44, 0.22);
	color: #fff;
	transform: translateY(-2px);
}

.ecllm-load-more:focus-visible {
	outline: 3px solid rgba(234, 29, 44, 0.25);
	outline-offset: 3px;
}

.ecllm-load-more:disabled {
	cursor: wait;
	opacity: 0.7;
	transform: none;
}

.ecllm-load-more[hidden],
.ecllm-load-more-wrap[hidden] {
	display: none !important;
}

.ecllm-load-more__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.88em;
	line-height: 1;
	transition: transform 260ms ease;
}

.ecllm-load-more__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.ecllm-load-more:hover .ecllm-load-more__icon,
.ecllm-load-more:focus-visible .ecllm-load-more__icon {
	transform: rotate(90deg);
}

.ecllm-status {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	white-space: nowrap !important;
}

[dir="rtl"] .ecllm-logo-card::after {
	transform-origin: center;
}

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

	.ecllm-logo-card {
		min-height: 150px;
	}

	.ecllm-logo-card__image img {
		max-height: 85px;
	}
}

@media (max-width: 767px) {
	.ecllm-logo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		border-radius: 8px;
	}

	.ecllm-logo-card {
		min-height: 125px;
		padding: 18px 14px;
	}

	.ecllm-logo-card__image img {
		max-width: 86%;
		max-height: 70px;
	}

	.ecllm-load-more {
		width: 100%;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ecllm-logo-card,
	.ecllm-logo-card::after,
	.ecllm-logo-card__image img,
	.ecllm-load-more,
	.ecllm-load-more__icon {
		transition: none !important;
	}
}

