/*
Theme Name: LifeMusic - C14 Magazine Edition
Theme URI: https://www.lifemusic.co.il/
Author: DLions Digital
Author URI: https://dlions.co.il/
Description: תבנית וורדפרס חדשותית ומגזינית מתקדמת עבור פורטל המוזיקה והתרבות LifeMusic (lifemusic.co.il) בהשראת עיצוב פורטל חדשות מודרני (C14). מותאמת ב-100% למובייל ולדסקטופ, כוללת הצגת קטגוריות דינמית בעמוד הראשי, תבנית פוסט קבועה עם הדגשת קישורים בכחול וקו תחתון, תבנית קטגוריה קבועה, תוסף נגישות מובנה וחלון עוגיות.
Version: 2.3.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lifemusic
Direction: rtl
Tags: rtl-language-support, news, blog, music, entertainment, custom-menu, featured-images, responsive-layout, accessibility-ready
*/

/* ==========================================================================
   1. CSS VARIABLES & DESIGN TOKENS (C14-INSPIRED RED / DARK NAVY / WHITE)
   ========================================================================== */
:root {
    /* Primary Brand Colors - Inspired by C14 News Portal & Adapted for LifeMusic */
    --lm-red: #dc2626;
    --lm-red-dark: #b91c1c;
    --lm-red-light: #fef2f2;
    --lm-red-glow: rgba(220, 38, 38, 0.18);
    
    --lm-navy: #0b1120;
    --lm-navy-mid: #111827;
    --lm-navy-soft: #1e293b;
    --lm-slate: #334155;
    
    --lm-gold: #f59e0b;
    --lm-gold-light: #fef3c7;

    /* Mandatory Post Anchor Link Color (Prominent Blue + Bold + Underline) */
    --lm-post-link-blue: #0052cc;
    --lm-post-link-hover: #003d99;
    --lm-post-link-bg: rgba(0, 82, 204, 0.07);

    /* Backgrounds & Surfaces */
    --bg-body: #f4f6f9;
    --bg-surface: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-dark-section: #0f172a;

    /* Text Colors */
    --text-main: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #f8fafc;

    /* Borders & Shadows */
    --border-color: #e2e8f0;
    --border-strong: #cbd5e1;
    --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.16);
    --shadow-red: 0 8px 20px rgba(220, 38, 38, 0.25);

    /* Typography */
    --font-main: 'Heebo', 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Rubik', 'Heebo', sans-serif;

    /* Layout & Radii */
    --container-max: 1320px;
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. RESET & BASE RTL TYPOGRAPHY
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    direction: rtl;
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.65;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img,
video,
iframe,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 18px;
}

/* Screen Reader & Skip Link */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.skip-link:focus {
    background-color: var(--lm-red);
    color: #ffffff;
    clip: auto !important;
    clip-path: none;
    height: auto;
    width: auto;
    padding: 12px 24px;
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 100000;
    font-weight: 800;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   3. C14-INSPIRED TOP BREAKING BAR & LIVE TICKER
   ========================================================================== */
.top-utility-bar {
    background-color: var(--lm-navy);
    color: #e2e8f0;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--lm-red);
    position: relative;
    z-index: 1001;
}

.top-utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    gap: 16px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.live-flash-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--lm-red);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.live-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: pulseLive 1.4s infinite ease-in-out;
}

@keyframes pulseLive {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.45; }
}

.news-ticker-wrap {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.news-ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    animation: tickerSlide 32s linear infinite;
}

.news-ticker-wrap:hover .news-ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f1f5f9;
    font-weight: 500;
    font-size: 0.84rem;
}

.ticker-item:hover {
    color: #fbbf24;
}

.ticker-time {
    color: #f87171;
    font-weight: 800;
    font-size: 0.78rem;
}

.ticker-sep {
    color: var(--lm-red);
    font-weight: 900;
}

