/**
 * Transformers for Utilities page.
 * Scoped to .ci-util.
 */

.ci-util {
	--ci-ut-ink: #1b1f24;
	--ci-ut-muted: #5e6770;
	--ci-ut-line: #e6e6e6;
	--ci-ut-red: #d0121a;
	color: var(--ci-ut-ink);
	background: #fff;
}

.ci-util a {
	color: var(--ci-ut-ink);
	text-decoration: none;
}

.ci-util h1,
.ci-util h2,
.ci-util h3 {
	color: var(--ci-ut-ink);
}

.ci-ut-hero {
	position: relative;
	min-height: 460px;
	display: flex;
	align-items: center;
	background-color: #1c242c;
	background-position: center 40%;
	background-size: cover;
	background-repeat: no-repeat;
}

.navbar-default {
    background-color: transparent!important;
    border-color: transparent!important;
}

.navbar {
    margin-bottom:0!important;
}

.ci-ut-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.05) 55%, rgba(0, 0, 0, 0.12));
}

.ci-ut-hero .container {
	position: relative;
	z-index: 1;
}

.ci-ut-hero__box {
	display: inline-block;
	max-width: 520px;
	padding: 28px 36px 30px;
	background: rgba(22, 26, 31, 0.88);
}

.ci-ut-hero__box h1 {
	margin: 0;
	color: #fff;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.15;
}

.ci-ut-block {
	padding: 64px 0 20px;
}

.ci-ut-block--tight {
	padding-top: 36px;
}

.ci-ut-split {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 48px;
	align-items: center;
}

.ci-ut-split__copy p {
	margin: 0 0 16px;
	color: var(--ci-ut-muted);
	font-size: 15px;
	line-height: 1.7;
}

.ci-ut-split__copy p:last-child {
	margin-bottom: 0;
}

.ci-ut-media {
	position: relative;
	min-height: 280px;
	overflow: hidden;
	background: #d5d8dc;
}

.ci-ut-media img,
.ci-ut-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ci-ut-media img {
	min-height: 320px;
}

.ci-ut-media__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding: 54px 18px 16px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
	color: #fff;
}

.ci-ut-media__caption p {
	margin: 0;
	max-width: 11em;
	color: #fff;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.15;
}

.ci-ut-play {
	flex: 0 0 54px;
	width: 54px;
	height: 54px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #fff;
	border-radius: 50%;
	color: #fff;
}

.ci-ut-topics-band {
	margin-top: 28px;
	padding: 48px 0 56px;
	background: #e9e9e9;
}

.ci-ut-topics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	align-items: stretch;
}

.ci-util .ci-ut-topics article {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 12px 12px 58px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(17, 24, 32, 0.12);
}

.ci-util .ci-ut-topics .ci-ut-photo {
	margin: 0 0 16px;
	border-radius: 6px;
}

.ci-util .ci-ut-topics h2,
.ci-util .ci-ut-topics p {
	padding: 0 4px;
}

.ci-ut-photo {
	aspect-ratio: 16 / 10;
	margin-bottom: 16px;
	overflow: hidden;
	background: #d7dbe0;
}

