/* 
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 */

html{ font-size: 16px; }

:root{
  --text-size: 1rem;
  --text-line: 1.7;
  --text-weight: 360;

  --h-weight: 200;
  --h-line: 1.12;
}

/* ==================================
   BODY TEXT
   ================================== */

body{
  font-size: var(--text-size);
  line-height: var(--text-line);
  font-variation-settings: "wght" var(--text-weight);
  font-weight: var(--text-weight);
}

/* Elementor běžný text – respektuje Elementor typography */
.elementor-widget-text-editor p,
.elementor-widget-text-editor li,
.elementor-widget-text-editor blockquote,
.elementor-widget-text-editor figcaption{
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

/* Bold */
.elementor-widget-text-editor strong,
.elementor-widget-text-editor b{
  font-weight: 700;
  font-variation-settings: "wght" 700;
}

/* ==================================
   HEADINGS
   ================================== */

h1,h2,h3,h4,h5,h6,
.elementor-widget-heading .elementor-heading-title{
  font-weight: var(--h-weight) !important;
  font-variation-settings: "wght" var(--h-weight) !important;
  line-height: var(--h-line) !important;
}

/* Fluid sizes */
h1, .elementor-widget-heading h1.elementor-heading-title{ font-size: clamp(3rem, 6vw, 6rem) !important; }
h2, .elementor-widget-heading h2.elementor-heading-title{ font-size: clamp(1.8rem, 3.4vw, 2.25rem) !important; }
h3, .elementor-widget-heading h3.elementor-heading-title{ font-size: clamp(1.5rem, 2.7vw, 1.875rem) !important; }
h4, .elementor-widget-heading h4.elementor-heading-title{ font-size: clamp(1.3rem, 2.1vw, 1.5rem) !important; }
h5, .elementor-widget-heading h5.elementor-heading-title{ font-size: clamp(1.2rem, 1.7vw, 1.25rem) !important; }
h6, .elementor-widget-heading h6.elementor-heading-title{
  font-size: clamp(1.2rem, 1.4vw, 1.125rem) !important;
  text-transform: uppercase;
}

/* Heading letter spacing */
h1, .elementor-widget-heading h1.elementor-heading-title,
h2, .elementor-widget-heading h2.elementor-heading-title{ letter-spacing: 0em !important; }

h3, .elementor-widget-heading h3.elementor-heading-title{ letter-spacing: 0.005em !important; }
h4, .elementor-widget-heading h4.elementor-heading-title{ letter-spacing: 0.03em !important; }
h5, .elementor-widget-heading h5.elementor-heading-title{ letter-spacing: 0.045em !important; }
h6, .elementor-widget-heading h6.elementor-heading-title{ letter-spacing: 0.07em !important; }

/* ==================================
   SMALL TEXT
   ================================== */

.text-14,
.text-14 *:not(svg):not(path){
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
}
