/* =====================================================================
   One Click Accessibility (Pojo) - font resize + contrast-mode fixes
   Every font rule is gated behind body[class*="pojo-a11y-resize-font-"],
   so with no size chosen (and after Reset) nothing here changes the design.
   Contrast rules are gated behind the plugin's own mode classes.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Section 1: STEP -> MULTIPLIERS
     --a11y-scale       text / headings / lists        +15% ... +60%
     --a11y-scale-form  inputs, submit, Elementor buttons, form messages,
                        checkbox label                  +30% ... +75%
     --a11y-scale-sm    accessibility-menu items and the cookie popup,
                        deliberately a bit smaller than other text
                                                        +8%  ... +36%
   --------------------------------------------------------------------- */
:root { --a11y-scale: 1; --a11y-scale-form: 1; --a11y-scale-sm: 1; }
body.pojo-a11y-resize-font-130 { --a11y-scale: 1.15; --a11y-scale-form: 1.30; --a11y-scale-sm: 1.08; }
body.pojo-a11y-resize-font-140 { --a11y-scale: 1.22; --a11y-scale-form: 1.40; --a11y-scale-sm: 1.12; }
body.pojo-a11y-resize-font-150 { --a11y-scale: 1.28; --a11y-scale-form: 1.48; --a11y-scale-sm: 1.16; }
body.pojo-a11y-resize-font-160 { --a11y-scale: 1.35; --a11y-scale-form: 1.55; --a11y-scale-sm: 1.20; }
body.pojo-a11y-resize-font-170 { --a11y-scale: 1.42; --a11y-scale-form: 1.62; --a11y-scale-sm: 1.24; }
body.pojo-a11y-resize-font-180 { --a11y-scale: 1.48; --a11y-scale-form: 1.68; --a11y-scale-sm: 1.28; }
body.pojo-a11y-resize-font-190 { --a11y-scale: 1.54; --a11y-scale-form: 1.72; --a11y-scale-sm: 1.32; }
body.pojo-a11y-resize-font-200 { --a11y-scale: 1.60; --a11y-scale-form: 1.75; --a11y-scale-sm: 1.36; }

/* ---------------------------------------------------------------------
   Section 2: Base pin on <body> (theme baseline is 18px)
   --------------------------------------------------------------------- */
html body[class*="pojo-a11y-resize-font-"] {
    font-size: calc(18px * var(--a11y-scale)) !important;
}

/* ---------------------------------------------------------------------
   Section 3: Stop the compounding percentages inside every content root
   (.elementor = landing page; .login-banner / .login-section /
   .description-section = theme templates single.php, page.php, 404.php)
   --------------------------------------------------------------------- */
html body[class*="pojo-a11y-resize-font-"] .elementor p,
html body[class*="pojo-a11y-resize-font-"] .elementor li,
html body[class*="pojo-a11y-resize-font-"] .elementor span,
html body[class*="pojo-a11y-resize-font-"] .elementor label,
html body[class*="pojo-a11y-resize-font-"] .elementor blockquote,
html body[class*="pojo-a11y-resize-font-"] .elementor legend,
html body[class*="pojo-a11y-resize-font-"] .elementor code,
html body[class*="pojo-a11y-resize-font-"] .elementor pre,
html body[class*="pojo-a11y-resize-font-"] .elementor dd,
html body[class*="pojo-a11y-resize-font-"] .elementor dt,
html body[class*="pojo-a11y-resize-font-"] .login-banner p,
html body[class*="pojo-a11y-resize-font-"] .login-banner span,
html body[class*="pojo-a11y-resize-font-"] .login-section p,
html body[class*="pojo-a11y-resize-font-"] .login-section li,
html body[class*="pojo-a11y-resize-font-"] .login-section span,
html body[class*="pojo-a11y-resize-font-"] .login-section label,
html body[class*="pojo-a11y-resize-font-"] .login-section blockquote,
html body[class*="pojo-a11y-resize-font-"] .login-section legend,
html body[class*="pojo-a11y-resize-font-"] .login-section code,
html body[class*="pojo-a11y-resize-font-"] .login-section pre,
html body[class*="pojo-a11y-resize-font-"] .login-section dd,
html body[class*="pojo-a11y-resize-font-"] .login-section dt,
html body[class*="pojo-a11y-resize-font-"] .description-section p,
html body[class*="pojo-a11y-resize-font-"] .description-section li,
html body[class*="pojo-a11y-resize-font-"] .description-section span,
html body[class*="pojo-a11y-resize-font-"] .description-section label,
html body[class*="pojo-a11y-resize-font-"] .description-section blockquote,
html body[class*="pojo-a11y-resize-font-"] .description-section legend,
html body[class*="pojo-a11y-resize-font-"] .description-section code,
html body[class*="pojo-a11y-resize-font-"] .description-section pre,
html body[class*="pojo-a11y-resize-font-"] .description-section dd,
html body[class*="pojo-a11y-resize-font-"] .description-section dt {
    font-size: inherit !important;
}

