/* =================================
BASE
================================= */
body {
  color: #2b2b2b;
  line-height: 1.7;
  background: #ffffff;
}

a {
  color: #0B3C5D;
  text-decoration: none;
  transition: 0.2s;
}

a:hover {
  color: #1F7A4D;
  text-decoration: underline;
}

/* =================================
HEADER / BANNER
================================= */
.main-header__title {
  display: none !important;
}

header.main-header {
  min-height: 420px !important;
  display: flex !important;
  align-items: flex-end !important;
  padding-bottom: 40px !important;
  background-size: cover !important;
  background-position: center !important;
}

.main-header__admin {
  position: absolute !important;
  top: 40px;
  right: 90px;
}

.main-header__admin a {
  background: rgba(255,255,255,0.85);
  color: #1f7a4d;
  padding: 6px 10px;
  border-radius: 4px;
}

/* =================================
CONTAINER
================================= */
main#immersion_content_main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* =================================
TÍTULOS
================================= */
h1, h2, h3 {
  color: #1F7A4D;
}

h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

/* =================================
ABOUT + INSIGHTS (LAYOUT CORRETO)
================================= */
.homepage_about {
  display: flex !important;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 50px;
}

.homepage_about > div:first-child {
  flex: 0 0 65%;
}

.rb-insights {
  flex: 0 0 35%;
  background: #ffffff;
  padding: 20px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
}

.homepage_about p {
  max-width: 100%;
}

/* =================================
ARTIGOS RECENTES
================================= */
.rb-editorial-latest {
  margin-top: 40px;
}

.rb-grid-latest {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rb-paper {
  border: 1px solid #e6e6e6;
  padding: 16px;
  border-radius: 6px;
  background: #ffffff;
  transition: 0.2s;
}

.rb-paper:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.rb-paper h3 {
  font-size: 15px;
  margin-bottom: 10px;
}

/* =================================
TIMELINE
================================= */
.rb-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.rb-time-item {
  padding: 15px;
  border-right: 1px solid #e5e5e5;
}

.rb-time-item:last-child {
  border-right: none;
}

.rb-time-number {
  font-size: 32px;
  font-weight: 700;
  color: #1f7a4d;
}

.rb-time-unit {
  font-size: 14px;
  margin-left: 5px;
}

.rb-time-label {
  font-size: 14px;
  margin-top: 6px;
}

/* =================================
RESPONSIVO
================================= */
@media (max-width: 900px) {

  .homepage_about {
    flex-direction: column;
  }

  .rb-grid-latest {
    grid-template-columns: 1fr;
  }

}
/* REMOVE EDIÇÃO ATUAL (IMMERSION) */
.page_index main#immersion_content_main > section:nth-of-type(2) {
  display: none !important;
}
/* REMOVE ESPAÇO EXCESSIVO NO TOPO */

.page_index main#immersion_content_main {
  padding-top: 0 !important;
}

.page_index main#immersion_content_main > section:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* =========================
LAYOUT ABOUT + METRICS
========================= */
.rb-about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 50px;
  align-items: start;
}

/* =========================
TIPOGRAFIA ACADÊMICA
========================= */
/* ===== PADRÃO TIPOGRÁFICO ÚNICO ===== */

.rb-home-about,
.rb-home-about p {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2b2b2b;
}
/* LINKS */
.rb-links a {
  font-size: 14px;
  border-bottom: 1px solid #ccc;
}

/* =========================
METRICS (ESTILO ELSEVIER)
========================= */
.rb-insights {
  background: transparent;
  border: none;
  padding: 0;
}

.rb-insights h2 {
  margin-bottom: 20px;
}

/* cada métrica */
.rb-metric {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 0;
}

.rb-metric span {
  font-size: 14px;
  color: #666;
}

.rb-metric strong {
  font-size: 18px;
  color: #0B3C5D;
}

/* open access destaque */
.rb-open strong {
  color: #1F7A4D;
}

