/* ==========================================================
   AVELO VIRTUAL NEWS ARTICLE
========================================================== */

.av-news-article {
    background: #ffffff;
    border-radius: 18px;
    padding: 3rem;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    overflow: hidden;
}

.av-news-header {
    text-align: center;
}

.av-news-category {
    display: inline-block;
    margin-bottom: 1rem;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg,#6d28d9,#7c3aed);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.av-news-header h1 {
    font-size: clamp(2rem,4vw,3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #1e293b;
}

.av-news-meta {
    color: #64748b;
    font-size: .95rem;
}

.av-news-meta i {
    margin-right: .35rem;
    color: #7c3aed;
}

/* ==========================================================
   ARTICLE BODY
========================================================== */

.av-news-content {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #334155;
}

.av-news-content p {
    margin-bottom: 1.5rem;
}

.av-news-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
}

.av-news-content h3 {
    margin-top: 2rem;
    margin-bottom: .75rem;
    font-size: 1.45rem;
    font-weight: 700;
    color: #1e293b;
}

.av-news-content ul,
.av-news-content ol {
    margin: 1.5rem 0 1.5rem 1.75rem;
}

.av-news-content li {
    margin-bottom: .6rem;
}

.av-news-content strong {
    color: #111827;
}

.av-news-content a {
    color: #6d28d9;
    font-weight: 600;
    text-decoration: none;
}

.av-news-content a:hover {
    text-decoration: underline;
}

.av-news-content img {
    display: block;
    max-width: 100%;
    margin: 2rem auto;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.av-news-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 5px solid #7c3aed;
    background: #f8fafc;
    font-style: italic;
    color: #475569;
}

.av-news-content hr {
    margin: 3rem 0;
    border: 0;
    border-top: 1px solid #e2e8f0;
}

.av-news-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
}

.av-news-content th,
.av-news-content td {
    border: 1px solid #e2e8f0;
    padding: .8rem 1rem;
}

.av-news-content th {
    background: #f8fafc;
    font-weight: 700;
}

/* ==========================================================
   DARK MODE
========================================================== */

body.dark-mode .av-news-article,
html[data-bs-theme="dark"] .av-news-article {
    background: #1e293b;
}

body.dark-mode .av-news-header h1,
html[data-bs-theme="dark"] .av-news-header h1 {
    color: #fff;
}

body.dark-mode .av-news-content,
html[data-bs-theme="dark"] .av-news-content {
    color: #d6dee8;
}

body.dark-mode .av-news-content h2,
body.dark-mode .av-news-content h3,
html[data-bs-theme="dark"] .av-news-content h2,
html[data-bs-theme="dark"] .av-news-content h3 {
    color: #fff;
}

body.dark-mode .av-news-content blockquote,
html[data-bs-theme="dark"] .av-news-content blockquote {
    background: rgba(255,255,255,.05);
    color: #d6dee8;
}

body.dark-mode .av-news-content th,
html[data-bs-theme="dark"] .av-news-content th {
    background: rgba(255,255,255,.05);
}

body.dark-mode .av-news-content th,
body.dark-mode .av-news-content td,
html[data-bs-theme="dark"] .av-news-content th,
html[data-bs-theme="dark"] .av-news-content td {
    border-color: rgba(255,255,255,.08);
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:768px){

    .av-news-article{
        padding:2rem 1.5rem;
    }

    .av-news-content{
        font-size:1rem;
        line-height:1.8;
    }

}