/* Hamilton IFRS requirements carousel. */
.hpi-mfrs {
	overflow: hidden;
	padding-block: clamp(58px, 6vw, 82px);
	background: #fff !important;
}

.hpi-mfrs .hpi-mfrs-layout {
	display: block !important;
	width: 100%;
	max-width: none;
	padding: 0;
}

.hpi-mfrs .hpi-mfrs-copy {
	width: min(100%, var(--hpi-content));
	max-width: none;
	margin: 0 auto;
	padding-inline: var(--hpi-gutter);
	box-sizing: border-box;
	text-align: center;
}

.hpi-mfrs .hpi-mfrs-eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 16px;
	padding: 6px 17px;
	border-radius: 999px;
	background: rgb(252 30 30 / 6%);
	color: #FF3B30;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .09em;
	line-height: 1.25;
	text-transform: uppercase;
}

.hpi-mfrs .hpi-mfrs-copy-title {
	max-width: 820px;
	margin: 0 auto 15px !important;
	color: #071a36;
	font-size: clamp(32px, 2.7vw, 44px) !important;
	font-weight: 600;
	letter-spacing: -.035em;
	line-height: 1.08 !important;
}

.hpi-mfrs .hpi-mfrs-copy-title span {
	color: #FF3B30;
}

.hpi-mfrs .hpi-mfrs-copy-description {
	max-width: 790px;
	margin: 0 auto;
	color: #526078;
	font-size: 15px;
	line-height: 1.55;
}

.hpi-ifrs-carousel {
	--hpi-ifrs-active-accent: #FF3B30;
	width: min(100%, var(--hpi-content));
	margin: clamp(34px, 4vw, 48px) auto 0;
	padding-inline: var(--hpi-gutter);
	box-sizing: border-box;
}

.hpi-ifrs-viewport {
	position: relative;
	width: 100%;
	margin: 0;
	overflow: hidden;
	padding: 14px 0 20px;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
}

.hpi-ifrs-viewport.is-dragging {
	cursor: grabbing;
}

.hpi-ifrs-track {
	--hpi-ifrs-gap: 20px;
	display: flex !important;
	flex-flow: row nowrap !important;
	align-items: stretch;
	gap: var(--hpi-ifrs-gap);
	width: 100% !important;
	margin: 0;
	padding: 0;
	will-change: transform;
}

.hpi-ifrs-card {
	--hpi-ifrs-accent: #FF3B30;
	display: flex !important;
	flex: 0 0 calc(25% - 15px);
	flex-direction: column;
	min-height: 360px;
	margin: 0;
	padding: clamp(24px, 2vw, 29px) clamp(22px, 1.8vw, 27px);
	border: 1px solid #e0e2e7;
	border-radius: 18px;
	background: rgb(255 255 255 / 97%);
	box-shadow: 0 12px 30px rgb(17 31 54 / 5%);
	box-sizing: border-box;
	cursor: pointer;
	transform: translateY(0);
	transition: border-color 300ms ease, box-shadow 300ms ease, opacity 300ms ease, transform 300ms ease;
}

.hpi-ifrs-card--sustainability {
	--hpi-ifrs-accent: #18a957;
}

.hpi-ifrs-card.is-active {
	border-color: var(--hpi-ifrs-accent);
	box-shadow: none;
	transform: translateY(-6px);
}

.hpi-ifrs-card--sustainability.is-active {
	box-shadow: none;
}

.hpi-ifrs-card-standard {
	margin: 0 0 7px;
	color: var(--hpi-ifrs-accent);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .05em;
	line-height: 1.3;
	text-transform: uppercase;
}

.hpi-ifrs-card-number {
	display: block;
	position: relative;
	margin: 0 0 21px;
	padding-bottom: 12px;
	color: var(--hpi-ifrs-accent);
	font-size: clamp(50px, 4vw, 60px);
	font-weight: 400;
	letter-spacing: -.055em;
	line-height: .95;
}