@keyframes tickerSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.top-date-display {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-social-links a {
    color: #cbd5e1;
    font-size: 0.88rem;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
}

.top-social-links a:hover {
    background: var(--lm-red);
    color: #ffffff;
}

/* ==========================================================================
   4. MAIN STICKY HEADER & WORDPRESS NAVIGATION MENU
   ========================================================================== */
.site-header {
    background-color: var(--bg-surface);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 20px;
}

/* Brand Logo */
.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-badge-c14 {
    background: linear-gradient(135deg, var(--lm-red) 0%, var(--lm-red-dark) 100%);
    color: #ffffff;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-red);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-badge-c14 i {
    font-size: 1.35rem;
    line-height: 1;
}

.brand-badge-c14 span {
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    margin-top: 2px;
    text-transform: uppercase;
}

.brand-text-block {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--lm-navy);
    line-height: 1.05;
    letter-spacing: -0.5px;
}

.brand-title .accent-red {
    color: var(--lm-red);
}

.brand-tagline {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 2px;
}

/* WordPress Primary Desktop Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.primary-menu-list {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.primary-menu-list > li {
    position: relative;
}

.primary-menu-list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--lm-navy);
    border-radius: var(--radius-sm);
    position: relative;
    white-space: nowrap;
}

.primary-menu-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 14px;
    left: 14px;
    height: 3px;
    background-color: var(--lm-red);
    border-radius: 3px;
    transform: scaleX(0);
    transition: transform 0.22s ease;
}

.primary-menu-list > li:hover > a,
.primary-menu-list > li.current-menu-item > a,
.primary-menu-list > li.current-category-ancestor > a,
.primary-menu-list > li.current_page_item > a {
    color: var(--lm-red);
    background-color: var(--lm-red-light);
}

.primary-menu-list > li:hover > a::after,
.primary-menu-list > li.current-menu-item > a::after,
.primary-menu-list > li.current-category-ancestor > a::after,
.primary-menu-list > li.current_page_item > a::after {
    transform: scaleX(1);
}

/* WordPress Dropdown Sub-Menu (Desktop) */
.primary-menu-list li.menu-item-has-children > a::before {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    margin-right: 4px;
    order: 2;
}

.primary-menu-list .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--lm-red);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1050;
}

.primary-menu-list li:hover > .sub-menu,
.primary-menu-list li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu-list .sub-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
    border-bottom: 1px solid #f1f5f9;
}

.primary-menu-list .sub-menu li:last-child a {
    border-bottom: none;
}

.primary-menu-list .sub-menu li a:hover {
    background-color: var(--lm-red-light);
    color: var(--lm-red);
    padding-right: 24px;
}

/* Header Left Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-subtle);
    color: var(--lm-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.header-icon-btn:hover {
    background: var(--lm-red);
    color: #ffffff;
    border-color: var(--lm-red);
}

.header-a11y-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    transition: var(--transition);
}

.header-a11y-btn:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.header-live-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--lm-red);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 9px 16px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.header-live-cta:hover {
    background: var(--lm-red-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Mobile Hamburger Button */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--lm-navy);
    color: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle .bar {
    width: 22px;
    height: 2.5px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: var(--transition);
}

/* Expandable Header Search Bar */
.header-search-dropdown {
    display: none;
    background: var(--lm-navy);
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.header-search-dropdown.is-active {
    display: block;
}

.header-search-form {
    display: flex;
    gap: 10px;
    max-width: 680px;
    margin: 0 auto;
}

.header-search-form input[type="search"] {
    flex: 1;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid #334155;
    background: #1e293b;
    color: #ffffff;
    font-size: 1rem;
}

.header-search-form input[type="search"]::placeholder {
    color: #94a3b8;
}

.header-search-form button {
    padding: 12px 24px;
    background: var(--lm-red);
    color: #ffffff;
    font-weight: 800;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

/* ==========================================================================
   5. MOBILE NAVIGATION DRAWER (100% RESPONSIVE WORDPRESS MENU)
   ========================================================================== */
.mobile-nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    visibility: hidden;
}

.mobile-nav-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
}

.mobile-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 17, 32, 0.72);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-drawer.is-open .mobile-drawer-backdrop {
    opacity: 1;
}

.mobile-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(88vw, 360px);
    height: 100%;
    background: var(--bg-surface);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
}

.mobile-nav-drawer.is-open .mobile-drawer-panel {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: var(--lm-navy);
    color: #ffffff;
    border-bottom: 3px solid var(--lm-red);
}

.mobile-drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-drawer-search {
    padding: 14px 18px;
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border-color);
}

.mobile-search-form {
    display: flex;
    gap: 8px;
}

.mobile-search-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background: #ffffff;
}

