/* TRC Options Cards
--------------------------------------------- */

.trc-options-cards {
	--trc-orange: #f15a24;
	--trc-black: #111111;
	--trc-white: #ffffff;
	--trc-warm-white: #f7f3ec;

	box-sizing: border-box;
	width: 100%;
	color: var(--trc-black);
	overflow: hidden;
}

.trc-options-cards *,
.trc-options-cards *::before,
.trc-options-cards *::after {
	box-sizing: border-box;
}

.trc-options-cards--background-warm_white {
	background: var(--trc-warm-white);
}

.trc-options-cards--background-white {
	background: var(--trc-white);
}

.trc-options-cards__inner {
	width: min(100%, 1480px);
	margin: 0 auto;
	padding: clamp(48px, 5vw, 72px) clamp(24px, 5vw, 72px);
}

/* Section introduction */

.trc-options-cards__header {
	width: min(100%, 980px);
	margin: 0 auto;
	text-align: center;
}

.trc-options-cards__eyebrow {
	margin: 0 0 18px;
	color: var(--trc-orange);
	font-family: "Knockout", Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.trc-options-cards__heading {
	margin: 0;
	font-family: "Knockout", Arial, sans-serif;
	font-size: clamp(46px, 5.25vw, 78px);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: 0.012em;
	text-wrap: balance;
}

.trc-options-cards__introduction {
	width: min(100%, 760px);
	margin: 18px auto 0;
	font-family: "Simplon", Arial, sans-serif;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.55;
	text-wrap: balance;
}

/* Card grid */

.trc-options-cards__grid {
	--trc-options-card-columns: 3;

	display: grid;
	grid-template-columns:
		repeat(
			var(--trc-options-card-columns),
			minmax(0, 1fr)
		);
	gap: clamp(18px, 2.2vw, 30px);
	width: 100%;
	margin: clamp(32px, 4vw, 48px) auto 0;
}

.trc-options-cards--1-cards .trc-options-cards__grid {
	--trc-options-card-columns: 1;

	max-width: 440px;
}

.trc-options-cards--2-cards .trc-options-cards__grid {
	--trc-options-card-columns: 2;

	max-width: 920px;
}

.trc-options-cards--3-cards .trc-options-cards__grid {
	--trc-options-card-columns: 3;

	max-width: 1220px;
}

.trc-options-cards--4-cards .trc-options-cards__grid {
	--trc-options-card-columns: 4;

	max-width: 1400px;
}

/* Individual card */

.trc-options-cards__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 310px;
	padding: clamp(32px, 4vw, 54px) clamp(24px, 3vw, 40px);
	border: 1px solid rgba(17, 17, 17, 0.07);
	border-radius: 16px;
	background: var(--trc-white);
	box-shadow:
		0 18px 50px rgba(17, 17, 17, 0.07),
		0 3px 12px rgba(17, 17, 17, 0.035);
	text-align: center;
}

.trc-options-cards__visual {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 88px;
	margin: 0 0 24px;
	color: var(--trc-orange);
}

.trc-options-cards__visual--icon {
	width: 112px;
}

.trc-options-cards__visual--icon svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.25;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.trc-options-cards__visual--image {
	width: 120px;
}

.trc-options-cards__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 120px;
	max-height: 88px;
	object-fit: contain;
	object-position: center;
}

.trc-options-cards__card-heading {
	margin: 0;
	font-family: "Knockout", Arial, sans-serif;
	font-size: clamp(32px, 3vw, 44px);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: 0.012em;
	text-wrap: balance;
}

.trc-options-cards__card-text {
	margin: 16px 0 0;
	font-family: "Simplon", Arial, sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.45;
	text-wrap: balance;
}

/* Supporting statement */

.trc-options-cards__supporting-statement {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: clamp(28px, 3vw, 38px) auto 0;
	font-family: "Simplon", Arial, sans-serif;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.4;
	text-align: center;
}

.trc-options-cards__supporting-mark {
	position: relative;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	border: 2px solid var(--trc-orange);
	border-radius: 50%;
}

.trc-options-cards__supporting-mark::before {
	position: absolute;
	top: 7px;
	left: 8px;
	width: 10px;
	height: 6px;
	border-bottom: 2px solid var(--trc-orange);
	border-left: 2px solid var(--trc-orange);
	content: "";
	transform: rotate(-45deg);
}

/* Gutenberg placeholder */

.trc-options-cards--editor-empty {
	padding: 2rem;
	border: 2px dashed #999999;
	background: #f5f5f5;
	color: #222222;
	font-family: "Simplon", Arial, sans-serif;
	text-align: center;
}

.trc-options-cards--editor-empty p {
	margin: 0;
}

/* Tablet */

@media (max-width: 980px) {
	.trc-options-cards--4-cards .trc-options-cards__grid {
		--trc-options-card-columns: 2;

		max-width: 900px;
	}

	.trc-options-cards--3-cards .trc-options-cards__grid {
		--trc-options-card-columns: 2;

		max-width: 900px;
	}

	.trc-options-cards--3-cards
		.trc-options-cards__card:last-child {
		grid-column: 1 / -1;
		width: calc((100% - clamp(18px, 2.2vw, 30px)) / 2);
		justify-self: center;
	}
}

/* Mobile */

@media (max-width: 640px) {
	.trc-options-cards__inner {
		padding: 44px 16px;
	}

	.trc-options-cards__eyebrow {
		margin-bottom: 14px;
		font-size: 12px;
		letter-spacing: 0.13em;
	}

	.trc-options-cards__heading {
		font-size: clamp(38px, 11vw, 54px);
		line-height: 1.11;
	}

	.trc-options-cards__introduction {
		margin-top: 16px;
		font-size: 17px;
		line-height: 1.5;
	}

	.trc-options-cards__grid,
	.trc-options-cards--1-cards .trc-options-cards__grid,
	.trc-options-cards--2-cards .trc-options-cards__grid,
	.trc-options-cards--3-cards .trc-options-cards__grid,
	.trc-options-cards--4-cards .trc-options-cards__grid {
		--trc-options-card-columns: 1;

		max-width: 480px;
		margin-top: 30px;
		gap: 18px;
	}

	.trc-options-cards--3-cards
		.trc-options-cards__card:last-child {
		grid-column: auto;
		width: 100%;
	}

	.trc-options-cards__card {
		min-height: 270px;
		padding: 36px 24px;
	}

	.trc-options-cards__visual {
		height: 76px;
		margin-bottom: 22px;
	}

	.trc-options-cards__visual--icon {
		width: 98px;
	}

	.trc-options-cards__image {
		max-height: 76px;
	}

	.trc-options-cards__card-heading {
		font-size: clamp(32px, 10vw, 42px);
	}

	.trc-options-cards__card-text {
		margin-top: 13px;
		font-size: 17px;
	}

	.trc-options-cards__supporting-statement {
		align-items: flex-start;
		margin-top: 26px;
		font-size: 17px;
		text-align: left;
	}

	.trc-options-cards__supporting-mark {
		margin-top: -2px;
	}
}

@media (max-width: 420px) {
	.trc-options-cards__heading {
		font-size: clamp(36px, 10.5vw, 48px);
	}

	.trc-options-cards__card {
		min-height: 250px;
	}
}