.toec-carousel {
	--toec-columns: 3;
	--toec-gap: 24px;
	--toec-arrow-size: 38px;
	--toec-arrow-icon-size: 14px;
	--toec-arrow-radius: 50%;
	--toec-arrow-color: #111;
	--toec-arrow-background: #fff;
	--toec-arrow-border-color: #ddd;
	--toec-dot-size: 6px;
	--toec-dot-active-width: 16px;
	--toec-dot-gap: 6px;
	--toec-dot-spacing: 16px;
	--toec-dot-color: #d2d2d2;
	--toec-dot-active-color: #111;
	position: relative;
	width: 100%;
}

.toec-viewport {
	overflow: hidden;
	touch-action: pan-y;
	width: 100%;
}

.toec-carousel.has-visible-overflow .toec-viewport {
	overflow: visible;
}

.toec-track {
	display: flex;
	align-items: stretch;
	column-gap: var(--toec-gap);
	transition-property: transform;
	transition-timing-function: cubic-bezier(.2, .65, .3, 1);
	will-change: transform;
}

.toec-slide {
	display: flex;
	flex: 0 0 calc((100% - (var(--toec-columns) - 1) * var(--toec-gap)) / var(--toec-columns));
	min-width: 0;
}

.toec-card {
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 18px;
	height: 100%;
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
	width: 100%;
}

.toec-card:hover {
	transform: translateY(-3px);
}

.toec-card__link {
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
}

.toec-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	position: relative;
}

.toec-card__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
	width: 100%;
}

.toec-card:hover .toec-card__media img {
	transform: scale(1.03);
}

.toec-card__series-badge {
	background: #161616;
	border-radius: 999px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	left: 14px;
	letter-spacing: .04em;
	padding: 7px 11px;
	position: absolute;
	text-transform: uppercase;
	top: 14px;
}

.toec-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px;
}

.toec-card__categories {
	color: #6b4eff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	margin-bottom: 9px;
	text-transform: uppercase;
}

.toec-card__title {
	color: #151515;
	font-size: clamp(19px, 2vw, 24px);
	line-height: 1.2;
	margin: 0 0 18px;
}

.toec-card__schedule {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	font-size: 14px;
	font-weight: 650;
	gap: 8px;
	margin-top: auto;
}

.toec-card__date,
.toec-card__time {
	align-items: center;
	border-radius: 8px;
	display: inline-flex;
	line-height: 1.2;
	padding: 7px 10px;
}

.toec-card__date {
	background: #f0edff;
	color: #4d35c8;
}

.toec-card__time {
	background: #f4f4f4;
	color: #3f3f3f;
}

.toec-card__series-notice {
	color: #686868;
	font-size: 13px;
	line-height: 1.45;
	margin: 12px 0 0;
}

.toec-carousel button.toec-arrow {
	-webkit-appearance: none;
	appearance: none;
	align-items: center;
	background: var(--toec-arrow-background) !important;
	border: 1px solid var(--toec-arrow-border-color) !important;
	border-radius: var(--toec-arrow-radius);
	box-sizing: border-box;
	color: var(--toec-arrow-color) !important;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 0;
	height: var(--toec-arrow-size) !important;
	justify-content: center;
	line-height: 0;
	margin: 0;
	min-height: 0;
	min-width: 0;
	padding: 0 !important;
	position: absolute;
	text-transform: none;
	top: 50%;
	transform: translateY(-50%);
	white-space: normal;
	width: var(--toec-arrow-size) !important;
	z-index: 3;
}

.toec-arrow--prev {
	left: -19px;
}

.toec-arrow--next {
	right: -19px;
}

.toec-arrow__icon {
	fill: none;
	height: var(--toec-arrow-icon-size) !important;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	width: var(--toec-arrow-icon-size) !important;
}

.toec-arrow__icon.is-next {
	transform: rotate(180deg);
}

.toec-carousel button.toec-arrow:disabled {
	cursor: default;
	opacity: .35;
}

.toec-carousel button.toec-arrow:hover,
.toec-carousel button.toec-arrow:focus {
	background: var(--toec-arrow-background) !important;
	color: var(--toec-arrow-color) !important;
}

.toec-dots {
	align-items: center;
	display: flex;
	gap: var(--toec-dot-gap);
	justify-content: center;
	margin-top: var(--toec-dot-spacing);
}

.toec-carousel button.toec-dot {
	-webkit-appearance: none;
	appearance: none;
	background: var(--toec-dot-color) !important;
	border: 0 !important;
	border-radius: 99px;
	box-sizing: border-box;
	cursor: pointer;
	flex: 0 0 auto;
	font-size: 0;
	height: var(--toec-dot-size) !important;
	line-height: 0;
	margin: 0;
	min-height: 0;
	min-width: 0;
	padding: 0 !important;
	text-transform: none;
	transition: background-color .2s ease, width .2s ease;
	white-space: normal;
	width: var(--toec-dot-size) !important;
}

.toec-carousel button.toec-dot:hover,
.toec-carousel button.toec-dot:focus {
	background: var(--toec-dot-color) !important;
}

.toec-carousel button.toec-dot.is-active,
.toec-carousel button.toec-dot.is-active:hover,
.toec-carousel button.toec-dot.is-active:focus {
	background: var(--toec-dot-active-color) !important;
	width: var(--toec-dot-active-width) !important;
}

.toec-carousel.is-static .toec-arrow,
.toec-carousel.is-static .toec-dots {
	display: none;
}

.toec-message {
	border: 1px dashed #bbb;
	padding: 18px;
}

@media (max-width: 1024px) {
	.toec-carousel {
		--toec-columns: 2;
	}

	.toec-arrow--prev {
		left: 6px;
	}

	.toec-arrow--next {
		right: 6px;
	}
}

@media (max-width: 767px) {
	.toec-carousel {
		--toec-columns: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.toec-track,
	.toec-card,
	.toec-card__media img {
		transition-duration: 0ms !important;
	}
}
