.shaiya-news-section {
    margin: 15px auto;
}

.shaiya-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.shaiya-news-card {
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
}

.shaiya-news-header {
    background: #272525;
    color: #fff;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #444;
}

.shaiya-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shaiya-news-list li {
    padding: 10px 16px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.shaiya-news-list li:last-child {
    border-bottom: none;
}

.shaiya-news-list li:nth-child(even) {
    background: #222;
}

.shaiya-news-list a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    transition: color 0.2s;
}

.shaiya-news-list a:hover {
    color: #49F18C;
}

.shaiya-news-meta {
    color: #999;
    font-size: 12px;
    margin-left: 10px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.shaiya-news-date {
    margin-left: 8px;
}

.shaiya-news-empty {
    color: #999;
    text-align: center;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .shaiya-news-grid {
        grid-template-columns: 1fr;
    }
}

[data-theme="light"] .shaiya-news-card {
    background: #ffffff;
    border-color: #e0e0e0;
    box-shadow: 0 3px 8px 6px rgba(7,17,27,0.05);
}

[data-theme="light"] .shaiya-news-header {
    background: #f5f5f5;
    color: #333;
    border-bottom-color: #e0e0e0;
}

[data-theme="light"] .shaiya-news-list li {
    border-bottom-color: #eee;
}

[data-theme="light"] .shaiya-news-list li:nth-child(even) {
    background: #fafafa;
}

[data-theme="light"] .shaiya-news-list a {
    color: #333;
}

[data-theme="light"] .shaiya-news-list a:hover {
    color: #1890ff;
}

[data-theme="light"] .shaiya-news-meta {
    color: #999;
}
