/**
 * Opinions carousel — equal-height cards (stretched to the tallest), fluid width,
 * overflowing to the right screen edge, stepped with 16px chevrons.
 */

.m306-op {
	--m306-op-ink: #182220;
	--m306-op-font: 'Fahkwang', 'Times New Roman', serif;
	--m306-op-gap: 20px;
	--m306-op-pad: 36px;
	--m306-op-card-w: clamp(280px, 24vw, 400px);

	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
	box-sizing: border-box;
	font-family: var(--m306-op-font);
	color: var(--m306-op-ink);
	overflow: visible;
}

.m306-op *,
.m306-op *::before,
.m306-op *::after {
	box-sizing: border-box;
}

.m306-op__shell {
	width: 100%;
	padding: 0 0 0 clamp(16px, 3vw, 40px);
	box-sizing: border-box;
}

/* JS stretches the viewport to the right screen edge via a negative margin-right */
.m306-op__viewport {
	width: auto;
	overflow: hidden;
	padding: 0;
	margin: 0;
}

.m306-op__track {
	display: flex;
	align-items: stretch;
	gap: var(--m306-op-gap);
	width: max-content;
	will-change: transform;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.m306-op__card {
	flex: 0 0 var(--m306-op-card-w);
	width: var(--m306-op-card-w);
	max-width: none;
	min-width: 0;
	height: auto;
	align-self: stretch;
	background: #ffffff;
	padding: var(--m306-op-pad);
	border-radius: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.m306-op.is-static [data-m306-op-clone] {
	display: none;
}

.m306-op__date {
	margin: 0;
	font-family: var(--m306-op-font);
	font-size: 12px;
	font-weight: 300;
	line-height: 1.4;
	color: #182220;
	opacity: 0.8;
}

.m306-op__name {
	margin: 0;
	font-family: 'Cinzel', 'Times New Roman', serif;
	font-size: 28px;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
	color: #182220;
}

.m306-op__text {
	margin: 0;
	font-family: var(--m306-op-font);
	font-size: 18px;
	font-weight: 300;
	line-height: 1.55;
	color: #182220;
}

.m306-op__nav {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}

.m306-op__nav[hidden] {
	display: none;
}

.m306-op__btn,
.elementor .m306-op__btn {
	appearance: none;
	border: none !important;
	border-radius: 0 !important;
	background: #ffffff !important;
	color: #182220 !important;
	width: 44px;
	height: 44px;
	min-height: 0;
	padding: 0 !important;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: none !important;
}

.m306-op__btn:hover,
.m306-op__btn:focus,
.m306-op__btn:active,
.elementor .m306-op__btn:hover,
.elementor .m306-op__btn:focus,
.elementor .m306-op__btn:active {
	background: #a7d9cf !important;
	color: #182220 !important;
	outline: none;
	box-shadow: none !important;
}

/* 11px arms rotated 45° → 16px chevron */
.m306-op__btn span {
	display: block;
	width: 11px;
	height: 11px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
}

.m306-op__btn--prev span {
	transform: rotate(-135deg);
	margin-left: 5px;
}

.m306-op__btn--next span {
	transform: rotate(45deg);
	margin-right: 5px;
}

@media (max-width: 640px) {
	/* Left gutter comes from the Elementor container (6%); 1.5 cards: (screen − gutter − gap) / 1.5 */
	.m306-op {
		--m306-op-card-w: calc((100vw - 6vw - var(--m306-op-gap)) / 1.5);
		--m306-op-pad: 22px;
	}

	.m306-op__shell {
		padding-left: 0;
	}

	.m306-op__name {
		font-size: 24px;
	}

	.m306-op__text {
		font-size: 16px;
	}
}
