/*=========================
	TWO COL CONTENT IMAGE BLOCK
=========================*/

.block-two-col-content-image {
	position: relative;
	overflow: hidden;
}

.block-two-col-content-image .container {
	display: grid;
	grid-template-columns: 1fr;
	/* gap: var(--space-6); */
	align-items: start;
	position: relative;
	z-index: 1;
}

/* Non-split (side-by-side) mode: items col | content col */
.block-two-col-content-image .container.side-by-side {
	grid-template-columns: 1fr 1fr;
	gap: var(--space-8);
	align-items: stretch;
}
.block-two-col-content-image .container.side-by-side .col-left,
.block-two-col-content-image .container.side-by-side .col-right {
	display: flex;
	flex-direction: column;
}
.block-two-col-content-image .container.side-by-side.switchSides .col-left {
	grid-column: 2;
}
.block-two-col-content-image .container.side-by-side.switchSides .col-right {
	grid-column: 1;
	grid-row: 1;
}
.block-two-col-content-image .container.side-by-side .col-content {
	flex: 1;
}
.block-two-col-content-image .container.side-by-side .col-content > *:last-child {
	margin-bottom: 0;
}

/* ── Stacked layout: header row ─────────────────────────────────────────── */

.block-two-col-content-image .tcol-header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-6);
	margin-bottom: var(--space-6);
}

/* switchSides: graphic moves to left column, content to right */
.block-two-col-content-image .tcol-header.switchSides .tcol-header__graphic {
	grid-column: 1;
	grid-row: 1;
}
.block-two-col-content-image .tcol-header.switchSides .tcol-header__content {
	grid-column: 2;
}

.block-two-col-content-image .tcol-header__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.block-two-col-content-image .tcol-header__graphic {
	display: flex;
	justify-content: center;
	align-self: flex-start;
	overflow: hidden;
	width: 100%;
	height: 100%;
}
.block-two-col-content-image .tcol-header__graphic .tcol-graphic--inline {
	display: block;
	width: 100%;
	height: 100%;
	color: currentColor;
}
.block-two-col-content-image .tcol-header__graphic .tcol-graphic--inline svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* ── Items — single column (default) ────────────────────────────────────── */

.block-two-col-content-image .items {
	display: flex;
	flex-direction: column;
	margin-top: var(--space-6);
}

/* ── Items — split into 2 sub-columns ───────────────────────────────────── */

.block-two-col-content-image .items--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 var(--space-7);
}

.block-two-col-content-image .items-col {
	display: flex;
	flex-direction: column;
}

/* ── Individual item ─────────────────────────────────────────────────────── */

.block-two-col-content-image .item {
	padding: var(--space-3) 0;
}

.block-two-col-content-image .items > .item:first-child,
.block-two-col-content-image .items-col .item:first-child {
	border-top: none;
	padding-top: 0;
}
.block-two-col-content-image .items > .item:last-child,
.block-two-col-content-image .items-col .item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.block-two-col-content-image .item-title {
	margin: 0 0 var(--space-2);
	font-size: 20px;
	font-weight: 700;
}
.block-two-col-content-image .item-title a {
	color: inherit;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-size: 28px;
	font-weight: 600;
	max-height: 225px;
}
.block-two-col-content-image .item-title .c-link__icon {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}
.block-two-col-content-image .item-title .c-link__icon svg {
	width: 1.9rem;
	height: 1.9rem;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0, 1);
}
.block-two-col-content-image .item-title a:hover .c-link__icon svg,
.block-two-col-content-image .item-title a:focus .c-link__icon svg {
	transform: translateX(8px);
}
.block-two-col-content-image .item-copy {
	font-size: 1.4rem;
	line-height: 1.6;
}

/* ── Per-column graphics (side-by-side layout) — render inside their column ─ */
.block-two-col-content-image .tcol-col-graphic {
	display: block;
	color: currentColor;
	margin-bottom: var(--space-6);
}
.block-two-col-content-image .tcol-col-graphic--top {
	margin-bottom: var(--space-5);
}
.block-two-col-content-image .tcol-col-graphic--bottom {
	margin-top: 0;
	margin-bottom: 0;
	position: relative;
	bottom: 0;
	/* align-self: flex-end; */
	/* width: fit-content; */
}
.block-two-col-content-image .tcol-col-graphic svg {
	display: block;
	width: 100%;
	height: auto;
}

.block-two-col-content-image .tcol-col-graphic--bottom.graphic--chevron-right-double {
	height: 355px;
	width: auto;
}
.block-two-col-content-image .tcol-col-graphic--bottom.graphic--chevron-right-double svg {
	height: 100%;
	width: auto;
}

.block-two-col-content-image .tcol-col-graphic--bottom.graphic--stairs-down-right {
	height: 560px;
}
.block-two-col-content-image .tcol-col-graphic--bottom.graphic--stairs-down-left {
	height: 560px;
}
.block-two-col-content-image .tcol-col-graphic--bottom.graphic--stairs-down-right svg,
.block-two-col-content-image .tcol-col-graphic--bottom.graphic--stairs-down-left svg {
	height: 100%;
	width: auto;
	display: block;
}

.block-two-col-content-image .icon-triangle-right,
.block-two-col-content-image .icon-triangle-right-dim {
	height: 370px;
	width: fit-content;
}
.block-two-col-content-image .icon-triangle-right svg,
.block-two-col-content-image .icon-triangle-right-dim svg {
	height: 100%;
	width: auto;
	display: block;
}

