.pe-trust,
.pe-trust *,
.pe-trust *::before,
.pe-trust *::after {
	box-sizing: border-box;
}

.pe-trust {
	--pe-trust-light: #c9a9ff;
	position: relative;
	margin-inline: calc(var(--pe-header-gutter, 40px) * -1);
	padding: 60px var(--pe-header-gutter, 40px);
	overflow: hidden;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	background-color: #29292d;
	color: #fff;
	font: 400 16px/1.3 Play, Arial, sans-serif;
	scroll-margin-top: 24px;
}

.pe-trust.has-photo {
	background-image: linear-gradient(0deg, #29292d 35%, rgba(41, 41, 45, 0.66)), var(--pe-trust-photo);
	background-position: 0 0, center top;
	background-size: auto, cover;
	background-repeat: no-repeat;
}

body:has(.pe-header.is-overlay) .pe-trust {
	margin-inline: 0;
}

.pe-trust * {
	min-width: 0;
}

.pe-trust__empty {
	margin: 0;
	padding: 24px;
	background: #29292d;
	color: #fff;
}

.pe-trust__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 28px 40px;
	margin: 0 0 40px;
}

.pe-trust__head > div {
	min-width: 0;
}

.pe-trust h2,
.pe-trust h3 {
	margin: 0;
	font-family: Tektur, Play, sans-serif;
	font-weight: 500;
	white-space: pre-line;
}

.pe-trust h2 {
	color: #fff;
	font-size: 36px;
	line-height: 1.18;
	letter-spacing: -0.5px;
}

.pe-trust__all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	gap: 6px;
	min-height: 45px;
	margin: 0;
	padding: 11px 26px;
	border: 1px solid #fff;
	border-radius: 0;
	background: #fff;
	color: #2b2b2f;
	font: 400 16px/1.3 Play, Arial, sans-serif;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.18s;
}

.pe-trust__all:hover {
	opacity: 0.86;
}

.pe-trust__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}

.pe-trust__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.11);
	background: linear-gradient(150deg, #2b2b30 55%, #37363f);
	color: #fff;
	transition: border-color 0.2s;
}

.pe-trust__media {
	display: block;
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	aspect-ratio: 2.35 / 1;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: #333338;
	color: inherit;
	cursor: pointer;
}

.pe-trust__media img {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.pe-trust__copy {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	padding: clamp(24px, 2vw, 36px);
}

.pe-trust__title {
	margin: 0 0 16px;
	color: #fff;
	font: 500 clamp(20px, 1.35vw, 26px) / 1.35 Tektur, Play, sans-serif;
	letter-spacing: -0.025em;
	overflow-wrap: break-word;
}

.pe-trust__text {
	color: #d8d6df;
	font: 400 16px/1.5 Play, sans-serif;
}

.pe-trust__text p {
	margin: 0 0 12px;
}

.pe-trust__text p:last-child {
	margin-bottom: 0;
}

.pe-trust__more {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	align-self: flex-start;
	gap: 12px;
	max-width: 100%;
	min-height: 48px;
	margin: auto 0 0;
	padding: 24px 0 0;
	border: 0;
	background: none;
	color: var(--pe-trust-light);
	font: 400 16px/1.4 Play, sans-serif;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.pe-trust__more > :last-child {
	flex: 0 0 auto;
}

.pe-trust__card :is(a, button):focus-visible,
.pe-trust__all:focus-visible {
	outline: 2px solid var(--pe-trust-light);
	outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
	.pe-trust__card:has(:is(a, button):hover) {
		border-color: rgba(181, 138, 252, 0.5);
	}

	.pe-trust__media:hover img {
		transform: scale(1.035);
	}

	.pe-trust__more:hover {
		color: #e2d1ff;
		text-decoration: underline;
		text-underline-offset: 5px;
	}
}

@media (min-width: 901px) {
	.pe-trust__grid:has(> :only-child) {
		grid-template-columns: minmax(0, 1fr);
	}

	.pe-trust__grid > :only-child {
		display: grid;
		grid-template-columns: 1.2fr 1fr;
	}

	.pe-trust__grid > :only-child .pe-trust__media {
		min-height: 300px;
		height: 100%;
		aspect-ratio: auto;
	}
}

@media (max-width: 1100px) {
	.pe-trust__head {
		flex-direction: column;
		gap: 24px;
	}

	.pe-trust__grid {
		gap: 20px;
	}

	.pe-trust__copy {
		padding: 24px;
	}
}

@media (max-width: 960px) {
	.pe-trust {
		padding-block: 48px;
	}
}

@media (max-width: 900px) {
	.pe-trust__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pe-trust__media {
		aspect-ratio: 1.8 / 1;
	}
}

@media (max-width: 620px) {
	.pe-trust {
		padding-block: 40px;
	}

	.pe-trust__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.pe-trust__head {
		margin-bottom: 28px;
	}

	.pe-trust h2 {
		font-size: 30px;
	}

	.pe-trust__all {
		width: 100%;
		min-width: 0;
		white-space: normal;
	}

	.pe-trust__title {
		font-size: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pe-trust__card,
	.pe-trust__media img,
	.pe-trust__all {
		transition: none;
	}

	.pe-trust__media:hover img {
		transform: none;
	}
}
