/* 1. IMPORTAÇÃO DE FONTES */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500&family=Libre+Baskerville:wght@400&display=swap');

/* 2. CONFIGURAÇÃO DO LOGO E POSICIONAMENTO */
.navbar-brand-logo img {
    display: none !important;
}

.navbar-header .site-name a,
.navbar-brand-logo {
    display: inline-block !important;
    position: relative !important;
    top: -12px !important;
    margin-right: 46px !important;
    margin-bottom: 2px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background-image: url('logo-cadernos-2026.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    width: 350px !important;
    height: 74px !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
}

/* 3. ESTRUTURA E CORES DO CABEÇALHO */
#headerNavigationContainer.navbar-default {
    background-color: #456684;
    border-color: #456684;
}

#headerNavigationContainer .container-fluid {
    width: 1200px;
    margin: 0 auto;
    max-width: 100%;
}

/* 4. TIPOGRAFIA - TÍTULOS */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
}

/* 5. TIPOGRAFIA - CORPO DO TEXTO */
body, p, li, blockquote, td, th {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
}

/* 6. FORMATAÇÃO E JUSTIFICAÇÃO */
p, li, blockquote, td, th {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    text-align: justify;
}

/* 7. AJUSTES RESPONSIVOS */
@media (min-width: 768px) {
    .navbar-header .site-name a {
        width: 280px !important;
    }
}

@media (max-width: 767px) {
    #headerNavigationContainer .container-fluid {
        width: auto;
    }
    .navbar-header .site-name a,
    .navbar-brand-logo {
        width: 250px !important;
        height: 70px !important;
        top: -16px !important;
        margin-right: 0 !important;
    }
}

/* 8. PÁGINA SOBRE */
.about-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 32px;
}
.credential-card {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 12px;
    border: 1px solid #dde3e8;
    border-radius: 6px;
    background: #f8f9fa;
    gap: 6px;
}
.credential-card .glyphicon {
    font-size: 22px;
    color: #456684;
}
.credential-card strong {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    color: #456684;
}
.credential-card small {
    font-family: 'Libre Baskerville', serif;
    font-size: 11px;
    color: #6b7280;
    line-height: 1.4;
}

.about-body {
    border-top: 2px solid #456684;
    padding-top: 24px;
    margin-bottom: 40px;
}
.about-body h2, .about-body h3 {
    margin-top: 28px;
    margin-bottom: 12px;
}

.about-open-access {
    margin: 32px 0;
    padding: 24px;
    background: #f0f5f9;
    border-left: 4px solid #456684;
    border-radius: 0 6px 6px 0;
}
.about-open-access h2 { margin-top: 0; }
.about-open-access img { margin-top: 8px; }

.about-links h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #456684;
}
.about-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}
.about-link-card {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 18px;
    border: 1.5px solid #dde3e8;
    border-radius: 6px;
    background: #fff;
    text-decoration: none !important;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: inherit;
}
.about-link-card:hover {
    border-color: #456684;
    box-shadow: 0 2px 8px rgba(69,102,132,0.12);
    text-decoration: none !important;
    color: inherit;
}
.about-link-card .glyphicon {
    font-size: 20px;
    color: #456684;
    margin-bottom: 4px;
}
.about-link-card strong {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    color: #456684;
}
.about-link-card span:last-child {
    font-family: 'Libre Baskerville', serif;
    font-size: 12px;
    color: #6b7280;
}

/* 9. BARRA DE ESTATÍSTICAS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Source+Sans+3:wght@400;600&display=swap');

.journal-stats-bar {
    display: flex;
    flex-wrap: wrap;
    background: #456684;
    border-radius: 6px;
    margin: 0 0 28px 0;
    overflow: hidden;
}
.stat-item {
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
    border-right: 1px solid rgba(255,255,255,0.15);
    text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-number {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.stat-label {
    display: block;
    font-family: 'Source Sans 3', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
}

/* 9. INDEXADORES */
.journal-indexers {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}
.indexers-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: #456684;
    margin-bottom: 16px;
}
.indexers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}
.indexer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 20px;
    background: #fff;
    text-decoration: none !important;
    transition: border-color 0.2s;
    min-width: 90px;
}
.indexer-badge:hover { border-color: #456684; }
.indexer-name {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #456684;
    letter-spacing: 0.03em;
}
.indexers-note {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 0;
    text-align: left;
}

@media (max-width: 767px) {
    .journal-stats-bar { flex-direction: row; }
    .stat-item { min-width: 50%; }
}