.mobile-search-form button {
    padding: 10px 16px;
    background: var(--lm-red);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
}

.mobile-drawer-nav {
    padding: 12px 18px;
    flex: 1;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
}

.mobile-menu-list li {
    border-bottom: 1px solid #f1f5f9;
}

.mobile-menu-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 8px;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--lm-navy);
}

.mobile-menu-list li.current-menu-item > a,
.mobile-menu-list li a:hover {
    color: var(--lm-red);
}

.mobile-menu-list .sub-menu {
    padding-right: 16px;
    background: var(--bg-subtle);
    border-right: 3px solid var(--lm-red);
    margin-bottom: 8px;
    display: none;
}

.mobile-menu-list li.submenu-open > .sub-menu {
    display: block;
}

.mobile-submenu-toggle {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    width: 34px;
    height: 34px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--lm-navy);
}

.mobile-drawer-footer {
    padding: 18px;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==========================================================================
   6. HOMEPAGE: C14-INSPIRED HERO MAGAZINE GRID & LIVE SIDEBAR
   ========================================================================== */
.hero-magazine-section {
    padding: 26px 0 18px;
}

.hero-c14-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.35fr) minmax(300px, 1fr);
    gap: 24px;
    align-items: start;
}

/* Main Lead Story Card */
.hero-main-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lead-story-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--lm-navy);
    box-shadow: var(--shadow-md);
    min-height: 440px;
    display: flex;
    align-items: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.lead-story-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.lead-story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.lead-story-card:hover .lead-story-thumb img {
    transform: scale(1.04);
}

.lead-story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 17, 32, 0.96) 0%, rgba(11, 17, 32, 0.68) 50%, rgba(11, 17, 32, 0.15) 100%);
}

.lead-story-content {
    position: relative;
    z-index: 2;
    padding: 32px;
    width: 100%;
    color: #ffffff;
}

.story-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--lm-red);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 5px 13px;
    border-radius: 5px;
    margin-bottom: 14px;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.35);
}

.story-cat-badge:hover {
    background: #ffffff;
    color: var(--lm-red);
}

.lead-story-title {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.6vw, 2.35rem);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #ffffff;
}

.lead-story-title a:hover {
    color: #fca5a5;
}

.lead-story-excerpt {
    font-size: 1.03rem;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.83rem;
    color: #cbd5e1;
    font-weight: 500;
}

.story-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Sub-Hero 2-Column Stories */
.sub-hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.sub-hero-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.sub-hero-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #fca5a5;
}

.sub-hero-thumb {
    position: relative;
    height: 195px;
    overflow: hidden;
    background: var(--lm-navy-soft);
}

.sub-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sub-hero-card:hover .sub-hero-thumb img {
    transform: scale(1.05);
}

.sub-hero-thumb .story-cat-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    margin-bottom: 0;
}

.sub-hero-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sub-hero-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.38;
    color: var(--lm-navy);
    margin-bottom: 10px;
}

.sub-hero-title a:hover {
    color: var(--lm-red);
}

.sub-hero-meta {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* C14-Style Live Feed Sidebar ("מבזקי מוזיקה ועדכונים שוטפים") */
.hero-live-sidebar {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--lm-red);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.live-sidebar-header {
    padding: 16px 20px;
    background: var(--lm-navy);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.live-sidebar-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 900;
}

.live-sidebar-tag {
    font-size: 0.72rem;
    font-weight: 800;
    background: var(--lm-red);
    color: #ffffff;
    padding: 3px 9px;
    border-radius: 20px;
}

.live-feed-list {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 580px;
    overflow-y: auto;
}

.live-feed-item {
    position: relative;
    padding-right: 18px;
    border-right: 2px solid #e2e8f0;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--border-color);
}

.live-feed-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.live-feed-item::before {
    content: '';
    position: absolute;
    right: -6px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--lm-red);
    box-shadow: 0 0 0 3px var(--lm-red-light);
}

.live-feed-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--lm-red);
    margin-bottom: 4px;
}

.live-feed-cat {
    background: #f1f5f9;
    color: var(--text-secondary);
    padding: 1px 7px;
    border-radius: 4px;
}

.live-feed-headline {
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.42;
    color: var(--lm-navy);
}

.live-feed-headline a:hover {
    color: var(--lm-red);
}

