/* ============================================================
   makara-mobile.css — MaKara News  v3.2
   ✅ אבטחה:   ללא eval, ללא url() חיצוני חשוד
   ✅ ביצועים: contain:layout, will-change מינימלי
   ✅ נגישות:  focus-visible, touch target 44px, WCAG 2.1 AA
              prefers-reduced-motion, forced-colors

   v3.2 — שינויים לעומת v3.1:
     • [CHANGED] body .news-ticker בנייד: רקע #F2F2F2 + border-bottom אדום
     • [CHANGED] body .ticker-label: #111 רקע / #fff כיתוב (ניגוד נשמר)
     • [CHANGED] ticker-item a + time: צבע שחור ואדום בנייד
     • [FIXED]   dark-mode ticker נייד: ticker-time #ff6b7a
   v3.1 — גלילת תפריט נגישות + drawer בנייד
   v3.0 — base mobile layout
   ============================================================ */

/* ════════════════════════════════════════════════
   1. CSS VARIABLES
════════════════════════════════════════════════ */
:root {
    --mob-header-h:     72px;
    --mob-infobar-h:    32px;
    --mob-ticker-h:     34px;
    --mob-alert-h:      44px;
    --mob-nav-bottom-h: 60px;
    --mob-thumb-w:      80px;
    --mob-thumb-h:      60px;
    --mob-radius-card:  10px;
    --mob-radius-thumb: 8px;
    --mob-padding-h:    12px;
    --z-header:         1000;
    --z-drawer:         1200;
    --z-overlay:        1100;
    --z-search:         1300;
    --z-nav-bottom:     900;
    --z-fab:            800;
}

/* ════════════════════════════════════════════════
   1b. הסתרת אלמנטי מובייל בדסקטופ
════════════════════════════════════════════════ */
.mob-bottom-nav,
.mob-info-bar,
.mob-drawer,
.mob-drawer-overlay,
.mob-search-overlay,
.mob-header-btn,
.logo-text-mobile,
.mob-breaking-section {
    display: none !important;
}

