/*=========================
	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;
}
/* Content vertical alignment within a column. Default is top (flex-start);
   opt-in "Vertically centered" centres the column's content against the
   opposite (usually taller) column. */
.block-two-col-content-image .container.side-by-side .col-valign-center {
	justify-content: center;
}
/* Image edge-bleed: pull a top-/bottom-positioned column image out through the
   section's own vertical padding so it touches the block's top/bottom edge. The
   section exposes its padding as --tcol-pt / --tcol-pb (inline). */
.block-two-col-content-image .image--bleed-top {
	margin-top: calc(-1 * var(--tcol-pt, 0px));
}
.block-two-col-content-image .image--bleed-bottom {
	margin-bottom: calc(-1 * var(--tcol-pb, 0px));
}
.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;
}

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

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

/* 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: 0;
}

/* ── 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;
	max-height: 225px;
	font-weight: 600;
}
.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: 0;
}
.block-two-col-content-image .tcol-col-graphic--top {
	margin-bottom: var(--space-5);
}
.block-two-col-content-image .tcol-col-graphic--bottom {
	/* Push the bottom graphic to the bottom edge of its own column. Columns are
	   flex-column + stretched to equal height, so auto-margin absorbs the free
	   space above the last child and pins the graphic flush to the column bottom. */
	margin-top: auto;
}
.block-two-col-content-image .tcol-col-graphic svg {
	display: block;
	width: 100%;
	height: auto;
}
/* zig-zag-single-wave carries a global max-height:220px cap (style.css), but at
   full column width its SVG renders taller (~249px) and overflows the capped box —
   with the section's overflow:hidden that clips the wave's lower edge. Inside this
   block, size the container to its SVG so the whole graphic is visible. */
.block-two-col-content-image .tcol-col-graphic.graphic--zig-zag-single-wave {
	max-height: none;
}
/* Column graphics align OUTWARD: left column → left edge, right column → right
   edge (matching live). Needs the graphic to be narrower than the column. */
.block-two-col-content-image .col-left .tcol-col-graphic {
	margin-left: 0;
}
.block-two-col-content-image .col-right .tcol-col-graphic {
	margin-left: auto;
	margin-right: 0;
}
/* half-circle-cutoff: render at its natural size (like live's c-icon--full-height)
   instead of stretching to the full column width, so the alignment above shows. */
.block-two-col-content-image .tcol-col-graphic.graphic--half-circle-cutoff {
	width: fit-content;
	max-width: 100%;
}
.block-two-col-content-image .tcol-col-graphic.graphic--half-circle-cutoff svg {
	width: auto;
	height: 328px;
	max-width: 100%;
}

.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;
}

/* triangle-right-double: tall vertical double-arrow (368×780). Match live —
   render at its natural ~780px height (width follows), NOT stretched to the
   column width; shrink through tablet and hide on mobile like live. */
.block-two-col-content-image .tcol-col-graphic--bottom.graphic--triangle-right-double {
	height: 780px;
	width: auto;
	max-width: 100%;
}
.block-two-col-content-image .tcol-col-graphic--bottom.graphic--triangle-right-double svg {
	height: 100%;
	width: auto;
	display: block;
}

/* triangle-right: wide right-pointing arrow (596×419). Match live — it scales
   with viewport (≈371px tall at 1440 down to ≈253px at 992), not stretched to
   the full column width. Caps near the 1500px container. */
.block-two-col-content-image .tcol-col-graphic--bottom.graphic--triangle-right {
	height: min(386px, 25.8vw);
	width: auto;
	max-width: 100%;
}
.block-two-col-content-image .tcol-col-graphic--bottom.graphic--triangle-right svg {
	height: 100%;
	width: auto;
	display: block;
}

/* fat-zig-zag: wide zig-zag (579×416). It was capped with max-height:380 while
   its svg stayed width:100% (full column) — so the svg rendered taller than the
   cap and the block's overflow:hidden clipped its bottom. Size by HEIGHT instead
   so the whole shape shows, scaling with the viewport like live (~379px at 1440
   down to ~259px at 992), capped near the 1500px container. */