.live-sidebar-footer {
    padding: 13px 20px;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.live-sidebar-footer a {
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--lm-red);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   7. SITE CATEGORIES SHOWCASE BAR (הצגת כל הקטגוריות באתר בעמוד הראשי)
   ========================================================================== */
.categories-showcase-strip {
    padding: 18px 0 26px;
}

.categories-strip-box {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 22px 26px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xs);
}

.categories-strip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.categories-strip-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--lm-navy);
}

.categories-strip-title::before {
    content: '';
    width: 6px;
    height: 24px;
    background: var(--lm-red);
    border-radius: 3px;
    display: inline-block;
}

.categories-pills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
    gap: 14px;
}

.category-topic-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.category-topic-card:hover {
    background: var(--lm-navy);
    color: #ffffff;
    border-color: var(--lm-navy);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.category-topic-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-topic-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--lm-red-light);
    color: var(--lm-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.category-topic-card:hover .category-topic-icon {
    background: var(--lm-red);
    color: #ffffff;
}

.category-topic-name {
    font-weight: 800;
    font-size: 0.98rem;
}

.category-topic-count {
    font-size: 0.76rem;
    font-weight: 700;
    background: #e2e8f0;
    color: var(--text-secondary);
    padding: 3px 9px;
    border-radius: 20px;
    transition: var(--transition);
}

.category-topic-card:hover .category-topic-count {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* ==========================================================================
   8. DYNAMIC CATEGORY MAGAZINE SECTIONS ON HOMEPAGE
   ========================================================================== */
.category-magazine-block {
    padding: 24px 0;
}

.section-header-c14 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
    flex-wrap: wrap;
    gap: 12px;
}

.section-header-c14::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 110px;
    height: 4px;
    background: var(--lm-red);
    border-radius: 2px;
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-badge-pill {
    background: var(--lm-red);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.section-heading-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    font-weight: 900;
    color: var(--lm-navy);
}

.section-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--lm-red);
    background: var(--lm-red-light);
    padding: 8px 16px;
    border-radius: 8px;
}

.section-more-link:hover {
    background: var(--lm-red);
    color: #ffffff;
}

/* 3-Column & 4-Column Magazine Post Cards Grid */
.posts-magazine-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.post-card-c14 {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.post-card-c14:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.post-card-thumb {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: var(--lm-navy-soft);
}

.post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.post-card-c14:hover .post-card-thumb img {
    transform: scale(1.06);
}

.post-card-cat {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--lm-red);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: 5px;
    z-index: 2;
}

.post-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.post-card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.38;
    color: var(--lm-navy);
    margin-bottom: 10px;
}

.post-card-title a:hover {
    color: var(--lm-red);
}

.post-card-excerpt {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.read-more-btn {
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--lm-red);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more-btn:hover {
    gap: 10px;
}

/* Dark Spotlight Section (C14 VOD / Live Music Stage Style) */
.dark-stage-section {
    background: linear-gradient(135deg, #0b1120 0%, #172554 55%, #1e1b4b 100%);
    color: #ffffff;
    padding: 48px 0;
    margin: 28px 0;
    border-top: 4px solid var(--lm-red);
    border-bottom: 4px solid var(--lm-red);
}

.dark-stage-section .section-heading-title {
    color: #ffffff;
}

.dark-stage-section .section-header-c14 {
    border-bottom-color: rgba(255, 255, 255, 0.14);
}

.dark-stage-section .post-card-c14 {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-stage-section .post-card-title {
    color: #ffffff;
}

.dark-stage-section .post-card-title a:hover {
    color: #fbbf24;
}

.dark-stage-section .post-card-excerpt {
    color: #cbd5e1;
}

.dark-stage-section .post-card-meta {
    color: #94a3b8;
}

.dark-stage-section .post-card-footer {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.dark-stage-section .read-more-btn {
    color: #fbbf24;
}

/* ==========================================================================
   9. SINGLE POST TEMPLATE (תבנית קבועה לכל הפוסטים + קישורי עוגן כחולים ומודגשים)
   ========================================================================== */
.reading-progress-bar {
    position: fixed;
    top: 0;
    right: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, var(--lm-red), var(--lm-gold));
    z-index: 2005;
    transition: width 0.1s linear;
}

.single-post-hero {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 38px 0 44px;
    border-bottom: 4px solid var(--lm-red);
}

.breadcrumbs-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 18px;
}

.breadcrumbs-nav a {
    color: #cbd5e1;
    font-weight: 600;
}

.breadcrumbs-nav a:hover {
    color: #ffffff;
}

.breadcrumbs-nav .sep {
    font-size: 0.7rem;
    color: #64748b;
}

.breadcrumbs-nav .current {
    color: #f87171;
    font-weight: 700;
}

.single-post-header-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.single-post-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 18px;
}

.single-post-subtitle {
    font-size: 1.15rem;
    color: #e2e8f0;
    line-height: 1.65;
    max-width: 860px;
    margin-bottom: 22px;
}

.single-author-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.author-meta-chip {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--lm-red);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.author-meta-text strong {
    display: block;
    font-size: 0.96rem;
    color: #ffffff;
}

.author-meta-text span {
    font-size: 0.82rem;
    color: #94a3b8;
}

.single-layout-wrap {
    padding: 36px 0 60px;
}

.single-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.3fr) minmax(290px, 1fr);
    gap: 32px;
    align-items: start;
}

