/* CSS Styles for Copper News Feed */
.copper-news-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.copper-news-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #d4722a;
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.news-image {
    flex: 0 0 120px;
    height: 80px;
    overflow: hidden;
    border-radius: 6px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-image:hover img {
    transform: scale(1.05);
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.news-title a:hover {
    color: #d4722a;
}

.news-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.news-date, .news-source {
    display: flex;
    align-items: center;
}

.news-date::before {
    content: "📅";
    margin-right: 5px;
}

.news-source::before {
    content: "🌐";
    margin-right: 5px;
}

.news-description {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.news-error {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* RSS Feed Icon Button */
.rss-feed-link {
    display: inline-flex;
    align-items: center;
    background: #f8a057;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
    margin-left: 10px;
}

.rss-feed-link:hover {
    background: #e67e22;
}

.rss-feed-link::before {
    content: "📰";
    margin-right: 5px;
}

/* RSS XML Feed Styles */
.rss-feed-header {
    margin-bottom: 20px;
}

.feed-title {
    font-size: 24px;
    color: #d4722a;
    margin-bottom: 10px;
}

.feed-description {
    color: #666;
    margin-bottom: 15px;
}

.feed-meta {
    font-size: 12px;
    color: #888;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
    }
    
    .news-image {
        flex: 0 0 auto;
        width: 100%;
        height: 180px;
    }
}