tr.news-item {
        transition: all var(--transition-speed);
    }
    
    tr.news-item:hover {
        box-shadow: var(--box-shadow);
        transform: translateY(-2px);
        background-color: #f8f9fa;
    }
    
    .card.news-item {
        transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    }
    
    .card.news-item:hover {
        transform: translateY(-5px);
        box-shadow: var(--box-shadow);
    }

    /* Mobile-specific styles */
    @media (max-width: 767px) {
        .container {
            padding-left: 12px;
            padding-right: 12px;
        }
        
        /* Modern app-like mobile news cards */
        .news-card-mobile {
            display: flex;
            flex-direction: row;
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: relative;
            min-height: 140px; /* Changed from fixed height to min-height */
            height: auto; /* Allow the card to grow */
        }
        
        .news-card-content {
            flex: 1;
            padding: 12px 15px;
            position: relative;
            display: flex;
            flex-direction: column;
            max-width: 65%;
        }
        
        .news-card-image {
            width: 35%;
            background-size: cover;
            background-position: center;
        }
        
        .news-card-no-image {
            background-color: #6c757d;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .news-card-no-image i {
            font-size: 2.5rem;
            color: rgba(255,255,255,0.8);
        }
        
        .news-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }
        
        .news-counter {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #f0f0f0;
            color: #666;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            font-size: 0.75rem;
            font-weight: bold;
        }
        
        .new-badge {
            background-color: var(--brand-primary);
            color: white;
            font-size: 0.65rem;
            font-weight: bold;
            padding: 2px 6px;
            border-radius: 10px;
            text-transform: uppercase;
        }
        
        .news-card-title {
            font-size: 0.95rem;
            font-weight: 600;
            line-height: 1.3;
            margin: 0 0 6px;
            min-height: 2.6em; /* Changed from max-height to min-height */
            /* Removed overflow: hidden to prevent text from being cut off */
            display: block; /* Changed from -webkit-box to allow natural growth */
            /* Removed -webkit-line-clamp and -webkit-box-orient */
        }
        
        .news-card-excerpt {
            font-size: 0.8rem;
            color: #6c757d;
            margin: 0;
            line-height: 1.4;
            min-height: 2.8em; /* Changed from max-height to min-height */
            /* Removed overflow: hidden to prevent text from being cut off */
            display: block; /* Changed from -webkit-box to allow natural growth */
            /* Removed -webkit-line-clamp and -webkit-box-orient */
            margin-bottom: 6px; /* Added to ensure space between excerpt and footer */
        }
        
        .news-card-footer {
            margin-top: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.75rem;
        }
        
        .news-date {
            color: #999;
        }
        
        .read-more {
            display: flex;
            align-items: center;
            color: var(--brand-primary);
            font-weight: 600;
        }
        
        .read-more i {
            margin-left: 4px;
            font-size: 0.7rem;
        }
        
        /* RTL adjustments for mobile */
        html[lang="ar"] .news-card-mobile,
        body[dir="rtl"] .news-card-mobile {
            flex-direction: row-reverse;
        }
        
        html[lang="ar"] .read-more i,
        body[dir="rtl"] .read-more i {
            margin-right: 4px;
            margin-left: 0;
        }
        
        /* Active state for better touch feedback */
        .news-card-mobile:active {
            transform: scale(0.98);
            background-color: #f9f9f9;
        }
    }
    
    /* Small phones adjustment */
    @media (max-width: 380px) {
        .news-card-mobile {
            min-height: 130px; /* Changed from fixed height to min-height */
            height: auto; /* Allow the card to grow */
        }
        
        .news-card-title {
            font-size: 0.9rem;
        }
        
        .news-card-excerpt {
            /* Removed -webkit-line-clamp to allow natural growth */
            font-size: 0.75rem;
        }
    }