/* =========================
RESPONSIVO
========================= */
@media (max-width: 900px) {
  .rb-about-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
LAYOUT MAIS PROFISSIONAL
========================= */
.rb-about-grid {
  display: grid;
  grid-template-columns: 1fr 360px; /* métricas mais à direita */
  gap: 70px; /* respiro editorial */
  align-items: start;
}

/* texto mais largo */
.rb-about-main {
  max-width: 900px;
}

/* =========================
METRICS MAIS ALINHADO
========================= */
.rb-insights {
  padding-top: 10px;
}

/* =========================
LINKS DAS MÉTRICAS
========================= */
.rb-metric a {
  text-decoration: none;
  color: #444;
}

.rb-metric a:hover {
  color: #1f7a4d;
}

/* alinhamento interno */
.rb-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* =========================
RESPONSIVO
========================= */
@media (max-width: 900px) {
  .rb-about-grid {
    grid-template-columns: 1fr;
  }

  .rb-about-main {
    max-width: 100%;
  }
}
/* =========================
FORÇA GRID REAL (IGNORA IMMERSION)
========================= */

.homepage_about {
  display: block !important;
}

/* aplica layout no conteúdo interno */
.homepage_about > .container,
.homepage_about > div {
  display: grid !important;
  grid-template-columns: 1fr 360px !important;
  gap: 70px !important;
  align-items: start !important;
}

/* =========================
EXPANDE TEXTO (ESQUERDA)
========================= */

.homepage_about > div > div:first-child {
  max-width: 900px !important;
}

/* =========================
METRICS (DIREITA REAL)
========================= */

.rb-insights {
  width: 100% !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

/* remove aparência de "card pesado" */
.rb-insights {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* =========================
ALINHAMENTO MÉTRICAS
========================= */

.rb-metric {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #e5e5e5;
}

.rb-metric:last-child {
  border-bottom: none;
}

.rb-metric strong {
  color: #0b3c5d;
  font-size: 18px;
}

/* =========================
LINKS ATIVOS
========================= */

.rb-metric a {
  color: #444;
  text-decoration: none;
}

.rb-metric a:hover {
  color: #1f7a4d;
}

/* =========================
RESPONSIVO
========================= */

@media (max-width: 900px) {
  .homepage_about > .container,
  .homepage_about > div {
    grid-template-columns: 1fr !important;
  }
}
/* =========================
FORÇA LAYOUT LADO A LADO
========================= */

.homepage_about .rb-about-grid {
  display: grid !important;
  grid-template-columns: 1fr 360px !important;
  gap: 60px !important;
  align-items: start !important;
}

/* texto mais largo */
.rb-about-main {
  max-width: 900px;
}

/* =========================
METRICS LIMPO (SEM CARD)
========================= */

.rb-insights {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* linhas tipo Elsevier */
.rb-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}

.rb-metric:last-child {
  border-bottom: none;
}

.rb-metric strong {
  font-size: 18px;
  color: #0b3c5d;
}

/* links */
.rb-metric a {
  color: #444;
  text-decoration: none;
}

.rb-metric a:hover {
  color: #1f7a4d;
}

/* =========================
RESPONSIVO
========================= */

@media (max-width: 900px) {
  .homepage_about .rb-about-grid {
    grid-template-columns: 1fr !important;
  }
}
/* =========================
EXPANSÃO REAL DO TEXTO
========================= */

.homepage_about .rb-about-main {
  width: 100% !important;
  max-width: none !important;
}

/* força coluna esquerda crescer */
.homepage_about .rb-about-grid {
  grid-template-columns: minmax(0, 1fr) 340px !important;
}

/* remove limitação interna do OJS */
.homepage_about .container,
.homepage_about .content {
  max-width: 1200px !important;
  width: 100% !important;
}

/* melhora leitura (mais acadêmico) */
.rb-about-main p {
  max-width: 800px;
  font-size: 17px;
  line-height: 1.75;
}
/* =========================
LIBERA LARGURA TOTAL DO SITE
========================= */

main#immersion_content_main,
main#immersion_content_main .container,
main#immersion_content_main .container-fluid {
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

/* remove travas internas */
.pkp_structure_main,
.pkp_structure_main > .container {
  max-width: 1200px !important;
  width: 100% !important;
}

/* =========================
EXPANDE ABOUT REALMENTE
========================= */

.rb-about-main {
  max-width: 100% !important;
}

/* =========================
AJUSTE FINO DO GRID
========================= */

.homepage_about .rb-about-grid {
  grid-template-columns: minmax(0, 1fr) 340px !important;
  gap: 80px !important;
}

/* melhora leitura */
.rb-about-main p {
  max-width: 900px;
  font-size: 17px;
  line-height: 1.8;
}
/* =========================
AJUSTE FINO DE PROPORÇÃO
========================= */

.homepage_about .rb-about-grid {
  grid-template-columns: 1.6fr 0.9fr !important; /* texto maior */
  gap: 100px !important; /* mais respiro */
}
/* =========================
CENTRALIZAÇÃO REAL DO SITE
========================= */

main#immersion_content_main {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 40px 40px !important;
}

/* remove desalinhamento lateral */
.pkp_structure_main {
  display: flex;
  justify-content: center;
}

/* garante largura consistente */
.homepage_about {
  width: 100%;
}

/* =========================
REFINO DO GRID
========================= */

.homepage_about .rb-about-grid {
  grid-template-columns: minmax(0, 1fr) 320px !important;
  gap: 60px !important;
}

/* =========================
TIPOGRAFIA MAIS ACADÊMICA
========================= */

.rb-about-main p {
  max-width: 780px;
  font-size: 17px;
  line-height: 1.85;
  color: #2b2b2b;
}

/* título mais institucional */
.rb-about-main h2 {
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.3px;
}
/* REMOVE CURRENT ISSUE (IMMERSION) */
.page_index main#immersion_content_main > section:nth-of-type(1) {
    display: none !important;
}
/* ===== FIX BOTÃO IDIOMA ===== */
.main-header__admin a,
.main-header__admin a span,
.main-header__admin a * {
    color: #1f7a4d !important;
    opacity: 1 !important;
}

.main-header__admin a {
    background: rgba(255,255,255,0.9) !important;
    border: 1px solid rgba(0,0,0,0.08);
}
 /* joga indexadores para baixo */
.rb-metrics {
    order: 99;
    margin-top: 60px;
}
.rb-home {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.rb-home-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.rb-home-about h2 {
  color: #1f7a4d;
}

.rb-home-about p {
  font-size: 16px;
  line-height: 1.7;
}

.rb-home-metrics {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 20px;
  border-radius: 6px;
}

.rb-home-metrics h3 {
  color: #1f7a4d;
  margin-bottom: 15px;
}

.rb-metric {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.rb-metric:last-child {
  border-bottom: none;
}

.rb-green {
  color: #1f7a4d;
}

/* responsivo */
@media (max-width: 900px) {
  .rb-home-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== HOME LAYOUT CORRETO ===== */

.rb-home {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* GRID REAL */
.rb-home-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

/* ABOUT */
.rb-home-about h2 {
  color: #1f7a4d;
  font-size: 28px;
  margin-bottom: 20px;
}

.rb-home-about p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
  max-width: 100%;
}

/* LINKS */
.rb-home-about a {
  color: #0b3c5d;
  font-weight: 500;
  border-bottom: 1px solid #ccc;
}

.rb-home-about a:hover {
  color: #1f7a4d;
}

/* METRICS (CARD REAL) */
.rb-home-metrics {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

/* TÍTULO */
.rb-home-metrics h3 {
  color: #1f7a4d;
  margin-bottom: 20px;
  font-size: 20px;
}

/* LINHAS */
.rb-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e9e9e9;
}

.rb-metric:last-child {
  border-bottom: none;
}

/* LABEL */
.rb-metric span {
  color: #555;
  font-size: 14px;
}

/* VALOR */
.rb-metric strong {
  color: #0b3c5d;
  font-size: 18px;
  font-weight: 600;
}

/* DESTAQUE */
.rb-green {
  color: #1f7a4d;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .rb-home-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== TIPOGRAFIA ACADÊMICA ===== */

.rb-home-about {
  font-family: "Georgia", "Times New Roman", serif;
}

.rb-home-about p {
  font-size: 17px;
  line-height: 1.8;
  color: #2b2b2b;
}
/* ===== LAYOUT ===== */
.rb-home {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.rb-home-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

/* ===== ABOUT (SERIF = ACADÊMICO) ===== */
.rb-home-about {
  font-family: "Georgia", "Times New Roman", serif;
}

.rb-home-about h2 {
  color: #1f7a4d;
  font-size: 28px;
  margin-bottom: 20px;
}

.rb-home-about p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 18px;
}

/* links internos */
.rb-links a {
  color: #0b3c5d;
  border-bottom: 1px solid #ccc;
  text-decoration: none;
}

.rb-links a:hover {
  color: #1f7a4d;
}

/* ===== METRICS (SANS = EDITORIAL) ===== */
.rb-home-metrics {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 24px;
  border-radius: 8px;
}

.rb-home-metrics h3 {
  color: #1f7a4d;
  margin-bottom: 20px;
}

/* linhas */
.rb-metric {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e9e9e9;
}

.rb-metric:last-child {
  border-bottom: none;
}

/* links métricas */
.rb-metric a {
  color: #0b3c5d;
  text-decoration: none;
}

.rb-metric a:hover {
  color: #1f7a4d;
  text-decoration: underline;
}

/* valores */
.rb-metric strong {
  font-weight: 600;
  color: #0b3c5d;
}

.rb-green {
  color: #1f7a4d;
}

/* responsivo */
@media (max-width: 900px) {
  .rb-home-grid {
    grid-template-columns: 1fr;
  }
}
.rb-home-about h2 {
  font-weight: 600;
  letter-spacing: 0.2px;
}
/* força padrão editorial no About REAL do OJS */
.homepage_about,
.pkp_page_index .homepage_about {
  font-family: Georgia, "Times New Roman", serif !important;
}

.homepage_about p {
  font-size: 17px !important;
  line-height: 1.8 !important;
  color: #2b2b2b !important;
}

/* título About */
.homepage_about h2 {
  font-weight: 600 !important;
  letter-spacing: 0.2px;
}
/* =================================
REGRA GLOBAL — TÍTULOS VERDES
================================= */
h1, h2, h3, h4, h5, h6 {
  color: #1F7A4D !important;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* =================================
ABOUT (TIPOGRAFIA ACADÊMICA REAL)
================================= */
.pkp_page_index .homepage_about,
.pkp_page_index .homepage_about p,
.pkp_page_index .homepage_about li {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 17px !important;
  line-height: 1.85 !important;
  color: #2b2b2b !important;
}

/* largura ideal de leitura */
.pkp_page_index .homepage_about p {
  max-width: 780px;
}

/* =================================
LINKS DO ABOUT
================================= */
.pkp_page_index .homepage_about a {
  color: #0B3C5D;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
}

.pkp_page_index .homepage_about a:hover {
  color: #1F7A4D;
}

/* =================================
JOURNAL METRICS (ESTILO EDITORIAL)
================================= */
.rb-metric,
.rb-metric span,
.rb-metric strong,
.rb-metric a {
  font-family: "Helvetica Neue", Arial, sans-serif !important;
}

/* labels */
.rb-metric span {
  font-size: 14px;
  color: #555;
}

/* valores */
.rb-metric strong {
  font-size: 18px;
  font-weight: 600;
  color: #0B3C5D;
}

/* links métricas */
.rb-metric a {
  color: #0B3C5D;
  text-decoration: none;
}

.rb-metric a:hover {
  color: #1F7A4D;
  text-decoration: underline;
}

/* destaque open access */
.rb-open strong {
  color: #1F7A4D;
}

/* =================================
REMOVE CONFLITOS ANTIGOS
================================= */
/* neutraliza estilos antigos que você criou */
.rb-home-about,
.rb-home-about p {
  font-family: inherit !important;
}
/* =================================
RESET TIPOGRÁFICO (NÃO ALTERA FONTE)
================================= */

/* garante uso da fonte do tema */
body,
.pkp_page_index,
.rb-home,
.rb-home * {
  font-family: inherit !important;
}

/* =================================
ABOUT (TEXTO PRINCIPAL)
================================= */

.rb-home-about p {
  font-size: 18px !important;
  line-height: 1.85 !important;
}

/* links do about */
.rb-links a {
  font-size: 16px !important;
}

/* =================================
TÍTULOS (MAIORES E VERDES)
================================= */

.rb-home h2 {
  font-size: 30px !important;
  color: #1F7A4D !important;
}

.rb-home h3 {
  font-size: 24px !important;
  color: #1F7A4D !important;
}

/* =================================
MÉTRICAS (REDUZIR — HOJE ESTÃO GRANDES)
================================= */

/* rótulo */
.rb-metric a {
  font-size: 15px !important;
  font-weight: 500;
}

/* valor */
.rb-metric strong {
  font-size: 16px !important;
  font-weight: 600;
}

/* =================================
AJUSTE GLOBAL DE LEITURA
================================= */

.pkp_page_index {
  font-size: 16px;
}

/* =================================
CORREÇÃO FINAL (REMOVE CONFLITOS)
================================= */

/* elimina overrides antigos SEM mexer na fonte */
.rb-home-about,
.rb-about-main,
.homepage_about {
  font-family: inherit !important;
}