/* Image + Text */
.image_text.is-image-left .image_text-row {
	flex-direction: row-reverse;
}

.image_text-content {
	flex: 0 1 640px;
	min-width: 0;
}

.image_text-title {
	color: var(--color-dark);
}

.image_text-text {
	line-height: 1.7;
}

.image_text-text p + p {
	margin-top: 1em;
}

.image_text-media {
	flex: 1 1 736px;
	min-width: 0;
	border-radius: var(--radius-8);
}

.image_text-image {
	width: 100%;
	height: auto;
	aspect-ratio: 184 / 143;
	object-fit: cover;
}

.image_text-media:hover .image_text-image {
	transform: scale(1.04);
}

/* Dark scheme */
.image_text.is-dark .image_text-title {
	color: var(--color-ivory);
}

.image_text.is-dark .image_text-text {
	color: var(--color-taupe);
}

/* Feature style (Kevin's Underground) */
.image_text.is-feature .image_text-row {
	justify-content: space-between;
	gap: 48px;
}

.image_text.is-feature .image_text-content {
	flex: 0 0 min(520px, 47%);
}

.image_text-badge {
	width: 72px;
	height: 72px;
	border: 1px solid var(--color-gold);
	border-radius: 50%;
	font-family: var(--font-mono);
	color: var(--color-gold);
	transition: transform 0.6s var(--ease-out), background-color var(--transition), color var(--transition);
}

.image_text-badge:hover {
	background-color: var(--color-gold);
	color: var(--color-dark);
	transform: rotate(-12deg);
}

.image_text-badge-top {
	font-size: 8px;
	font-weight: var(--fw-500);
	line-height: 1.25;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.image_text-badge-bottom {
	font-size: var(--font-size-11);
	font-weight: var(--fw-600);
	line-height: 1.27;
	letter-spacing: 1px;
}

.image_text-label {
	font-family: var(--font-mono);
	font-size: var(--font-size-11);
	font-weight: var(--fw-600);
	line-height: 1.27;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--color-gold);
}

.image_text.is-feature .image_text-text {
	font-size: var(--font-size-15);
	line-height: 1.75;
}

.image_text.is-feature .image_text-button {
	padding: 16px 32px;
	font-size: var(--font-size-12);
	line-height: 1.08;
	letter-spacing: 1.5px;
	color: var(--color-espresso);
}

.image_text.is-feature .image_text-media {
	flex: 1 1 0;
	max-width: 800px;
	border-radius: 0;
}

.image_text.is-feature .image_text-image {
	aspect-ratio: 800 / 447;
}

@media (max-width: 1024px) {
	.image_text-row {
		gap: 32px;
	}

	.image_text-content,
	.image_text-media {
		flex: 1 1 0;
	}

	.image_text.is-standard .image_text-image {
		aspect-ratio: 448 / 420;
	}

	.image_text.is-feature .image_text-content {
		flex: 0 0 min(440px, 47%);
	}

	.image_text.is-feature .image_text-media {
		flex: 1 1 0;
	}

	.image_text.is-feature .image_text-button {
		align-self: stretch;
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	/* Taller photo on tablets / small laptops so it balances the text column. */
	.image_text.is-feature .image_text-image {
		aspect-ratio: 1 / 1;
	}
}

@media (max-width: 991px) {
	/* Keep "Underground" inside its column on small tablets. */
	.image_text.is-feature .image_text-title {
		font-size: clamp(44px, 6vw, 60px);
	}
}

@media (max-width: 767px) {
	.image_text-row,
	.image_text.is-image-left .image_text-row {
		flex-direction: column;
		align-items: stretch;
		gap: 40px;
	}

	.image_text.is-feature .image_text-row {
		gap: 24px;
	}

	.image_text-content,
	.image_text-media,
	.image_text.is-feature .image_text-content,
	.image_text.is-feature .image_text-media {
		flex: 0 0 auto;
	}

	.image_text.is-feature .image_text-content {
		gap: 32px;
	}

	.image_text.is-feature .image_text-copy {
		gap: 24px;
	}

	.image_text.is-feature .image_text-title {
		line-height: 1.2;
	}

	.image_text.is-standard .image_text-image {
		aspect-ratio: 342 / 320;
	}
}