/* Theme-template headings: Bootstrap 5 sizes x scale (the plugin's
   172.9% rule would otherwise stack on the already-scaled body). */
html body[class*="pojo-a11y-resize-font-"] .login-banner h1,
html body[class*="pojo-a11y-resize-font-"] .login-section h1,
html body[class*="pojo-a11y-resize-font-"] .description-section h1 { font-size: calc((22px + 1.5vw) * var(--a11y-scale)) !important; }
html body[class*="pojo-a11y-resize-font-"] .login-section h2,
html body[class*="pojo-a11y-resize-font-"] .description-section h2 { font-size: calc((21.2px + 0.9vw) * var(--a11y-scale)) !important; }
html body[class*="pojo-a11y-resize-font-"] .login-section h3,
html body[class*="pojo-a11y-resize-font-"] .description-section h3 { font-size: calc((20.8px + 0.6vw) * var(--a11y-scale)) !important; }
html body[class*="pojo-a11y-resize-font-"] .login-section h4,
html body[class*="pojo-a11y-resize-font-"] .description-section h4 { font-size: calc((20.4px + 0.3vw) * var(--a11y-scale)) !important; }
html body[class*="pojo-a11y-resize-font-"] .login-section h5,
html body[class*="pojo-a11y-resize-font-"] .description-section h5 { font-size: calc(20px * var(--a11y-scale)) !important; }
html body[class*="pojo-a11y-resize-font-"] .login-section h6,
html body[class*="pojo-a11y-resize-font-"] .description-section h6 { font-size: calc(16px * var(--a11y-scale)) !important; }
html body[class*="pojo-a11y-resize-font-"] .login-section h1 span,
html body[class*="pojo-a11y-resize-font-"] .login-section h2 span,
html body[class*="pojo-a11y-resize-font-"] .login-section h3 span,
html body[class*="pojo-a11y-resize-font-"] .login-section h4 span,
html body[class*="pojo-a11y-resize-font-"] .login-section h5 span,
html body[class*="pojo-a11y-resize-font-"] .login-section h6 span { font-size: inherit !important; }
html body[class*="pojo-a11y-resize-font-"] .login-section input,
html body[class*="pojo-a11y-resize-font-"] .login-section select,
html body[class*="pojo-a11y-resize-font-"] .login-section textarea,
html body[class*="pojo-a11y-resize-font-"] .description-section input,
html body[class*="pojo-a11y-resize-font-"] .description-section select,
html body[class*="pojo-a11y-resize-font-"] .description-section textarea { font-size: calc(16px * var(--a11y-scale-form)) !important; }
@media (min-width: 1200px) {
    html body[class*="pojo-a11y-resize-font-"] .login-banner h1,
    html body[class*="pojo-a11y-resize-font-"] .login-section h1,
    html body[class*="pojo-a11y-resize-font-"] .description-section h1 { font-size: calc(40px * var(--a11y-scale)) !important; }
    html body[class*="pojo-a11y-resize-font-"] .login-section h2,
    html body[class*="pojo-a11y-resize-font-"] .description-section h2 { font-size: calc(32px * var(--a11y-scale)) !important; }
    html body[class*="pojo-a11y-resize-font-"] .login-section h3,
    html body[class*="pojo-a11y-resize-font-"] .description-section h3 { font-size: calc(28px * var(--a11y-scale)) !important; }
    html body[class*="pojo-a11y-resize-font-"] .login-section h4,
    html body[class*="pojo-a11y-resize-font-"] .description-section h4 { font-size: calc(24px * var(--a11y-scale)) !important; }
}

/* ---------------------------------------------------------------------
   Section 4: CONTACT FORM 7 controls + messages (--a11y-scale-form)
   Values mirror the theme's custom CSS 1:1 (base, then max-width:767px).
   --------------------------------------------------------------------- */
