/* Journal.css - Academic/Research Institute Theme */
:root {
    --primary-color: #2c3e50;
    --accent-color: #8e44ad;
    --text-color: #2c3e50;
    --bg-color: #fdfbf7; /* Warm paper tone */
    --border-color: #dcd6cc;
    --font-serif: "Georgia", "Times New Roman", Times, serif;
    --font-sans: "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: var(--font-serif);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    font-size: 18px;
}

/* Academic Header */
header {
    text-align: center;
    border-bottom: 4px double var(--primary-color);
    padding-bottom: 30px;
    margin-bottom: 40px;
}

header h1 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 2.8em;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    color: #000;
    text-transform: uppercase;
}

header p {
    font-family: var(--font-sans);
    font-size: 1.1em;
    color: #555;
    font-style: italic;
}

/* Navigation / Breadcrumbs */
nav.breadcrumbs {
    font-family: var(--font-sans);
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-align: center;
}

nav.breadcrumbs a {
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

nav.breadcrumbs a:hover {
    border-bottom-color: var(--text-color);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: #1a1a1a;
}

h2 {
    font-size: 1.8em;
    margin-top: 50px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

h3 {
    font-size: 1.4em;
    margin-top: 30px;
    font-weight: 600;
    font-style: italic;
}

p {
    margin-bottom: 1.5em;
    text-align: justify;
}

ul, ol {
    margin-bottom: 1.5em;
    padding-left: 40px;
}

li {
    margin-bottom: 0.5em;
}

/* Abstract / Summary Box */
.abstract-box {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 25px;
    margin: 30px 0;
    font-family: var(--font-sans);
    font-size: 0.95em;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.03);
}

.abstract-box h3 {
    margin-top: 0;
    font-size: 1em;
    text-transform: uppercase;
    color: #7f8c8d;
    letter-spacing: 1px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-family: var(--font-sans);
    font-size: 0.9em;
}

th, td {
    padding: 12px;
    border: 1px solid var(--border-color);
    text-align: left;
}

th {
    background-color: #f4f0e6;
    font-weight: 600;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: var(--border-color);
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

a:hover {
    color: #000;
    text-decoration-color: #000;
    background-color: rgba(0,0,0,0.02);
}

/* Footer */
footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-sans);
    font-size: 0.85em;
    color: #666;
    text-align: center;
}

/* Collection Grid (Index) */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.collection-card {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 25px;
    transition: transform 0.2s ease;
}

.collection-card:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 12px rgba(0,0,0,0.05);
}

.collection-card h3 {
    margin-top: 0;
    font-size: 1.2em;
    border-bottom: none;
}
