/*
Theme Name: Academic Journal Theme
Theme URI: https://example.com/academic-journal-theme
Author: Antigravity
Author URI: https://example.com
Description: A custom WordPress theme designed for academic journals with support for Articles, Authors, and Issues.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: academic-journal
*/

:root {
    --primary-color: #003366;
    --secondary-color: #f4f4f4;
    --text-color: #333;
    --link-color: #0066cc;
    --font-heading: 'Georgia', serif;
    --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--secondary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 0.5em;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    min-height: 80vh;
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    min-height: auto;
}

.site-title {
    margin: 0;
    font-size: 2rem;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* Grids */
.articles-grid,
.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.article-card,
.issue-card {
    border: 1px solid #ddd;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    transition: box-shadow 0.3s ease;
}

.article-card:hover,
.issue-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-card h3,
.issue-card h2 {
    margin-top: 0;
    font-size: 1.3rem;
}

.entry-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

/* Single Article */
.article-abstract {
    background: #f0f7ff;
    padding: 15px;
    border-left: 4px solid var(--primary-color);
    margin: 20px 0;
}

.button-pdf {
    display: inline-block;
    padding: 10px 20px;
    background: #d32f2f;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
}

.button-pdf:hover {
    background: #b71c1c;
    text-decoration: none;
    color: white;
}