.block-two-col-content-image .tcol-col-graphic--bottom.graphic--fat-zig-zag {
	height: min(394px, 26.3vw);
	max-height: none;
	width: auto;
	max-width: 100%;
}
.block-two-col-content-image .tcol-col-graphic--bottom.graphic--fat-zig-zag svg {
	height: 100%;
	width: auto;
	display: block;
}

.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;
}

/* ── 2½-circles graphic sizing (scoped to graphic--2-and-a-half-circles only) —
   The wide 682×285 shape otherwise stretched to the full column width. Cap it
   so it reads as a small accent, matching live. Desktop uses the in-column
   variant (.tcol-col-graphic); tablet/mobile swap to the corner variant
   (.tcol-graphic) per the responsive rules below. */
.block-two-col-content-image .tcol-col-graphic--bottom.graphic--2-and-a-half-circles {
	max-width: 100%;
}
.block-two-col-content-image .tcol-col-graphic--bottom.graphic--2-and-a-half-circles svg {
	width: 100%;
	height: auto;
}
/* Tablet (768–991.98px): corner variant is the one shown here */
@media (max-width: 991.98px) {
	.tcol-graphic.graphic--2-and-a-half-circles {
		/* width: clamp(200px, 30vw, 260px); */
	}
}
/* Tablet down to mobile: render the 2½-circles graphic 200px tall.
   The inline SVG only carries a viewBox (no intrinsic size), so auto/auto
   collapses it — we size by WIDTH instead. At the 682×285 ratio, 478px wide
   = 200px tall; max-width:100% lets it scale down (keeping ratio) on narrow
   phones rather than overflowing the padded container. */
@media (max-width: 991.98px) {
	.tcol-graphic.graphic--2-and-a-half-circles svg {
		width: 478px;
		height: auto;
		max-width: 100%;
	}
}

/* Drop the trailing gap under each column's rich-text (last paragraph). */
.block-two-col-content-image .col-content > p:last-child {
	margin-bottom: 0;
}

/* ── 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;
	aspect-ratio: 1 / 1;
}
.block-two-col-content-image .col-right .image img,
.block-two-col-content-image .col-left .image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center top;
}

/* ── 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: -4rem;
	position: relative;
	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-left: 0;
	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: 2;
	}
	.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: 1;
	}
	.block-two-col-content-image .tcol-col-graphic {
		display: none;
	}
	.tcol-graphics--bottom {
		display: flex; /* flex so tcol-graphic--left's margin-right:auto aligns it left */
	}
}

/* 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;
}

/* CTA below the split-items list (e.g. live "Get in touch") */
.block-two-col-content-image .tcol-cta {
	margin-top: var(--space-3); /* UB 8088691: gap between content + button was too large */
}

/* ── Logo grid (brand / sponsor logos repeater) ───────────────────────────
   Sits in the right column beside the copy — matches live's "Our Fair
   Sponsors" layout. Column count comes from the `logos_per_row` field via
   the --logo-cols custom property. */
.block-two-col-content-image .logo-grid {
	display: grid;
	grid-template-columns: repeat(var(--logo-cols, 3), 1fr);
	gap: var(--space-4);
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
}
.block-two-col-content-image .logo-grid__item {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 3 / 2;
	padding: 8px;
}
.block-two-col-content-image .logo-grid__item::before {
	content: none; /* kill any inherited list bullet */
}
.block-two-col-content-image .logo-grid__item a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	transition: transform 0.2s ease;
}
.block-two-col-content-image .logo-grid__item a:hover {
	transform: scale(1.04);
}
.block-two-col-content-image .logo-grid__item img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(1); /* live renders sponsor logos greyscale */
}
@media (max-width: 767px) {
	.block-two-col-content-image .logo-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--space-3);
	}

	.tcol-graphic.graphic--stairs-down-left,
	.tcol-graphic.graphic--stairs-down-right {
		max-height: 269px !important;
	}
	.tcol-graphic.graphic--stairs-down-left svg {
		margin-left: auto;
	}

	.block-two-col-content-image .container.side-by-side {
		gap: 0 !important;
	}

	.block-two-col-content-image .container.side-by-side .col-left,
	.block-two-col-content-image .container.side-by-side .col-right {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
}
