.pinned-tab {
	background: #13294b;
	color: white;
	height: 100vh;
	overflow: hidden;
	background: url('../../assets/images/scrolling-tab-left.svg') no-repeat top left /
			60px auto,
	url('../../assets/images/scrolling-tab-right.svg') no-repeat top right -150px /
			auto 100%,
	var(--color-theme-primary);
}

@media only screen and (max-width: 767px) {
	.pinned-tab {
		height: auto;
		background: url(../../assets/images/scrolling-tab-left.svg) no-repeat -17% 0, url(../../assets/images/scrolling-tab-right.svg) no-repeat 165px -5px, var(--color-theme-primary);
	}
}

.pinned-tab-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: auto;
	height: 100%;
	margin: 0 auto;
	padding-top: 100px;
	padding-bottom: 200px;
	position: relative;
}

@media only screen and (max-width: 767px) {
	.pinned-tab-container {
		grid-template-columns: 100%;
		height: auto;
		padding-top: 15px;
		padding-bottom: 75px;
	}
}

.pinned-tab-container--left {
	align-items: center;
	display: grid;
	grid-gap: 75px 0;
	grid-template-columns: 100%;
	grid-template-rows: auto 1fr;
}

@media only screen and (max-width: 767px) {
	.pinned-tab-container--left {
		grid-template-rows: 200px 1fr;
		gap: 0;
	}
}

.pinned-tab-container--right {
	position: relative;
}

.pinned-tab-eyebrow-container {
	position: relative;
	margin-left: 32px;
	margin-bottom: 42px;
	max-width: none;
}

@media only screen and (min-width: 767px) {
	.pinned-tab-eyebrow-container {
		margin: 65px 0 84px;
		padding-top: 90px;
		max-width: 440px;
	}
}

.pinned-tab-eyebrow,
.pinned-tab-card {
	opacity: 0;
	position: absolute;
}

.pinned-tab-eyebrow:first-child,
.pinned-tab-card:first-child {
	opacity: 1;
}

.pinned-tab-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.pinned-tab-list-item a {
	display: block;
	font-size: clamp(40px, calc(40px + 50 * ((100vw - 390px) / 1050)), 90px);
	font-family: var(--secondary-font-family);
	line-height: 1;
	font-weight: 500;
	letter-spacing: 0.5px;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
	pointer-events: none;
}

.pinned-tab-list-item a::after {
	position: absolute;
	content: '';
	left: 0;
	bottom: 0;
	width: 103%;
	height: 10px;
	background: #fff;
	transform: scaleX(0);
	transform-origin: bottom right;
	z-index: 3;
}

.pinned-tab-list-item.is-active a {
	font-size: clamp(65px, calc(65px + 55 * ((100vw - 390px) / 1050)), 120px);
	line-height: 1.1;
	color: var(--color-theme-blue-bright);
	margin: 30px 0 50px;
}

.pinned-tab-list-item.is-active a::after {
	transform: scaleX(1);
	transition: transform 0.3s ease-in-out;
	transform-origin: bottom left;
}

@media only screen and (max-width: 767px) {
	.pinned-tab-list {
		margin-bottom: 50px;
		padding-left: 50px;
		position: relative;
	}

	.pinned-tab-list::after {
		position: absolute;
		content: '';
		left: 20px;
		top: 0;
		width: 5px;
		height: 150%;
		background: #fff;
		z-index: 3;
	}

	.pinned-tab-list-item a {
		pointer-events: initial;
	}

	.pinned-tab-list-item.is-active a {
		margin: 0;
	}

	.pinned-tab-list-item a::after {
		display: none;
	}
}

.pinned-tab-card {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	grid-column: 2;
	position: absolute;
	width: 100%;
	height: 100%;
}

@media only screen and (max-width: 767px) {
	.pinned-tab-card {
		position: relative;
		height: 620px;
	}

	.pinned-tab-card::before,
	.pinned-tab-card::after {
		display: none;
	}
}

.pinned-tab-card::before {
	position: absolute;
	content: '';
	right: 0;
	bottom: 0;
	width: 90px;
	height: 90px;
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="89" height="91" viewBox="0 0 89 91" fill="none"> <path d="M53.8659 90.7726H34.4565V55.1832H0.277344V36.1297H34.4565V0.773438H53.8659V36.1297H88.0451V55.1832H53.8659V90.7726Z" fill="%2300A3E0"/></svg>') no-repeat center;
	transform: translate(50%, 50%);
	z-index: 2;
}

.pinned-tab-card::after {
	content: '';
	/*background: url("assets/images/three-ppl.png") var(--color-theme-blue-bright) no-repeat center center;*/
	background-color: var(--color-theme-blue-bright);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	background-blend-mode: multiply;
	position: absolute;
	height: 200px;
	width: 200px;
	bottom: -200px;
	right: -200px;
}

.pinned-tab-card:nth-child(2)::after {
	/*background: url("assets/images/three-ppl2.png") var(--color-theme-blue-bright) no-repeat center center;*/
	background-size: cover;
	background-blend-mode: multiply;
}

.pinned-tab-card:nth-child(3)::after {
	/*background: url("assets/images/three-ppl3.png") var(--color-theme-blue-bright) no-repeat center center;*/
	background-size: cover;
	background-blend-mode: multiply;
}

.pinned-tab-card figure {
	height: 100%;
	width: 100%;
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
}

@media only screen and (max-width: 767px) {
	position: relative;
}

.pinned-tab-card figure:after {
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		0deg,
		rgba(0, 0, 0, 0.9) 19.24%,
		rgba(0, 0, 0, 0) 76.96%
	);
}

.pinned-tab-card figure img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	position: absolute;
}

.pinned-tab-card .pinned-tab-card-content {
	color: white;
	padding: 45px;
	position: relative;
	z-index: 1;
}
