/* 
Theme Name: TheJackal-hello-theme-child
Theme URI: https://github.com/elementor/hello-theme/
Description: TheJackal-hello-theme-child is a child theme of Hello Elementor, created by Elementor team and modified by The Jackal
Author: The Jackal
Author URI: https://jackal.co.il/
Template: hello-elementor
Version: 7.0
Text Domain: TheJackal-hello-theme-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, body {
  font-family: "FbAbsolutiConHeb", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
input[type="tel" i] {
  direction: rtl !important;
}

/* Hello Title & Description */

.hello_elementor_page_title {
  display: none;
}

.entry-title {
  display: none !important;
}

.site-title {
  display: none !important;
}

.site-description {
  display: none !important;
}

.pojo-a11y-toolbar-text {
  font-size: 15px !important;
  font-weight: 500 !important;
}

/*

:root {
  --base-font-size: 1vw;
  --small-screen-font-size: 3.8vw;
}

body {
  font-size: var(--base-font-size);
}

h1 {
  font-size: calc(2.5 * var(--base-font-size));
}

h2 {
  font-size: calc(2 * var(--base-font-size));
}

p {
  font-size: var(--base-font-size);
}

@media (max-width: 767px) {
  body {
    font-size: var(--small-screen-font-size);
  }

  h1 {
    font-size: calc(2.5 * var(--small-screen-font-size));
  }

  h2 {
    font-size: calc(2 * var(--small-screen-font-size));
  }
*/

.jackal-form .elementor-field-group-divur,
.jackal-form .elementor-field-group-consent,
.jackal-form .elementor-field-group-divur2,
.jackal-form .elementor-field-group-consent2,
.jackal-form .elementor-field-group-divur3,
.jackal-form .elementor-field-group-consent3 {
    order: 20 !important;
}
.jackal-form .elementor-field-group-submit {
    order: 10 !important;
}
.jackal-form .elementor-field-textual,
.jackal-form .elementor-button {
	height: 2.4em !important;
    min-height: 2.4em !important;
	padding: 0.1em 1em !important;
	align-items: center;
	justify-content: center;
}
.jackal-form .elementor-button {
	cursor: pointer;
	transition: all 0.3s ease;
}

.jackal-form input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  margin: 0.15em 0 0 0;
  width: 1em;
  height: 1em;
  min-width: 1em;
  background: #ffffff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E")
    center/0% no-repeat;
  border: 1px solid black !important;
  border-radius: 0.25em;
  cursor: pointer;
  transition: all 0.2s ease;
	padding: 0 !important;
}

.jackal-form .elementor-field-option {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  position: relative;
  cursor: pointer;
}

.jackal-form input[type="checkbox"]:checked {
  background-color: var(--e-global-color-secondary, #E89881) !important;
  border-color: var(--e-global-color-secondary, #E89881) !important;
  background-size: 70%;
}

.jackal-form .elementor-field-option label {
  font-size: 1em !important;
  line-height: 1.3 !important;
  margin: 0;
  padding: 0;
  user-select: none;
}
.jackal-form input[type="checkbox"] label {
font-size: .9em !important;
}	
.jackal-form .elementor-field-option a {
  text-decoration: underline;
}

/* --- Themes --- */
/* Light */
.jackal-form.form-light .elementor-field-option label {
  color: var(--color-text, #334155);
}
.jackal-form.form-light .elementor-field-option a {
  color: var(--color-primary, #0f172a);
}
.jackal-form.form-light .elementor-button {
  background-color: var(--color-primary, #0f172a);
  color: #fff;
}
.jackal-form.form-light .elementor-button:hover {
  background-color: var(--color-accent, #0ea5e9);
}
/* --- Light form with dark checkbox --- */

/* Base (unchecked) state – stays white, no visible check */
.jackal-form.form-light.dark-checkbox input[type="checkbox"] {
  background-color: #ffffff;
  background-image: none;
}

/* Checked state – black background + white SVG check */
.jackal-form.form-light.dark-checkbox input[type="checkbox"]:checked {
  background-color: #000000 !important;
  border-color: #000000 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 70%;
}
/* Dark */
.jackal-form.form-dark .elementor-field-option label {
  color: #fff;
}
.jackal-form.form-dark .elementor-field-option a {
  color: #e2e8f0;
}
.jackal-form.form-dark .elementor-button {
  background-color: var(--color-accent, #0ea5e9);
  color: #fff;
}
.jackal-form.form-dark .elementor-button:hover {
  background-color: #fff;
  color: var(--color-primary, #0f172a);
}

/* --- Mobile (Compact) --- */
@media (max-width: 767px) {	
  .jackal-form .elementor-field-textual,
  .jackal-form .elementor-button {
    height: auto !important;
    min-height: 2em !important;
    padding: 0.5em 1em !important;
  }
  .jackal-form .elementor-button {
    padding: 0.75em 1.25em !important;
  }

  .jackal-form .elementor-field-option {
    gap: 0.7em;
  }
  .jackal-form .elementor-field-option label {
    font-size: 1em !important;
    line-height: 1.25 !important;
  }

  .jackal-form input[type="checkbox"] {
    margin-top: 0;
    width: 1.2em;
    height: 1.2em;
    min-width: 1.2em;
  }
}

/* ===== Article Typography ===== */

.jackal-article {
  font-size: 1em;          /* inherits from root */
  line-height: 1.7;
  max-width: 70ch;         /* comfortable reading width */
  margin: 0 auto;
}

/* Paragraphs & basic text */
.jackal-article p {
  font-size: 1em;
  line-height: 1.7;
  margin: 0 0 1em;
}

.jackal-article ul,
.jackal-article ol {
  margin: 0 0 1.2em 1.5em;
  line-height: 1.7;
  font-size: 1em;
}

/* Headings hierarchy (desktop) */
.jackal-article h1 {
  font-size: 2.6em;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

.jackal-article h2 {
  font-size: 2.1em;
  line-height: 1.25;
  margin: 1.4em 0 0.6em;
}

.jackal-article h3 {
  font-size: 1.6em;
  line-height: 1.3;
  margin: 1.2em 0 0.5em;
}

.jackal-article h4 {
  font-size: 1.2em;
  line-height: 1.35;
  margin: 1.1em 0 0.4em;
}

/* Optional: meta text, small notes */
.jackal-article .meta,
.jackal-article small {
  font-size: 0.85em;
  line-height: 1.5;
  color: #64748b;
}

/* Links inside article */
.jackal-article a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* ===== Mobile tweaks ===== */
@media (max-width: 767px) {
  .jackal-article {
    padding: 0 1.2em;
    max-width: 100%;
    line-height: 1.6;
  }

  .jackal-article h1 {
    font-size: 2.2em;
  }

  .jackal-article h2 {
    font-size: 1.8em;
  }

  .jackal-article h3 {
    font-size: 1.4em;
  }

  .jackal-article h4 {
    font-size: 1.1em;
  }

  .jackal-article p,
  .jackal-article li {
    font-size: 1em;
  }
}

  p {
    font-size: var(--small-screen-font-size);
  }
}

*/