/**
 * Kestara proof band — portable styles.
 *
 * Scoped to .proof-band so the pattern works on any demo and any page. The
 * selectors are intentionally one class stronger than the generic layout
 * utilities, so a demo stylesheet cannot flatten the band.
 */

.proof-band {
	--proof-gutter: clamp(20px, 4vw, 48px);
	--proof-space: clamp(20px, 2.27vw, 40px);
	--proof-logo-height: 62px;
	--proof-logo-box: clamp(72px, 8.5vw, 120px);
	--proof-stat-size: clamp(34px, 4.2vw, 54px);
	--proof-logo-gap: clamp(8px, 1vw, 14px);
	--proof-number-gap: clamp(36px, 4.5vw, 64px);
	--proof-group-gap: clamp(20px, 3vw, 40px);
	--proof-end-gap: clamp(0px, 3vw, 48px);
	background: var(--wp--preset--color--surface);
	border-block: 1px solid var(--wp--preset--color--surface-2);
}

.proof-band .wrap.wp-block-group {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: var(--proof-group-gap);
	width: 100%;
	max-width: none;
	padding-inline: var(--proof-gutter);
	padding-block: var(--proof-space);
	box-sizing: border-box;
}

.proof-band .proof-logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--proof-logo-box);
	height: var(--proof-logo-height);
	margin: 0;
}

.proof-band .wrap .proof-logo a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.proof-band .wrap .proof-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 0.55;
	filter: grayscale(1);
	transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.proof-band .wrap .proof-logo a:hover img,
.proof-band .wrap .proof-logo a:focus-visible img {
	opacity: 1;
	transform: scale(1.20);
	filter: grayscale(1) brightness(0) invert(27%) sepia(51%) saturate(2878%) hue-rotate(246deg) brightness(96%) contrast(93%);
}

.proof-band .kestara-stat {
	flex: 0 0 auto;
	overflow: visible;
}

.proof-band .proof-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--proof-logo-gap);
}

.proof-band .proof-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--proof-number-gap);
	margin-left: auto;
	margin-right: var(--proof-end-gap);
}

.proof-band .proof-sep {
	flex: 0 0 1px;
	width: 1px;
	height: clamp(30px, 4vw, 48px);
	margin: 0;
	border: 0;
	background: var(--wp--preset--color--surface-2);
}

.proof-band .kestara-stat__value {
	display: inline-block;
	padding-right: 0.08em;
	margin-right: -0.08em;
	font-size: var(--proof-stat-size);
	line-height: 1.1;
	white-space: nowrap;
}

.proof-band .kestara-stat__bar {
	width: 56px;
}

.proof-band .kestara-stat__label {
	font-size: 12px;
}

@media (max-width: 1023px) {
	.proof-band .wrap.wp-block-group {
		flex-direction: column;
		justify-content: center;
		gap: 20px;
	}

	.proof-band .proof-sep {
		width: 64px;
		height: 1px;
	}

	.proof-band .proof-numbers {
		justify-content: center;
		margin-left: 0;
		margin-right: 0;
	}
}

@media (max-width: 640px) {
	.proof-band {
		--proof-logo-height: 62px;
		--proof-logo-box: 86px;
		--proof-logo-gap: 10px;
		--proof-number-gap: 32px;
	}

	.proof-band .kestara-stat__label {
		font-size: 11px;
	}
}