.hpi-ifrs-card-number::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 30px;
	height: 2px;
	background: var(--hpi-ifrs-accent);
	content: "";
}

.hpi-ifrs-card-title {
	margin: 0 0 12px;
	color: #081a35;
	font-size: clamp(17px, 1.35vw, 20px);
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1.22;
}

.hpi-ifrs-card-description {
	margin: 0;
	color: #5a667d;
	font-size: 14px;
	line-height: 1.48;
}

.hpi-ifrs-card-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding-top: 18px;
	color: var(--hpi-ifrs-accent);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}

.hpi-ifrs-card-link i {
	font-size: 16px;
	transition: transform 180ms ease;
}

.hpi-ifrs-card-link:hover i,
.hpi-ifrs-card-link:focus-visible i {
	transform: translateX(4px);
}

.hpi-ifrs-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 auto clamp(22px, 3vw, 34px);
}

.hpi-ifrs-progress button {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #d9dce2;
	cursor: pointer;
	transition: width 200ms ease, background-color 200ms ease;
}

.hpi-ifrs-progress button.is-active {
	width: 22px;
	background: var(--hpi-ifrs-active-accent);
}

.hpi-ifrs-benefits {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
	border: 1px solid rgb(252 30 30 / 24%);
	border-radius: 16px;
	background: rgb(255 255 255 / 38%);
}

.hpi-ifrs-benefits .hpi-mfrs-benefit {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	padding: 20px clamp(19px, 2.2vw, 29px);
	box-sizing: border-box;
}

.hpi-ifrs-benefits .hpi-mfrs-benefit + .hpi-mfrs-benefit {
	border-left: 1px solid rgb(252 30 30 / 17%);
}

.hpi-ifrs-benefits .hpi-mfrs-benefit-icon {
	display: none;
}

.hpi-ifrs-benefits .hpi-mfrs-benefit-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
}

.hpi-ifrs-benefits .hpi-mfrs-benefit-copy strong {
	color: #0a1930;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .035em;
	line-height: 1.3;
	text-transform: uppercase;
}

.hpi-ifrs-benefits .hpi-mfrs-benefit-copy span {
	color: #657083;
	font-size: 15px;
	line-height: 1.45;
}

@media (max-width: 900px) {
	.hpi-ifrs-track {
		--hpi-ifrs-gap: 16px;
	}

	.hpi-ifrs-card {
		flex-basis: calc(50% - 8px);
	}

	.hpi-ifrs-benefits {
		grid-template-columns: 1fr;
	}

	.hpi-ifrs-benefits .hpi-mfrs-benefit + .hpi-mfrs-benefit {
		border-top: 1px solid rgb(252 30 30 / 17%);
		border-left: 0;
	}
}

@media (max-width: 560px) {
	.hpi-mfrs {
		padding-block: 52px 62px;
	}

	.hpi-mfrs .hpi-mfrs-copy {
		width: 100%;
	}

	.hpi-mfrs .hpi-mfrs-eyebrow {
		margin-bottom: 18px;
		padding: 7px 14px;
		font-size: 10px;
	}

	.hpi-mfrs .hpi-mfrs-copy-title {
		font-size: clamp(31px, 9vw, 39px) !important;
	}

	.hpi-ifrs-carousel {
		width: 100%;
		margin-top: 30px;
	}

	.hpi-ifrs-viewport {
		padding-bottom: 18px;
	}

	.hpi-ifrs-track {
		--hpi-ifrs-gap: 14px;
	}

	.hpi-ifrs-card {
		flex-basis: 100%;
		min-height: 350px;
		padding: 26px 23px;
		border-radius: 17px;
	}

	.hpi-ifrs-progress {
		margin-bottom: 34px;
	}

	.hpi-ifrs-benefits {
		width: 100%;
	}

	.hpi-ifrs-benefits .hpi-mfrs-benefit {
		padding: 22px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hpi-ifrs-track,
	.hpi-ifrs-card,
	.hpi-ifrs-progress button {
		transition-duration: 1ms !important;
	}
}
