.gooya-related-carousel {
	--gooya-rc-accent: #3157ff;
	--gooya-rc-gap: 20px;
	background: transparent;
	direction: ltr;
	inline-size: 100%;
	overflow: hidden;
	padding: 0;
}

.gooya-related-carousel,
.gooya-related-carousel * {
	box-sizing: border-box;
}

.gooya-related-carousel__header {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-block-end: 30px;
	text-align: center;
}

.gooya-related-carousel__heading {
	color: #111827;
	font-size: 18px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.35;
	margin: 0;
	text-transform: uppercase;
	white-space: nowrap;
}

.gooya-related-carousel__line {
	background: var(--gooya-rc-accent);
	block-size: 1px;
	display: inline-block;
	inline-size: 60px;
}

.gooya-related-carousel__stage {
	position: relative;
}

.gooya-related-carousel__viewport {
	inline-size: 100%;
	overflow: hidden;
}

.gooya-related-carousel__track {
	display: flex;
	gap: var(--gooya-rc-gap);
	transform: translate3d(0, 0, 0);
	transition: transform .36s ease;
	will-change: transform;
}

.gooya-related-carousel__card {
	background: transparent;
	flex: 0 0 calc((100% - (var(--gooya-rc-gap) * 2)) / 3);
	min-inline-size: 0;
	text-align: center;
}

.gooya-related-carousel__image {
	background: #f1f5f9;
	border-radius: 5px;
	display: block;
	height: 165px;
	inline-size: 100%;
	overflow: hidden;
	text-decoration: none;
}

.gooya-related-carousel__image img {
	block-size: 100%;
	display: block;
	inline-size: 100%;
	object-fit: cover;
	object-position: center center;
	transition: transform .22s ease;
}

.gooya-related-carousel__card:hover .gooya-related-carousel__image img {
	transform: scale(1.035);
}

.gooya-related-carousel__placeholder {
	background:
		linear-gradient(135deg, transparent 46%, color-mix(in srgb, var(--gooya-rc-accent) 22%, transparent) 46% 54%, transparent 54%),
		radial-gradient(circle at 72% 30%, color-mix(in srgb, var(--gooya-rc-accent) 24%, transparent), transparent 32%),
		#e5e7eb;
	block-size: 100%;
	display: block;
	inline-size: 100%;
}

.gooya-related-carousel__title-wrap {
	font-size: inherit;
	line-height: inherit;
	margin: 16px 0 0;
}

.gooya-related-carousel__title {
	color: #444;
	display: -webkit-box;
	font-size: 15px;
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1.45;
	overflow: hidden;
	text-align: center;
	text-decoration: none;
	transition: color .16s ease;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.gooya-related-carousel__title:hover,
.gooya-related-carousel__title:focus-visible {
	color: var(--gooya-rc-accent);
	outline: none;
}

.gooya-related-carousel__date {
	color: #9b9b9b;
	display: block;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	margin-block-start: 10px;
	text-align: center;
}

.gooya-related-carousel__arrow {
	align-items: center;
	background: rgba(255, 255, 255, .88);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, .16);
	color: #111827;
	cursor: pointer;
	display: inline-flex;
	height: 36px;
	justify-content: center;
	padding: 0;
	position: absolute;
	top: 82px;
	transition: background .16s ease, color .16s ease, transform .16s ease;
	width: 36px;
	z-index: 3;
}

.gooya-related-carousel__arrow:hover,
.gooya-related-carousel__arrow:focus-visible {
	background: var(--gooya-rc-accent);
	color: #fff;
	outline: none;
	transform: translateY(-1px);
}

.gooya-related-carousel__arrow::before {
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	content: "";
	display: block;
	height: 9px;
	width: 9px;
}

.gooya-related-carousel__arrow--prev {
	left: 12px;
}

.gooya-related-carousel__arrow--prev::before {
	transform: rotate(135deg);
}

.gooya-related-carousel__arrow--next {
	right: 12px;
}

.gooya-related-carousel__arrow--next::before {
	transform: rotate(-45deg);
}

.gooya-related-carousel__dots {
	align-items: center;
	display: flex;
	gap: 11px;
	justify-content: center;
	margin-block-start: 18px;
}

.gooya-related-carousel__dot {
	background: transparent;
	border: 1px solid #d7d7d7;
	border-radius: 999px;
	cursor: pointer;
	height: 8px;
	padding: 0;
	transition: background .16s ease, border-color .16s ease, transform .16s ease;
	width: 8px;
}

.gooya-related-carousel__dot.is-active {
	background: var(--gooya-rc-accent);
	border-color: var(--gooya-rc-accent);
	transform: scale(1.18);
}

@media (max-width: 1024px) {
	.gooya-related-carousel__card {
		flex-basis: calc((100% - var(--gooya-rc-gap)) / 2);
	}
}

@media (max-width: 767px) {
	.gooya-related-carousel__header {
		margin-block-end: 20px;
	}

	.gooya-related-carousel__line {
		inline-size: 38px;
	}

	.gooya-related-carousel__heading {
		font-size: 15px;
	}

	.gooya-related-carousel__card {
		flex-basis: 100%;
	}

	.gooya-related-carousel__arrow {
		top: 72px;
	}
}
