.category-program {
	--cp-accent: #960a19;
	--cp-accent-soft: rgba(150, 10, 25, 0.35);
	--cp-bg: #f3f2f1;
	--cp-text: #2a2a2a;
	--cp-muted: #8a8a8a;
	--cp-tab-color: #323439;
	--cp-tab-active: #870917;
	--cp-radius: 6px;
	--cp-transition: 0.55s cubic-bezier(0.4, 0, 0.2, 1);

	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
}

.category-program *,
.category-program *::before,
.category-program *::after {
	box-sizing: border-box;
}

.category-program__programs-viewport {
	overflow: hidden;
}

.category-program__programs-track {
	display: flex;
	will-change: transform;
	transition: transform var(--cp-transition);
}

.category-program__program {
	flex: 0 0 100%;
	width: 100%;
	min-width: 0;
}

.category-program__header {
	margin-bottom: 40px;
	text-align: center;
}

.category-program__title {
	margin: 0 0 22px;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	font-family: Ahellya, Georgia, "Times New Roman", serif;
	font-size: 36px;
	font-weight: 400;
	font-style: italic;
	line-height: 1.15;
	color: var(--cp-text);
}

.category-program__cities {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 0;
	font-family: "TikTok Sans", sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #545454;
}

.category-program__cities-icon {
	display: block;
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
	object-fit: contain;
}

.category-program__day-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 28px 45px;
	margin-bottom: 10px;
}

.category-program__day-tab {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 0 0 10px;
	border: 0;
	background: transparent;
	color: var(--cp-tab-color);
	opacity: 0.7;
	font-family: "TikTok Sans", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.category-program__day-tab::after {
	content: "";
	display: block;
	width: 100%;
	height: 1px;
	margin-top: 10px;
	background: #dfdfdf;
	transition: background-color 0.2s ease;
}

.category-program__day-tab:hover,
.category-program__day-tab:focus-visible,
.category-program__day-tab.is-active {
	color: var(--cp-tab-color);
	opacity: 1;
	background: transparent;
	outline: none;
}

.category-program__day-tab:hover::after,
.category-program__day-tab:focus-visible::after,
.category-program__day-tab.is-active::after {
	background: #960A19;
}

.category-program__day-viewport {
	overflow: hidden;
}

.category-program__day-track {
	display: flex;
	will-change: transform;
	transition: transform var(--cp-transition);
}

.category-program__day-slide {
	display: grid;
	grid-template-columns: minmax(0, 486px) minmax(0, 1fr);
	gap: 20px;
	flex: 0 0 100%;
	width: 100%;
	min-width: 0;
	align-items: stretch;
}

.category-program__day-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	max-width: 486px;
	min-height: 542px;
	padding: 60px;
	border-radius: var(--cp-radius);
	background: var(--cp-bg);
}

.category-program__day-title {
	margin: 0;
	font-family: Ahellya, Georgia, "Times New Roman", serif;
	font-size: 24px;
	font-weight: 400;
	font-style: italic;
	line-height: 1.15;
	color: var(--cp-text);
}

.category-program__day-text {
	font-family: "TikTok Sans", sans-serif;
	font-size: 15px;
	line-height: 1.45;
	color: #414141;
}

.category-program__day-text p {
	margin: 0 0 1em;
}

.category-program__day-text p:last-child {
	margin-bottom: 0;
}

.category-program__day-media {
	position: relative;
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	min-height: 420px;
	align-self: stretch;
	overflow: visible;
}

.category-program__day-deck {
	--cp-edge-width: 20px;

	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: row;
	align-items: stretch;
}

.category-program__day-card {
	position: relative;
	min-width: 0;
	overflow: hidden;
	background-color: #ddd;
}

.category-program__day-card--main {
	flex: 1 1 auto;
	align-self: stretch;
	width: 100%;
	min-height: 100%;
	height: 100%;
	border-radius: 6px;
	overflow: hidden;
	background-color: #ddd;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.category-program__day-card--slider {
	background-image: none;
}

.category-program__day-image-viewport {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: inherit;
}

