.productionHero {
	width: 100%;
	padding: 60px 0 60px 0;
	background-color: #f1f1e9;
}

.productionCategoryButtons {
	width: 95%;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.productionCategoryButtonsInline {
	width: 100%;
	justify-content: space-between;
	flex-wrap: wrap;
}

.productionCategoryButtonsInline .productionCategoryButton {
	flex: 1 1 calc(33.333% - 8px);
	min-width: 85px;
	text-align: center;
}

.productionCategoryButton {
	border: 2px solid #b38867;
	background: #fff;
	color: #71614d;
	padding: 8px 18px 6px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.productionCategoryButton.is-active {
	background: #71614d;
	border-color: #71614d;
	color: #fff;
}

.productionItemThumbsEmbla {
	width: 95%;
	margin: 5px auto 0px auto;
	overflow-x: hidden;
	box-sizing: border-box;
	--thumb-height: 88px;
	--thumb-width: calc(var(--thumb-height) * 3 / 2);
	height: var(--thumb-height);
	min-height: var(--thumb-height);
	flex: 1 1 0;
	min-width: 0;
}

.productionItemThumbsEmbla .embla__viewport {
	overflow-x: hidden;
	overflow-y: visible;
	height: 100%;
}

.productionItemThumbsEmbla .embla__container {
	display: flex;
	gap: 6px;
	height: 100%;
}

.productionItemThumbsEmbla .embla__slide {
	flex: 0 0 auto;
	height: var(--thumb-height);
	min-height: var(--thumb-height);
}

.productionItemThumbsEmbla .productionEmblaThumb {
	border: 2px solid transparent;
	background: #ffffff;
	border-radius: 10px;
	padding: 4px;
	cursor: pointer;
	transition: border-color 0.2s ease, transform 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	height: calc(var(--thumb-height) - 4px);
	min-height: calc(var(--thumb-height) - 4px);
	box-sizing: border-box;
}

.productionItemThumbsEmbla .productionEmblaThumb.is-active {
	border-color: #71614d;
	transform: none;
	box-shadow: 0 0 0 2px rgba(113, 97, 77, 0.25);
}

.productionItemThumbsEmbla .productionEmblaThumb img {
	display: block;
	width: calc(var(--thumb-width) - 16px);
	height: calc(var(--thumb-height) - 12px);
	object-fit: cover;
	border-radius: 6px;
}

@media (max-width: 980px) {
	.productionItemThumbsEmbla {
		--thumb-height: 74px;
		--thumb-width: calc(var(--thumb-height) * 3 / 2);
	}

	.productionItemThumbsWrapper {
		flex-direction: column;
		align-items: stretch;
	}

	.productionThumbPanel {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		gap: 6px;
	}

	.productionThumbPanelActions {
		flex: 1;
	}

	.productionThumbStats {
		text-align: left;
	}
}

@media (max-width: 680px) {
	.productionItemThumbsEmbla {
		--thumb-height: 64px;
		--thumb-width: calc(var(--thumb-height) * 3 / 2);
	}

	.productionItemThumbsWrapper {
		flex-direction: column;
		align-items: stretch;
	}

	.productionThumbPanel {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	}

	.productionThumbPanelActions {
		flex: 1 1 100%;
	}

	.productionThumbStats {
		width: 100%;
		text-align: left;
	}
}

.productionShowcase {
	width: 95%;
	margin: 0 auto;
	display: flex;
	gap: 24px;
	align-items: stretch;
}

.productionSide {
	flex: 0 0 30%;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.productionSliderArea {
	flex: 1 1 60%;
	min-width: 0;
	box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
	border-radius: 16px;
	overflow: hidden;
	position: relative;
	display: block;
}

.productionMainLayers {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
}

.productionMainLayer {
	position: absolute !important;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.85s ease;
	z-index: 1;
	pointer-events: none;
}

.productionMainLayer.is-visible {
	opacity: 1;
	z-index: 2;
	pointer-events: auto;
}

.productionMainLayer.is-hidden {
	opacity: 0;
	z-index: 1;
}

.productionMain .splide__track {
	aspect-ratio: 16 / 9;
	height: auto;
}

.productionMain .splide__slide {
	opacity: 0;
	transition: opacity 0.65s ease;
}

.productionMain .splide__slide.is-active {
	opacity: 1;
}

.productionMain {
	position: relative;
	border-radius: inherit;
	overflow: hidden;
}

.productionMain .splide__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 12px;
	transform-origin: center center;
}

.productionItemThumbsWrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 95%;
	margin: 0 auto 10px;
	overflow: visible;
}

.productionThumbPanel {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 180px;
	max-width: 240px;
	flex: 0 0 auto;
}

.productionItemThumbsWrapper {
	overflow: visible;
}

.productionThumbPanelActions {
	display: flex;
	gap: 6px;
}

.productionThumbButton {
	border: 2px solid #b38867;
	background: #fff;
	color: #71614d;
	padding: 6px 10px;
	font-size: 1.3em;
	font-weight: bold;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
	flex: 1;
	position: relative;
	overflow: hidden;
	;
}

.productionThumbButton:hover {
	background: #fff;
	color: #71614d;
}

.productionThumbButton:focus-visible {
	outline: 2px solid #b38867;
	box-shadow: 0 0 0 3px rgba(179, 136, 103, 0.25);
}

.productionThumbButton::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(179, 136, 103, 0.2);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.productionThumbButton:active::after {
	opacity: 1;
	transition-duration: 0.1s;
}

.productionThumbToggle {
	position: relative;
	padding: 10px;
	width: 46px;
	height: 46px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.productionThumbToggle::before {
	content: attr(data-icon);
	font-size: 20px;
	line-height: 1;
	color: inherit;
}

.visuallyHidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	white-space: nowrap;
}

.productionThumbProgress {
	width: 100%;
	height: 4px;
	background: #d9d4c7;
	border-radius: 99px;
	overflow: hidden;
}

.productionThumbProgressBar {
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, #b38867, #71614d);
	border-radius: inherit;
	transition: width 0.1s linear;
}

.productionThumbProgressBar.is-resume-countdown {
	background: linear-gradient(90deg, #ff6565, #ff9a9a);
}

.productionThumbStats {
	text-align: center;
	font-size: 14px;
	color: #71614d;
	;
}

.productionMain .splide__slide img.pan-portrait.pan-active {
	object-position: 50% 0%;
	animation: verticalPan 9s ease-in-out 0s infinite alternate;
	animation-fill-mode: both;
}

.productionMain .splide__slide img.pan-landscape.pan-active {
	object-position: 50% 100%;
	animation: verticalPanUp 9s ease-in-out 0s infinite alternate;
	animation-fill-mode: both;
}

.productionMain .splide__slide img.pan-zoom.pan-active {
	animation: zoomInKeep 9s ease-in-out 0s infinite alternate;
	animation-fill-mode: both;
}

@keyframes verticalPan {
	0% {
		object-position: 50% 0%;
	}

	88.888% {
		object-position: 50% 100%;
	}

	100% {
		object-position: 50% 100%;
	}
}

@keyframes verticalPanUp {
	0% {
		object-position: 50% 100%;
	}

	88.888% {
		object-position: 50% 0%;
	}

	100% {
		object-position: 50% 0%;
	}
}

@keyframes zoomInKeep {
	0% {
		transform: scale(2);
	}

	88.888% {
		transform: scale(1);
	}

	100% {
		transform: scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.productionMain .splide__slide.is-active img {
		animation: none;
	}
}

.productionComment {
	flex: 1 1 auto;
	background: #ffffff;
	border-radius: 14px;
	padding: 16px 16px;
	box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 0;
	transition: opacity .3s ease, transform .3s ease;
	box-sizing: border-box;
}

.productionComment.is-fading {
	opacity: 0;
	transform: translateY(12px);
}

.productionCommentTitle h3 {
	margin: 0;
	font-size: 1.3em;
	color: #634538;
}

.productionCommentBody {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	line-height: 1.6em;
	font-size: 0.8em;
	padding: 5px;
}

.productionCommentCredit {
	display: grid;
	gap: 0;
	font-size: 0.8em;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	overflow: hidden;
	margin-top: auto;
	flex: 0 0 auto;
}

.productionCommentCreditRow {
	display: grid;
	grid-template-columns: 1fr auto;
	padding: 10px 12px;
	align-items: center;
	border-bottom: 1px solid #e8e8e8;
}

.productionCommentCreditRow:last-child {
	border-bottom: none;
}

.productionCommentCreditLabel {
	font-size: 0.8em;
}

.productionCommentCreditName {
	font-weight: normal;
	text-decoration: none;
}

.productionCommentCreditName.is-disabled {
	pointer-events: none;
}

.productionCommentCredit.has-link {
	border-color: #71614d;
	border-width: 2px;
	cursor: pointer;
}

.productionCommentCredit.has-link .productionCommentCreditLabel,
.productionCommentCredit.has-link .productionCommentCreditName {
	color: #71614d;
}

@media (max-width: 980px) {
	.productionShowcase {
		flex-direction: column;
	}

	.productionComment {
		width: 100%;
	}
}