html body[class*="pojo-a11y-resize-font-"] .cf7-vertical-layout input[type="text"],
html body[class*="pojo-a11y-resize-font-"] .cf7-vertical-layout input[type="tel"],
html body[class*="pojo-a11y-resize-font-"] .cf7-vertical-layout input[type="email"] {
    font-size: calc(0.8vw * var(--a11y-scale-form)) !important;
    line-height: 1.2 !important;
}
html body[class*="pojo-a11y-resize-font-"] .checkbox-row-vertical .wpcf7-submit {
    font-size: calc(0.9vw * var(--a11y-scale-form)) !important;
    line-height: 1.2 !important;
}
html body[class*="pojo-a11y-resize-font-"] .elementor .wpcf7-list-item-label {
    font-size: calc(0.7vw * var(--a11y-scale-form)) !important;
    line-height: 1.35 !important;
}
html body[class*="pojo-a11y-resize-font-"] .wpcf7 .wpcf7-response-output,
html body[class*="pojo-a11y-resize-font-"] .wpcf7 form .wpcf7-response-output {
    font-size: calc(max(14px, 0.7vw) * var(--a11y-scale-form)) !important;
    line-height: 1.4 !important;
}
html body[class*="pojo-a11y-resize-font-"] .elementor .wpcf7-not-valid-tip,
html body[class*="pojo-a11y-resize-font-"] .wpcf7 .wpcf7-not-valid-tip {
    font-size: calc(max(14px, 0.7vw) * var(--a11y-scale-form)) !important;
    line-height: 1.4 !important;
}
@media (max-width: 767px) {
    html body[class*="pojo-a11y-resize-font-"] .cf7-vertical-layout input[type="text"],
    html body[class*="pojo-a11y-resize-font-"] .cf7-vertical-layout input[type="tel"],
    html body[class*="pojo-a11y-resize-font-"] .cf7-vertical-layout input[type="email"] {
        font-size: calc(16px * var(--a11y-scale-form)) !important;
        height: max(40px, 1.8em) !important;
    }
    html body[class*="pojo-a11y-resize-font-"] .checkbox-row-vertical .wpcf7-submit {
        font-size: calc(20px * var(--a11y-scale-form)) !important;
        line-height: calc(22px * var(--a11y-scale-form)) !important;
    }
    html body[class*="pojo-a11y-resize-font-"] .elementor .wpcf7-list-item-label {
        font-size: calc(12px * var(--a11y-scale-form)) !important;
    }
}

/* ---------------------------------------------------------------------
   Section 4b: elements with an intentional size of their own that
   Section 3 would flatten (privacy popup uses :where(), zero specificity)
   --------------------------------------------------------------------- */
html body[class*="pojo-a11y-resize-font-"] .privacy-wrapper .privacy-content h2 {
    font-size: calc(1.4vw * var(--a11y-scale)) !important;
    line-height: 1.3 !important;
}
html body[class*="pojo-a11y-resize-font-"] .privacy-wrapper .privacy-content p,
html body[class*="pojo-a11y-resize-font-"] .privacy-wrapper .privacy-content li,
html body[class*="pojo-a11y-resize-font-"] .privacy-wrapper .privacy-content a {
    font-size: calc(0.9vw * var(--a11y-scale)) !important;
    line-height: 1.5 !important;
}
html body[class*="pojo-a11y-resize-font-"] .privacy-wrapper .privacy-content p span,
html body[class*="pojo-a11y-resize-font-"] .privacy-wrapper .privacy-content li span,
html body[class*="pojo-a11y-resize-font-"] .privacy-wrapper .privacy-content h2 span {
    font-size: inherit !important;
}
@media (max-width: 767px) {
    html body[class*="pojo-a11y-resize-font-"] .privacy-wrapper .privacy-content h2 {
        font-size: calc(16px * var(--a11y-scale)) !important;
    }
    html body[class*="pojo-a11y-resize-font-"] .privacy-wrapper .privacy-content p,
    html body[class*="pojo-a11y-resize-font-"] .privacy-wrapper .privacy-content li,
    html body[class*="pojo-a11y-resize-font-"] .privacy-wrapper .privacy-content a {
        font-size: calc(12px * var(--a11y-scale)) !important;
    }
}

/* ---------------------------------------------------------------------
   Section 4c: Cookie banner + settings modal (webzapp cookie-consent).
   Lives outside .elementor. Uses the smaller --a11y-scale-sm curve.
   Every pin is calc(px * scale) so the banner still grows.
   --------------------------------------------------------------------- */
