
.ss {
	padding: 48px 0;
	background: #f7f8fa;
}

.ss__wrap {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 24px;
}

.ss__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}

.ss__title {
	font-size: 30px;
	font-weight: 800;
	color: #07214d;
	margin: 0 0 6px;
}

.ss__sub {
	font-size: 15px;
	color: rgba(18, 34, 64, 0.62);
	margin: 0;
	max-width: 62ch;
}

.ss__nav {
	display: flex;
	gap: 10px;
}

.ss__nav[hidden] {
	display: none;
}

.ss__navbtn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid #d8dee8;
	background: #fff;
	color: #07214d;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.ss__navbtn:hover:not(:disabled) {
	border-color: #5182f6;
	color: #5182f6;
}

.ss__navbtn:disabled {
	opacity: 0.35;
	cursor: default;
}

.ss__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 280px;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 8px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.ss__track::-webkit-scrollbar {
	display: none;
}

.ss__track:focus-visible {
	outline: 2px solid #5182f6;
	outline-offset: 4px;
}

.ss__card {
	scroll-snap-align: start;
	background: #fff;
	border: 1px solid #e2e6ee;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 12px rgba(7, 33, 77, 0.05);
}

.ss__photo {
	aspect-ratio: 4 / 3;
	background: #e7ebf3;
}

.ss__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	color: transparent;
}

.ss__photo--empty {
	position: relative;
}

.ss__photo--empty::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 26%;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #cfd7e4;
	transform: translateX(-50%);
}

.ss__photo--empty::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 92px;
	height: 44px;
	border-radius: 46px 46px 0 0;
	background: #cfd7e4;
	transform: translateX(-50%);
}

.ss__body {
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.ss__quote {
	font-size: 14px;
	line-height: 1.5;
	color: rgba(18, 34, 64, 0.78);
	margin: 0;
	flex: 1;
}

.ss__quote--empty {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ss__quote--empty span {
	display: block;
	height: 9px;
	border-radius: 5px;
	background: #e7ebf3;
}

.ss__quote--empty span:nth-child(2) {
	width: 86%;
}

.ss__quote--empty span:nth-child(3) {
	width: 62%;
}

.ss__name {
	font-size: 15px;
	font-weight: 700;
	color: #07214d;
	margin: 0;
}

.ss__role {
	font-size: 12.5px;
	color: rgba(18, 34, 64, 0.55);
	margin: 0;
}

.ss--demo .ss__name,
.ss--demo .ss__role {
	color: #aab4c5;
}

.ss--images .ss__track {
	grid-auto-columns: 340px;
}

.ss__card--image {
	padding: 0;
}

.ss__card--image .ss__img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 700px) {
	.ss {
		padding: 32px 0;
	}

	.ss__wrap {
		padding: 0 16px;
	}

	.ss__title {
		font-size: 24px;
	}

	.ss__track {
		grid-auto-columns: 240px;
	}

	.ss--images .ss__track {
		grid-auto-columns: 280px;
	}
}
