/*
Theme Name: Zlepši svůj život – Allimedia Child
Theme URI: https://allimedia.cz/
Description: Vlastní child šablona vytvořená společností Allimedia pro konkrétní projekt. Postavená na Hello Elementor a optimalizovaná pro další rozvoj webu.
Author: Allimedia
Author URI: https://allimedia.cz/
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: zlepsisvujzivot-child
Tags: custom-logo, custom-menu, featured-images, translation-ready
*/

/* Vlastní styly projektu patří pod tuto poznámku. */

/* Accessibility and browser compatibility; layout and design remain in Elementor. */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
 outline: 2px solid var(--e-global-color-primary, #14284a);
 outline-offset: 3px;
}
.zsz-dark :where(a, button, input, [tabindex]):focus-visible {
 outline-color: var(--e-global-color-goldsoft, #ffdeae);
}
.elementor-button[aria-disabled="true"], .elementor-button:disabled {
 opacity: .55;
 cursor: not-allowed;
}
.elementor-widget-heading, .elementor-widget-text-editor { overflow-wrap: break-word; }
.e-con[id] { scroll-margin-top: 110px; }
.elementor-widget-button .elementor-button { min-height: 48px; }
.elementor-widget-nav-menu .elementor-menu-toggle { min-height: 44px; min-width: 44px; }
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto !important; }
 .elementor *, .elementor *::before, .elementor *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Keep the Elementor header in flow while it sticks, without a JavaScript spacer. */
header.elementor-location-header:has(> #zsz-header) {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
}

html:has(header.elementor-location-header > #zsz-header) {
	scroll-padding-top: calc(100px + var(--wp-admin--admin-bar--height, 0px));
}

@media (min-width: 1280px) {
	/* The desktop menu fits on one row, including before the webfont loads. */
	#zsz-header .elementor-nav-menu--main > .elementor-nav-menu {
		flex-wrap: nowrap;
	}
}

@media (max-width: 600px) {
	header.elementor-location-header:has(> #zsz-header) {
		top: 0;
	}
}
