
    a { text-decoration: none; color: inherit; transition: 0.2s; }

    /* --- Hero Section --- */
    .forum-hero {
        padding: 40px 5% 30px;
        text-align: center;
        border-bottom: 1px solid var(--border);
        background: linear-gradient(to bottom, rgba(20, 20, 26, 0.5), transparent);
    }

    .hero-title {
        font-family: 'Rubik', sans-serif;
        font-size: 2.2rem;
        font-weight: 800;
        margin-bottom: 5px;
    }

    .hero-title span { color: var(--primary); }
    .hero-subtitle { color: var(--text-muted); font-size: 0.95rem; }

    /* --- Container --- */
    .container {
        max-width: 1400px;
        margin: 30px auto;
        padding: 0 20px;
        display: grid;
        grid-template-columns: 1fr 300px; /* Sidebar layout */
        gap: 30px;
    }

    /* --- Search Box --- */
    .search-box {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 10px 15px;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .search-box input {
        background: transparent;
        border: none;
        outline: none;
        color: var(--text-main);
        font-size: 0.95rem;
        flex: 1;
        font-family: 'Heebo', sans-serif;
    }
    .search-box i { color: var(--text-muted); }

    /* --- MAIN LAYOUT CHANGE: Categories Grid --- */
    .categories-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 columns like the requested image */
        gap: 20px;
    }

    /* Individual Category Container */
    .category-block {
        background: transparent;
        display: flex;
        flex-direction: column;
    }

    /* Category Header Strip */
    .category-header {
        height: 60px;
        border-radius: 8px 8px 0 0;
        background-size: cover;
        background-position: center;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        padding: 0 20px;
        border: 1px solid var(--border);
        border-bottom: none;
    }

    .category-header::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
    }

    .cat-title-text {
        position: relative;
        z-index: 2;
        font-family: 'Rubik', sans-serif;
        font-weight: 700;
        font-size: 1.1rem;
        color: #fff;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        border-right: 3px solid var(--primary);
        padding-right: 10px;
    }

    /* Forums List Container */
    .forums-list {
        background: var(--bg-card); /* הוספתי רקע כדי שלא יהיה שקוף */
        border: 1px solid var(--border); /* הוספתי בורדר שיהיה תואם להדר */
        border-top: none;
        border-radius: 0 0 8px 8px;
        overflow: hidden;
    }

    /* Individual Forum Row (The List Item) */
    .forum-row {
        display: flex;
        align-items: flex-start; /* Align to top for better text flow */
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.05); /* הוספתי הפרדה בין שורות */
        transition: 0.2s;
        cursor: pointer;
        gap: 15px;
    }

    .forum-row:last-child { border-bottom: none; }
    
    .forum-row:hover {
        background: var(--bg-card-hover);
        padding-right: 20px; /* Slight movement effect */
    }

    /* Forum Icon */
    .forum-row-icon {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 1.1rem;
        color: var(--accent);
        overflow: hidden; /* חשוב לתמונות */
    }
    
    .forum-row-icon img {
        width: 100%; height: 100%; object-fit: cover;
    }

    /* Forum Text Info */
    .forum-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .forum-name {
        font-size: 0.95rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: 4px;
    }

    .forum-description {
        font-size: 0.8rem;
        color: var(--text-muted);
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* Limit to 2 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* New Badge */
    .badge-new {
        font-size: 0.65rem;
        background: var(--primary);
        color: white;
        padding: 1px 6px;
        border-radius: 4px;
        margin-right: 5px;
        vertical-align: middle;
    }

    /* Sidebar Widgets */
    .widget {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 20px;
    }
    .widget-title { font-size: 0.95rem; margin-bottom: 15px; font-weight: bold; color: #fff; }
    
    .stat-row, .user-row { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.03); display: flex; justify-content: space-between; font-size: 0.9rem; }
    .promo-widget { text-align: center; padding: 20px; background: linear-gradient(135deg, #1A0B2E 0%, #3a0ca3 100%); }
    .promo-icon { font-size: 2rem; margin-bottom: 10px; color: #fff; }
    .promo-btn, .discord-btn { width: 100%; padding: 10px; margin-top: 10px; border-radius: 4px; border: none; font-weight: bold; cursor: pointer; transition: 0.2s; }
    .promo-btn { background: #fff; color: #3a0ca3; }
    .discord-btn { background: #5865F2; color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; }
    .promo-btn:hover, .discord-btn:hover { opacity: 0.9; transform: translateY(-2px); }

    /* Responsive */
    @media (max-width: 900px) {
        .container { grid-template-columns: 1fr; } /* Sidebar drops down */
        .categories-wrapper { grid-template-columns: repeat(2, 1fr); } /* Keep 2 cols for tablets */
    }

    @media (max-width: 600px) {
        .categories-wrapper { grid-template-columns: 1fr; } /* 1 col for mobile */
    }

    /* --- עיצוב לפורום מוסתר (עבור מנהלים) --- */
    .forum-row.is-hidden-view {
        background: rgba(255, 69, 58, 0.08); /* אדמדם שקוף */
        border-right: 3px solid #ff453a;
    }
    .forum-row.is-hidden-view:hover {
        background: rgba(255, 69, 58, 0.15);
    }
    .badge-hidden {
        font-size: 0.65rem;
        background: #ff453a;
        color: white;
        padding: 1px 6px;
        border-radius: 4px;
        margin-left: 8px; 
        vertical-align: middle;
        display: inline-block;
        font-weight: bold;
    }
    /* תגית "מוסתר" למנהלים */
.admin-hidden-badge {
background-color: rgb(255 255 255);
    color: #e74c3c;
    border: 1px solid #e74c3c;
    font-size: 0.85rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 10px;
    vertical-align: middle;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-shadow: none;
}

/* אופציונלי: אפקט ויזואלי לכל בלוק הקטגוריה (קצת שקיפות ומסגרת מקווקות) */
.is-hidden-admin {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.is-hidden-admin:hover {
    opacity: 0.9; /* כשעוברים עם העכבר זה מתבהר */
}