.forest-path-shortcode {
	--forest-deep: #2f4f2b;
	--forest-mid: #637f49;
	--forest-light: #a7b07f;
	--trail: #a4723d;
	--trail-base: #f5f2ea;
	--paper: #fffdf7;
	--ink: #203528;
	--muted: #243126;
	--ring: #9d7136;

	display: grid;
	grid-template-columns: 50% 50%;
	gap: 0;
	align-items: stretch;
	width: 100%;
	max-width: 1080px;
	height: 600px;
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
	border: 1px solid rgba(87, 73, 47, 0.28);
	border-radius: 9px;
	aspect-ratio: auto;
	background: #eee9dc;
	color: var(--ink);
	box-sizing: border-box;
	box-shadow: 0 18px 42px rgba(68, 57, 39, 0.16);
}

.forest-path-shortcode *,
.forest-path-shortcode *::before,
.forest-path-shortcode *::after {
	box-sizing: border-box;
}

.forest-path-shortcode__scene {
	position: relative;
	min-height: 0;
	height: 100%;
	overflow: hidden;
	border: 0;
	border-radius: 8px 0 0 8px;
	background: url("images/variant-a-pathless.png") center / cover no-repeat;
	box-shadow: none;
}

.forest-path-shortcode__scene::before,
.forest-path-shortcode__scene::after {
	display: none;
}

