/**
 * Billboard RSS Feed Styles
 * All classes are prefixed with 'billboard_news_' to avoid conflicts
 */

.billboard_news_container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0;
}

.billboard_news_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.billboard_news_article {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.billboard_news_article:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.billboard_news_image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.billboard_news_no_image {
    width: 100%;
    height: 240px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.billboard_news_content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.billboard_news_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.billboard_news_badge::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #000;
    border-radius: 2px;
}

.billboard_news_title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
    margin: 0 0 12px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.billboard_news_description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px 0;
    flex: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.billboard_news_link {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.billboard_news_link:hover {
    text-decoration: underline;
}

.billboard_news_error {
    color: #d32f2f;
    padding: 20px;
    text-align: center;
    font-size: 14px;
}

/* Tablet */
@media (max-width: 1024px) {
    .billboard_news_grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .billboard_news_title {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .billboard_news_container {
        padding: 12px 0;
    }
    
    .billboard_news_grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .billboard_news_image,
    .billboard_news_no_image {
        height: 200px;
    }
    
    .billboard_news_content {
        padding: 16px;
    }
}