/**
 * Kubota Europe back link (WPBakery element `vc_kbeu_back_link`).
 *
 * Figma news post, nodes 3727-8452 (text) + 3727-8455 (chevron), 2560 artboard:
 * "Back to Newsroom" in 20px / Bold, black, 1.5 line height, preceded by the
 * Material `arrow_forward_ios` glyph in a 24px box turned to point left, 10px
 * between the box and the text. The chevron's box is wider than its drawing,
 * and the design lines the DRAWING up with the content column (the box hangs
 * 6px into the gutter), which the negative margin below reproduces: the glyph's
 * left edge sits at 26% of the box once flipped.
 *
 * Same pairing as the division categories bar's "‹ Back to … Range" link
 * (`kbeu-division-filter.css`), kept as its own tiny stylesheet because that
 * one is scoped to the bar. Sizes are `clamp()`s whose maximum is the Figma
 * value (vw = px / 25.6). The block fills the width its WPBakery row/column
 * gives it and adds no vertical spacing of its own — the row's padding places
 * it (31px under the header and 46px above the hero in the design). Font
 * "Inter" comes from the plugin's fonts stylesheet (this handle
 * depends on `kbeu-fonts`), via `--kbeu-font-principal`; the bundled family
 * ships the 700 weight, so the Bold face matches exactly.
 */

.kbeu-back-link {
	--kbeu-bl-ink: #000;
	--kbeu-bl-accent: var( --kbeu-color-teal );
	--kbeu-bl-icon: clamp( 18px, 0.94vw, 24px );
	--kbeu-bl-gap: clamp( 6px, 0.39vw, 10px );

	width: 100%;
	box-sizing: border-box;
	font-family: var( --kbeu-font-principal );
	/* The link is inline: a click beside the text must not trigger it. */
	line-height: 0;
}

/* `--color-content-link-hover`: Impreza's `.no-touch a:hover` out-ranks the hover
   colour below and paints it with this variable (see `kbeu-buttons.css`). */
.kbeu-back-link__link {
	--color-content-link-hover: var( --kbeu-bl-accent );
	display: inline-flex;
	align-items: center;
	gap: var( --kbeu-bl-gap );
	/* Lines the chevron's drawing (not its box) up with the column edge. */
	margin-left: calc( var( --kbeu-bl-icon ) * -0.26 );
	font-weight: 700;
	line-height: 1.5;
	font-size: clamp( 16px, 0.78vw, 20px );
	color: var( --kbeu-bl-ink );
	text-decoration: none;
	transition: color 0.2s ease;
}

.kbeu-back-link__link:hover,
.kbeu-back-link__link:focus-visible {
	color: var( --kbeu-bl-accent );
	text-decoration: none;
}

.kbeu-back-link__link:focus-visible {
	outline: 2px solid var( --kbeu-bl-accent );
	outline-offset: 3px;
	border-radius: 4px;
}

/* The glyph points right as exported; turned to point back. */
.kbeu-back-link__icon {
	flex: none;
	width: var( --kbeu-bl-icon );
	height: var( --kbeu-bl-icon );
	transform: rotate( 180deg );
}

.kbeu-back-link__label {
	white-space: nowrap;
}

@media ( prefers-reduced-motion: reduce ) {
	.kbeu-back-link__link {
		transition: none;
	}
}