html body[class*="pojo-a11y-resize-font-"] .cc-root p,
html body[class*="pojo-a11y-resize-font-"] .cc-root li,
html body[class*="pojo-a11y-resize-font-"] .cc-root span,
html body[class*="pojo-a11y-resize-font-"] .cc-root label,
html body[class*="pojo-a11y-resize-font-"] .cc-root a,
html body[class*="pojo-a11y-resize-font-"] .cc-modal-wrap p,
html body[class*="pojo-a11y-resize-font-"] .cc-modal-wrap li,
html body[class*="pojo-a11y-resize-font-"] .cc-modal-wrap span,
html body[class*="pojo-a11y-resize-font-"] .cc-modal-wrap label,
html body[class*="pojo-a11y-resize-font-"] .cc-modal-wrap a {
    font-size: inherit !important;
}
html body[class*="pojo-a11y-resize-font-"] .cc-root {
    font-size: calc(14px * var(--a11y-scale-sm)) !important;
    line-height: 1.5 !important;
}
html body[class*="pojo-a11y-resize-font-"] .cc-title,
html body[class*="pojo-a11y-resize-font-"] .cc-root .cc-title {
    font-size: calc(16px * var(--a11y-scale-sm)) !important;
    line-height: 1.3 !important;
}
html body[class*="pojo-a11y-resize-font-"] .cc-body,
html body[class*="pojo-a11y-resize-font-"] .cc-root .cc-body {
    font-size: calc(14px * var(--a11y-scale-sm)) !important;
    line-height: 1.5 !important;
}
html body[class*="pojo-a11y-resize-font-"] .cc-btn,
html body[class*="pojo-a11y-resize-font-"] .cc-root .cc-btn {
    font-size: calc(14px * var(--a11y-scale-sm)) !important;
}
html body[class*="pojo-a11y-resize-font-"] .cc-lang-toggle,
html body[class*="pojo-a11y-resize-font-"] .cc-root .cc-lang-toggle {
    font-size: calc(12px * var(--a11y-scale-sm)) !important;
}
html body[class*="pojo-a11y-resize-font-"] .cc-modal-wrap {
    font-size: calc(18px * var(--a11y-scale-sm)) !important;
}
html body[class*="pojo-a11y-resize-font-"] .cc-modal-wrap .cc-btn {
    font-size: calc(18px * var(--a11y-scale-sm)) !important;
}
html body[class*="pojo-a11y-resize-font-"] .cc-modal-head h2,
html body[class*="pojo-a11y-resize-font-"] .cc-modal-wrap .cc-modal-head h2 {
    font-size: calc(18px * var(--a11y-scale-sm)) !important;
}
html body[class*="pojo-a11y-resize-font-"] .cc-modal-close,
html body[class*="pojo-a11y-resize-font-"] .cc-modal-wrap .cc-modal-close {
    font-size: calc(24px * var(--a11y-scale-sm)) !important;
}
html body[class*="pojo-a11y-resize-font-"] .cc-cat-desc,
html body[class*="pojo-a11y-resize-font-"] .cc-modal-wrap .cc-cat-desc {
    font-size: calc(13px * var(--a11y-scale-sm)) !important;
}
html body[class*="pojo-a11y-resize-font-"] .cc-required-badge,
html body[class*="pojo-a11y-resize-font-"] .cc-modal-wrap .cc-required-badge {
    font-size: calc(11px * var(--a11y-scale-sm)) !important;
}
html body[class*="pojo-a11y-resize-font-"] .cc-cookies-list,
html body[class*="pojo-a11y-resize-font-"] .cc-modal-wrap .cc-cookies-list,
html body[class*="pojo-a11y-resize-font-"] .cc-modal-wrap .cc-cookies-list th,
html body[class*="pojo-a11y-resize-font-"] .cc-modal-wrap .cc-cookies-list td {
    font-size: calc(12px * var(--a11y-scale-sm)) !important;
}

/* ---------------------------------------------------------------------
   Section 4d: Accessibility menu items - a bit smaller than other text.
   The plugin gives the item's <a> 80% of the toolbar size and then
   scales the spans inside it; scale them relative to that <a> instead.
   --------------------------------------------------------------------- */
html body[class*="pojo-a11y-resize-font-"] #pojo-a11y-toolbar .pojo-a11y-toolbar-item a > span {
    font-size: calc(100% * var(--a11y-scale-sm)) !important;
}
/* Toolbar panel width fits its content at every size (the plugin's fixed
   180px is far too wide for the small default text) and every menu item stays
   on one line. The plugin's fixed 180px slide offsets are replaced by a
   transform, so the panel hides/shows correctly at any width.
   Deliberately NOT gated behind the font-size class. */
