/* =========================================================
   NEWSPAPER & MAGAZINE LAYOUT STYLESHEET (MATCHING SCREENSHOT)
   ========================================================= */

:root {
    --bg-color: #f4f4f6;
    --card-bg: #ffffff;
    --text-primary: #18181b;
    --text-secondary: #3f3f46;
    --text-muted: #71717a;
    --border-color: #e4e4e7;
    --primary-color: #18181b;
    --accent-blue: #2563eb;
    --accent-orange: #ff5000;
    --accent-green: #16a34a;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Heebo', 'Assistant', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    direction: rtl;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* MANDATORY UTILITY CLASS TO HIDE MODALS & ELEMENTS */
.hidden {
    display: none !important;
}

/* =========================================================
   APPLE GLOBAL NAVIGATION (1:1 with black1white00.com)
   ========================================================= */
.apple-nav,
.top-navbar-black {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 44px;
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: none !important;
    border-top: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none !important;
    padding: 0 !important;
}

.apple-nav-content,
.top-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    height: 100%;
    padding: 0 30px;
    box-sizing: border-box;
}

.logo-area,
.nav-right {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-area img,
.logo-area svg,
.brand-logo-badge {
    color: #f5f5f7;
    opacity: 0.8;
    transition: opacity 0.3s;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.logo-area:hover img,
.logo-area:hover svg,
.logo-area:hover .brand-logo-badge {
    opacity: 1;
}

.nav-links,
.nav-center-tabs {
    display: flex;
    gap: 32px !important;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a,
.nav-center-tabs a,
.nav-center-tabs .nav-tab-btn {
    color: #f5f5f7 !important;
    opacity: 0.8;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: -0.01em !important;
    text-decoration: none;
    transition: opacity 0.3s ease, background-color 0.2s ease !important;
    font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    padding: 4px 12px !important;
    border-radius: 12px !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.nav-links a:hover,
.nav-center-tabs a:hover,
.nav-center-tabs .nav-tab-btn:hover {
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.nav-links a.active-top-nav,
.nav-links a.active,
.nav-center-tabs a.active,
.nav-center-tabs .nav-tab-btn.active {
    font-weight: 600 !important;
    color: #ffffff !important;
    background-color: #222222 !important;
    opacity: 1 !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-left,
.right-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.manager-btn,
.guest-pill-btn {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 14px !important;
    color: #f5f5f7 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", sans-serif !important;
    padding: 4px 14px !important;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s !important;
    letter-spacing: 0.01em !important;
    box-shadow: none !important;
}

.manager-btn:hover,
.guest-pill-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.btn-publish-nav-btn {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", sans-serif !important;
    padding: 4px 14px !important;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-publish-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: none !important;
}

@media (max-width: 768px) {
    .apple-nav-content,
    .top-nav-inner {
        padding: 0 12px;
    }
    .nav-links,
    .nav-center-tabs {
        gap: 12px !important;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links a,
    .nav-center-tabs a,
    .nav-center-tabs .nav-tab-btn {
        font-size: 11px !important;
        padding: 3px 8px !important;
    }
}

/* =========================================================
   POPULAR ISRAELI WEBSITES STYLES (קבוצות האתרים הפופולריים)
   ========================================================= */
.site-group-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.site-group-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sites-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.popular-site-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.popular-site-item:hover {
    transform: translateY(-3px);
    border-color: #18181b;
    box-shadow: var(--shadow-md);
}

.site-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.site-details h4 {
    font-size: 0.95rem;
    font-weight: 900;
    margin-bottom: 2px;
}

.site-details p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.2;
}

@media (max-width: 1050px) {
    .sites-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .sites-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   PUBLISH AD SIDEBAR CARD (כרטיס פרסום מודעה בראש הסיידבר)
   ========================================================= */
.publish-sidebar-card {
    background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
    color: #ffffff;
    border: 1px solid #3f3f46;
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: var(--transition);
}

.publish-sidebar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    border-color: #ff5000;
}

.publish-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.publish-card-icon {
    font-size: 2.2rem;
    color: #ff5000;
}

.publish-card-text h4 {
    font-size: 1.1rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 4px;
}

.publish-card-text p {
    font-size: 0.82rem;
    color: #d4d4d8;
    line-height: 1.3;
}

.btn-publish-action {
    width: 100%;
    background-color: #ff5000;
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 900;
    font-size: 0.95rem;
    cursor: pointer;
    margin-top: 4px;
    transition: var(--transition);
}

.btn-publish-action:hover {
    background-color: #e63900;
}

/* =========================================================
   BTN OFFER PILL & OFFER MODAL STYLES (כפתור וחלון הגשת הצעה)
   ========================================================= */
.btn-offer-pill {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    border: none;
    padding: 5px 12px;
    border-radius: 16px;
    font-family: inherit;
    font-weight: 900;
    font-size: 0.78rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
    transition: var(--transition);
}

.btn-offer-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.45);
    background: linear-gradient(135deg, #15803d, #166534);
}

/* =========================================================
   LOCATION MULTI-SELECT CHECKBOX ITEM STYLES
   ========================================================= */
.checkbox-location-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-primary);
    cursor: pointer;
    padding: 5px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.checkbox-location-item:hover {
    background-color: var(--bg-color);
}

.checkbox-location-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #ff5000;
    cursor: pointer;
}

/* =========================================================
   DUAL PRICE SLIDER COMPONENT STYLES (סרגל מחיר כפול 2 פינות)
   ========================================================= */
.dual-range-container {
    position: relative;
    width: 100%;
    height: 32px;
    display: flex;
    align-items: center;
    margin: 8px 0;
}

.dual-range-track-bg {
    position: absolute;
    width: 100%;
    height: 6px;
    background-color: #e4e4e7;
    border-radius: 4px;
    z-index: 1;
}

.price-range-slider {
    position: absolute;
    width: 100%;
    height: 6px;
    accent-color: #ff5000;
    cursor: pointer;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    z-index: 2;
}

.price-range-slider::-webkit-slider-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff5000;
    cursor: pointer;
    -webkit-appearance: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: transform 0.15s ease;
}

.price-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.price-range-slider::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff5000;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: transform 0.15s ease;
}

.preset-price-btn {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 6px 4px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.preset-price-btn:hover {
    border-color: #ff5000;
    color: #ff5000;
    background-color: #fff5f0;
}

.btn-apply-price-filter {
    width: 100%;
    background-color: #18181b;
    color: #ffffff;
    border: none;
    padding: 9px;
    border-radius: var(--radius-sm);
    font-weight: 900;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-apply-price-filter:hover {
    background-color: #ff5000;
}

/* =========================================================
   PAGE 3-COLUMN LAYOUT WRAPPER
   ========================================================= */
.page-layout-wrapper {
    max-width: 1540px;
    margin: 24px auto;
    padding: 0 20px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* STICKY & FIXED SIDEBAR COLUMNS (סיידברים מורחבים ומקובעים בגלילה) */
.sidebar-column {
    width: 275px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 70px;
    align-self: flex-start;
    max-height: calc(100vh - 85px);
    overflow-y: auto;
    scrollbar-width: thin;
    padding-bottom: 10px;
}

.sidebar-column::-webkit-scrollbar {
    width: 4px;
}

.sidebar-column::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 4px;
}

.sidebar-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.sidebar-card-title {
    font-size: 1rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 14px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
    text-align: center;
}

.recommended-sites-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-link-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    transition: var(--transition);
}

.site-link-btn:hover {
    border-color: #18181b;
    transform: translateX(-2px);
}

/* Top Read Stories List (01, 02, 03...) */
.top-read-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.top-read-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.top-read-item:last-child {
    border-bottom: none;
}

.top-read-item:hover .top-read-title {
    color: var(--accent-blue);
}

.top-read-num {
    font-size: 1.2rem;
    font-weight: 900;
    color: #e4e4e7;
}

.top-read-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* COMMUNITY SOCIAL BUTTONS (כפתורי הרשתות החברתיות הצבעוניים) */
.community-card {
    background-color: #fdfdfd;
}

.community-title {
    font-size: 0.95rem;
    font-weight: 900;
    color: #ec4899;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-bottom: 2px solid #fbcfe8;
    padding-bottom: 8px;
}

.social-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.78rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.btn-facebook { background-color: #1877f2; }
.btn-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.btn-discord { background-color: #5865f2; }
.btn-telegram { background-color: #229ed9; }
.btn-twitter { background-color: #000000; }
.btn-reddit { background-color: #ff4500; }

/* =========================================================
   MAIN CENTER COLUMN (עמודה מרכזית - כתבות וגריד)
   ========================================================= */
.main-center-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Hero Featured Banner Card (כרטיס באנר ראשי מעוצב - תמונה בלבד ללא טקסט) */
.hero-featured-banner {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.hero-featured-banner:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-banner-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: #000000;
}

.hero-banner-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

/* =========================================================
   MINIMALIST SPECS BAR (סרגל מפרט מינימליסטי: מחיר, דגם, דירוג, מיקום - ללא אימוג'ים)
   ========================================================= */
.article-specs-bar {
    background-color: #fafafa;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    margin: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.specs-group-right, .specs-group-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spec-item {
    font-weight: 800;
}

.spec-item strong {
    font-weight: 900;
    color: var(--text-muted);
}

.spec-divider {
    color: #d4d4d8;
    font-weight: 400;
}

/* =========================================================
   FIVERR-STYLE FILTER BAR COMPONENT WITH DROPDOWNS
   ========================================================= */
.articles-filter-bar {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
}

.filter-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-pills-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-pill-wrapper {
    position: relative;
    display: inline-block;
}

.filter-pill-btn {
    background-color: var(--card-bg);
    border: 1.5px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.filter-pill-btn:hover, .filter-pill-btn.active {
    border-color: #18181b;
    background-color: var(--bg-color);
}

/* Dropdown popup menus for each filter pill */
.filter-pill-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    min-width: 190px;
    max-height: 260px;
    overflow-y: auto;
    z-index: 250;
    padding: 6px 0;
}

.pill-dropdown-item {
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    text-align: right;
}

.pill-dropdown-item:hover, .pill-dropdown-item.active {
    background-color: var(--bg-color);
    color: var(--accent-blue);
}

.filter-switches-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.toggle-switch-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
    cursor: pointer;
    user-select: none;
}

.switch-track {
    width: 44px;
    height: 24px;
    background-color: #e4e4e7;
    border-radius: 20px;
    position: relative;
    transition: background-color 0.25s ease;
    display: inline-block;
}

.switch-track::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #ffffff;
    top: 3px;
    right: 3px;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle-switch-input:checked + .switch-track {
    background-color: #16a34a;
}

.toggle-switch-input:checked + .switch-track::after {
    transform: translateX(-20px);
}

.toggle-switch-input {
    display: none;
}

.filter-sub-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 700;
}

.results-count-text {
    font-weight: 800;
    color: var(--text-muted);
}

.sort-dropdown-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.sort-label-text {
    color: var(--text-muted);
    font-weight: 700;
}

.sort-dropdown-btn {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 900;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sort-popup-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 6px 0;
    min-width: 160px;
    z-index: 250;
    margin-top: 6px;
}

.sort-option-item {
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.sort-option-item:hover, .sort-option-item.selected {
    background-color: var(--bg-color);
}

/* SECTION SUB HEADER */
.section-sub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    background-color: var(--card-bg);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.section-title-text {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text-primary);
}

.search-filter-box {
    position: relative;
    width: 260px;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.search-filter-box input {
    width: 100%;
    padding: 8px 34px 8px 12px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--text-primary);
    outline: none;
}

/* ARTICLES CARDS GRID (גריד 3 טור של כתבות - 12 כתבות בעמוד) */
.articles-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .articles-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .articles-cards-grid {
        grid-template-columns: 1fr;
    }
}

.article-card-box {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.article-card-image-box {
    position: relative;
    width: 100%;
    height: 240px;
    background-color: #f3f4f6;
    overflow: hidden;
}

.article-card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-card-body {
    padding: 14px 16px 16px 16px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.article-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #000000 !important;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: auto;
}

.article-card-price {
    font-size: 1.35rem;
    font-weight: 900;
    color: #000000 !important;
    margin-top: 4px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.02em;
}

/* SYMMETRICAL ACTION TOOLBAR FOOTER (סרגל הפעולות הסימטרי בתחתית כל מודעה) */
.article-card-action-bar {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-primary);
    gap: 6px;
}

.action-bar-right, .action-bar-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-bar-link {
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
    white-space: nowrap;
}

.action-bar-link:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

.action-divider {
    color: #a1a1aa;
    font-weight: 400;
}

/* =========================================================
   PUBLISH LISTING & OFFER MODAL FORM STYLES
   ========================================================= */
.publish-modal-box {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 30px;
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-md);
}

.publish-modal-header {
    text-align: center;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.publish-modal-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
}

.publish-modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.category-selection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.category-tile-btn {
    background-color: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.category-tile-btn:hover, .category-tile-btn.selected {
    border-color: #ff5000;
    background-color: #fff5f0;
    color: #ff5000;
}

.publish-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.publish-form-group label {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
}

.publish-form-input, .publish-form-select, .publish-form-textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
}

.publish-form-input:focus, .publish-form-select:focus, .publish-form-textarea:focus {
    border-color: #ff5000;
    background-color: #ffffff;
}

.publish-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.btn-submit-publish {
    width: 100%;
    background: linear-gradient(135deg, #ff5000, #e63900);
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-weight: 900;
    font-size: 1.05rem;
    cursor: pointer;
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(255, 80, 0, 0.35);
    transition: var(--transition);
}

.btn-submit-publish:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 80, 0, 0.5);
}

/* =========================================================
   PAGINATION CONTROLS (סרגל דפדפות ועמודים)
   ========================================================= */
.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    padding: 16px;
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.page-btn {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: inherit;
    font-weight: 900;
    font-size: 0.9rem;
    min-width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    transition: var(--transition);
}

.page-btn:hover:not(:disabled) {
    background-color: #18181b;
    color: #ffffff;
    border-color: #18181b;
}

.page-btn.active {
    background-color: #18181b;
    color: #ffffff;
    border-color: #18181b;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* =========================================================
   ARTICLE READER MODAL OVERLAY
   ========================================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.article-modal-box {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 30px;
    max-width: 750px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-md);
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
}

.category-badge-pill {
    background-color: #18181b;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 8px;
}

.modal-article-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.modal-meta-row {
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
}

.modal-article-image-box {
    width: 100%;
    height: 320px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
}

.modal-article-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-article-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.modal-article-content h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 15px 0 8px 0;
}

.modal-article-content p {
    margin-bottom: 12px;
}

.modal-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.btn-like-article {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-close-reader {
    background-color: #18181b;
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 900;
    cursor: pointer;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #18181b;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
    z-index: 2000;
}

/* RESPONSIVE LAYOUT */
@media (max-width: 1200px) {
    .sidebar-column {
        width: 240px;
    }
}

@media (max-width: 1050px) {
    .page-layout-wrapper {
        flex-direction: column;
    }
    .sidebar-column {
        width: 100%;
        position: static;
        max-height: none;
    }
    .articles-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .articles-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   IOS BATTERY/TASK PROGRESS RING WIDGET (1:1 MATCHING SCREENSHOT)
   ========================================================= */
.widget-tasks-card {
    background-color: #1c1c1e !important;
    color: #ffffff !important;
    border: 1px solid #2c2c2e !important;
    border-radius: 20px !important;
    padding: 16px 18px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

.widget-tasks-card .sidebar-card-title {
    color: #ffffff !important;
    border-bottom: 1px solid #2c2c2e !important;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.rings-widget-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 8px;
    padding-top: 4px;
}

.ring-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    user-select: none;
}

.ring-item:hover {
    transform: scale(1.06);
}

.svg-ring-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-ring-wrapper svg {
    transform: rotate(-90deg);
    width: 60px;
    height: 60px;
}

.ring-bg {
    fill: none;
    stroke: #2c2c2e;
    stroke-width: 5;
}

.ring-progress {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ring-green {
    stroke: #34c759;
}

.ring-orange {
    stroke: #ff9500;
}

.ring-blue {
    stroke: #007aff;
}

.ring-red {
    stroke: #ff3b30;
}

.ring-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring-percent-text {
    font-size: 0.92rem;
    font-weight: 900;
    color: #ffffff;
    margin-top: 6px;
    font-family: system-ui, -apple-system, sans-serif;
}

.ring-label-text {
    font-size: 0.72rem;
    font-weight: 700;
    color: #98989d;
    margin-top: 2px;
}

/* Tasks Checklist Modal Item */
.task-chk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #2c2c2e;
    padding: 12px 16px;
    border-radius: 12px;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.task-chk-item:hover {
    background-color: #3a3a3c;
}

.task-chk-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #34c759;
    cursor: pointer;
}

/* =========================================================
   COMPACT HORIZONTAL TASK PROGRESS RINGS WIDGET (44px HEIGHT MATCHING TOP NAV)
   ========================================================= */
.widget-tasks-card-horizontal {
    background-color: #ffffff !important;
    color: #111111 !important;
    border: 2px solid #22c55e !important;
    border-radius: 20px !important;
    padding: 8px 24px !important;
    height: 52px !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.widget-tasks-card-horizontal .sidebar-card-title,
.widget-tasks-card-horizontal .widget-title-group {
    color: #111111 !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.widget-tasks-card-horizontal #overallProgressText {
    background-color: #22c55e !important;
    color: #ffffff !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.widget-tasks-card-horizontal .rings-widget-container {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 0 !important;
}

.widget-tasks-card-horizontal .ring-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.widget-tasks-card-horizontal .svg-ring-wrapper {
    width: 28px !important;
    height: 28px !important;
}

.widget-tasks-card-horizontal .svg-ring-wrapper svg {
    width: 28px !important;
    height: 28px !important;
}

.widget-tasks-card-horizontal .ring-bg {
    stroke: #e5e7eb !important;
    stroke-width: 6 !important;
}

.widget-tasks-card-horizontal .ring-progress {
    stroke: #22c55e !important;
    stroke-width: 6 !important;
}

.widget-tasks-card-horizontal .ring-icon {
    color: #111111 !important;
    font-size: 0.68rem !important;
}

.widget-tasks-card-horizontal .ring-percent-text {
    color: #111111 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    margin-top: 0 !important;
}

/* =========================================================
   AI FAST AD PUBLISHING CHATBOT WIDGET & MODAL STYLES
   ========================================================= */
.floating-ai-chat-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-ai-chat-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.45);
}

.ai-chat-modal-box {
    background-color: #ffffff;
    width: 480px;
    max-width: 92vw;
    height: 600px;
    max-height: 85vh;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    direction: rtl;
}

.ai-chat-header {
    background-color: #18181b;
    color: #ffffff;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #27272a;
}

.ai-chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-chat-avatar {
    width: 40px;
    height: 40px;
    background-color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ai-chat-title {
    font-size: 15px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
}

.ai-chat-status {
    font-size: 11px;
    color: #a1a1aa;
}

.ai-chat-messages-container {
    flex: 1;
    padding: 16px 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background-color: #f8fafc;
}

.chat-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
    animation: fadeIn 0.25s ease;
}

.chat-bubble-bot {
    background-color: #ffffff;
    color: #111111;
    border: 1px solid #e2e8f0;
    align-self: flex-start;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.chat-bubble-user {
    background-color: #22c55e;
    color: #ffffff;
    align-self: flex-end;
    border-bottom-left-radius: 4px;
    font-weight: 600;
}

.chat-bubble-image-preview {
    max-width: 100%;
    max-height: 180px;
    border-radius: 12px;
    margin-top: 8px;
    display: block;
    object-fit: cover;
}

.ai-chat-footer {
    padding: 12px 16px;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-chat-quick-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.chat-pill-btn {
    background-color: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}

.chat-pill-btn:hover {
    background-color: #22c55e;
    color: #ffffff;
    border-color: #22c55e;
}

.ai-chat-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-chat-media-btn {
    background-color: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.ai-chat-media-btn:hover {
    background-color: #e2e8f0;
}

.ai-chat-input {
    flex: 1;
    padding: 10px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 24px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.ai-chat-input:focus {
    border-color: #22c55e;
}

.ai-chat-send-btn {
    background-color: #22c55e;
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: background-color 0.2s;
}

.ai-chat-send-btn:hover {
    background-color: #16a34a;
}

.widget-tasks-card-horizontal .ring-label-text {
    color: #71717a !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    margin-top: 0 !important;
}


