.pe-adv,
.pe-adv *,
.pe-adv *::before,
.pe-adv *::after {
	box-sizing: border-box;
	min-width: 0;
}

.pe-adv {
	margin-inline: calc(var(--pe-header-gutter, 40px) * -1);
	padding: 60px var(--pe-header-gutter, 40px);
	border-bottom: 1px solid #8b8b8d;
	background: #2b2b2f;
	color: #fff;
	font: 400 16px/1.5 Play, Arial, sans-serif;
	scroll-margin-top: 24px;
}

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

.pe-adv__empty {
	margin: 0;
	padding: 24px;
	background: #2b2b2f;
	color: #fff;
}

.pe-adv__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	margin: 0 0 40px;
}

.pe-adv__head h2 {
	flex: 1 1 auto;
	margin: 0;
	color: #fff;
	font-family: Tektur, Play, sans-serif;
	font-weight: 500;
	font-size: 48px;
	line-height: 1.18;
	letter-spacing: -0.5px;
	text-wrap: balance;
	white-space: pre-line;
	overflow-wrap: anywhere;
}

.pe-adv__more {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
	max-width: 100%;
	color: #fff;
	font: 400 16px/1.3 Play, Arial, sans-serif;
	text-decoration: none;
}

.pe-adv__orbit {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	color: inherit;
	border-radius: 50%;
	transition: background-color 180ms, box-shadow 180ms;
}

.pe-adv__ring,
.pe-adv__glyph {
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pe-adv__ring {
	position: absolute;
	inset: 0;
	width: 46px;
	height: 46px;
	stroke-width: 1;
}

.pe-adv__glyph {
	position: relative;
	width: 18px;
	height: 18px;
	stroke-width: 1.15;
}

.pe-adv__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.pe-adv__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 28px;
	border: 1px solid #d1ced6;
	background: #faf9fb;
	color: #2b2b2f;
}

.pe-adv__card--mist {
	border-color: #ccc8d3;
	background: #eae8ed;
}

.pe-adv__card--violet {
	border-color: #84679f;
	background: #654387;
	color: #fff;
}

.pe-adv__card--graphite {
	border-color: #605b68;
	background: #39373e;
	color: #f4f2f6;
}

.pe-adv__card:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

.pe-adv__index {
	position: absolute;
	top: 28px;
	right: 28px;
	display: flex;
	align-items: flex-end;
	width: 32px;
	height: 32px;
	padding: 2px 3px;
	border-top: 1px solid rgba(137, 114, 152, 0.314);
	border-right: 1px solid rgba(137, 114, 152, 0.314);
	color: #78658d;
	font: 400 11px/1 Tektur, Play, sans-serif;
	background:
		linear-gradient(90deg, transparent 49%, rgba(137, 114, 152, 0.12) 49%, rgba(137, 114, 152, 0.12) 52%, transparent 52%),
		linear-gradient(0deg, transparent 49%, rgba(137, 114, 152, 0.12) 49%, rgba(137, 114, 152, 0.12) 52%, transparent 52%);
	pointer-events: none;
}

.pe-adv__card--violet .pe-adv__index,
.pe-adv__card--graphite .pe-adv__index {
	border-color: rgba(238, 229, 255, 0.314);
	color: #d0c6dc;
	background:
		linear-gradient(90deg, transparent 49%, rgba(238, 229, 255, 0.11) 49%, rgba(238, 229, 255, 0.11) 52%, transparent 52%),
		linear-gradient(0deg, transparent 49%, rgba(238, 229, 255, 0.11) 49%, rgba(238, 229, 255, 0.11) 52%, transparent 52%);
}

.pe-adv h3 {
	margin: 0;
	max-width: 100%;
	padding-right: 52px;
	color: inherit;
	font-family: Tektur, Play, sans-serif;
	font-weight: 500;
	font-size: clamp(24px, 1.65vw, 32px);
	line-height: 1.3;
	letter-spacing: -0.35px;
	text-wrap: balance;
	white-space: pre-line;
	word-break: normal;
	overflow-wrap: break-word;
}

.pe-adv__copy {
	margin-top: 12px;
	max-width: 68ch;
}

.pe-adv__card:last-child:nth-child(odd) .pe-adv__copy {
	max-width: 90ch;
}

.pe-adv__copy p {
	margin: 0;
	font: 400 16px/1.55 Play, Arial, sans-serif;
}

.pe-adv__copy p + p {
	margin-top: 12px;
}

@media (min-width: 1500px) {
	.pe-adv__grid {
		gap: 24px;
	}
}

@media (min-width: 1921px) {
	.pe-adv__copy {
		max-width: 850px;
	}
}

@media (hover: hover) and (pointer: fine) {
	.pe-adv__card {
		transition: border-color 240ms, background-color 240ms;
	}

	.pe-adv__card:hover {
		border-color: rgba(161, 141, 173, 0.4);
	}

	.pe-adv__more:hover .pe-adv__orbit,
	.pe-adv__more:focus-visible .pe-adv__orbit {
		background: #7e33ff;
		box-shadow: inset 0 0 0 1px #7e33ff;
	}

	.pe-adv__more:hover .pe-adv__ring,
	.pe-adv__more:focus-visible .pe-adv__ring {
		opacity: 0;
	}
}

@media (max-width: 1360px) {
	.pe-adv__head h2 {
		font-size: 40px;
	}
}

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

	.pe-adv__head {
		gap: 24px;
		margin-bottom: 32px;
	}

	.pe-adv__head h2 {
		font-size: 36px;
	}

	.pe-adv__grid {
		gap: 16px;
	}

	.pe-adv__card {
		padding: 24px;
	}

	.pe-adv__index {
		top: 24px;
		right: 24px;
	}
}

@media (max-width: 600px) {
	.pe-adv {
		padding: 40px 16px;
	}

	.pe-adv__head {
		align-items: flex-start;
		flex-wrap: wrap;
		gap: 20px;
		margin-bottom: 28px;
	}

	.pe-adv__head h2 {
		flex-basis: 100%;
		font-size: 28px;
		line-height: 1.2;
	}

	.pe-adv__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.pe-adv__card:last-child:nth-child(odd) {
		grid-column: auto;
	}

	.pe-adv h3 {
		padding-right: 44px;
		text-wrap: pretty;
	}

	.pe-adv__card {
		padding: 20px;
	}

	.pe-adv__index {
		top: 20px;
		right: 20px;
		width: 28px;
		height: 28px;
	}
}

.pe-adv :is(a, button):focus-visible {
	outline: 2px solid #7e33ff;
	outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.pe-adv__card,
	.pe-adv__orbit {
		transition: none;
	}
}