html body #pojo-a11y-toolbar .pojo-a11y-toolbar-overlay {
    width: max-content !important;
    min-width: 0 !important;
}
html body #pojo-a11y-toolbar .pojo-a11y-toolbar-overlay ul.pojo-a11y-toolbar-items li.pojo-a11y-toolbar-item a {
    white-space: nowrap !important;
}
html body #pojo-a11y-toolbar.pojo-a11y-toolbar-left {
    left: 0 !important;
    transform: translateX(-100%);
    transition: transform 750ms cubic-bezier(.23, 1, .32, 1) !important;
}
html body #pojo-a11y-toolbar.pojo-a11y-toolbar-left.pojo-a11y-toolbar-open {
    transform: none;
}
html body #pojo-a11y-toolbar.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
    left: 100% !important;
}

/* ---------------------------------------------------------------------
   Section 5: Elementor page 9 (home) - every font-size rule of post-9.css,
   base then @media (max-width:767px), multiplied by the scale.
   --------------------------------------------------------------------- */
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-e01f391 .elementor-heading-title,
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-436fa79 .elementor-heading-title {
    font-size: calc(1vw * var(--a11y-scale)) !important;
    line-height: 1.2 !important;
}
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-f5a0a75 .elementor-heading-title,
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-7539a00 .elementor-heading-title {
    font-size: calc(2vw * var(--a11y-scale)) !important;
    line-height: 1.2 !important;
}
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-fa144e8 .elementor-heading-title,
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-7c304c6 .elementor-heading-title {
    font-size: calc(1vw * var(--a11y-scale)) !important;
    line-height: 1.2 !important;
}
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-fc493fc .elementor-heading-title {
    font-size: calc(1.4vw * var(--a11y-scale)) !important;
    line-height: 1.2 !important;
}
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-3defdf8 .elementor-heading-title {
    font-size: calc(1.6vw * var(--a11y-scale)) !important;
    line-height: 1.2 !important;
}
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-b2f2c8a .elementor-image-box-title,
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-06f6c15 .elementor-image-box-title,
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-d1f31ec .elementor-image-box-title,
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-42363ee .elementor-image-box-title,
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-436b62c .elementor-image-box-title {
    font-size: calc(0.8vw * var(--a11y-scale)) !important;
}
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-b2f2c8a .elementor-image-box-description,
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-06f6c15 .elementor-image-box-description,
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-d1f31ec .elementor-image-box-description,
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-42363ee .elementor-image-box-description,
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-436b62c .elementor-image-box-description {
    font-size: calc(0.78vw * var(--a11y-scale)) !important;
    line-height: 1.35 !important;
}
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-b02443b .elementor-heading-title {
    font-size: calc(1.3vw * var(--a11y-scale)) !important;
    line-height: 1.2 !important;
}
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-f07bf33 .elementor-heading-title {
    font-size: calc(0.67vw * var(--a11y-scale)) !important;
    line-height: 1.2 !important;
}
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-582141a .elementor-heading-title {
    font-size: calc(0.7vw * var(--a11y-scale)) !important;
    line-height: 1.2 !important;
}
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-446f345 .elementor-button,
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-20063de .elementor-button {
    font-size: calc(15px * var(--a11y-scale-form)) !important;
}