.ci-ut-topics h2,
.ci-ut-app h3,
.ci-ut-story h3 {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.ci-ut-topics p,
.ci-ut-story p {
	margin: 0 0 12px;
	color: var(--ci-ut-muted);
	font-size: 14.5px;
	line-height: 1.65;
}

.ci-ut-topics p:last-child,
.ci-ut-story p:last-of-type {
	margin-bottom: 0;
}

.ci-ut-heading {
	margin: 10px 0 32px;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
}

.ci-ut-kicker {
	margin: 0 0 6px;
	color: var(--ci-ut-muted);
	font-size: 14px;
	text-align: center;
}

.ci-ut-apps,
.ci-ut-story-grid {
	display: grid;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: stretch;
}

.ci-ut-apps {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ci-ut-story-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ci-util .ci-ut-app,
.ci-util .ci-ut-story {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 12px 12px 58px;
	border-radius: 8px;
	background: #f1f1f1;
	box-shadow: 0 10px 28px rgba(17, 24, 32, 0.14);
}

.ci-util .ci-ut-app .ci-ut-photo,
.ci-util .ci-ut-story .ci-ut-photo {
	margin: 0 0 16px;
	border-radius: 6px;
	aspect-ratio: 16 / 10.5;
}

.ci-util .ci-ut-app h3,
.ci-util .ci-ut-story h3 {
	padding: 0 4px;
	font-size: 20px;
}

.ci-util .ci-ut-story p {
	padding: 0 4px;
}

.ci-ut-arrow {
	position: absolute;
	right: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 4px;
	background: #1c1c1c;
	color: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

.ci-ut-story.is-extra {
	display: none;
}

.ci-ut-story.is-extra.is-shown {
	display: flex;
}

.ci-ut-more-wrap {
	margin: 28px 0 10px;
	text-align: center;
}

.ci-ut-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	border: 1px solid #cfcfcf;
	border-radius: 24px;
	background: #fff;
	color: var(--ci-ut-ink);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.ci-ut-more:hover,
.ci-ut-more:focus {
	border-color: var(--ci-ut-red);
	color: var(--ci-ut-red);
	outline: none;
}

.ci-ut-more:focus-visible,
.ci-util a:focus-visible {
	outline: 2px solid var(--ci-ut-red);
	outline-offset: 3px;
}

.ci-ut-lead {
	max-width: 640px;
	margin: -12px auto 28px;
	color: var(--ci-ut-muted);
	font-size: 15px;
	line-height: 1.6;
	text-align: center;
}

.ci-ut-story-grid--contracts {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ci-util .ci-ut-contract {
	padding: 0 0 18px;
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 16px 36px rgba(17, 24, 32, 0.2);
}

.ci-ut-contract__media {
	position: relative;
	height: 150px;
	margin-bottom: 14px;
	background: #d5d8dc;
}

.ci-ut-contract__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.28));
}

.ci-ut-contract__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ci-ut-contract__body {
	padding: 0 18px;
}

.ci-ut-type {
	display: inline-block;
	margin: 0 0 12px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(208, 18, 26, 0.1);
	color: var(--ci-ut-red);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ci-util .ci-ut-contract h3 {
	padding: 0;
	font-size: 22px;
}

.ci-ut-entity {
	margin: 0 0 6px;
	color: var(--ci-ut-ink);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.45;
}

.ci-ut-note {
	margin: 0 0 16px;
	color: var(--ci-ut-muted);
	font-size: 14px;
}

.ci-ut-facts {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 0.7fr 0.9fr;
	gap: 12px;
	margin: 0;
	padding-top: 14px;
	border-top: 1px solid #ececec;
}

.ci-ut-facts div {
	min-width: 0;
}

.ci-ut-facts dt {
	margin: 0 0 4px;
	color: #8b9198;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ci-ut-facts dd {
	margin: 0;
	color: var(--ci-ut-ink);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
}

.ci-ut-carousel__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 26px;
}

.ci-ut-carousel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid #d7d7d7;
	border-radius: 50%;
	background: #fff;
	color: #2a2a2a;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(17, 24, 32, 0.08);
}

.ci-ut-carousel__btn:hover,
.ci-ut-carousel__btn:focus {
	border-color: var(--ci-ut-red);
	color: var(--ci-ut-red);
	outline: none;
}

.ci-ut-carousel__count {
	min-width: 4.2em;
	margin: 0;
	color: #3c3c3c;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
}

.ci-util .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.ci-ut-carousel.is-ready .ci-ut-story-grid--contracts {
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.2fr) minmax(0, 0.82fr);
	align-items: stretch;
}

.ci-ut-carousel.is-ready .ci-ut-contract {
	display: none;
}

.ci-ut-carousel.is-ready .ci-ut-contract.is-visible {
	display: flex;
}

.ci-ut-carousel.is-ready .ci-ut-contract.is-side {
	opacity: 1;
	transform: scale(0.96);
	box-shadow: 0 14px 32px rgba(17, 24, 32, 0.18);
}

.ci-ut-carousel.is-ready .ci-ut-contract.is-center {
	z-index: 1;
	opacity: 1;
	transform: none;
	box-shadow: 0 20px 44px rgba(17, 24, 32, 0.24);
}

.ci-ut-carousel .ci-ut-facts {
	grid-template-columns: 1fr 1fr;
}

.ci-ut-stories {
	margin-top: 36px;
	padding: 52px 0 64px;
	background: #e9e9e9;
}

.ci-util .ci-ut-story {
	background: #fff;
	box-shadow: 0 8px 22px rgba(17, 24, 32, 0.12);
}

@media (max-width: 1199px) {
	.ci-ut-apps,
	.ci-ut-story-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.ci-ut-hero {
		min-height: 360px;
	}

	.ci-ut-hero__box h1 {
		font-size: 34px;
	}

	.ci-ut-split,
	.ci-ut-topics {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.ci-ut-media__caption p {
		font-size: 24px;
	}

	.ci-ut-facts,
	.ci-ut-carousel .ci-ut-facts {
		grid-template-columns: 1fr 1fr;
	}

	.ci-ut-story-grid--contracts,
	.ci-ut-carousel.is-ready .ci-ut-story-grid--contracts {
		grid-template-columns: 1fr;
	}

	.ci-ut-carousel.is-ready .ci-ut-contract.is-side {
		display: none;
	}
}

@media (max-width: 767px) {
	.ci-ut-hero__box {
		padding: 20px 18px;
	}

	.ci-ut-hero__box h1,
	.ci-ut-heading {
		font-size: 28px;
	}

	.ci-ut-apps,
	.ci-ut-story-grid,
	.ci-ut-story-grid--contracts,
	.ci-ut-facts {
		grid-template-columns: 1fr;
	}

	.ci-ut-block {
		padding-top: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ci-ut-more,
	.ci-ut-carousel.is-ready .ci-ut-contract.is-side,
	.ci-ut-carousel.is-ready .ci-ut-contract.is-center {
		transition: none;
	}
}