/* ── Buttons — don't stretch to column width ────────────────────────────── */
.block-two-col-content-image .c-btn {
	align-self: flex-start;
}

/* ── Col-right content ───────────────────────────────────────────────────── */

.block-two-col-content-image .col-right .content {
	margin-bottom: 0;
}
.block-two-col-content-image .col-right .content a,
.block-two-col-content-image .col-right .rich-text a {
	color: #282829 !important;
	font-weight: 700;
	text-decoration: underline;
}
.block-two-col-content-image .col-right .intro {
	margin-top: var(--space-3);
	opacity: 0.85;
}
.block-two-col-content-image .col-right .image,
.block-two-col-content-image .col-left .image {
	overflow: hidden;
}
.block-two-col-content-image .col-right .image img,
.block-two-col-content-image .col-left .image img {
	width: 100%;
	height: auto;
	display: block;
}

/* ── Corner graphics ─────────────────────────────────────────────────────── */

.tcol-graphics {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: var(--container-width, 1500px);
	padding-left: var(--container-px, 96px);
	padding-right: var(--container-px, 96px);
	box-sizing: border-box;
	display: flex;
	pointer-events: none;
	z-index: 0;
}
.tcol-graphics--top {
	top: 0;
}
.tcol-graphics--bottom {
	bottom: 0;
}
.tcol-graphics--bottom.side-by-side {
	display: none;
}

.tcol-graphic {
	display: block;
	color: currentColor;
	width: clamp(180px, 18vw, 320px);
}
.tcol-graphic svg {
	display: block;
	width: 100%;
	height: auto;
}

.tcol-graphic--left {
	margin-right: auto;
}
.tcol-graphic--right {
	margin-left: auto;
}

.tcol-graphic.graphic--stairs-down-left,
.tcol-graphic.graphic--stairs-down-right {
	height: 560px;
	width: auto;
}
.tcol-graphic.graphic--stairs-down-left svg,
.tcol-graphic.graphic--stairs-down-right svg {
	height: 100%;
	width: auto;
}

/* .block-two-col-content-image .graphic--fat-zig-zag,
.block-two-col-content-image .graphic--fat-zig-zag-vertical {
	max-height: 380px;
} */

.block-two-col-content-image .graphic--zig-zag-double {
	height: 535px;
	width: auto;
}
.block-two-col-content-image .graphic--zig-zag-double svg {
	height: 100%;
	width: auto;
	display: block;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 991.98px) {
	/* Collapse stacked header to single column */
	.block-two-col-content-image .tcol-header {
		grid-template-columns: 1fr;
		direction: ltr;
	}
	.block-two-col-content-image .tcol-header__graphic {
		display: none;
	}

	/* Collapse split items to single column */
	.block-two-col-content-image .items--split {
		grid-template-columns: 1fr;
	}
	.block-two-col-content-image .items-col .item:first-child {
		/* border-top: 2px solid currentColor; */
		padding-top: var(--space-3);
	}
	.block-two-col-content-image .items-col:first-child .item:first-child {
		border-top: none;
		padding-top: 0;
	}

	/* Stack side-by-side columns on mobile */
	.block-two-col-content-image .container.side-by-side,
	.block-two-col-content-image .container.side-by-side.switchSides {
		grid-template-columns: 1fr;
		gap: var(--space-4);
	}
	.block-two-col-content-image .container.side-by-side .col-right {
		grid-column: 1;
		grid-row: 2;
	}
	.block-two-col-content-image .container.side-by-side.switchSides .col-right {
		grid-column: 1;
		grid-row: 1;
	}
	.block-two-col-content-image .container.side-by-side .col-left {
		grid-column: 1;
		grid-row: 1;
	}

	.block-two-col-content-image .container.side-by-side.switchSides .col-left {
		grid-column: 1;
		grid-row: 2;
		padding-top: 0;
		padding-bottom: 0;
	}

	.block-two-col-content-image .tcol-col-graphic--bottom {
		display: none;
	}
	.tcol-graphics--bottom.side-by-side {
		display: block;
		position: relative;
		bottom: 0;
	}
	.tcol-graphics--bottom.side-by-side .tcol-graphic {
		width: 70%;
		/* margin-left: auto;
		margin-right: 0; */
	}
}

/* image on top of right column */
.block-two-col-content-image .col-right .image--top {
	margin-bottom: 24px;
}
.block-two-col-content-image .image--above-title {
	margin-bottom: var(--space-5);
}

/* left-column embedded eyebrow + title (used when title lives in the text column) */
.block-two-col-content-image .col-left .tcol-eyebrow {
	font-weight: 700;
	margin: 0 0 8px;
}
.block-two-col-content-image .col-left .tcol-ltitle {
	margin: 0 0 24px;
}

@media (max-width: 767.98px) {
	.block-two-col-content-image .tcol-col-graphic--bottom {
		bottom: -40px;
	}
	.tcol-graphics--bottom.side-by-side {
		bottom: -4rem;
	}
	.block-two-col-content-image.mobile-hide-graphic .tcol-col-graphic {
		display: none;
	}
	.block-two-col-content-image .item-title a {
		font-size: 22px;
	}
}

/* Custom CSS Class */
@media (max-width: 767.98px) {
	.block-two-col-content-image.mobile-reverse .container.side-by-side .col-right {
		grid-row: 1;
	}
	.block-two-col-content-image.mobile-reverse .container.side-by-side .col-left {
		grid-row: 2;
	}
}