/* Price "3,820,000 ₪" (3defdf8) stays on one line: its card (489c6a9) is a
   fixed 25vw and the price already fills its half at the default size, so
   while a size is chosen the card grows to fit and the halves size to content. */
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-3defdf8 .elementor-heading-title {
    white-space: nowrap !important;
}
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-489c6a9 {
    width: max-content !important;
    min-width: var(--width) !important;
    max-width: 100% !important;
}
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-0286995 {
    width: auto !important;
    flex: 0 0 auto !important;
}
html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-57806ab {
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

@media (max-width: 767px) {
    /* Feature grid (18dac9f): the boxes in a row stretch to the same height,
       so their bottom borders stay on one line when a label wraps */
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-18dac9f {
        --align-items: stretch;
        align-items: stretch !important;
    }
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-e01f391 .elementor-heading-title,
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-436fa79 .elementor-heading-title {
        font-size: calc(11px * var(--a11y-scale)) !important;
    }
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-f5a0a75 .elementor-heading-title,
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-7539a00 .elementor-heading-title {
        font-size: calc(22px * var(--a11y-scale)) !important;
    }
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-fa144e8 .elementor-heading-title,
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-7c304c6 .elementor-heading-title {
        font-size: calc(15px * var(--a11y-scale)) !important;
        line-height: calc(20px * var(--a11y-scale)) !important;
    }
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-fc493fc .elementor-heading-title {
        font-size: calc(20px * var(--a11y-scale)) !important;
    }
    /* phone: price capped at 8vw so it always fits its card on one line */
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-3defdf8 .elementor-heading-title {
        font-size: min(calc(23px * var(--a11y-scale)), 8vw) !important;
    }
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-06f6c15 .elementor-image-box-title {
        font-size: calc(14px * var(--a11y-scale)) !important;
    }
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-b2f2c8a .elementor-image-box-description,
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-06f6c15 .elementor-image-box-description,
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-d1f31ec .elementor-image-box-description,
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-42363ee .elementor-image-box-description,
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-436b62c .elementor-image-box-description {
        font-size: calc(14px * var(--a11y-scale)) !important;
        line-height: calc(18px * var(--a11y-scale)) !important;
    }
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-b02443b .elementor-heading-title {
        font-size: calc(25px * var(--a11y-scale)) !important;
        line-height: calc(32px * var(--a11y-scale)) !important;
    }
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-f07bf33 .elementor-heading-title {
        font-size: calc(12px * var(--a11y-scale)) !important;
        line-height: calc(16px * var(--a11y-scale)) !important;
    }
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-582141a .elementor-heading-title {
        font-size: calc(12px * var(--a11y-scale)) !important;
    }
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-446f345 .elementor-button,
    html body[class*="pojo-a11y-resize-font-"] .elementor-9 .elementor-element.elementor-element-20063de .elementor-button {
        font-size: calc(18px * var(--a11y-scale-form)) !important;
    }
}

/* =====================================================================
   CONTRAST MODES
   The plugin's negative/light rules use `*:not(#pojo-a11y-toolbar)`,
   which carries ID specificity - hence the :not(#a11y-x) on each
   selector below so these rules win.
   ===================================================================== */

/* ---- 1. Background images stay visible in every contrast mode ---- */
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) .mute-btn:not(#a11y-x),
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) #Button_toggleButton_0:not(#a11y-x),
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) #Button_toggleButton_m:not(#a11y-x) {
    background-color: transparent !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) .mute-btn.muted:not(#a11y-x) {
    background-image: url("https://solo.borlandia-lp.net/wp-content/uploads/sites/31/2025/12/mute.svg") !important;
}
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) .mute-btn.unmuted:not(#a11y-x) {
    background-image: url("https://solo.borlandia-lp.net/wp-content/uploads/sites/31/2025/12/audio.svg") !important;
}
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) #Button_toggleButton_0.div-button-button-off:not(#a11y-x),
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) #Button_toggleButton_m.div-button-button-off:not(#a11y-x) {
    background-image: url("../images/mute.svg") !important;
}
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) #Button_toggleButton_0.div-button-button-on:not(#a11y-x),
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) #Button_toggleButton_m.div-button-button-on:not(#a11y-x) {
    background-image: url("../images/audio.svg") !important;
}
/* The icons are black: invert them on the black backgrounds */
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast) .mute-btn:not(#a11y-x),
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast) #Button_toggleButton_0:not(#a11y-x),
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast) #Button_toggleButton_m:not(#a11y-x) {
    filter: invert(1) !important;
    border: 0 !important;
}
/* Lightbox controls */
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) .lightbox .lb-prev:not(#a11y-x) {
    background: url("../images/prev.png") left 48% no-repeat !important;
}
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) .lightbox .lb-next:not(#a11y-x) {
    background: url("../images/next.png") right 48% no-repeat !important;
}
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) .lightbox .lb-cancel:not(#a11y-x) {
    background: url("../images/loading.gif") no-repeat !important;
}
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) .lightbox .lb-close:not(#a11y-x) {
    background: url("../images/close.png") top right no-repeat !important;
}

/* No background behind images in any mode (the plugin paints #808080 in
   high contrast and #000 / #fff in negative / light) */
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) img:not(#a11y-x) {
    background: transparent !important;
}

