/* Estilos gerais (mesma base de antes) */
body {
    background-color: #f9f9f9;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
}
a { color: #002bb8; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout principal (mesma base de antes) */
#container { max-width: 1200px; margin: 0 auto; background-color: white; border: 1px solid #aaa; border-top: none; }
#header { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px; border-bottom: 1px solid #aaa; }
#logo { text-align: center; }
#logo h1 { margin: 0; border: none; font-size: 28px; }
#logo p { margin: 0; font-style: italic; }
#user-links { text-align: right; font-size: 12px; }
#search-bar { margin-top: 10px; }
#content-wrapper { display: flex; }
#sidebar { width: 150px; padding: 10px; background-color: #f9f9f9; border-right: 1px solid #aaa; font-size: 12px; }
.portlet { margin-bottom: 15px; }
.portlet h5 { margin: 0 0 5px 0; font-size: 12px; font-weight: bold; border-bottom: 1px dotted #ccc; padding-bottom: 3px; }
.portlet ul { list-style: none; margin: 0; padding: 0; }
.portlet ul li { margin-bottom: 3px; }
#main-content { flex-grow: 1; padding: 20px; }
#footer { text-align: center; font-size: 11px; padding: 15px; border-top: 1px solid #aaa; color: #666; }

/* Conteúdo da Página Principal (mesma base de antes) */
.content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.content-box { border: 1px solid #aaa; padding: 10px; }
.box-yellow { background-color: #ffffec; }
.box-blue { background-color: #f5faff; }
.box-pink { background-color: #fff9f9; }
.content-box h3 { font-size: 16px; margin-bottom: 10px; }
.content-box ul { list-style: square; padding-left: 20px; margin: 0; }
.content-box ul li { margin-bottom: 5px; }

/* === NOVOS ESTILOS PARA OS ARTIGOS RICOS === */
#article-content h1 {
    font-family: 'Georgia', serif;
    font-size: 2.2em;
    border-bottom: 1px solid #aaa;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

#article-content h2 {
    font-family: 'Georgia', serif;
    font-size: 1.8em;
    border-bottom: 1px solid #ccc;
    margin-top: 30px;
    margin-bottom: 15px;
}

#article-content h3 {
    font-family: 'Georgia', serif;
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
    border: none;
}

#article-content p {
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 15px;
}

#article-content ul, #article-content ol {
    padding-left: 30px;
    line-height: 1.6;
    font-size: 16px;
}

#article-content blockquote {
    border-left: 4px solid #ccc;
    padding-left: 15px;
    margin-left: 0;
    font-style: italic;
    color: #555;
}

#article-content img {
    float: right;
    margin: 0 0 15px 20px;
    max-width: 300px;
    border: 1px solid #ccc;
    padding: 4px;
    background-color: #f9f9f9;
}

.back-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 20px;
    cursor: pointer;
    clear: both; /* Garante que ele fique abaixo das imagens flutuantes */
}