/**
 * Jump Links widget styles.
 *
 * Figma reference:
 * https://www.figma.com/design/UFbyQSXqjJ3fkYXo3ORgO7/Wellenreiten-2026-Handoff-Ext--Copy-?node-id=70-14013
 *
 * 'Archivo' (Figma's heading font) is not enqueued anywhere else in the
 * theme, so it is loaded as a dependency of this stylesheet (see
 * functions.php); body copy reuses the theme's --font-family stack.
 */
.wrjl-section {
	--wrjl-heading-font: 'Archivo', var(--font-family, 'Source Sans 3'), Arial, Helvetica, sans-serif;
	--wrjl-body-font: var(--font-family, 'Source Sans 3'), Arial, Helvetica, sans-serif;
	--wrjl-text-primary: #171717;
	--wrjl-text-secondary: #404040;
	--wrjl-border: #e5e5e5;
	--wrjl-brand: #0f4c81;
	--wrjl-brand-50: #ebf5f5;

	display: flex;
	flex-direction: column;
	gap: 32px;
}

.wrjl-title {
	margin: 0;
	font: 700 30px/38px var(--wrjl-heading-font);
	letter-spacing: -0.02em;
	color: var(--wrjl-text-primary);
}

.wrjl-links {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 32px;
	background: var(--wrjl-brand-50);
	border-radius: 16px;
	padding: 24px;
}

.wrjl-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex: 1 1 240px;
	min-width: 0;
	background: #ffffff;
	border: 1px solid var(--wrjl-border);
	border-radius: 12px;
	padding: 8px 16px 8px 8px;
	text-decoration: none;
}

.wrjl-link:hover {
	border-color: var(--wrjl-brand);
}

.wrjl-link__start {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.wrjl-link__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--wrjl-brand-50);
	color: var(--wrjl-brand);
}

/**
 * Elementor renders this icon as inline <svg>, which (a) fills the 44px
 * badge box by default instead of sitting as a smaller 20px glyph
 * inside it (see accommodation-showcase.css for the same pattern), and
 * (b) ignores the wrapper's `color` entirely — an SVG path only picks
 * up `currentColor` when told to via `fill`, so without this the icon
 * renders with its default black fill instead of the wrapper's blue.
 */
.wrjl-link__icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.wrjl-link__text {
	font: 500 20px/30px var(--wrjl-body-font);
	color: var(--wrjl-text-secondary);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wrjl-link__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 6px;
	color: var(--wrjl-text-secondary);
}

.wrjl-link__arrow svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

@media (max-width: 900px) {
	.wrjl-links {
		flex-direction: column;
	}

	.wrjl-link {
		flex-basis: auto;
		width: 100%;
	}
}

@media (max-width: 640px) {
	.wrjl-title {
		font-size: 26px;
		line-height: 32px;
	}

	.wrjl-link__text {
		white-space: normal;
	}
}