/* "הבנייה החלה!" badge floats over the photo and must stay see-through in
   every mode. Desktop: 4e9578c > 6c870bd > aec0131.
   Mobile: 6d5074b > f53b42c > d9a1bd4. */
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) .elementor-element-6c870bd:not(#a11y-x),
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) .elementor-element-f53b42c:not(#a11y-x),
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) .elementor-element-f53b42c *:not(#a11y-x),
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) .elementor-element-4e9578c:not(#a11y-x),
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) .elementor-element-4e9578c *:not(#a11y-x),
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) .elementor-element-aec0131:not(#a11y-x),
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) .elementor-element-aec0131 *:not(#a11y-x),
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) .elementor-element-d9a1bd4:not(#a11y-x),
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) .elementor-element-d9a1bd4 *:not(#a11y-x) {
    background: transparent !important;
}

/* Light-background mode: the icons and logos are beige/white artwork that
   vanishes on the plugin's white page, so give them a black backing.
   (feature icons b2f2c8a..436b62c, header logo 1bd09f8, bottom logos
   e3c9454 / b10cc5c / 9b2a3ca - the round badge keeps no background) */
html body.pojo-a11y-light-background .elementor-widget-image-box .elementor-image-box-img img:not(#a11y-x),
html body.pojo-a11y-light-background .elementor-element-1bd09f8 img:not(#a11y-x),
html body.pojo-a11y-light-background .elementor-element-e3c9454 img:not(#a11y-x),
html body.pojo-a11y-light-background .elementor-element-b10cc5c img:not(#a11y-x),
html body.pojo-a11y-light-background .elementor-element-9b2a3ca img:not(#a11y-x) {
    background: #000 !important;
}

/* Sticky buttons "לפרטים" (446f345) / "התקשרו" (20063de): the plugin removes
   their fills, so outline them in the mode's text colour */
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast) .elementor-element-446f345 .elementor-button:not(#a11y-x),
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast) .elementor-element-20063de .elementor-button:not(#a11y-x) {
    border: 1px solid #fff !important;
}
html body.pojo-a11y-light-background .elementor-element-446f345 .elementor-button:not(#a11y-x),
html body.pojo-a11y-light-background .elementor-element-20063de .elementor-button:not(#a11y-x) {
    border: 1px solid #000 !important;
}
html body.pojo-a11y-grayscale .elementor-element-446f345 .elementor-button:not(#a11y-x),
html body.pojo-a11y-grayscale .elementor-element-20063de .elementor-button:not(#a11y-x) {
    border: 1px solid #eeddbd !important;
}

/* ---- 2. Form field borders visible in every contrast mode ---- */
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast) .wpcf7 input:not([type="hidden"]):not(#a11y-x),
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast) .wpcf7 textarea:not(#a11y-x),
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast) .wpcf7 select:not(#a11y-x) {
    border-style: solid !important;
    border-width: 1px !important;
    border-color: #fff !important;
}
html body.pojo-a11y-light-background .wpcf7 input:not([type="hidden"]):not(#a11y-x),
html body.pojo-a11y-light-background .wpcf7 textarea:not(#a11y-x),
html body.pojo-a11y-light-background .wpcf7 select:not(#a11y-x) {
    border-style: solid !important;
    border-width: 1px !important;
    border-color: #000 !important;
}
html body.pojo-a11y-grayscale .wpcf7 input:not([type="hidden"]):not([type="submit"]):not(#a11y-x),
html body.pojo-a11y-grayscale .wpcf7 textarea:not(#a11y-x),
html body.pojo-a11y-grayscale .wpcf7 select:not(#a11y-x) {
    border-color: #eeddbd !important;
}
/* placeholders follow the mode's text colour */
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast) .wpcf7 input:not(#a11y-x)::placeholder { color: #fff !important; }
html body.pojo-a11y-light-background .wpcf7 input:not(#a11y-x)::placeholder { color: #000 !important; }

/* ---- 3. Consent checkbox: tick centred and visible in every mode ---- */
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) .wpcf7-checkbox input[type="checkbox"]:not(#a11y-x) {
    position: relative !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast, .pojo-a11y-light-background, .pojo-a11y-grayscale) .wpcf7-checkbox input[type="checkbox"]:checked:not(#a11y-x)::after {
    content: "✔" !important;
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    background: transparent !important;
}
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast) .wpcf7-checkbox input[type="checkbox"]:not(#a11y-x) {
    background: #000 !important;
    border: 1px solid #fff !important;
}
html body.pojo-a11y-high-contrast .wpcf7-checkbox input[type="checkbox"]:checked:not(#a11y-x)::after {
    color: #ff0 !important;
}
html body.pojo-a11y-negative-contrast .wpcf7-checkbox input[type="checkbox"]:checked:not(#a11y-x)::after {
    color: #fff !important;
}
html body.pojo-a11y-light-background .wpcf7-checkbox input[type="checkbox"]:not(#a11y-x) {
    background: #fff !important;
    border: 1px solid #000 !important;
}
html body.pojo-a11y-light-background .wpcf7-checkbox input[type="checkbox"]:checked:not(#a11y-x)::after {
    color: #000 !important;
}
html body.pojo-a11y-grayscale .wpcf7-checkbox input[type="checkbox"]:checked:not(#a11y-x)::after {
    color: #384888 !important;
}

/* ---- 4. Cookie settings toggles: visible, with a distinct ON state ----
   The theme's style.css forces every .cc-slider to #ababff, which hides
   the checked state; restore a clear ON colour (also outside contrast modes). */
html body .cc-toggle input:checked + .cc-slider:not(#a11y-x):not(#a11y-y) {
    background: #384888 !important;
}
html body .cc-toggle .cc-slider:not(#a11y-x):not(#a11y-y)::before {
    background: #fff !important;
}
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast) .cc-toggle .cc-slider:not(#a11y-x):not(#a11y-y) {
    background: #000 !important;
    border: 2px solid #fff !important;
}
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast) .cc-toggle .cc-slider:not(#a11y-x):not(#a11y-y)::before {
    background: #fff !important;
    top: 1px !important;
    left: 1px !important;
}
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast) .cc-toggle input:checked + .cc-slider:not(#a11y-x):not(#a11y-y) {
    background: #ff0 !important;
    border-color: #ff0 !important;
}
html body:is(.pojo-a11y-high-contrast, .pojo-a11y-negative-contrast) .cc-toggle input:checked + .cc-slider:not(#a11y-x):not(#a11y-y)::before {
    background: #000 !important;
}
html body.pojo-a11y-light-background .cc-toggle .cc-slider:not(#a11y-x):not(#a11y-y) {
    background: #fff !important;
    border: 2px solid #000 !important;
}
html body.pojo-a11y-light-background .cc-toggle .cc-slider:not(#a11y-x):not(#a11y-y)::before {
    background: #000 !important;
    top: 1px !important;
    left: 1px !important;
}
html body.pojo-a11y-light-background .cc-toggle input:checked + .cc-slider:not(#a11y-x):not(#a11y-y) {
    background: #000 !important;
}
html body.pojo-a11y-light-background .cc-toggle input:checked + .cc-slider:not(#a11y-x):not(#a11y-y)::before {
    background: #fff !important;
}
html body.pojo-a11y-grayscale .cc-toggle .cc-slider:not(#a11y-x):not(#a11y-y) {
    border: 2px solid #000 !important;
}
html body.pojo-a11y-grayscale .cc-toggle .cc-slider:not(#a11y-x):not(#a11y-y)::before {
    top: 1px !important;
    left: 1px !important;
}
html body.pojo-a11y-grayscale .cc-toggle input:checked + .cc-slider:not(#a11y-x):not(#a11y-y) {
    background: #000 !important;
}

/* =====================================================================
   CONTACT FORM - fields stay aligned when a validation error shows
   The desktop row is a flex row with align-items:center, so when one
   field shows a tip underneath, the fields without one drop to the middle.
   Align to the top instead (no visual change while there are no errors).
   ===================================================================== */
html body .elementor .cf7-vertical-layout {
    align-items: flex-start;
}

/* Mobile: the theme sets typed text to the navy --main-color (!important)
   on the navy form background, so what the visitor types is invisible.
   Use the beige the fields use on desktop. Contrast modes keep their own
   text colour (high contrast is excluded; negative/light out-specify this). */
@media (max-width: 767px) {
    html body:not(.pojo-a11y-high-contrast) .elementor .cf7-vertical-layout input[type="text"],
    html body:not(.pojo-a11y-high-contrast) .elementor .cf7-vertical-layout input[type="tel"],
    html body:not(.pojo-a11y-high-contrast) .elementor .cf7-vertical-layout input[type="email"] {
        color: #eeddbd !important;
    }
}

/* Consent checkbox: top-aligned with the first line of its text in the
   default view, every contrast mode and every font size. The browser's
   default checkbox margin (3px top/bottom) pushed it off the text line. */
html body .elementor span.wpcf7-list-item label {
    align-items: flex-start !important;
}
html body .elementor .wpcf7-checkbox input[type="checkbox"] {
    align-self: flex-start !important;
    flex-shrink: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