.forest-path-shortcode__trail {
	position: absolute;
	z-index: 2;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.forest-path-shortcode__trail-shadow,
.forest-path-shortcode__trail-base,
.forest-path-shortcode__trail-fill {
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.forest-path-shortcode__trail-shadow {
	stroke: rgba(88, 79, 55, 0.12);
	stroke-width: 48;
	transform: translate(1px, 3px);
}

.forest-path-shortcode__trail-base {
	stroke: var(--trail-base);
	stroke-width: 42;
	stroke-opacity: 0.97;
	filter: drop-shadow(0 1px 0 rgba(114, 99, 66, 0.14));
}

.forest-path-shortcode__trail-fill {
	stroke: var(--trail);
	stroke-width: 30;
	stroke-opacity: 0.88;
	filter: drop-shadow(0 1px 0 rgba(91, 61, 34, 0.14));
	transition: stroke-dasharray 260ms ease;
}

.forest-path-shortcode__station {
	position: absolute;
	left: var(--station-x);
	top: var(--station-y);
	z-index: 4;
	display: inline-grid;
	place-items: center;
	width: 8%;
	aspect-ratio: 1;
	padding: 0;
	border: 1px solid rgba(112, 96, 62, 0.18);
	border-radius: 50%;
	background: radial-gradient(circle at 34% 28%, #fffef8 0, #f7f0dc 52%, #dfcfac 100%);
	color: #fffaf0;
	font-weight: bold;
	box-shadow: 0 2px 0 rgba(255, 253, 247, 0.72), 0 5px 12px rgba(45, 38, 23, 0.24);
	cursor: pointer;
	isolation: isolate;
	transform: translate(-50%, -50%);
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.forest-path-shortcode__station::before {
	position: absolute;
	inset: 15%;
	z-index: -1;
	border-radius: 50%;
	background: linear-gradient(145deg, #9a7b45 0%, #6f5b36 100%);
	box-shadow: inset 0 1px 2px rgba(255, 253, 247, 0.4), inset 0 -2px 4px rgba(55, 42, 24, 0.2);
	content: "";
	transition: background 160ms ease, transform 160ms ease;
}

.forest-path-shortcode__station span {
	position: relative;
	display: block;
	text-shadow: 0 1px 2px rgba(49, 39, 23, 0.42);
	transform: translateY(-0.02em);
}

.forest-path-shortcode__station:hover,
.forest-path-shortcode__station:focus-visible {
	transform: translate(-50%, -50%) scale(1.08);
	outline: 2px solid rgba(255, 253, 247, 0.72);
	outline-offset: 2px;
}

.forest-path-shortcode__station.is-active {
	box-shadow: 0 0 0 3px rgba(255, 253, 247, 0.9), 0 6px 14px rgba(45, 38, 23, 0.28);
}

.forest-path-shortcode__station.is-active::before {
	background: linear-gradient(145deg, #b18144 0%, #8b622f 100%);
}

.forest-path-shortcode__lake {
	display: none;
}

.forest-path-shortcode__tree {
	display: none;
}

.forest-path-shortcode__controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin-top: auto;
	padding-top: clamp(14px, 2.5vw, 30px);
}

.forest-path-shortcode__arrow {
	display: inline-grid;
	place-items: center;
	width: clamp(40px, 4.4vw, 52px);
	height: clamp(40px, 4.4vw, 52px);
	padding: 0;
	border: 2px solid #becfbb;
	border-radius: 50%;
	background: #becfbb;
	color: #1f4d3a;
	box-shadow: none;
	cursor: pointer;
	transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.forest-path-shortcode__arrow:hover,
.forest-path-shortcode__arrow:focus-visible {
	border-color: #1f4d3a;
	background: #1f4d3a;
	color: #fff;
	outline: 2px solid rgba(31, 77, 58, 0.26);
	outline-offset: 3px;
	transform: translateY(-1px);
}

.forest-path-shortcode__arrow[data-forest-path-control="next"] {
	box-shadow: 0 0 0 5px rgba(190, 207, 187, 0.42);
}

.forest-path-shortcode__arrow svg {
	width: 27px;
	height: 27px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.4;
}

.forest-path-shortcode__info {
	min-height: 0;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	margin: clamp(10px, 1.8vw, 20px);
	padding: clamp(16px, 2.35vw, 30px);
	border: 1px solid rgba(89, 76, 54, 0.16);
	border-radius: 10px;
	background: rgba(255, 253, 247, 0.96);
	box-shadow: 0 12px 26px rgba(58, 48, 34, 0.16);
}

.forest-path-shortcode__step {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: 0 0 clamp(8px, 1.3vw, 12px);
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: #31572c;
	font: 500 clamp(13px, 1.55vw, 16px)/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	text-transform: none;
	letter-spacing: 0;
}

.forest-path-shortcode__step-separator {
	color: var(--muted);
}

.forest-path-shortcode__dots {
	display: flex;
	justify-content: center;
	gap: clamp(8px, 1.1vw, 14px);
	margin: 0 0 clamp(16px, 3vw, 32px);
}

.forest-path-shortcode__dot {
	display: block;
	width: clamp(10px, 1.4vw, 14px);
	height: clamp(10px, 1.4vw, 14px);
	border-radius: 50%;
	background: #c9c8bd;
}

.forest-path-shortcode__dot.is-past {
	background: #557b3e;
}

.forest-path-shortcode__dot.is-active {
	background: #9d7136;
}

.forest-path-shortcode__info h3 {
	margin: 0;
	color: #25492d;
	font: 700 clamp(20px, 2.55vw, 34px)/1.08 Georgia, "Times New Roman", serif;
	letter-spacing: 0;
	white-space: nowrap;
}

.forest-path-shortcode__info h3::after {
	content: "";
	display: block;
	width: 38px;
	height: 2px;
	margin: clamp(8px, 1.2vw, 14px) 0 clamp(10px, 1.6vw, 18px);
	background: #31572c;
}

.forest-path-shortcode__info p[data-forest-path-description] {
	max-width: none;
	margin: 0;
	color: #162017;
	font-size: 16px;
	white-space: pre-line;
}

@media (max-width: 560px) {
	.forest-path-shortcode {
		grid-template-columns: 1fr;
		aspect-ratio: auto;
		height: auto;
	}

	.forest-path-shortcode__scene {
		aspect-ratio: 432 / 460;
		border-radius: 8px 8px 0 0;
	}

	.forest-path-shortcode__station {
		width: 42px;
		font-size: 16px;
	}

	.forest-path-shortcode__info {
		min-height: auto;
		margin: 16px;
		padding: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.forest-path-shortcode__station,
	.forest-path-shortcode__arrow,
	.forest-path-shortcode__trail-fill {
		transition: none;
	}
}
