/* ===== DejaVu Sans – Self-Hosted ===== */
@font-face {
    font-family: 'DejaVu Sans';
    src: url('../fonts/DejaVuSans.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DejaVu Sans';
    src: url('../fonts/DejaVuSans-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ===== Base Reset & Typography ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #212529;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DejaVu Sans', Arial, sans-serif;
    font-weight: bold;
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    color: #004080;
}

h1 {
    font-size: 2.25rem;
    margin-top: 0;
}

h2 {
    font-size: 1.5rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.3em;
    margin-bottom: 1.2em;
}

p, ul, ol {
    margin-top: 0;
    margin-bottom: 1.2em;
}

a {
    color: #004080;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===== Layout & Container ===== */
.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Header – Journal-Inspired ===== */
header {
    background-color: #004080;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header .navbar-brand {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: normal;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

header nav ul li a:hover {
    color: #e0f0ff;
    text-decoration: none;
}

/* ISSN */
.navbar-text {
    font-size: 0.9rem;
    font-weight: bold;
    color: #FFD700;
    white-space: nowrap;
    margin-left: 1rem;
}

/* Small screens: stack header */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 0.75rem;
    }
    .navbar-text {
        margin-left: 0;
        margin-top: 0.25rem;
    }
}

/* ===== Components: Cards, Tables, Lists ===== */
.card {
    border: 1px solid #e0e0e0;
    border-radius: 0.375rem;
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.table {
    width: 100%;
    margin-bottom: 1.2rem;
    color: #212529;
}

.table th,
.table td {
    padding: 0.6rem;
    border-top: 1px solid #dee2e6;
    font-family: 'DejaVu Sans', sans-serif;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 64, 128, 0.04);
}

.list-group-item {
    font-family: 'DejaVu Sans', sans-serif;
    padding: 0.6rem 1rem;
    border-left: 3px solid #004080;
}

/* ===== Utilities ===== */
.text-justify {
    text-align: justify;
    hyphens: auto;
}

.text-primary {
    color: #004080 !important;
}

.text-muted {
    color: #6c757d !important;
}

.shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075) !important; }
.rounded-3 { border-radius: 0.5rem !important; }

/* ===== Spacing Utilities (Bootstrap-like) ===== */
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pe-3 { padding-right: 1rem !important; }
.ps-3 { padding-left: 1rem !important; }

@media (min-width: 992px) {
    .container { max-width: 960px; }
}
@media print {
    header, footer, .navbar {
        display: none;
    }
    body {
        font-size: 12pt;
        color: black;
        background: white;
    }
    .container {
        max-width: 100% !important;
        padding: 0;
    }
}