/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* ZAČÁTEK: Typograficky správné odsazení mezer textů pro komponentu textový blok v Elementoru od TH - mravenci.cz */
div.elementor-widget-text-editor h1, div.elementor-widget-text-editor h2, div.elementor-widget-text-editor h3, div.elementor-widget-text-editor h4, div.elementor-widget-text-editor h5, div.elementor-widget-text-editor h6 {
    margin-top: 0em;
    margin-bottom: 0.25em;
}
div.elementor-widget-text-editor ul {
    margin-bottom: 0.9em;
}
.elementor-widget-text-editor ul li > ul {
    margin-bottom: 0px;
}
p.elementor-heading-title {
  line-height: inherit;
}

/* KONEC: Typograficky správné odsazení mezer textů pro komponentu textový blok v Elementoru od TH - mravenci.cz */

/* Firemní sekce - CSS třida která při použití skryje komponentu elementoru s danou třídou "subscriber-hidden-mravenci" když je uživatel subscriber */
.is-subscriber .subscriber-hidden-mravenci {
    display: none !important;
}

/* Firemní sekce - CSS třida která při použití skryje komponentu elementoru s danou třídou "subscriber-hidden-mravenci" když je uživatel subscriber */
.subscriber-firm-hidden .mravenci {
    display: none;
}


/* ==================================================================
   Amelia 9.7 – sjednocení s vzhledem webu
   Přidáno 13. 8. 2026 při majoru Amelie 8.5 -> 9.7.

   Proč: klíč `useGlobalColors` v amelia_settings.customization pokrývá
   jen stepByStepForm, catalogForm, eventListForm a eventCalendarForm.
   Zákaznický panel a přihlašovací formulář mezi nimi nejsou, takže si
   po majoru vzaly výchozí modrou z kódu pluginu.

   #822C3A = "Secondary", #204066 = "Primary" z globálních barev
   Elementoru (kit #610).

   !important je nutné: Amelia si CSS proměnné nastavuje inline
   přímo na prvcích, běžné pravidlo je nepřebije.
   ================================================================== */

/* Plná tlačítka – základní stav */
.am-button.am-button--filled {
    --am-c-btn-first: #822C3A !important;
}

/* Plná tlačítka – hover. Rámeček se musí přebít zvlášť, jinak zůstane vínový. */
.am-button.am-button--filled:not(.is-disabled):hover {
    background-color: #204066 !important;
    border-color: #204066 !important;
}

/* Odkazy v patičce přihlašovacího formuláře Amelie – „Obnovit heslo“,
   „Přihlásit se“, „Zkusit znovu“. Nejsou to tlačítka, ale <span>
   s třídami am-asi__*, takže na ně pravidla pro .am-button nesedí.
   Chování: jen podtržení, na hover podtržení mizí. */
.am-asi__footer-reset__btn,
.am-asi__footer-retry__btn,
.am-asi__footer-signin__btn,
.am-asi__footer-link {
    background-color: transparent !important;
    text-decoration: underline !important;
}
.am-asi__footer-reset__btn:hover,
.am-asi__footer-retry__btn:hover,
.am-asi__footer-signin__btn:hover,
.am-asi__footer-link:hover {
    background-color: transparent !important;
    text-decoration: none !important;
}
