/* =================================================================== */
/* ESTILOS PARA A PÁGINA DE ARTIGO                                     */
/* =================================================================== */
.article-card {
    background-color: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
}
.article-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}
.article-meta { font-size: 0.9rem; }
.article-body { font-size: 1rem; line-height: 1.8; }
.article-body h2, .article-body h3, .article-body h4 {
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-top: 2.5em;
    margin-bottom: 1em;
}
.article-body p, .article-body ul, .article-body ol { margin-bottom: 1.25em; }
.article-body a { color: var(--ubuntu-orange); text-decoration: underline; text-decoration-thickness: 2px; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--border-radius); margin: 2em 0; }

/* SIDEBAR */
.sidebar.sticky-top { top: 100px; }
.sidebar-widget {
    background-color: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.widget-title {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bs-border-color);
}
.sidebar-widget ul li { padding-bottom: 0.5rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--bs-border-color); }
.sidebar-widget ul li:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.sidebar-widget ul li a { text-decoration: none; font-weight: 500; }

/* RESPONSIVIDADE DO ARTIGO */
@media (max-width: 991.98px) {
    .article-card { padding: 1.5rem; }
    .article-title { font-size: 2rem; }
    .sidebar.sticky-top { top: 20px; }
}

/* =================================================================== */
/* CORREÇÃO DO LAYOUT DA SIDEBAR                                       */
/* =================================================================== */

.sidebar-widget ul {
    padding-left: 0; /* Remove o recuo padrão da lista */
    margin-bottom: 0; /* Remove a margem inferior padrão */
}

.sidebar-widget ul li {
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}