/**
 * Pingo Bingo - News Page Styles
 */

/* News Listing */
.news-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e0e0e0;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.news-card .card-title a {
    color: inherit;
    transition: color 0.2s;
}

.news-card .card-title a:hover {
    color: var(--color-primary, #6f42c1);
}

/* Article View */
.article-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 80px;
    position: relative;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

.article-hero .container {
    position: relative;
    z-index: 1;
}

.article-meta {
    font-size: 0.95rem;
}

.article-content .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.article-content .card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.article-content .card-body {
    padding: 1.5rem;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    /* margin: 2rem 0; */
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body blockquote {
    border-left: 4px solid var(--color-primary, #6f42c1);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body a {
    color: var(--color-primary, #6f42c1);
    text-decoration: underline;
}

.article-body a:hover {
    text-decoration: none;
}

/* Purple badge */
.bg-purple {
    background-color: #6f42c1 !important;
}

.bg-purple:hover {
    background-color: #5a32a3 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-card .card-title {
        font-size: 1rem;
    }

    .news-card .card-text {
        font-size: 0.85rem;
    }
}
