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

/* =====================================================================
   MedPlus — מערכת פונטים אחידה ורספונסיבית (fluid type scale)
   הגדלים משתנים אוטומטית לפי רוחב המסך (clamp: min .. preferred .. max)
   בשימוש ע"י: header, ארכיון בלוג/קטגוריה, עמודי CPT
   ===================================================================== */
:root {
    /* צבעי מותג */
    --mp-blue:        #2EA8D5;
    --mp-blue-dark:   #1a85ac;
    --mp-navy:        #1a2b3c;
    --mp-green:       #25D366;
    --mp-green-dark:  #1da851;
    --mp-ink:         #1a2b3c;
    --mp-muted:       #5b6b7a;
    --mp-line:        #e8edf1;
    --mp-bg:          #f4f6f8;

    /* סולם פונטים פלואידי */
    --mp-fs-2xs:  clamp(0.68rem, 0.64rem + 0.18vw, 0.78rem);
    --mp-fs-xs:   clamp(0.74rem, 0.70rem + 0.22vw, 0.84rem);
    --mp-fs-sm:   clamp(0.82rem, 0.77rem + 0.28vw, 0.95rem);
    --mp-fs-base: clamp(0.92rem, 0.86rem + 0.34vw, 1.05rem);
    --mp-fs-md:   clamp(1.02rem, 0.92rem + 0.5vw,  1.2rem);
    --mp-fs-lg:   clamp(1.2rem,  1.04rem + 0.8vw,  1.55rem);
    --mp-fs-xl:   clamp(1.45rem, 1.15rem + 1.5vw,  2.1rem);
    --mp-fs-2xl:  clamp(1.7rem,  1.25rem + 2.2vw,  2.7rem);

    /* משקלים אחידים */
    --mp-fw-normal: 400;
    --mp-fw-medium: 500;
    --mp-fw-bold:   700;

    /* רדיוסים וצללים אחידים */
    --mp-radius:    12px;
    --mp-radius-sm: 8px;
    --mp-shadow:    0 2px 12px rgba(0,0,0,.08);
    --mp-shadow-lg: 0 10px 34px rgba(0,0,0,.14);
}

/* Fix: prevent horizontal scroll from footer carousel in RTL */
.elementor-location-footer {
    overflow-x: hidden;
}

/* הסתרת widget WhatsApp הכפול שמוזרק דרך GTM (wa-sticky-pro / "MedPlus Clinic FAQ").
   הוא פתח lead popup לא רצוי בלחיצה. הכפתור הצף + הסרגל התחתון שלנו נשארים (קישור ישיר). */
.wa-sticky-root,
[id^="wa-sticky-medplus-faq"] {
    display: none !important;
}

/* =====================================================================
   כפתורי CTA — חוקים חסינים (גוברים על צבעי לינק כחולים של התבנית/פלאגינים)
   ===================================================================== */

/* WhatsApp (ירוק) — טקסט + אייקון לבנים תמיד */
.mp-wa, .mp-wa-float, .mp-mcta--wa, .mp-btn--wa,
.mp-wa:hover, .mp-wa-float:hover, .mp-mcta--wa:hover, .mp-btn--wa:hover,
.mp-wa:focus, .mp-wa-float:focus, .mp-mcta--wa:focus, .mp-btn--wa:focus {
    color: #ffffff !important;
}
.mp-wa *, .mp-wa-float *, .mp-mcta--wa *, .mp-btn--wa * { color: #ffffff !important; }
.mp-wa svg, .mp-wa-float svg, .mp-mcta--wa svg, .mp-btn--wa svg { fill: #ffffff !important; }

/* טלפון / CTA כחול (#2EA8D5) — טקסט + אייקון לבנים */
.mp-mcta--phone, .mp-btn--call,
.mp-mcta--phone:hover, .mp-btn--call:hover,
.mp-mcta--phone:focus, .mp-btn--call:focus {
    color: #ffffff !important;
}
.mp-mcta--phone *, .mp-btn--call * { color: #ffffff !important; }
.mp-mcta--phone svg, .mp-btn--call svg { fill: #ffffff !important; }

/* טלפון ב-header — טקסט נייבי, אייקון כחול */
.mp-phone-top, .mp-phone-top:hover, .mp-phone-top:focus { color: #1a2b3c !important; }
.mp-phone-top svg { color: #2EA8D5 !important; fill: #2EA8D5 !important; }

/* תפריט ה-header — צבע הטקסט לא יושפע מצבע לינק של התבנית */
.mp-menu a, .mp-menu a:hover, .mp-menu a:focus { text-decoration: none !important; }