.single-article-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 34px;
    overflow: hidden;
}

.single-featured-image {
    margin: -34px -34px 28px -34px;
    max-height: 480px;
    overflow: hidden;
    background: var(--lm-navy);
}

.single-featured-image img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
}

/* Auto Table of Contents Box */
.article-toc-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-right: 5px solid var(--lm-red);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 28px;
}

.article-toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--lm-navy);
    cursor: pointer;
}

.article-toc-list {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 8px;
}

.article-toc-list li a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-toc-list li a:hover {
    color: var(--lm-red);
}

/* ==========================================================================
   CRITICAL USER REQUIREMENT:
   בעמודי הפוסטים בכל מקום שיש טקסט שהוא עוגן של קישור חשוב מאוד שהקישור יהיה
   בולט ומודגש בצבע כחול וגם עם קו תחתון למטה!
   ========================================================================== */
.entry-content {
    font-size: 1.12rem;
    line-height: 1.85;
    color: #1e293b;
}

.entry-content p {
    margin-bottom: 1.35em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-family: var(--font-display);
    color: var(--lm-navy);
    font-weight: 900;
    line-height: 1.35;
    margin: 1.6em 0 0.7em;
}

.entry-content h2 {
    font-size: 1.6rem;
    padding-right: 14px;
    border-right: 4px solid var(--lm-red);
}

.entry-content h3 {
    font-size: 1.32rem;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.4em 0;
    padding-right: 24px;
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content li {
    margin-bottom: 0.55em;
}

.entry-content blockquote {
    background: #fef2f2;
    border-right: 5px solid var(--lm-red);
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--lm-navy);
    margin: 1.6em 0;
}

/* MANDATORY PROMINENT BLUE BOLD UNDERLINED ANCHOR LINKS IN POSTS */
.entry-content a,
.single-post-content a,
.single-article-card .entry-content a {
    color: #0052cc !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
    text-decoration-color: #0052cc !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 4px !important;
    background-color: rgba(0, 82, 204, 0.06);
    padding: 1px 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.entry-content a:hover,
.single-post-content a:hover,
.single-article-card .entry-content a:hover,
.entry-content a:focus,
.single-post-content a:focus {
    color: #003380 !important;
    background-color: rgba(0, 82, 204, 0.16);
    text-decoration: underline !important;
    text-decoration-color: #003380 !important;
    text-decoration-thickness: 2.5px !important;
}

/* Share Bar & Post Tags */
.post-share-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 20px 0;
    margin-top: 28px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.share-buttons-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 700;
    color: #ffffff;
    border: none;
    cursor: pointer;
}

.share-wa { background: #16a34a; }
.share-fb { background: #1877f2; }
.share-tg { background: #0284c7; }
.share-copy { background: var(--lm-navy); }

.share-btn-pill:hover {
    opacity: 0.9;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Sticky Sidebar Widgets */
.single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 96px;
}

.sidebar-widget {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 24px;
    box-shadow: var(--shadow-xs);
}

.widget-title-c14 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--lm-navy);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 9px;
}

.widget-title-c14 i {
    color: var(--lm-red);
}

.sidebar-posts-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-post-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-post-thumb {
    width: 76px;
    height: 62px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--lm-navy);
}

.sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-post-info h4 {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.38;
    color: var(--lm-navy);
    margin-bottom: 4px;
}

.sidebar-post-info h4 a:hover {
    color: var(--lm-red);
}

.sidebar-post-info span {
    font-size: 0.76rem;
    color: var(--text-muted);
}

/* ==========================================================================
   10. CATEGORY ARCHIVE TEMPLATE (תבנית קבועה של קטגוריית מאמרים)
   ========================================================================== */
.category-hero-header {
    background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%);
    color: #ffffff;
    padding: 46px 0 40px;
    border-bottom: 4px solid var(--lm-red);
    position: relative;
}

.category-hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 10px;
}

.category-hero-desc {
    font-size: 1.08rem;
    color: #cbd5e1;
    max-width: 760px;
    line-height: 1.65;
}

.category-filter-toolbar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    box-shadow: var(--shadow-xs);
}

.category-filter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.category-nav-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cat-pill-link {
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
}

.cat-pill-link:hover,
.cat-pill-link.active {
    background: var(--lm-red);
    color: #ffffff;
    border-color: var(--lm-red);
}

.category-archive-main {
    padding: 38px 0 64px;
}

/* Pagination */
.pagination,
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    font-weight: 800;
    color: var(--lm-navy);
}

.page-numbers.current,
.page-numbers:hover {
    background: var(--lm-red);
    color: #ffffff;
    border-color: var(--lm-red);
}

/* ==========================================================================
   11. FOOTER WITH MANDATORY LINKS (קישורי פוטר חובה + הצהרת נגישות, פרטיות ותקנון)
   ========================================================================== */
.site-footer {
    background-color: var(--lm-navy);
    color: #cbd5e1;
    border-top: 5px solid var(--lm-red);
    padding-top: 56px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col-title {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 42px;
    height: 3px;
    background: var(--lm-red);
    border-radius: 2px;
}

.footer-about-text {
    font-size: 0.93rem;
    color: #94a3b8;
    line-height: 1.7;
    margin: 16px 0;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.94rem;
    font-weight: 600;
    color: #cbd5e1;
}

.footer-links-list li a i {
    font-size: 0.75rem;
    color: var(--lm-red);
}

.footer-links-list li a:hover {
    color: #ffffff;
    transform: translateX(-4px);
}

.footer-bottom-bar {
    padding: 22px 0;
    background: #070b14;
    font-size: 0.88rem;
}

.footer-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-links,
.footer-seo-credits {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-bottom-links a,
.footer-seo-credits a {
    color: #e2e8f0;
    font-weight: 700;
}

.footer-bottom-links a:hover,
.footer-seo-credits a:hover {
    color: #f87171;
    text-decoration: underline;
}

.footer-sep {
    color: #475569;
}

/* ==========================================================================
   12. BUILT-IN ACCESSIBILITY PLUGIN WIDGET (תוסף נגישות מובנה)
   ========================================================================== */
.a11y-floating-trigger {
    position: fixed;
    bottom: 24px;
    left: 22px;
    z-index: 1990;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #1d4ed8;
    color: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 24px rgba(29, 78, 216, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    cursor: pointer;
    transition: var(--transition);
}

.a11y-floating-trigger:hover {
    background: #1e40af;
    transform: scale(1.08);
}

.a11y-drawer-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    pointer-events: none;
    visibility: hidden;
}

.a11y-drawer-modal.is-open {
    pointer-events: auto;
    visibility: visible;
}

.a11y-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 17, 32, 0.6);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.a11y-drawer-modal.is-open .a11y-backdrop {
    opacity: 1;
}

.a11y-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(92vw, 380px);
    height: 100%;
    background: #ffffff;
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.a11y-drawer-modal.is-open .a11y-panel {
    transform: translateX(0);
}

.a11y-panel-header {
    background: #1d4ed8;
    color: #ffffff;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.a11y-panel-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.a11y-close-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 1.3rem;
    cursor: pointer;
}

.a11y-panel-body {
    padding: 20px;
    flex: 1;
}

.a11y-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.a11y-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-subtle);
    color: var(--lm-navy);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.a11y-action-btn i {
    font-size: 1.2rem;
    color: #1d4ed8;
}

.a11y-action-btn:hover,
.a11y-action-btn.is-active {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
}

