/* --- ARQUIVO DE ESTILO CENTRALIZADO (LIMPO E CORRIGIDO) --- */

/* --- 1. Estilos Globais da Página --- */
.page__content {
    font-size: 15px;
    text-align: justify;
}

.page__content p {
    margin-top: 0.5em;
    margin-bottom: 1.0em;
}

.page__content h2 {
    font-size: 0.9rem;
    margin-top: 0.1rem;
    margin-bottom: 0.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.1rem;
}

.page__content h3 {
    font-size: 0.75rem;
    margin-top: 0.1rem;
    margin-bottom: 0.2rem;
}

.justify-text {
    text-align: justify;
}

strong {
    color: #616161;
}

/* --- 2. Estilos da Barra Lateral (Sidebar) --- */
.author__avatar img {
    max-width: 220px;
    border-radius: 15px !important;
    display: block;
}

.author__name {
    text-align: left;
    font-size: 0.8rem !important;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.author__content {
    text-align: left;
    font-size: 0.85rem !important;
    line-height: 1.4;
}

.author__urls {
    font-size: 0.85rem !important;
    display: block;
    text-align: left;
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1em;
}

.author__bio {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    font-family: 'Arial', sans-serif;
    font-size: 0.8rem;
    line-height: 1.6;
    text-align: justify;
    color: #333;
}

.author__bio h4 {
    font-size: 1.0rem;
    color: #222;
    margin-bottom: 1rem;
    font-weight: 600;
}

.author__bio a {
    color: #007bff;
    text-decoration: none;
}

.author__bio a:hover {
    text-decoration: underline;
}

/* --- 3. Estilos de Componentes e Utilidades --- */
.fa-rss {
  display: none;
}
.footer .fa-rss {
  display: none !important;
}

/* --- 7. CORREÇÃO FINAL (HEADER E SIDEBAR) --- */
.masthead {
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important;
    min-height: 0 !important;
}

.site-title {
    font-size: 1.0rem !important;
    line-height: 1 !important;
}

.greedy-nav a,
a.masthead__menu-item {
    font-size: 18px !important;
    line-height: 1 !important;
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important;
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
}

/* --- Solução da Largura do Sidebar (Responsiva) --- */
@media (min-width: 80em) {
    .sidebar {
        width: 260px !important;
    }
}

@media (min-width: 64em) and (max-width: 79.99875em) {
    .sidebar {
        width: 180px !important;
    }
}

/* ==========================================================================
   ESTILOS DAS PUBLICAÇÕES E PROJETOS (FONTES REDUZIDAS)
   ========================================================================== */

.pub-item {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.pub-item .pub-image {
  flex: 0 0 200px;
  width: 200px;
  max-width: 200px;
  margin-right: 1.5rem;
}

.pub-item .pub-image img {
  width: 200px;
  max-width: 200px;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: inline-block;
}

.pub-data {
  flex: 1; 
  min-width: 300px;
}

/* --- [CORREÇÃO DA FONTE] --- */
.pub-title-text {
  font-size: 0.8rem; /* Reduzido de 1.1rem */
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  display: block;
}

/* --- [CORREÇÃO DA FONTE] --- */
.pub-description {
  font-size: 0.9rem; /* Reduzido de 0.95rem */
  color: #444;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* --- [CORREÇÃO DA FONTE] --- */
.pub-authors {
  font-size: 0.9rem; /* Reduzido de 0.95rem */
  color: #555;
  margin: 0.3rem 0;
  line-height: 1.45;
}

/* --- [CORREÇÃO DA FONTE] --- */
.pub-venue {
  font-size: 0.85rem; /* Reduzido de 0.9rem */
  color: #777;
  margin: 0.3rem 0;
  font-style: italic;
}
.pub-venue strong {
  font-style: normal;
  /* color: #c00; */
  color: #777;
}

.pub-notes {
  font-size: 0.85rem;
  color: #777;
  font-style: italic;
  margin-top: 1rem;
}

/* --- [CORREÇÃO DA FONTE] --- */
.project-tags {
  font-size: 0.85rem; /* Reduzido de 0.9rem */
  color: #777;
  font-style: italic;
  margin: 0.3rem 0;
}
.project-tags strong {
  font-style: normal;
  color: #555;
}

.pub-links-text {
  font-size: 0.7rem;
  margin-top: 0.3rem;
}
.pub-links-text a {
  font-weight: 600;
  color: #0056b3;
  text-decoration: underline;
  margin-right: 0.75rem;
}
.pub-links-text a:hover {
  text-decoration: none;
  color: #003d7a;
}

/* ==========================================================================
   ESTILOS DE RESPONSIVIDADE (A SOLUÇÃO DO CELULAR)
   ========================================================================== */

@media (max-width: 576px) {
  
  .pub-item {
    flex-direction: column;
  }
  
  .pub-item .pub-image {
    flex-basis: 200px;
    width: 200px;
    max-width: 200px;
    margin-right: 0;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .pub-item .pub-image img {
    width: 200px;
    max-width: 200px;
  }
  
  .pub-data {
    min-width: 100%;
  }
}

/* ==========================================================================
   ESTILOS DE "LIMPEZA" PARA A PÁGINA DO CV
   ========================================================================== */

.cv-page .page__content h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
}

.cv-page .page__content ul {
  padding-left: 20px;
  list-style-type: square;
}

.cv-page .page__content li {
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.cv-page .page__content li ul {
  list-style-type: disc;
  margin-top: 0.5rem;
}

.cv-page .page__content li em {
  font-size: 0.9rem;
  color: #555;
  background-color: #f9f9f9;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.cv-page .page__content ul li a {
  color: #0056b3; 
  text-decoration: underline;
  font-weight: 600;
}
.cv-page .page__content ul li a:hover {
  color: #003d7a;
  text-decoration: none;
}

/* ==========================================================================
   ESTILOS DE "LIMPEZA" PARA A PÁGINA DO PROJETO (Bayesian)
   ========================================================================== */

.page__content figure {
  text-align: center;
  margin-bottom: 2rem;
}

.page__content figure img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 80%;
  border: 1px solid #eee;
  border-radius: 5px;
}

.page__content figcaption {
  text-align: center;
  font-size: 0.9em;
  color: #616161;
  font-style: italic;
  margin-top: 0.5em; 
}

.page__content .tabcaption {
  text-align: center;
  font-size: 0.9em;
  color: #616161;
  font-style: italic;
  margin-top: 0.5em;
  margin-bottom: 2rem;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   ESTILO DOS ÍCONES DE LINK (Publications & Projects)
   ========================================================================== */

.pub-links-text a i {
  margin-right: 5px;
}

/* ==========================================================================
   ESTILO DO TEMA (Rodapé) - [CORREÇÃO COM !important]
   ========================================================================== */

.page__footer {
  background-color: #004080 !important; 
}

.page__footer .page__footer-follow .page__footer-follow-label {
  color: #ffffff !important;
}
        
.page__footer-follow-label {
   color: #ffffff !important;
}

.page__footer .social-icons a {
  color: #ffffff !important;
}

.page__footer .social-icons a:hover {
  color: #f0f0f0 !important;
}