/* =========================================================
   9C – NEWS ARTICLE
   ========================================================= */

.news-article-container {
    max-width: 900px;
    margin: 80px auto;
    padding: 20px;
    color: #f0e6d2;
    font-family: 'Inter', sans-serif;
    text-align: left;
}

.news-article {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.news-article-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffcc00;
    margin-bottom: 10px;
    text-align: center;
}

.news-article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #c0b283;
    margin-bottom: 20px;
}

.news-article-tags {
    font-style: italic;
}

.news-article-thumbnail {
    text-align: center;
    margin-bottom: 25px;
}

    .news-article-thumbnail img {
        max-width: 100%;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
    }

.news-article-body {
    line-height: 1.6;
    font-size: 1rem;
    color: #f8f6f2;
}

    .news-article-body h2,
    .news-article-body h3 {
        color: #ffcc00;
        margin-top: 20px;
    }

    .news-article-body p {
        margin-bottom: 15px;
    }

/* Källa-rad längst ned */
.news-source {
    margin-top: 25px;
    text-align: right;
    font-size: 0.9rem;
    color: #c0b283;
    font-style: italic;
}

/* Felruta om artikeln saknas eller ej approved */
.news-error {
    text-align: center;
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    color: #f8f6f2;
}

    .news-error h2 {
        font-size: 1.8rem;
        color: #ffcc00;
        margin-bottom: 10px;
    }

    .news-error p {
        font-size: 1rem;
        color: #ddd;
    }

/* Responsiv layout */
@media (max-width: 768px) {
    .news-article-container {
        margin: 60px 10px;
        padding: 15px;
    }

    .news-article {
        padding: 20px;
    }

    .news-article-title {
        font-size: 1.6rem;
    }

    .news-article-body {
        font-size: 0.95rem;
    }
}

/* 9C.x – NEWS ARTICLE – Card change labels (Buffed / Nerfed / Adjusted) */
.news-article-body .card-change {
    font-weight: 700;
    margin-top: 18px;
}

/* Buffed = grön ton */
.news-article-body .card-change--buffed {
    color: #00ff40;
    text-shadow: 0 0 6px rgba(76, 175, 80, 0.5);
}

/* Nerfed = röd ton */
.news-article-body .card-change--nerfed {
    color: #ff1a1a;
    text-shadow: 0 0 6px rgba(255, 82, 82, 0.5);
}

/* Adjusted = orange ton */
.news-article-body .card-change--adjusted {
    color: #ff9800;
    text-shadow: 0 0 6px rgba(255, 152, 0, 0.5);
}
/* News article – source line */
.news-article .news-source {
    margin-top: 2rem;
    font-size: 0.9rem;
    text-align: right;
    color: #b0b0b0; /* diskret grå ton */
    opacity: 0.85;
}

    /* Länken till Blizzard använder samma färg som texten */
    .news-article .news-source a {
        color: inherit; /* samma färg som "Source:" */
        text-decoration: none; /* ingen blå standardlänk */
        border-bottom: 1px dotted rgba(176, 176, 176, 0.6); /* subtil markering */
    }

        /* Lite tydligare när man hovrar */
        .news-article .news-source a:hover {
            opacity: 1;
            border-bottom-style: solid;
        }
