/* Existing card styles (unchanged) */
.news-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    overflow: hidden;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}
.news-card .card-body {
    padding: 1.5rem;
}
.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}
.news-title a {
    color: #1a1e2b;
    text-decoration: none;
}
.news-title a:hover {
    color: #0d6efd;
}
.news-summary {
    color: #5e6a7c;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.hashtag-pill {
    display: inline-block;
    background-color: #f0f2f5;
    color: #2c3e50;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: background 0.15s;
}
.hashtag-pill:hover {
    background-color: #e2e6ea;
    color: #0a58ca;
}
.sentiment-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #edf2f7;
}
.sentiment-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sentiment-icon {
    font-size: 1.25rem;
    line-height: 1;
}
.sentiment-count {
    font-weight: 600;
    font-size: 1.1rem;
}
.sentiment-label {
    color: #6c7a8e;
    font-size: 0.85rem;
}
.progress-container {
    display: flex;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    background: #edf2f7;
    margin: 0.5rem 0 0;
}
.progress-bullish {
    background: #198754;
    height: 100%;
}
.progress-bearish {
    background: #dc3545;
    height: 100%;
}

/* News page global container (used on both list and detail) */
.news-page {
    background-color: transparent;
}

/* List page heading – white for contrast */
.news-page h1 {
    color: #ffffff;
}

/* Detail page – text on dark background */
.news-page .content {
    color: #ffffff;                /* make the article text white */
    background-color: transparent;  /* no white background */
    padding: 0;                     /* remove extra padding if any */
}

/* Ensure article title and metadata are white */
.news-page article h1.display-5 {
    color: #ffffff;
}
.news-page .text-muted {
    color: #ced4da !important;      /* lighter muted text */
}

/* Sentiment stats on detail page – lighten labels */
.news-page .sentiment-label {
    color: #ced4da;
}

/* Login prompt – make it look like a button */
.login-vote-prompt {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: rgba(255,255,255,0.05);
    border-radius: 8px;
    border: 1px solid #333;
    text-align: center;
}
.login-vote-prompt a {
    display: inline-block;
    background-color: #0d6efd;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    margin-left: 0.5rem;
    transition: background 0.15s;
}
.login-vote-prompt a:hover {
    background-color: #0b5ed7;
}
/* Share buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}
.share-label {
    color: #ced4da;
    font-size: 0.95rem;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.2rem;
    transition: background 0.2s, transform 0.1s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.share-btn:hover {
    background-color: rgba(255,255,255,0.2);
    transform: scale(1.05);
    color: #fff;
}
.share-btn.linkedin:hover { background-color: #0a66c2; }
.share-btn.whatsapp:hover { background-color: #25d366; }
.share-btn.email:hover { background-color: #ea4335; }
.share-btn.instagram:hover { background-color: #e4405f; }
