.gebirgsrauch-wayfarer {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: clamp(78px, 15vw, 144px) minmax(0, 1fr) 44px;
	align-items: center;
	gap: clamp(8px, 2vw, 22px);
	width: min(100%, 760px);
	margin: clamp(22px, 4vw, 48px) auto;
	padding: 8px 10px 8px 14px;
	border: 1px solid #977247;
	border-radius: 10px;
	background: linear-gradient(115deg, #423322, #211a15 62%);
	color: #f7e8d2;
	text-align: start;
	clear: both;
}

.gebirgsrauch-wayfarer__scene {
	position: relative;
	isolation: isolate;
}

.gebirgsrauch-wayfarer .gebirgsrauch-wayfarer__portrait {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: contain;
	transform-origin: 50% 95%;
}

.gebirgsrauch-wayfarer__embers {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.gebirgsrauch-wayfarer__embers i {
	position: absolute;
	left: 64%;
	top: 81%;
	width: 4px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #ffcb77;
	box-shadow: 0 0 8px 2px #f47b2a;
	opacity: 0;
}

.gebirgsrauch-wayfarer__embers i:nth-child(2) {
	margin-left: 7px;
	--ember-drift: 12px;
	--ember-delay: 580ms;
}

.gebirgsrauch-wayfarer__embers i:nth-child(3) {
	margin-left: -6px;
	--ember-drift: -13px;
	--ember-delay: 780ms;
}

.gebirgsrauch-wayfarer__copy {
	padding-block: 12px;
	font-size: 1rem;
	line-height: 1.5;
}

.gebirgsrauch-wayfarer__copy strong {
	font-family: var(--wp--preset--font-family--heading, Georgia, serif);
	font-size: 1.125em;
}

.gebirgsrauch-wayfarer .gebirgsrauch-wayfarer__copy p {
	margin: 4px 0;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

.gebirgsrauch-wayfarer .gebirgsrauch-wayfarer__copy a {
	display: inline-block;
	align-content: center;
	min-height: 44px;
	color: #efc28a;
	text-decoration: underline;
	text-underline-offset: 0.19em;
}

.gebirgsrauch-wayfarer .gebirgsrauch-wayfarer__close {
	align-self: start;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #f7e8d2;
	font: 400 24px/1 sans-serif;
	cursor: pointer;
}

.gebirgsrauch-wayfarer .gebirgsrauch-wayfarer__close:hover {
	background: #4c3827;
}

.gebirgsrauch-wayfarer :is(a, button):focus-visible {
	outline: 2px solid #efc28a;
	outline-offset: 2px;
}

@media (max-width: 520px) {
	.gebirgsrauch-wayfarer {
		grid-template-columns: 76px minmax(0, 1fr);
		position: relative;
		padding-inline: 8px 12px;
	}

	.gebirgsrauch-wayfarer__copy strong {
		display: block;
		padding-inline-end: 36px;
	}

	.gebirgsrauch-wayfarer .gebirgsrauch-wayfarer__close {
		position: absolute;
		inset: 2px 2px auto auto;
	}
}

.gebirgsrauch-wayfarer__motion {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

@media (prefers-reduced-motion: no-preference) {
	.gebirgsrauch-wayfarer.is-arriving .gebirgsrauch-wayfarer__embers i {
		animation: gebirgsrauch-rauchbart-spark 900ms var(--ember-delay, 420ms) ease-out both;
	}
}

@keyframes gebirgsrauch-rauchbart-spark {
	0% { opacity: 0; transform: scale(.7); }
	20% { opacity: .95; }
	100% { opacity: 0; transform: translate(var(--ember-drift, 4px), -26px) scale(.35); }
}
