 /* --- הגדרות כלליות --- */
    .article-container {
        max-width: 900px;
        margin: 0 auto 80px;
        padding: 0 20px;
        margin-top: 0;
    }

    /* כפתור חזרה */
    .back-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--text-muted);
        text-decoration: none;
        margin-bottom: 20px;
        margin-top: 30px;
        font-weight: 500;
        transition: 0.2s;
    }
    .back-btn:hover {
        color: var(--primary);
        transform: translateX(5px);
    }

    /* --- Immersive Hero Header (הגיבור האפל) --- */
    .immersive-header {
        position: relative;
        height: 500px;
        border-radius: 16px;
        overflow: hidden;
        margin-bottom: 40px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
        border: 1px solid rgba(255,255,255,0.05);
    }

    .immersive-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 10s ease;
    }
    /* אפקט זום עדין לתמונה */
    .immersive-header:hover .immersive-img {
        transform: scale(1.05);
    }

    /* שכבת צבע מדורג */
    .immersive-overlay {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        /* מכהה מלמטה למעלה כדי שהטקסט יהיה קריא */
        background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.95) 100%);
        z-index: 1;
        pointer-events: none;
    }

    .immersive-content {
        position: absolute;
        bottom: 40px;
        right: 40px;
        left: 40px;
        z-index: 2;
        text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    }

    /* כותרת */
    .article-title {
        font-family: 'Rubik', sans-serif;
        font-size: 3rem;
        font-weight: 800;
        line-height: 1.1;
        color: white;
        margin-bottom: 20px;
    }

    /* פרטי מחבר ותאריך */
    .article-meta-bar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 25px;
        color: rgba(255,255,255,0.9);
        font-size: 1rem;
        font-weight: 500;
    }
    
    .meta-item { display: flex; align-items: center; gap: 10px; }
    .meta-item i { color: var(--primary); }
    
    .author-avatar {
        width: 35px; height: 35px; border-radius: 50%; 
        object-fit: cover; border: 2px solid var(--primary);
    }

    /* --- תוכן הכתבה --- */
    .article-content {
        font-size: 1.15rem;
        line-height: 1.8;
        color: #e0e0e0;
        margin-bottom: 60px;
    }
    .article-content h2 { color: white; margin-top: 40px; margin-bottom: 15px; font-size: 1.8rem; border-right: 4px solid var(--primary); padding-right: 15px; }
    .article-content h3 { color: white; margin-top: 30px; margin-bottom: 10px; font-size: 1.4rem; }
    .article-content p { margin-bottom: 20px; }
    .article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
    .article-content ul, .article-content ol { margin-bottom: 20px; padding-right: 20px; }
    .article-content li { margin-bottom: 8px; }
    .article-content a { color: var(--primary); text-decoration: underline; font-weight: bold; }
    .article-content blockquote {
        background: rgba(255,255,255,0.05);
        border-right: 4px solid var(--primary);
        padding: 20px;
        margin: 30px 0;
        font-style: italic;
        font-size: 1.2rem;
        color: white;
    }

    /* --- Floating Share Sidebar (Desktop) --- */
    .floating-share-sidebar {
        position: fixed;
        right: 30px;
        top: 40%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 15px;
        z-index: 100;
    }

    .share-btn-float {
        width: 50px; height: 50px;
        border-radius: 50%;
        background: rgba(30, 30, 35, 0.8);
        border: 1px solid rgba(255,255,255,0.1);
        display: flex; align-items: center; justify-content: center;
        color: #ccc; transition: all 0.3s ease;
        font-size: 1.3rem; text-decoration: none;
        backdrop-filter: blur(5px);
    }

    .share-btn-float:hover {
        background: var(--primary);
        color: #000;
        transform: translateX(-5px);
        box-shadow: -5px 5px 15px rgba(0,0,0,0.3);
        border-color: var(--primary);
    }

    /* --- Mobile Sticky Bar --- */
    .mobile-share-bar {
        display: none; /* מוסתר כברירת מחדל */
        position: fixed;
        bottom: 0; left: 0; width: 100%;
        background: rgba(20, 20, 25, 0.95);
        backdrop-filter: blur(10px);
        padding: 12px 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
        z-index: 9999;
        justify-content: space-between; /* מרווח בין שיתוף לתגובות */
        align-items: center;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    }

    .mobile-actions-left { display: flex; gap: 20px; }
    
    .share-btn-mobile {
        color: #ccc; font-size: 1.4rem; text-decoration: none;
        transition: 0.2s; display: flex; align-items: center;
    }
    .share-btn-mobile.whatsapp:hover { color: #25D366; }
    .share-btn-mobile.facebook:hover { color: #1877F2; }
    .share-btn-mobile.twitter:hover { color: #1DA1F2; }
    
    .comments-trigger-btn {
        background: var(--primary); color: #000;
        padding: 6px 15px; border-radius: 50px;
        font-weight: bold; font-size: 0.9rem;
        text-decoration: none; display: flex; align-items: center; gap: 8px;
    }

    /* --- Related News Section --- */
    .related-section {
        margin-top: 60px; padding-top: 40px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .related-title {
        font-size: 1.5rem; color: white; margin-bottom: 25px;
        border-right: 4px solid var(--primary); padding-right: 15px;
    }
    .related-grid {
        display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px;
    }
    .related-card {
        background: var(--bg-card); border: 1px solid var(--border);
        border-radius: 12px; overflow: hidden; transition: transform 0.3s ease; text-decoration: none;
        display: block; position: relative;
    }
    .related-card:hover { transform: translateY(-5px); border-color: var(--primary); }
    .related-img-wrapper { height: 180px; overflow: hidden; position: relative; }
    .related-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
    .related-card:hover .related-img { transform: scale(1.05); }
    .related-content { padding: 15px; }
    .related-card-title {
        color: white; font-size: 1.1rem; font-weight: 700; margin: 0; line-height: 1.3;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
        margin-bottom: 8px;
    }
    .related-date { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }

    /* --- Responsive Adjustments --- */
    @media (max-width: 1100px) {
        .floating-share-sidebar { display: none; } /* הסתרת סרגל צד */
        .mobile-share-bar { display: flex; } /* הצגת סרגל תחתון */
        /* הוספת ריפוד למטה כדי שהסרגל לא יסתיר תוכן */
        body { padding-bottom: 70px !important; }
    }

    @media (max-width: 768px) {
        .immersive-header { height: 350px; border-radius: 0; margin-left: -20px; margin-right: -20px; width: auto; margin-bottom: 30px; }
        .immersive-content { bottom: 20px; right: 20px; left: 20px; }
        .article-title { font-size: 2rem; }
        .article-meta-bar { gap: 15px; font-size: 0.9rem; }
        .back-btn { margin-top: 10px; }
    }
        /* --- עיצוב רספונסיבי לסרטוני יוטיוב בתוך הכתבה --- */
.article-content iframe {
    display: block !important;
    width: 100% !important;
    min-height: 400px !important; /* רשת ביטחון קריטית - מכריח גובה מינימלי */
    aspect-ratio: 16 / 9 !important; /* שומר על יחס מסך רחב */
    height: auto !important;
    margin: 30px 0 !important;
    border: none !important;
    border-radius: 12px !important;
    background: #000; /* רקע שחור בזמן טעינה */
    box-shadow: 0 5px 25px rgba(0,0,0,0.4);
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .article-content iframe {
        min-height: 250px !important;
    }
}

/* דורס את העטיפה של ה-P למקרה שהיא מגבילה את הרוחב */
.article-content p:has(iframe) {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 !important;
}
/* --- תיקון לקו הסגול (העלמת כותרות עם רווחים ריקים או סרטונים) --- */
.article-content h2:has(iframe),
.article-content h3:has(iframe),
.article-content blockquote:has(iframe) {
    border-right: none !important;
    padding-right: 0 !important;
    background: transparent !important;
    margin-top: 0 !important;
}

/* העלמת כותרות שכוללות רק <br> או שהן ריקות לגמרי */
.article-content h2:empty,
.article-content h3:empty,
.article-content h2:has(br:only-child),
.article-content h3:has(br:only-child) {
    display: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.header-image-credit {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 15px;
    border-radius: 8px;
    font-size: 0.8rem;
    z-index: 10;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    direction: rtl;
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
}

.header-image-credit i {
    color: var(--primary);
    font-size: 0.9rem;
}

/* התאמה למובייל - כדי שלא יסתיר את הטקסט או יחתוך */
@media (max-width: 768px) {
    .header-image-credit {
        bottom: 10px;
        left: 10px;
        padding: 4px 10px;
        font-size: 0.7rem;
    }
}
.inline-image-credit {
    margin-top: -15px !important; /* זה מה שיעלה את הטקסט למעלה */
    font-size: 0.85rem !important;
    color: #888 !important;
    font-style: italic;
    text-align: right; /* או center, מה שאתה מעדיף */
    margin-bottom: 25px !important;
}
.inline-credit {
    color: #888 !important; /* דורס את האפור של שאר הטקסט */
    font-size: 0.85rem !important; /* מקטין את הכתב */
    margin-top: -20px !important; /* 🌟 שואב את הטקסט למעלה אל התמונה! (מבטל את ה-25px של התמונה) */
    margin-bottom: 30px !important;
    font-style: italic !important;
    text-align: right !important; /* או left, תלוי איפה תרצה את זה */
}