/* ════════════════════════════════════════════════
   2. MOBILE ONLY
════════════════════════════════════════════════ */
@media (max-width: 768px) {

    body {
        padding-bottom: var(--mob-nav-bottom-h);
        overflow-x:     hidden;
        background:     #fff;
    }

    body .mob-header-btn     { display: flex  !important; }
    body .mob-info-bar       { display: flex  !important; }
    body .mob-bottom-nav     { display: flex  !important; }
    body .mob-drawer         { display: block !important; }
    body .mob-drawer-overlay { display: block !important; }
    body .mob-search-overlay { display: block !important; }
    body .mob-breaking-section { display: block !important; }
    body .logo-text-mobile   { display: none  !important; }

    /* ── HEADER ── */
    body .site-header {
        height:     var(--mob-header-h);
        min-height: var(--mob-header-h);
        border-bottom: 2px solid var(--mk-red, #C0152A);
    }

    body .top-bar {
        height:     var(--mob-header-h);
        min-height: var(--mob-header-h);
        padding:    0 var(--mob-padding-h);
        background: var(--mk-white, #fff);
    }

    body .top-bar-content {
        display:        flex;
        flex-direction: row;
        flex-wrap:      nowrap;
        align-items:    center;
        min-height:     var(--mob-header-h);
        width:          100%;
        gap:            0;
    }

    /* ── לוגו ── */
    body .logo {
        flex:            1;
        display:         flex;
        justify-content: center;
        align-items:     center;
        padding:         0 4px;
    }

    body .logo img.site-logo {
        display:    block;
        width:      auto;
        height:     64px;
        max-width:  170px;
        object-fit: contain;
    }

    body .logo-text-mobile { display: none !important; }

    /* ── כפתורי HEADER ── */
    body .mob-header-btn {
        width:           44px;
        height:          44px;
        min-width:       44px;
        display:         flex;
        align-items:     center;
        justify-content: center;
        background:      transparent;
        border:          none;
        cursor:          pointer;
        color:           var(--mk-black, #111);
        border-radius:   50%;
        transition:      background 0.18s ease;
        padding:         0;
        flex-shrink:     0;
        outline:         none;
    }

    body #mobMenuBtn svg line { stroke: var(--mk-black, #111); stroke-width: 2.5; }
    body #mobSearchBtn svg    { stroke: var(--mk-black, #111); }

    body .mob-header-btn:hover,
    body .mob-header-btn:focus-visible {
        background: rgba(0, 0, 0, 0.07);
        outline:    2px solid transparent;
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
    }

    body .header-search,
    body .header-info,
    body .date-weather,
    body .submit-story-btn { display: none; }

    /* ── INFO BAR ── */
    body .mob-info-bar {
        display:         flex;
        align-items:     center;
        justify-content: space-between;
        background:      var(--mk-gray-bg, #f5f5f5);
        border-bottom:   1px solid var(--mk-gray-border, #e0e0e0);
        padding:         0 var(--mob-padding-h);
        height:          var(--mob-infobar-h);
        font-size:       11px;
        color:           #666;
        contain:         layout;
    }

    body .mob-info-left,
    body .mob-info-right { display: flex; align-items: center; gap: 5px; }

    body .mob-info-bar .mob-weather-temp,
    body #mobInfoTemp {
        font-size:  11px;
        font-weight: 700;
        color:      var(--mk-black, #111);
        line-height: 1;
        background: transparent;
        padding:    0;
        margin:     0;
        border:     none;
        display:    inline;
        width:      auto;
        min-height: unset;
    }

    body .mob-info-bar .info-sep { color: var(--mk-gray-border, #e0e0e0); margin: 0 3px; }

    /* ── NAV ── */
    body .main-nav { display: none; }

    /* ════════════════════════════════════════════
       TICKER נייד  v3.2
       ✅ רקע: #F2F2F2
       ✅ border-bottom: 3px solid אדום
       ✅ ticker-label: #111 / #fff
       ✅ ticker-time: #D0021B אדום
    ════════════════════════════════════════════ */
    body .news-ticker {
        height:        var(--mob-ticker-h);
        contain:       layout;
        margin-bottom: 0;
        background:    #F2F2F2;
        border-bottom: 3px solid var(--mk-red, #C0152A); /* ✅ קו תחתון */
    }

    body .ticker-label {
        font-size:  11px;
        padding:    0 10px;
        gap:        5px;
        flex-shrink: 0;
        background: #111111;  /* ✅ ניגוד נגישות */
        color:      #FFFFFF;
    }

    body .ticker-live-dot {
        width:         6px;
        height:        6px;
        background:    var(--mk-red, #C0152A);
        border-radius: 50%;
        display:       inline-block;
        animation:     live-pulse 1.2s ease-in-out infinite;
    }

    /* ✅ v3.2: כיתוב שחור + זמן אדום בנייד */
    body .ticker-item a {
        font-size: 12px;
        color:     #111111;
    }

    body .ticker-item { color: #111111; }

    body .ticker-time {
        color:   var(--mk-red, #D0021B);
        opacity: 1;
    }

    /* ── ALERT BANNER ── */
    body .mob-alert-banner {
        display:     flex;
        align-items: center;
        gap:         8px;
        background:  var(--mk-black, #111);
        color:       #fff;
        padding:     8px var(--mob-padding-h);
        min-height:  var(--mob-alert-h);
        cursor:      pointer;
        text-decoration: none;
        transition:  background 0.2s;
        border:      none;
        width:       100%;
        text-align:  right;
    }

    body .mob-alert-banner:hover,
    body .mob-alert-banner:focus-visible { background: #1a1a1a; outline: none; }

    body .mob-alert-icon {
        width:           28px;
        height:          28px;
        background:      var(--mk-red, #C0152A);
        border-radius:   6px;
        display:         flex;
        align-items:     center;
        justify-content: center;
        font-size:       14px;
        flex-shrink:     0;
    }

    body .mob-alert-text  { flex: 1; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
    body .mob-alert-text strong { color: #ff6b6b; }
    body .mob-alert-arrow { font-size: 16px; opacity: 0.5; flex-shrink: 0; }

    /* ── HERO ── */
    body .hero-grid { display: none; }

    body .mob-hero {
        margin:        10px var(--mob-padding-h);
        border-radius: var(--mob-radius-card);
        overflow:      hidden;
        position:      relative;
        display:       block;
        text-decoration: none;
        color:         inherit;
        min-height:    220px;
    }

    body .mob-hero-bg { width: 100%; min-height: 220px; position: relative; display: block; background: #1a2a1a; }
    body .mob-hero-bg img { width: 100%; height: 220px; object-fit: cover; display: block; }

    body .mob-hero-bg::after {
        content:        '';
        position:       absolute;
        inset:          0;
        background:     linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
        pointer-events: none;
    }

    body .mob-hero-content {
        position: absolute;
        bottom:   0;
        right:    0;
        left:     0;
        padding:  14px var(--mob-padding-h);
        z-index:  2;
    }

    body .mob-hero-category {
        display:       inline-block;
        background:    var(--cat-color, var(--mk-red, #C0152A));
        color:         #fff;
        font-size:     10.5px;
        font-weight:   800;
        padding:       3px 8px;
        border-radius: 4px;
        margin-bottom: 7px;
    }

    body .mob-hero-title {
        font-size:   20px;
        font-weight: 900;
        color:       #fff;
        line-height: 1.25;
        margin-bottom: 8px;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    }

    body .mob-hero-meta {
        display:     flex;
        align-items: center;
        gap:         6px;
        font-size:   11px;
        color:       rgba(255, 255, 255, 0.7);
    }

    body .mob-live-badge {
        display:     inline-flex;
        align-items: center;
        gap:         4px;
        background:  var(--mk-red, #C0152A);
        color:       #fff;
        font-size:   9.5px;
        font-weight: 800;
        padding:     2px 6px;
        border-radius: 4px;
    }

    body .mob-live-badge .live-dot {
        width:         5px;
        height:        5px;
        background:    #fff;
        border-radius: 50%;
        animation:     live-pulse 1s ease-in-out infinite;
    }

    /* ── CATEGORY TABS ── */
    body .content-layout { display: block; }
    body .sidebar        { display: none; }

    body .mob-tabs-wrap {
        border-bottom: 2px solid var(--mk-gray-border, #e0e0e0);
        padding-top:   10px;
        background:    #fff;
        position:      sticky;
        top:           calc(var(--mob-header-h) + var(--mob-infobar-h));
        z-index:       100;
        transition:    transform 0.25s ease;
        will-change:   transform;
    }

    body .mob-tabs-scroll {
        display:        flex;
        overflow-x:     auto;
        padding:        0 var(--mob-padding-h);
        scrollbar-width: none;
        gap:            0;
    }

    body .mob-tabs-scroll::-webkit-scrollbar { display: none; }

    body .mob-tab-btn {
        flex-shrink:   0;
        padding:       8px 14px;
        font-size:     13px;
        font-weight:   500;
        color:         #666;
        background:    none;
        border:        none;
        cursor:        pointer;
        border-bottom: 2.5px solid transparent;
        margin-bottom: -2px;
        transition:    color 0.2s, border-color 0.2s;
        white-space:   nowrap;
        min-height:    44px;
    }

    body .mob-tab-btn:hover { color: var(--mk-black, #111); }

    body .mob-tab-btn.active {
        color:        var(--mk-black, #111);
        font-weight:  700;
        border-bottom-color: var(--mk-black, #111);
    }

    /* ── SECTION HEADER ── */
    body .mob-section-header {
        padding:     14px var(--mob-padding-h) 8px;
        display:     flex;
        align-items: center;
        gap:         8px;
    }

    body .mob-section-title {
        font-size:   17px;
        font-weight: 700;
        color:       var(--mk-black, #111);
        display:     flex;
        align-items: center;
        gap:         8px;
    }

    body .mob-section-title::before {
        content:       '';
        display:       block;
        width:         4px;
        height:        17px;
        background:    var(--mk-red, #C0152A);
        border-radius: 2px;
        flex-shrink:   0;
    }

    /* ════════════════════════════════════════════
       MOB-BREAKING-SECTION
    ════════════════════════════════════════════ */
    body .mob-breaking-section {
        display:       block;
        background:    #fff;
        margin:        0;
        padding:       0;
        border-bottom: 6px solid var(--mk-gray-bg, #f2f3f5);
    }

    body .mob-breaking-header {
        display:         flex;
        align-items:     center;
        justify-content: space-between;
        padding:         12px var(--mob-padding-h) 0;
        border-bottom:   2px solid var(--mk-red, #C0152A);
        margin-bottom:   0;
    }

    body .mob-breaking-title {
        display:       flex;
        align-items:   center;
        gap:           6px;
        font-size:     14px;
        font-weight:   800;
        color:         #111;
        padding-bottom: 8px;
    }

    body .mob-breaking-live-dot {
        width:         6px;
        height:        6px;
        background:    var(--mk-red, #C0152A);
        border-radius: 50%;
        display:       inline-block;
        flex-shrink:   0;
        animation:     live-pulse 1.2s ease-in-out infinite;
    }

    body .mob-breaking-title .accent { color: var(--mk-red, #C0152A); }

    body .mob-breaking-all-link {
        display:         flex;
        align-items:     center;
        gap:             3px;
        font-size:       11.5px;
        font-weight:     600;
        color:           var(--mk-red, #C0152A);
        text-decoration: none;
        padding-bottom:  8px;
        white-space:     nowrap;
        transition:      opacity 0.15s;
        min-height:      44px;
        align-self:      stretch;
    }

    body .mob-breaking-all-link:hover,
    body .mob-breaking-all-link:focus-visible {
        opacity:        0.75;
        outline:        2px solid var(--mk-red, #C0152A);
        outline-offset: 2px;
        border-radius:  3px;
    }

    body .mob-breaking-list { list-style: none; margin: 0; padding: 0; }

    body .mob-breaking-item {
        display:       flex;
        align-items:   flex-start;
        gap:           8px;
        padding:       7px var(--mob-padding-h);
        border-bottom: 1px solid #f0f0f0;
        cursor:        pointer;
        background:    #fff;
        transition:    background 0.15s;
    }

    body .mob-breaking-item:last-child { border-bottom: none; }

    body .mob-breaking-item:hover,
    body .mob-breaking-item:focus-within { background: #fafafa; }

    body .mob-breaking-dot {
        width:         6px;
        height:        6px;
        min-width:     6px;
        background:    var(--mk-red, #C0152A);
        border-radius: 50%;
        margin-top:    6px;
        flex-shrink:   0;
    }

    body .mob-breaking-body { flex: 1; min-width: 0; }

    body .mob-breaking-toggle {
        display:     flex;
        align-items: flex-start;
        justify-content: space-between;
        gap:         8px;
        width:       100%;
        background:  none;
        border:      none;
        padding:     0;
        cursor:      pointer;
        text-align:  right;
        min-height:  44px;
    }

    body .mob-breaking-toggle:focus-visible {
        outline:        2px solid var(--mk-red, #C0152A);
        outline-offset: 2px;
        border-radius:  4px;
    }

    body .mob-breaking-title-wrap {
        display:        flex;
        flex-direction: column;
        flex:           1;
        gap:            2px;
        min-width:      0;
    }

    body .mob-breaking-item-title {
        font-size:   13.5px;
        font-weight: 700;
        line-height: 1.4;
        color:       #1a1a1a;
        text-align:  right;
        transition:  color 0.15s;
    }

    body .mob-breaking-item-time {
        font-size:   10px;
        font-weight: 400;
        color:       #999;
        display:     block;
        line-height: 1.2;
    }

    body .mob-breaking-item:hover .mob-breaking-item-title,
    body .mob-breaking-item.is-open .mob-breaking-item-title { color: var(--mk-red, #C0152A); }

    body .mob-breaking-arrow {
        flex-shrink: 0;
        color:       #bbb;
        margin-top:  2px;
        transition:  transform 0.22s ease, color 0.15s;
    }

    body .mob-breaking-item.is-open .mob-breaking-arrow {
        transform: rotate(180deg);
        color:     var(--mk-red, #C0152A);
    }

    body .mob-breaking-content {
        font-size:   12.5px;
        color:       #444;
        line-height: 1.6;
        padding-top: 8px;
        animation:   bn-expand 0.18s ease;
    }

    body .mob-breaking-content[hidden] { display: none; }

    @keyframes bn-expand {
        from { opacity: 0; transform: translateY(-4px); }
        to   { opacity: 1; transform: translateY(0);    }
    }

    body .mob-breaking-time {
        display:     flex;
        align-items: center;
        gap:         3px;
        margin-top:  5px;
        font-size:   10.5px;
        color:       #888;
    }

    body .mob-breaking-more-wrap {
        padding:      10px var(--mob-padding-h);
        background:   #fafafa;
        border-top:   1px solid #f0f0f0;
    }

    body .mob-breaking-more-btn {
        width:           100%;
        display:         flex;
        align-items:     center;
        justify-content: center;
        gap:             6px;
        padding:         10px;
        min-height:      44px;
        background:      #fff;
        color:           var(--mk-red, #C0152A);
        border:          1.5px solid var(--mk-red, #C0152A);
        border-radius:   8px;
        font-size:       13px;
        font-weight:     700;
        cursor:          pointer;
        transition:      background 0.2s, color 0.2s;
    }

    body .mob-breaking-more-btn:hover,
    body .mob-breaking-more-btn:focus-visible {
        background: var(--mk-red, #C0152A);
        color:      #fff;
        outline:    none;
    }

    body .mob-breaking-more-btn:disabled { opacity: 0.45; cursor: default; pointer-events: none; }

    body .mob-breaking-spinner {
        width:         14px;
        height:        14px;
        border:        2px solid currentColor;
        border-top-color: transparent;
        border-radius: 50%;
        animation:     mob-spin 0.7s linear infinite;
        flex-shrink:   0;
    }

    @keyframes mob-spin { to { transform: rotate(360deg); } }

    /* ── NEWS LIST ── */
    body .articles-grid { display: none; }

    body .mob-news-list {
        padding:        0 var(--mob-padding-h);
        display:        flex;
        flex-direction: column;
        background:     #fff;
    }

    body .mob-news-item {
        display:         flex;
        align-items:     center;
        gap:             12px;
        padding:         12px 4px;
        border-bottom:   1px solid var(--mk-gray-border, #e0e0e0);
        cursor:          pointer;
        transition:      background 0.15s;
        border-radius:   8px;
        text-decoration: none;
        color:           inherit;
        margin:          0 -4px;
    }

    body .mob-news-item:hover,
    body .mob-news-item:focus-visible { background: var(--mk-gray-bg, #f5f5f5); outline: none; }
    body .mob-news-item:last-child    { border-bottom: none; }

    body .mob-news-thumb {
        width:         var(--mob-thumb-w);
        height:        var(--mob-thumb-h);
        border-radius: var(--mob-radius-thumb);
        object-fit:    cover;
        flex-shrink:   0;
        background:    var(--mk-gray-bg, #f5f5f5);
        display:       block;
    }

    body .mob-news-thumb-placeholder {
        width:           var(--mob-thumb-w);
        height:          var(--mob-thumb-h);
        border-radius:   var(--mob-radius-thumb);
        background:      var(--mk-gray-bg, #f5f5f5);
        flex-shrink:     0;
        display:         flex;
        align-items:     center;
        justify-content: center;
        font-size:       24px;
        color:           #ccc;
    }

    body .mob-news-body { flex: 1; min-width: 0; }

    body .mob-news-title {
        font-size:          14.5px;
        font-weight:        700;
        line-height:        1.3;
        color:              var(--mk-black, #111);
        margin-bottom:      5px;
        display:            -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow:           hidden;
        transition:         color 0.2s;
    }

    body .mob-news-item:hover .mob-news-title { color: var(--mk-red, #C0152A); }

    body .mob-news-meta {
        display:     flex;
        align-items: center;
        gap:         5px;
        font-size:   11px;
        color:       #999;
    }

    body .mob-news-category {
        display:       inline-block;
        background:    var(--cat-color, var(--mk-red, #C0152A));
        color:         #fff;
        font-weight:   700;
        font-size:     10.5px;
        padding:       2px 7px;
        border-radius: 4px;
        line-height:   1.5;
        letter-spacing: 0.2px;
        white-space:   nowrap;
    }

    body .mob-news-sep { color: var(--mk-gray-border, #e0e0e0); margin: 0 1px; }

    body .mob-news-meta .date-label {
        font-size:   11px;
        font-weight: 700;
        color:       #555;
        margin-left: 2px;
    }

    /* ── LOAD MORE ── */
    body .mob-load-more-wrap { padding: 14px var(--mob-padding-h) 20px; }

    body .mob-load-more-btn {
        width:           100%;
        padding:         13px;
        background:      #fff;
        color:           var(--mk-black, #111);
        border:          2px solid var(--mk-gray-border, #e0e0e0);
        border-radius:   10px;
        font-size:       14px;
        font-weight:     600;
        cursor:          pointer;
        display:         flex;
        align-items:     center;
        justify-content: center;
        gap:             6px;
        transition:      border-color 0.2s, background 0.2s, color 0.2s;
        min-height:      44px;
    }

    body .mob-load-more-btn:hover,
    body .mob-load-more-btn:focus-visible {
        border-color: var(--mk-black, #111);
        background:   var(--mk-black, #111);
        color:        #fff;
        outline:      none;
    }

    /* ── BOTTOM NAVIGATION ── */
    body .mob-bottom-nav {
        position:    fixed;
        bottom:      0;
        right:       0;
        left:        0;
        height:      var(--mob-nav-bottom-h);
        background:  #fff;
        border-top:  1px solid var(--mk-gray-border, #e0e0e0);
        display:     flex;
        align-items: center;
        z-index:     var(--z-nav-bottom);
        box-shadow:  0 -2px 10px rgba(0, 0, 0, 0.07);
    }

    body .mob-nav-item {
        flex:            1;
        display:         flex;
        flex-direction:  column;
        align-items:     center;
        justify-content: center;
        gap:             3px;
        padding:         6px 0;
        cursor:          pointer;
        color:           #bbb;
        font-size:       10px;
        font-weight:     500;
        border:          none;
        background:      none;
        transition:      color 0.2s;
        min-height:      var(--mob-nav-bottom-h);
        text-decoration: none;
    }

    body .mob-nav-item.active { color: var(--mk-black, #111); }
    body .mob-nav-item svg    { transition: transform 0.2s; stroke: currentColor; }
    body .mob-nav-item.active svg { transform: scale(1.1); }

    /* ════════════════════════════════════════════
       DRAWER — גלילה תקינה בנייד
    ════════════════════════════════════════════ */
    body .mob-drawer-overlay {
        position:       fixed;
        inset:          0;
        background:     rgba(0, 0, 0, 0.52);
        z-index:        var(--z-overlay);
        opacity:        0;
        pointer-events: none;
        transition:     opacity 0.28s ease;
    }

    body .mob-drawer-overlay.open { opacity: 1; pointer-events: auto; }

    body .mob-drawer {
        position:     fixed;
        top:          0;
        right:        0;
        width:        300px;
        max-width:    88vw;
        height:       100%;
        height:       100dvh; /* ✅ iOS dynamic viewport */
        background:   #fff;
        z-index:      var(--z-drawer);
        overflow-y:   scroll;
        overflow-x:   hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y:      contain;
        touch-action: pan-y;
        transform:    translateX(100%);
        transition:   transform 0.3s ease;
        box-shadow:   -6px 0 32px rgba(0, 0, 0, 0.18);
    }

    body .mob-drawer.open { transform: translateX(0); }

    body .mob-drawer-header {
        background:      #111;
        padding:         0 16px;
        height:          78px;
        display:         flex;
        align-items:     center;
        justify-content: center;
        border-bottom:   3px solid var(--mk-red, #C0152A);
        flex-shrink:     0;
        position:        sticky;
        top:             0;
        z-index:         2;
    }

    body .mob-drawer-logo {
        display:         flex;
        align-items:     center;
        justify-content: center;
        flex:            1;
        text-decoration: none;
        line-height:     1;
        outline:         none;
    }

    body .mob-drawer-logo:focus-visible img {
        outline:        2px solid rgba(255, 255, 255, 0.7);
        outline-offset: 4px;
        border-radius:  3px;
    }

    body .mob-drawer-logo img {
        display:    block;
        width:      160px;
        height:     auto;
        max-width:  160px;
        object-fit: contain;
        filter:     brightness(0) invert(1);
        opacity:    0.92;
    }

    body .mob-drawer-close {
        position:        absolute;
        left:            12px;
        top:             50%;
        transform:       translateY(-50%);
        width:           36px;
        height:          36px;
        background:      rgba(255, 255, 255, 0.12);
        border:          1px solid rgba(255, 255, 255, 0.18);
        border-radius:   50%;
        color:           #fff;
        display:         flex;
        align-items:     center;
        justify-content: center;
        cursor:          pointer;
        font-size:       15px;
        line-height:     1;
        transition:      background 0.18s ease;
        flex-shrink:     0;
    }

    body .mob-drawer-close:hover,
    body .mob-drawer-close:focus-visible {
        background:     rgba(255, 255, 255, 0.24);
        outline:        2px solid rgba(255, 255, 255, 0.3);
        outline-offset: 2px;
    }

    body .mob-drawer-nav {
        padding:  6px 0 calc(var(--mob-nav-bottom-h) + 20px);
        overflow: visible;
    }

    body .mob-drawer-nav-item {
        display:         flex;
        align-items:     center;
        gap:             12px;
        padding:         0 16px;
        min-height:      52px;
        font-size:       15px;
        font-weight:     600;
        color:           #1a1a1a;
        text-decoration: none;
        background:      #fff;
        border-bottom:   1px solid #f0f0f0;
        border-right:    4px solid var(--item-color, #C0152A);
        transition:      background 0.15s ease, border-right-width 0.15s ease;
        cursor:          pointer;
        position:        relative;
    }

    body .mob-drawer-nav-item:hover,
    body .mob-drawer-nav-item:focus-visible {
        background:         #f7f7f7;
        border-right-width: 6px;
        outline:            none;
    }

    body .mob-drawer-nav-item:active { background: #f0f0f0; }

    /* ✅ אייקון מוסתר בdrawer לפשטות */
    body .mob-drawer-nav-icon { display: none !important; }

    body .mob-drawer-nav-dot {
        width:            10px;
        height:           10px;
        min-width:        10px;
        border-radius:    3px;
        background-color: var(--item-color, #C0152A);
        flex-shrink:      0;
        display:          block;
        transition:       transform 0.15s ease, opacity 0.15s ease;
    }

    body .mob-drawer-nav-item:hover .mob-drawer-nav-dot { transform: scale(1.2); opacity: 0.9; }
    body .mob-drawer-nav-dot--static { background-color: #bbb; }

    body .mob-drawer-nav-text {
        flex:         1;
        line-height:  1.3;
        min-width:    0;
        white-space:  nowrap;
        overflow:     hidden;
        text-overflow: ellipsis;
        color:        #1a1a1a;
    }

    body .mob-drawer-nav-arrow {
        color:       #ccc;
        font-size:   22px;
        font-weight: 300;
        flex-shrink: 0;
        line-height: 1;
        transition:  color 0.15s, transform 0.15s;
    }

    body .mob-drawer-nav-item:hover .mob-drawer-nav-arrow,
    body .mob-drawer-nav-item:focus-visible .mob-drawer-nav-arrow {
        color:     var(--item-color, #C0152A);
        transform: translateX(-4px);
    }

    body .mob-drawer-nav-item--static {
        --item-color: #999;
        color:        #555;
        font-weight:  500;
        font-size:    14px;
        background:   #fafafa;
        min-height:   48px;
    }

    body .mob-drawer-nav-item--static:hover,
    body .mob-drawer-nav-item--static:focus-visible {
        background:         #f0f0f0;
        color:              #333;
        border-right-width: 4px;
    }

    body .mob-drawer-sep {
        height:        8px;
        background:    #f4f4f4;
        border-top:    1px solid #ebebeb;
        border-bottom: 1px solid #ebebeb;
        margin:        2px 0;
    }

    /* ── SEARCH OVERLAY ── */
    body .mob-search-overlay {
        position:   fixed;
        inset:      0;
        background: #fff;
        z-index:    var(--z-search);
        transform:  translateY(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body .mob-search-overlay.open { transform: translateY(0); }

    body .mob-search-header {
        padding:       12px 16px;
        display:       flex;
        align-items:   center;
        gap:           10px;
        border-bottom: 2px solid var(--mk-black, #111);
    }

    body .mob-search-input {
        flex:       1;
        border:     none;
        outline:    none;
        font-size:  16px;
        color:      var(--mk-black, #111);
        direction:  rtl;
        background: transparent;
    }

    body .mob-search-input::placeholder { color: #aaa; }

    body .mob-search-submit {
        background:      none;
        border:          none;
        cursor:          pointer;
        color:           var(--mk-black, #111);
        padding:         4px 8px;
        min-width:       44px;
        min-height:      44px;
        display:         flex;
        align-items:     center;
        justify-content: center;
        flex-shrink:     0;
        border-radius:   6px;
        transition:      background 0.2s;
    }

    body .mob-search-submit:hover,
    body .mob-search-submit:focus-visible { background: var(--mk-gray-bg, #f5f5f5); outline: none; }

    body .mob-search-close {
        background:      none;
        border:          none;
        font-size:       20px;
        cursor:          pointer;
        color:           #666;
        min-width:       44px;
        min-height:      44px;
        display:         flex;
        align-items:     center;
        justify-content: center;
    }

    /* ── תפריט נגישות — גלילה תקינה בנייד ── */
    body .accessibility-toggle {
        bottom: calc(var(--mob-nav-bottom-h) + 14px) !important;
        left:   12px !important;
        width:  44px !important;
        height: 44px !important;
    }

    body .accessibility-menu {
        bottom:     calc(var(--mob-nav-bottom-h) + 66px) !important;
        left:       12px !important;
        right:      12px !important;
        min-width:  unset !important;
        width:      auto !important;
        max-height: calc(100vh - var(--mob-nav-bottom-h) - 130px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* ── FOOTER + ADS ── */
    body .site-footer { display: none; }
    body .ad-strip     { display: none; }
    body main          { padding: 0; background: #fff; }
    body .news-wrap    { padding: 0; contain: layout; }

    /* ════════════════════════════════════════════
       DARK MODE
    ════════════════════════════════════════════ */
    body.dark-mode-active .top-bar,
    body.dark-mode-active .site-header        { background: #141414 !important; }
    body.dark-mode-active .mob-header-btn     { color: #e0e0e0 !important; }
    body.dark-mode-active #mobMenuBtn svg line { stroke: #e0e0e0 !important; }
    body.dark-mode-active #mobSearchBtn svg    { stroke: #e0e0e0 !important; }
    body.dark-mode-active .mob-header-btn:hover { background: rgba(255, 255, 255, 0.1) !important; }
    body.dark-mode-active .mob-info-bar        { background: #1a1a1a !important; border-bottom-color: #333 !important; }
    body.dark-mode-active .mob-tabs-wrap       { background: #141414 !important; border-bottom-color: #333 !important; }
    body.dark-mode-active .mob-tab-btn         { color: #888 !important; }
    body.dark-mode-active .mob-tab-btn.active  { color: #f0f0f0 !important; border-bottom-color: #f0f0f0 !important; }
    body.dark-mode-active .mob-news-item       { border-bottom-color: #252525 !important; }
    body.dark-mode-active .mob-news-item:hover { background: #1e1e1e !important; }
    body.dark-mode-active .mob-news-title      { color: #e0e0e0 !important; }
    body.dark-mode-active .mob-bottom-nav      { background: #141414 !important; border-top-color: #333 !important; }
    body.dark-mode-active .mob-nav-item        { color: #555 !important; }
    body.dark-mode-active .mob-nav-item.active { color: #f0f0f0 !important; }
    body.dark-mode-active .mob-load-more-btn   { background: #141414 !important; color: #e0e0e0 !important; border-color: #333 !important; }
    body.dark-mode-active .mob-news-list,
    body.dark-mode-active .mob-section-header  { background: #141414 !important; }
    body.dark-mode-active main,
    body.dark-mode-active .news-wrap           { background: #141414 !important; }
    body.dark-mode-active .mob-drawer          { background: #1a1a1a !important; }
    body.dark-mode-active .mob-drawer-header   { background: #0a0a0a !important; }

    body.dark-mode-active .mob-drawer-nav-item {
        background:         #1a1a1a !important;
        border-bottom-color: #272727 !important;
        border-right-color: var(--item-color, #C0152A) !important;
        color:              #e0e0e0 !important;
    }

    body.dark-mode-active .mob-drawer-nav-text { color: #e0e0e0 !important; }

    body.dark-mode-active .mob-drawer-nav-item:hover,
    body.dark-mode-active .mob-drawer-nav-item:focus-visible {
        background: #242424 !important;
        color:      var(--item-color, var(--mk-red, #C0152A)) !important;
    }

    body.dark-mode-active .mob-drawer-nav-item:hover .mob-drawer-nav-text {
        color: var(--item-color, var(--mk-red, #C0152A)) !important;
    }

    body.dark-mode-active .mob-drawer-nav-dot  { opacity: 0.9 !important; }
    body.dark-mode-active .mob-drawer-nav-item--static { background: #161616 !important; color: #999 !important; }
    body.dark-mode-active .mob-drawer-sep      { background: #222 !important; border-color: #2a2a2a !important; }
    body.dark-mode-active .mob-search-overlay  { background: #141414 !important; }
    body.dark-mode-active .mob-search-input    { color: #e0e0e0 !important; }
    body.dark-mode-active .mob-search-header   { border-bottom-color: #f0f0f0 !important; }

    /* dark — מבזקים */
    body.dark-mode-active .mob-breaking-section  { background: #141414 !important; border-bottom-color: #222 !important; }
    body.dark-mode-active .mob-breaking-header   { border-bottom-color: var(--mk-red, #C0152A) !important; }
    body.dark-mode-active .mob-breaking-title    { color: #e0e0e0 !important; }
    body.dark-mode-active .mob-breaking-item     { background: #141414 !important; border-bottom-color: #252525 !important; }
    body.dark-mode-active .mob-breaking-item:hover { background: #1e1e1e !important; }
    body.dark-mode-active .mob-breaking-item-title { color: #e0e0e0 !important; }
    body.dark-mode-active .mob-breaking-item-time  { color: #666 !important; }
    body.dark-mode-active .mob-breaking-item.is-open .mob-breaking-item-title,
    body.dark-mode-active .mob-breaking-item:hover  .mob-breaking-item-title { color: var(--mk-red, #C0152A) !important; }
    body.dark-mode-active .mob-breaking-content   { color: #aaa !important; }
    body.dark-mode-active .mob-breaking-more-wrap  { background: #111 !important; border-top-color: #252525 !important; }
    body.dark-mode-active .mob-breaking-more-btn   { background: #141414 !important; color: #ff4d5e !important; border-color: #ff4d5e !important; }
    body.dark-mode-active .mob-breaking-more-btn:hover,
    body.dark-mode-active .mob-breaking-more-btn:focus-visible {
        background:   var(--mk-red, #C0152A) !important;
        color:        #fff !important;
        border-color: var(--mk-red, #C0152A) !important;
    }

    /* ✅ v3.2 — dark mode ticker נייד */
    body.dark-mode-active .news-ticker {
        background:    #1C1C1C !important;
        border-bottom-color: var(--mk-red, #C0152A) !important;
    }

    body.dark-mode-active .ticker-label {
        background: #111111 !important;
        color:      #FFFFFF  !important;
    }

    body.dark-mode-active .ticker-item a { color: #E0E0E0 !important; }

    body.dark-mode-active .ticker-time {
        color: #ff6b7a !important; /* ✅ אדום בהיר לרקע כהה — WCAG AA */
    }

} /* end @media (max-width: 768px) */

/* ════════════════════════════════════════════════
   3. ANIMATIONS
════════════════════════════════════════════════ */
@keyframes live-pulse {
    0%, 100% { opacity: 1;   transform: scale(1);    }
    50%       { opacity: 0.4; transform: scale(0.75); }
}

/* ════════════════════════════════════════════════
   4. prefers-reduced-motion
════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .mob-drawer,
    .mob-search-overlay,
    .mob-drawer-overlay,
    .mob-tabs-wrap { transition: none !important; will-change: auto !important; }

    .live-dot,
    .ticker-live-dot,
    .mob-breaking-live-dot { animation: none !important; }

    .mob-drawer-nav-item { transition: background 0.01s !important; }
    .mob-drawer-nav-dot  { transition: none !important; }
    .mob-breaking-content { animation: none !important; }
    .mob-breaking-arrow  { transition: none !important; }
    .mob-breaking-spinner { animation: none !important; }
}

/* ════════════════════════════════════════════════
   5. forced-colors
════════════════════════════════════════════════ */
@media (forced-colors: active) {
    .mob-header-btn,
    .mob-tab-btn,
    .mob-nav-item,
    .mob-drawer-nav-item,
    .mob-load-more-btn,
    .mob-search-close,
    .mob-drawer-close,
    .mob-breaking-toggle,
    .mob-breaking-more-btn {
        forced-color-adjust: auto;
        border: 1px solid ButtonText !important;
    }

    .mob-drawer-nav-dot,
    .mob-breaking-dot,
    .mob-breaking-live-dot { forced-color-adjust: none; }

    .mob-bottom-nav { border-top: 2px solid ButtonText !important; }
    .mob-drawer     { border-left: 2px solid ButtonText !important; }

    .mob-alert-icon,
    .mob-hero-category,
    .mob-live-badge { forced-color-adjust: none; }
}
