/*
Theme Name:   MFR Child
Theme URI:    https://www.mfrreisen.de/
Description:  Child-Theme von Hello Elementor für Mainfranken Reisen. Farben und Schriften kommen aus den globalen Elementor-Stilen, die Reise-Bausteine aus dem Plugin „MFR Reisen“.
Author:       beachdesign
Template:     hello-elementor
Version:      1.0.1
Requires PHP: 8.1
Text Domain:  mfr-child
*/

/*
 * Bewusst schlank: Gestaltung passiert in Elementor (Site Settings).
 * Hier nur, was Elementor nicht sauber abdeckt.
 */

html {
	scroll-behavior: smooth;
	/* Platz für den sticky Header (94 px) und die Abschnittsnavigation der Reiseseite */
	scroll-padding-top: 168px;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
	font-family: var(--mfr-font-text, "Barlow"), "Helvetica Neue", Arial, sans-serif;
	color: var(--mfr-text, #181818);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Mitlaufender Header: Elementor kapselt den Header in diesen Wrapper. */
.elementor-location-header {
	position: sticky;
	top: 0;
	z-index: 50;
}
body.admin-bar .elementor-location-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .elementor-location-header { top: 46px; }
}

/* Links im dunklen Footer */
.elementor-location-footer a { color: #d6e3ef; text-decoration: none; }
.elementor-location-footer a:hover { color: #ffffff; text-decoration: underline; }

/* Abschnittsnavigation der Reiseseite */
.elementor-location-single nav a { color: inherit; text-decoration: none; border-bottom: 3px solid transparent; padding-bottom: .85rem; }
.elementor-location-single nav a:hover { color: var(--mfr-text, #181818); border-color: var(--mfr-gruen, #bad151); }

h1, h2, h3, h4 { text-wrap: balance; }

:focus-visible {
	outline: 3px solid var(--e-global-color-secondary, #bad151);
	outline-offset: 2px;
}

/* Tabellarische Ziffern überall dort, wo Preise und Daten stehen */
.mfr-num, .price, .elementor-price-table__integer-part { font-variant-numeric: tabular-nums; }
