/* Two Column Boxed Contents (Figma 3165:4693 desktop / 3181:3043 mobile). */

.two-column-boxed-contents {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
	padding: 40px 20px;
	background-color: #fff;
	box-sizing: border-box;
}

.two-column-boxed-contents *,
.two-column-boxed-contents *::before,
.two-column-boxed-contents *::after {
	box-sizing: border-box;
}

/* Header: animated arrow (SVG file animates itself) + title + description. */

.two-column-boxed-contents__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.two-column-boxed-contents__arrow {
	position: relative;
	display: block;
	width: 17px;
	height: 32px;
}

.two-column-boxed-contents__arrow img {
	position: absolute;
	top: -1.5px;
	left: -1.5px;
	display: block;
	width: 20px;
	height: 35px;
}

.two-column-boxed-contents__intro {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	text-align: center;
}

.two-column-boxed-contents .two-column-boxed-contents__title {
	margin: 0;
	color: #283a85;
	font-family: "GT Super Ds Trial", Georgia, serif;
	font-size: 36px;
	font-weight: 700;
	line-height: 44px;
	letter-spacing: 0;
	text-transform: capitalize;
}

.two-column-boxed-contents .two-column-boxed-contents__description {
	margin: 0;
	color: #58585a;
	font-family: "Manrope", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

/* Boxes */

.two-column-boxed-contents__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.two-column-boxed-contents__box {
	display: grid;
	grid-template-columns: 60px minmax(0, 1fr);
	align-content: start;
	align-items: center;
	gap: 12px 16px;
	margin: 0;
	padding: 20px;
	border-radius: 20px;
	background-color: #fff;
	filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.15));
}

.two-column-boxed-contents__box-head {
	display: contents;
}

.two-column-boxed-contents__icon {
	display: block;
	grid-column: 1;
	grid-row: 1;
	width: 60px;
	height: 60px;
	object-fit: contain;
}

.two-column-boxed-contents .two-column-boxed-contents__box-title {
	grid-column: 2;
	grid-row: 1;
	margin: 0;
	padding-top: 2px;
	color: #000;
	font-family: "GT Super Ds Trial", Georgia, serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: 0;
}

.two-column-boxed-contents .two-column-boxed-contents__box-text {
	grid-column: 1 / -1;
	margin: 0;
	color: #58585a;
	font-family: "Manrope", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

/* Tablet: 768–1279px — two columns, desktop fonts, icon beside the title. */
@media (min-width: 768px) {
	.two-column-boxed-contents {
		gap: 48px;
		padding: 80px 40px;
	}

	.two-column-boxed-contents__header {
		gap: 32px;
	}

	.two-column-boxed-contents__intro {
		gap: 16px;
	}

	.two-column-boxed-contents .two-column-boxed-contents__title {
		font-size: 42px;
		line-height: 50px;
	}

	.two-column-boxed-contents .two-column-boxed-contents__description,
	.two-column-boxed-contents .two-column-boxed-contents__box-text {
		font-size: 18px;
		line-height: 26px;
	}

	.two-column-boxed-contents__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.two-column-boxed-contents__box {
		grid-template-columns: 80px minmax(0, 1fr);
	}

	.two-column-boxed-contents__icon {
		width: 80px;
		height: 80px;
	}

	.two-column-boxed-contents .two-column-boxed-contents__box-title {
		font-size: 24px;
		line-height: 32px;
	}
}

/* Desktop: 1280px and up — icon column beside title + description. */
@media (min-width: 1280px) {
	.two-column-boxed-contents {
		padding: 80px 11.1111%;
	}

	.two-column-boxed-contents__box {
		grid-template-rows: auto 1fr;
		align-items: start;
		gap: 12px 20px;
	}

	.two-column-boxed-contents__icon {
		grid-row: 1 / span 2;
	}

	.two-column-boxed-contents .two-column-boxed-contents__box-title {
		padding-top: 0;
	}

	.two-column-boxed-contents .two-column-boxed-contents__box-text {
		grid-column: 2;
		grid-row: 2;
	}
}

/*
 * Options added 2026-10-30 (Figma UWffLBXI7WYdfi4cPo88iI 3258:4252 / 3263:5270):
 * light background, title links, note below the boxes, icon-column box layout.
 * Defaults (white, text under icon, no note) keep the original layout unchanged.
 */

.two-column-boxed-contents--bg-light {
	background-color: #f2f5fe;
}

.two-column-boxed-contents__body {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
}

.two-column-boxed-contents .two-column-boxed-contents__box-title a,
.two-column-boxed-contents .two-column-boxed-contents__box-title a:visited {
	color: inherit;
	font-family: inherit;
	font-weight: inherit;
	text-decoration: none;
}

/* Box link: the title link stretches over the whole box, so any click on the box follows it. */
.two-column-boxed-contents__box--linked {
	position: relative;
}

.two-column-boxed-contents__box--linked .two-column-boxed-contents__box-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: 20px;
}

.two-column-boxed-contents .two-column-boxed-contents__box-title a:focus-visible {
	outline: none;
}

.two-column-boxed-contents .two-column-boxed-contents__box-title a:focus-visible::after {
	outline: 2px solid #930f22;
	outline-offset: 3px;
}

.two-column-boxed-contents .two-column-boxed-contents__note {
	margin: 0;
	color: #505050;
	font-family: "Manrope", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

/* Icon column: icon beside title + description at every width. */
.two-column-boxed-contents--icon-column .two-column-boxed-contents__box {
	grid-template-rows: auto 1fr;
	align-items: start;
	gap: 8px 16px;
}

.two-column-boxed-contents--icon-column .two-column-boxed-contents__icon {
	grid-row: 1 / span 2;
}

.two-column-boxed-contents--icon-column .two-column-boxed-contents__box-title {
	padding-top: 0;
}

.two-column-boxed-contents--icon-column .two-column-boxed-contents__box-text {
	grid-column: 2;
	grid-row: 2;
}

@media (min-width: 768px) {
	.two-column-boxed-contents__body {
		gap: 32px;
	}

	.two-column-boxed-contents .two-column-boxed-contents__note {
		font-size: 18px;
		line-height: 26px;
	}

	.two-column-boxed-contents--icon-column .two-column-boxed-contents__box {
		gap: 12px 24px;
	}
}

/* Option "Underline Box Titles" (added 2026-10-30, Figma 3258:4362): linked title text underlined, colon outside. */
.two-column-boxed-contents--underline-titles .two-column-boxed-contents__box-title a,
.two-column-boxed-contents--underline-titles .two-column-boxed-contents__box-title a:visited {
	text-decoration: underline;
	text-decoration-skip-ink: none;
	text-underline-position: from-font;
}
