.yy-psj {
	display: grid;
	gap: 1.6rem;
}

.yy-psj--empty {
	padding: 2rem;
	border: 1px solid rgba(47, 73, 54, 0.12);
	border-radius: var(--wr-radius-lg, 28px);
	background: rgba(253, 250, 244, 0.92);
	box-shadow: var(--wr-shadow, 0 24px 60px rgba(34, 44, 32, 0.12));
}

.yy-psj__hero,
.yy-psj__route-card,
.yy-psj__highlights,
.yy-psj__step-card {
	border: 1px solid rgba(47, 73, 54, 0.12);
	border-radius: var(--wr-radius-lg, 28px);
	background:
		radial-gradient(circle at top right, rgba(200, 141, 58, 0.12), transparent 24%),
		radial-gradient(circle at bottom left, rgba(111, 139, 78, 0.12), transparent 28%),
		rgba(253, 250, 244, 0.94);
	box-shadow: var(--wr-shadow, 0 24px 60px rgba(34, 44, 32, 0.12));
}

.yy-psj__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
	gap: 1.5rem;
	padding: clamp(1.2rem, 2vw, 1.8rem);
	overflow: hidden;
}

.yy-psj__hero-copy {
	display: grid;
	align-content: start;
	gap: 1rem;
}

.yy-psj__eyebrow {
	margin: 0;
	color: var(--wr-ink-soft, #50614f);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.yy-psj__title,
.yy-psj__section-title,
.yy-psj__step-title {
	margin: 0;
}

.yy-psj__summary,
.yy-psj__section-copy,
.yy-psj__sync,
.yy-psj__step-copy,
.yy-psj__highlight-context,
.yy-psj__source-note {
	color: var(--wr-ink-soft, #50614f);
}

.yy-psj__source-note {
	margin: 0.85rem 0 0;
	font-size: 0.84rem;
}

.yy-psj__stats,
.yy-psj__meta-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.yy-psj__stat,
.yy-psj__meta-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(47, 73, 54, 0.1);
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--wr-ink, #233025);
}

.yy-psj__hero-media {
	position: relative;
	min-height: 18rem;
	border-radius: calc(var(--wr-radius-lg, 28px) - 10px);
	overflow: hidden;
	background:
		linear-gradient(160deg, rgba(47, 73, 54, 0.88), rgba(17, 29, 21, 0.7)),
		radial-gradient(circle at top left, rgba(200, 141, 58, 0.24), transparent 36%);
}

.yy-psj__hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.yy-psj__hero-placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	padding: 2rem;
	color: #f8f4ec;
	font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	font-size: clamp(1.3rem, 2vw, 2rem);
	letter-spacing: -0.04em;
	text-align: center;
}

.yy-psj__overview {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
	gap: 1.5rem;
	align-items: start;
}

.yy-psj__route-card,
.yy-psj__highlights,
.yy-psj__step-card {
	padding: 1.2rem;
}

.yy-psj__section-head {
	display: grid;
	gap: 0.55rem;
	margin-bottom: 1rem;
}

.yy-psj__section-head--compact {
	margin-bottom: 0.9rem;
}

.yy-psj__route-map {
	position: relative;
	min-height: 24rem;
	border-radius: calc(var(--wr-radius-lg, 28px) - 10px);
	overflow: hidden;
	background:
		radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.34), transparent 20%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
		linear-gradient(145deg, #d5ccb8, #efe6d4);
}

.yy-psj__route-atlas {
	position: absolute;
	inset: 0;
}

.yy-psj__route-grid {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(rgba(47, 73, 54, 0.06) 1px, transparent 1px) 0 0 / 100% 25%,
		linear-gradient(90deg, rgba(47, 73, 54, 0.06) 1px, transparent 1px) 0 0 / 16.666% 100%;
	opacity: 0.35;
}

.yy-psj__route-world {
	position: absolute;
	inset: 5% 3%;
	width: 94%;
	height: 90%;
	object-fit: contain;
	opacity: 0.28;
	filter: saturate(0.75);
}

.yy-psj__route-map svg {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.yy-psj__route-line {
	fill: none;
	stroke: rgba(47, 73, 54, 0.78);
	stroke-width: 16;
	stroke-linecap: round;
	stroke-linejoin: round;
	filter: drop-shadow(0 16px 22px rgba(35, 48, 37, 0.18));
}

.yy-psj__route-line-glow {
	fill: none;
	stroke: rgba(200, 141, 58, 0.38);
	stroke-width: 34;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.yy-psj__route-stop {
	fill: #fcfbf7;
	stroke: var(--wr-pine, #2f4936);
	stroke-width: 5;
}

.yy-psj__route-stop.is-edge {
	fill: var(--wr-amber, #c88d3a);
}

.yy-psj__route-button {
	position: absolute;
	z-index: 3;
	width: 1.5rem;
	height: 1.5rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	transform: translate(-50%, -50%);
	cursor: pointer;
}

.yy-psj__route-button:focus-visible {
	outline: 2px solid var(--wr-rust, #9d5934);
	outline-offset: 3px;
}

.yy-psj__route-legend {
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 4;
	display: flex;
	justify-content: space-between;
	gap: 0.8rem;
	pointer-events: none;
}

.yy-psj__route-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0.75rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(47, 73, 54, 0.12);
	font-size: 0.83rem;
	font-weight: 700;
	color: var(--wr-ink, #233025);
	box-shadow: 0 14px 24px rgba(35, 48, 37, 0.1);
}

.yy-psj__route-dot {
	display: inline-block;
	width: 0.8rem;
	height: 0.8rem;
	border-radius: 999px;
	background: var(--wr-pine, #2f4936);
}

.yy-psj__route-dot.is-end {
	background: var(--wr-amber, #c88d3a);
}

.yy-psj__highlight-list {
	display: grid;
	gap: 0.85rem;
}

.yy-psj__highlight {
	padding: 0.95rem 1rem;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(47, 73, 54, 0.1);
}

.yy-psj__highlight-label {
	margin: 0 0 0.2rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wr-ink-soft, #50614f);
}

.yy-psj__highlight-value {
	margin: 0;
	font-weight: 700;
	color: var(--wr-ink, #233025);
}

.yy-psj__highlight-context {
	margin: 0.28rem 0 0;
	font-size: 0.9rem;
}

.yy-psj__timeline {
	display: grid;
	gap: 1rem;
}

.yy-psj__step {
	display: grid;
	grid-template-columns: minmax(94px, 122px) minmax(0, 1fr);
	gap: 1rem;
	align-items: start;
}

.yy-psj__date-stamp {
	position: sticky;
	top: 6rem;
	display: grid;
	align-content: start;
	justify-items: center;
	gap: 0.15rem;
	padding: 1rem 0.75rem;
	border-radius: 24px;
	background:
		linear-gradient(180deg, rgba(47, 73, 54, 0.96), rgba(31, 49, 35, 0.9)),
		radial-gradient(circle at top, rgba(200, 141, 58, 0.25), transparent 26%);
	color: #f8f4ec;
	box-shadow: 0 18px 38px rgba(22, 34, 25, 0.18);
}

.yy-psj__date-day {
	font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	font-size: clamp(1.9rem, 3vw, 2.5rem);
	line-height: 1;
}

.yy-psj__date-month {
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: center;
}

.yy-psj__step-card {
	display: grid;
	gap: 1rem;
}

.yy-psj__step-head {
	display: grid;
	gap: 0.8rem;
}

.yy-psj__step-country {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wr-ink-soft, #50614f);
}

.yy-psj__gallery {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 0.75rem;
	align-items: center;
}

.yy-psj__gallery-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(260px, 34rem);
	gap: 1rem;
	overflow-x: auto;
	padding-bottom: 0.2rem;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.yy-psj__gallery-track::-webkit-scrollbar {
	display: none;
}

.yy-psj__photo {
	margin: 0;
	aspect-ratio: 16 / 10;
	border-radius: 22px;
	overflow: hidden;
	background:
		radial-gradient(circle at top left, rgba(255, 255, 255, 0.24), transparent 24%),
		linear-gradient(145deg, #cfbea0, #f0e3cb);
	scroll-snap-align: start;
	box-shadow: 0 18px 30px rgba(27, 38, 27, 0.12);
}

.yy-psj__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.yy-psj__gallery-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid rgba(47, 73, 54, 0.12);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	color: var(--wr-pine, #2f4936);
	font-size: 1.45rem;
	cursor: pointer;
	box-shadow: 0 14px 24px rgba(27, 38, 27, 0.12);
	transition:
		transform 160ms ease,
		opacity 160ms ease,
		background-color 160ms ease;
}

.yy-psj__gallery-button:hover,
.yy-psj__gallery-button:focus-visible {
	background: #fff;
	transform: translateY(-1px);
}

.yy-psj__gallery-button[disabled] {
	opacity: 0.35;
	cursor: default;
	transform: none;
}

.yy-psj__step-copy p:last-child {
	margin-bottom: 0;
}

.yy-psj__segment {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 0.85rem;
	align-items: center;
	padding-inline: clamp(0.2rem, 3vw, 1.2rem);
}

.yy-psj__segment-line {
	height: 2px;
	border-radius: 999px;
	background:
		repeating-linear-gradient(
			90deg,
			rgba(47, 73, 54, 0.22) 0 10px,
			rgba(47, 73, 54, 0.08) 10px 18px
		);
}

.yy-psj__segment-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 999px;
	background: var(--wr-pine, #2f4936);
	color: #f8f4ec;
	box-shadow: 0 16px 30px rgba(27, 38, 27, 0.18);
}

.yy-psj__segment-icon svg {
	width: 1.28rem;
	height: 1.28rem;
	fill: currentColor;
}

.yy-psj__segment-copy {
	grid-column: 1 / -1;
	display: grid;
	justify-items: center;
	gap: 0.2rem;
	text-align: center;
	font-size: 0.94rem;
	color: var(--wr-ink-soft, #50614f);
}

.yy-psj__segment-copy strong {
	color: var(--wr-ink, #233025);
}

@media (max-width: 1080px) {
	.yy-psj__hero,
	.yy-psj__overview {
		grid-template-columns: 1fr;
	}

	.yy-psj__route-map {
		min-height: 20rem;
	}
}

@media (max-width: 860px) {
	.yy-psj__step {
		grid-template-columns: 1fr;
	}

	.yy-psj__date-stamp {
		position: static;
		justify-items: start;
		grid-template-columns: auto auto;
		align-items: baseline;
		justify-content: start;
		padding: 0.85rem 1rem;
	}

	.yy-psj__gallery {
		grid-template-columns: 1fr;
	}

	.yy-psj__gallery-button {
		display: none;
	}

	.yy-psj__gallery-track {
		grid-auto-columns: 86%;
	}

	.yy-psj__segment {
		padding-inline: 0;
	}
}

@media (max-width: 640px) {
	.yy-psj__hero,
	.yy-psj__route-card,
	.yy-psj__highlights,
	.yy-psj__step-card {
		border-radius: 24px;
	}

	.yy-psj__hero,
	.yy-psj__route-card,
	.yy-psj__highlights,
	.yy-psj__step-card {
		padding: 1rem;
	}

	.yy-psj__hero-media {
		min-height: 14rem;
	}

	.yy-psj__route-map {
		min-height: 17rem;
	}

	.yy-psj__route-legend {
		flex-direction: column;
		align-items: start;
	}

	.yy-psj__gallery-track {
		grid-auto-columns: 92%;
	}
}
