/**
 * Titan Boston - inline link hover.
 *
 * Divi 5 emits hover styling for button modules but not for inline links
 * inside a text module, so the hover state configured on the
 * "Titan Text / Body" and "Titan Text / Body Inverted" presets never
 * reaches the front end. This restores it.
 *
 * Geometry matches the footer links: 2px underline at 4px offset.
 * The resting 1px underline is set on the presets, not here.
 *
 * Colours reference global colour tokens only - no hex values.
 * Selector specificity beats the preset rule, so no !important.
 *
 * Remove this file if Divi ships hover support for text-module links;
 * the preset config is already in place and will take over.
 */

/* Light backgrounds - Titan Text / Body, which is the default preset. */
.preset--module--divi-text--default .et_pb_text_inner a:hover,
.preset--module--divi-text--default .et_pb_text_inner a:focus-visible {
	color: var(--gcid-43a094f2-905a-4fcf-96cb-b71c70b18481);
	text-decoration-color: var(--gcid-43a094f2-905a-4fcf-96cb-b71c70b18481);
	text-decoration-thickness: 2px;
}

/* Dark backgrounds - Titan Text / Body Inverted. Text stays White for
   contrast; the underline goes Crimson, as the footer does. Crimson text
   on Charcoal measures 1.70:1 and is deliberately not used. */
.preset--module--divi-text--76073dd1-b178-4376-9cc7-6b179d50970d .et_pb_text_inner a:hover,
.preset--module--divi-text--76073dd1-b178-4376-9cc7-6b179d50970d .et_pb_text_inner a:focus-visible {
	color: var(--gcid-28141c8b-3858-4587-b95f-def53f15d8af);
	text-decoration-color: var(--gcid-2bb8a513-465e-4f74-9d35-e2947186ec89);
	text-decoration-thickness: 2px;
}

/* Ease the change rather than snapping it. */
.preset--module--divi-text--default .et_pb_text_inner a,
.preset--module--divi-text--76073dd1-b178-4376-9cc7-6b179d50970d .et_pb_text_inner a {
	transition: color 180ms ease, text-decoration-color 180ms ease, text-decoration-thickness 180ms ease;
}

@media (prefers-reduced-motion: reduce) {

	.preset--module--divi-text--default .et_pb_text_inner a,
	.preset--module--divi-text--76073dd1-b178-4376-9cc7-6b179d50970d .et_pb_text_inner a {
		transition: none;
	}
}
