/* ============================================================
   NEWS.CSS — Universal Core Pack
   Stiluri dedicate modulului news
   ============================================================ */

/* ------------------------------
   1. Container general
   ------------------------------ */
.box.news,
.news-box {
    position: relative;
    overflow: hidden;
}

/* ------------------------------
   2. Titlu articol
   ------------------------------ */
.news-title {
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.news-title:hover {
    color: var(--color-accent);
    text-shadow: var(--glow);
}

/* ------------------------------
   3. Thumbnail / Carousel
   ------------------------------ */
.news-thumbnail {
    width: 100%;
    height: 260px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 15px;
    background: #0f131a;
    position: relative;
}

.news-thumbnail iframe {
    border: none;
    width: 100%;
    height: 100%;
}

.thumbnail-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Owl Carousel dots */
.owl-dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.owl-dot span {
    width: 10px;
    height: 10px;
    background: var(--color-muted);
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
    transition: 0.2s ease;
}

.owl-dot.active span {
    background: var(--color-primary);
    box-shadow: var(--glow);
}

/* ------------------------------
   4. Con?inut articol
   ------------------------------ */
.news-content {
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* ------------------------------
   5. Butoane
   ------------------------------ */
.news-buttons {
    margin-top: 10px;
}

/* ------------------------------
   6. Metadata
   ------------------------------ */
.news-metadata {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    color: var(--color-muted);
    font-size: 14px;
}

.news-metadata a {
    color: var(--color-primary);
    text-decoration: none;
}

.news-metadata a:hover {
    color: var(--color-accent);
}

/* ------------------------------
   7. Tags
   ------------------------------ */
.news-tags {
    margin-top: 15px;
}

.news-tags .tag-item {
    display: inline-block;
    padding: 5px 10px;
    background: var(--color-secondary);
    border-radius: var(--radius);
    margin-right: 5px;
    color: var(--color-primary);
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s ease;
}

.news-tags .tag-item:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ------------------------------
   8. Comments
   ------------------------------ */
.news-comments {
    margin-top: 25px;
    padding: 20px;
    background: rgba(30, 35, 45, 0.9);
    border-radius: var(--radius);
}

/* ------------------------------
   9. Responsive
   ------------------------------ */
@media (max-width: 768px) {
    .news-thumbnail {
        height: 180px;
    }

    .news-title {
        font-size: 20px;
    }

    .news-metadata {
        flex-direction: column;
        gap: 5px;
    }
}
