/*  ==================================================================
	LISA DONEFF – lisa-doneff.de
	Speicherort: /wp-content/themes/Child-Theme/css/custom.css
	Nur diese Datei bearbeiten, keine Kopien im Theme-Ordner.
	==================================================================  */


/*  ==================================================================
	FARBEN
	Salbei kommt aus der globalen Divi-Farbe gcid-ld-salbei,
	#909687 ist nur der Ersatzwert.
	==================================================================  */

:root {
	--ld-salbei: var(--gcid-ld-salbei, #909687);
}


/*  ==================================================================
	AUFZÄHLUNGEN
	==================================================================  */

/* Bullets in Salbei */
ul li::marker {
	color: var(--ld-salbei);
	font-size: 1.3em;
}


/*  ==================================================================
	HIGHLIGHTER (TEXTMARKER)
	Klasse .ld-mark um einzelne Wörter legen.
	==================================================================  */

.ld-mark {
	--ld-mark-staerke: 60%;
	--ld-mark-color: color-mix(in srgb, var(--ld-salbei) var(--ld-mark-staerke), transparent);
	background: linear-gradient(
		transparent 57%,
		var(--ld-mark-color) 57%,
		var(--ld-mark-color) 85%,
		transparent 85%
	);
	padding: 0 0.06em;
	margin: 0 -0.06em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}


/*  ==================================================================
	LINKS IM CONTENTBEREICH
	Text in Textfarbe, zart in Salbei unterstrichen.
	Hover: Fläche in Salbei mit Transparenz (wie die Buttons, nur leiser).
	Stärke der Hover-Fläche über --ld-link-hover-staerke testen.
	==================================================================  */

:is(.et_pb_text, .et_pb_blurb_description, .et_pb_toggle_content, .et_pb_tab_content, .entry-content) a:not(.et_pb_button) {
	--ld-link-hover-staerke: 30%;
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--ld-salbei);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
	padding: 0.05em 0.15em;
	margin: 0 -0.15em;
	border-radius: 2px;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	transition: background-color .2s ease;
}

/* Hover: Fläche in Salbei */
:is(.et_pb_text, .et_pb_blurb_description, .et_pb_toggle_content, .et_pb_tab_content, .entry-content) a:not(.et_pb_button):hover {
	background-color: color-mix(in srgb, var(--ld-salbei) var(--ld-link-hover-staerke), transparent);
}

/* Tastatur-Fokus sichtbar */
:is(.et_pb_text, .et_pb_blurb_description, .et_pb_toggle_content, .et_pb_tab_content, .entry-content) a:focus-visible {
	outline: 2px solid var(--ld-salbei);
	outline-offset: 2px;
}


/*  ==================================================================
	AUSNAHMEN
	Klasse .ausnahme am Modul (z. B. im Footer): keine Unterstreichung,
	keine Hover-Fläche.
	==================================================================  */

.ausnahme a {
	text-decoration: none !important;
	background-color: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
}
