﻿/* indexnew.css - Modern Index Item Styles for default_br_pro */

.brpro-new-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.brpro-item {
    display: flex;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 8px;
    border-radius: 12px;
}

.brpro-item:hover {
    background: rgba(232, 93, 4, 0.03);
    transform: translateX(4px);
}

.brpro-item .item-cover {
    flex-shrink: 0;
    width: 90px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #f1f3f5;
}

.brpro-item .item-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brpro-item .item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0; /* Important for text truncation */
    padding: 4px 0;
}

.brpro-item .item-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--brpro-text);
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brpro-item .item-desc {
    font-size: 13px;
    color: var(--brpro-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.brpro-item .item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brpro-item .item-author {
    font-size: 13px;
    color: var(--brpro-accent);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.brpro-item .item-tag {
    font-size: 11px;
    padding: 2px 8px;
    background: rgba(232, 93, 4, 0.1);
    color: var(--brpro-accent);
    border-radius: 4px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .brpro-item .item-cover {
        width: 75px;
        height: 100px;
    }
    
    .brpro-item .item-title {
        font-size: 16px;
    }
    
    .brpro-item .item-desc {
        -webkit-line-clamp: 2;
        font-size: 12px;
    }
}