.category-program__day-image-track {
	display: flex;
	width: 100%;
	height: 100%;
	will-change: transform;
	transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-program__day-image-slide {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	background-color: #ddd;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

@media (prefers-reduced-motion: reduce) {
	.category-program__day-image-track {
		transition: none;
	}
}

.category-program__day-deck--has-stack .category-program__day-card--main {
	border-radius: 6px;
}

.category-program__day-stack-edge {
	position: relative;
	flex: 0 0 calc(var(--cp-edge-width) * 3);
	width: calc(var(--cp-edge-width) * 3);
	height: 100%;
	align-self: stretch;
}

.category-program__day-stack-edge-item {
	position: absolute;
	top: 0;
	width: var(--cp-edge-width);
	background-color: #ddd;
	background-size: cover;
	background-position: right center;
	background-repeat: no-repeat;
	overflow: hidden;
	border-radius: 0 6px 6px 0;
}

.category-program__day-stack-edge-item:nth-child(1) {
	left: 0;
	top: 20px;
	height: calc(100% - 28px);
}

.category-program__day-stack-edge-item:nth-child(2) {
	left: var(--cp-edge-width);
	top: 40px;
	height: calc(100% - 56px);
}

.category-program__day-stack-edge-item:nth-child(3) {
	left: calc(var(--cp-edge-width) * 2);
	top: 60px;
	height: calc(100% - 84px);
}

.category-program__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	margin-top: 38px;
}

.category-program__progress {
	position: relative;
	flex: 1 1 auto;
	height: 1px;
	background: var(--cp-accent-soft);
}

.category-program__progress-fill {
	display: block;
	width: 0;
	height: 100%;
	background: var(--cp-accent);
	transition: width var(--cp-transition);
}

.category-program__nav {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.category-program__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 16px;
	border: 1px solid var(--cp-accent);
	border-radius: 50%;
	background: transparent;
	color: var(--cp-accent);
	cursor: pointer;
	transition: border-color 0.25s ease, opacity 0.25s ease;
}

.category-program__arrow:hover,
.category-program__arrow:focus,
.category-program__arrow:focus-visible {
	border-color: var(--cp-accent);
	background: transparent;
	color: var(--cp-accent);
	outline: none;
}

.category-program__arrow svg,
.category-program__arrow:hover svg,
.category-program__arrow:focus svg,
.category-program__arrow:focus-visible svg,
.category-program__arrow:hover:not(:disabled) svg,
.category-program__arrow:focus:not(:disabled) svg,
.category-program__arrow:focus-visible:not(:disabled) svg {
	color: inherit;
	stroke: none;
}

.category-program__arrow svg path,
.category-program__arrow:hover svg path,
.category-program__arrow:focus svg path,
.category-program__arrow:focus-visible svg path,
.category-program__arrow:hover:not(:disabled) svg path,
.category-program__arrow:focus:not(:disabled) svg path,
.category-program__arrow:focus-visible:not(:disabled) svg path {
	fill: currentColor;
	stroke: none;
	stroke-width: 0;
}

.category-program__arrow:disabled {
	opacity: 0.3;
	cursor: default;
}

.category-program__empty {
	margin: 0;
	padding: 16px;
	background: #fff3cd;
	border: 1px solid #ffc107;
	font-family: "TikTok Sans", sans-serif;
	font-size: 14px;
}

@media (max-width: 991px) {
	.category-program__day-tabs {
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 8px;
		scrollbar-width: thin;
	}

	.category-program__day-slide {
		grid-template-columns: 1fr;
	}

	.category-program__day-media {
		min-height: 320px;
	}

	.category-program__day-deck {
		--cp-edge-width: 12px;
	}

	.category-program__day-content {
		padding: 40px 32px;
	}
}

@media (max-width: 767px) {
	.category-program__header {
		margin-bottom: 28px;
	}

	.category-program__day-tabs {
		gap: 20px 24px;
		margin-bottom: 28px;
	}

	.category-program__day-content {
		padding: 32px 20px;
		min-height: 0;
	}

	.category-program__day-media {
		min-height: 260px;
	}

	.category-program__day-deck {
		--cp-edge-width: 10px;
	}
}
