/* Core Values Gutenberg section */
.cvgt-layout {
	display: flex;
	align-items: center;
	gap: clamp(28px, 4vw, 56px);
	margin-block: 36px;
}
.cvgt-layout > .cvgt-image-column,
.cvgt-layout > .cvgt-text-column {
	min-width: 0;
}
.cvgt-photo {
	margin: 0;
	width: 100%;
}
.cvgt-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1.1 / 1;
	object-fit: cover;
}
.cvgt-main-title {
	margin: 0 0 24px;
	font-size: clamp(32px, 3.3vw, 54px);
	line-height: 1.08;
	letter-spacing: -0.035em;
	font-weight: 700;
	color: #171717;
}
.cvgt-value {
	margin-block: 0 38px;
}
.cvgt-value:last-child {
	margin-bottom: 0;
}
.cvgt-value-title {
	margin: 0 0 18px;
	font-size: clamp(18px, 1.45vw, 23px);
	line-height: 1.3;
	font-weight: 600;
	color: #171717;
}
.cvgt-value-description {
	margin: 0;
	font-size: 16px;
	line-height: 1.8;
	color: #333;
}

/* Scroll reveal animation on the public-facing page */
.cvgt-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 700ms ease, transform 700ms ease;
	transition-delay: var(--cvgt-delay, 0ms);
}
.cvgt-from-left {
	transform: translateX(-28px);
}
.cvgt-from-right {
	transform: translateX(28px);
}
.cvgt-reveal.cvgt-visible {
	opacity: 1;
	transform: translate(0, 0);
}
.cvgt-delay-1 { --cvgt-delay: 150ms; }
.cvgt-delay-2 { --cvgt-delay: 350ms; }
.cvgt-delay-3 { --cvgt-delay: 550ms; }

/* Keep everything visible while editing in Gutenberg */
.editor-styles-wrapper .cvgt-reveal {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

@media (max-width: 781px) {
	.cvgt-layout {
		display: flex;
		flex-direction: column;
		gap: 28px;
	}
	.cvgt-layout > .cvgt-image-column,
	.cvgt-layout > .cvgt-text-column {
		flex-basis: 100% !important;
		width: 100%;
	}
	.cvgt-photo img {
		aspect-ratio: 4 / 3;
	}
	.cvgt-main-title {
		margin-bottom: 22px;
	}
	.cvgt-value {
		margin-bottom: 28px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.cvgt-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