.a11y-action-btn:hover i,
.a11y-action-btn.is-active i {
    color: #ffffff;
}

.a11y-reset-btn {
    grid-column: span 2;
    background: #fee2e2;
    color: #b91c1c;
    border-color: #fecaca;
}

/* Accessibility State Classes Applied to Body */
body.a11y-high-contrast {
    background: #000000 !important;
    color: #ffff00 !important;
}
body.a11y-high-contrast header,
body.a11y-high-contrast footer,
body.a11y-high-contrast article,
body.a11y-high-contrast div,
body.a11y-high-contrast section,
body.a11y-high-contrast aside {
    background-color: #000000 !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
}
body.a11y-high-contrast a {
    color: #00ffff !important;
    text-decoration: underline !important;
}

body.a11y-grayscale {
    filter: grayscale(100%);
}

body.a11y-invert {
    filter: invert(100%) hue-rotate(180deg);
}

body.a11y-readable-font,
body.a11y-readable-font * {
    font-family: Arial, Helvetica, sans-serif !important;
    letter-spacing: 0.3px !important;
}

body.a11y-highlight-links a {
    background-color: #fef08a !important;
    color: #000000 !important;
    text-decoration: underline !important;
    font-weight: 800 !important;
    padding: 2px 4px !important;
}

body.a11y-highlight-headings h1,
body.a11y-highlight-headings h2,
body.a11y-highlight-headings h3,
body.a11y-highlight-headings h4 {
    background-color: #dbeafe !important;
    color: #1e3a8a !important;
    padding: 4px 8px !important;
    border-right: 5px solid #1d4ed8 !important;
}

body.a11y-stop-animations *,
body.a11y-stop-animations *::before,
body.a11y-stop-animations *::after {
    animation: none !important;
    transition: none !important;
}

/* ==========================================================================
   13. COOKIE CONSENT POPUP BANNER (חלון עוגיות קופץ)
   ========================================================================== */
.cookie-consent-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 90px;
    max-width: 620px;
    background: var(--lm-navy);
    color: #ffffff;
    border: 2px solid var(--lm-red);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.38);
    z-index: 1995;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cookie-consent-popup.is-visible {
    display: flex;
}

.cookie-text-wrap h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-text-wrap h4 i {
    color: var(--lm-gold);
}

.cookie-text-wrap p {
    font-size: 0.86rem;
    color: #cbd5e1;
    line-height: 1.55;
}

.cookie-text-wrap a {
    color: #60a5fa;
    text-decoration: underline;
    font-weight: 700;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-accept-btn {
    background: var(--lm-red);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-accept-btn:hover {
    background: var(--lm-red-dark);
}

.cookie-close-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

/* ==========================================================================
   14. 100% RESPONSIVE MEDIA QUERIES (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1100px) {
    .main-navigation {
        display: none;
    }
    .mobile-menu-toggle {
        display: inline-flex;
    }
    .hero-c14-grid,
    .single-content-grid {
        grid-template-columns: 1fr;
    }
    .posts-magazine-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .single-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }
    .header-main-row {
        min-height: 66px;
        gap: 10px;
    }
    .brand-title {
        font-size: 1.35rem;
    }
    .brand-badge-c14 {
        width: 44px;
        height: 44px;
    }
    .header-live-cta span {
        display: none;
    }
    .header-a11y-btn span {
        display: none;
    }
    .lead-story-card {
        min-height: 340px;
    }
    .lead-story-content {
        padding: 20px;
    }
    .sub-hero-grid,
    .posts-magazine-grid {
        grid-template-columns: 1fr;
    }
    .single-article-card {
        padding: 20px 16px;
    }
    .single-featured-image {
        margin: -20px -16px 20px -16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .footer-bottom-links,
    .footer-seo-credits {
        justify-content: center;
    }
    .cookie-consent-popup {
        right: 12px;
        left: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
        text-align: right;
    }
    .cookie-actions {
        width: 100%;
    }
    .cookie-accept-btn {
        flex: 1;
    }
    .a11y-floating-trigger {
        bottom: 18px;
        left: 14px;
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding-inline: 14px;
    }
    .categories-pills-grid {
        grid-template-columns: 1fr;
    }
    .single-post-title {
        font-size: 1.55rem;
    }
    .entry-content {
        font-size: 1.04rem;
    }
}
