/* Frontend + baseline styles */
.wp-block-move-up-north-post-flow,
.mun-post-flow {
	--mun-gap: 70px;
	--mun-radius: 160px;
	--mun-accent: var(--ast-global-color-0, #E19508);
	--mun-progress: var(--ast-global-color-1, #2C7368);
	--mun-white: var(--ast-global-color-5, #fff);
	--mun-text: inherit;
	--mun-line: rgba(0,0,0,0.25);

	color: var(--mun-text);
}

.mun-post-flow__viewport {
	/*overflow-x: hidden;*/
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 2px;
	outline: none;
}
.mun-post-flow__viewport:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 6px;
	border-radius: 12px;
}

.mun-post-flow__track {
	display: flex;
	will-change: transform;
	transition: transform 380ms ease;
	gap: var(--mun-gap);
	align-items: stretch;
	padding: 0;
	margin: 0;
}

.mun-post-flow__card {
	flex: 0 0 auto;
	scroll-snap-align: start;
	width: 82%;
	max-width: 520px;
}

@media (min-width: 782px) {
	.mun-post-flow__card {
		width: 33%;
		max-width: none;
	}
}

.mun-post-flow__image-wrap {
	position: relative;
}

.mun-post-flow__image-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.mun-post-flow__image {
	border-radius: var(--mun-radius);
	overflow: hidden;
	aspect-ratio: 1 / 1.2;
	background: rgba(0,0,0,0.06);
}

.mun-post-flow__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mun-post-flow__img--placeholder {
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.08);
}

body .mun-post-flow .mun-post-flow__cta-link {
	position: absolute;
	right: -10px;
	bottom: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	text-decoration: none;
}
.mun-post-flow__cta-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
	border-radius: 999px;
}

.mun-post-flow__cta {
	width: 100px;
	height: 100px;
	border-radius: 999px;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	font-style: normal;
	font-weight: 400;
	line-height: 130%; /* 39px */
	border: 1px solid var(--mun-accent);
}
.mun-post-flow__cta:hover {
	background: var(--mun-accent);
	color: var(--mun-white);
}
.mun-post-flow-text-wrapper {
	width: 80%;
	margin: 0 auto;
}
.mun-post-flow__meta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 40px;
	margin-bottom: 6px;
	text-transform: uppercase;
	font-size: 16px;
	font-style: normal;
	font-weight: 300;
	line-height: 130%; /* 20.8px */
	letter-spacing: -0.24px;
}

.mun-post-flow__dot {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: var(--mun-dot-color, var(--mun-accent));
}

.mun-post-flow__title {
	margin: 0;
}

body .mun-post-flow .mun-post-flow__title-link {
	color: inherit;
	text-decoration: none;
}
body .mun-post-flow .mun-post-flow__title-link:hover {
	text-decoration: underline;
}
.mun-post-flow__title-link:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
}
.mun-post-flow__title-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 6px;
	border-radius: 8px;
}

/* Global controls (one per carousel) */
.mun-post-flow__controls {
	margin-top: 58px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	width: 100%;
}

.mun-post-flow__progress {
	position: relative;
	height: 2px;
	width: 100%;
	background: var(--mun-line);
	overflow: hidden;
	border-radius: 999px;
}

.mun-post-flow__progress-fill {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background: var(--mun-progress);
	transform-origin: left center;
	transform: scaleX(0);
	transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}
.mun-post-flow__nav {
	display: inline-flex;
	gap: 12px;
	justify-content: flex-start;
	align-items: center;
}

.mun-post-flow__btn {
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 1px solid currentColor;
	background: transparent;
	color: inherit;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.mun-post-flow__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.mun-post-flow__btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.mun-post-flow__empty {
	padding: 18px 0;
}

@media (prefers-reduced-motion: reduce) {
	.mun-post-flow__progress-fill {
		transition: none;
	}
}
