/*
 * Ninety Academic — bundled stylesheet for OJS 3.3.x Default Theme.
 * The stylesheet deliberately avoids changing layout geometry, spacing,
 * positioning, grids, form dimensions, or responsive breakpoints.
 * It focuses on color, borders, typography accents, and interaction states.
 */

:root {
    --ninety-navy: #082B57;
    --ninety-red: #821313;
    --ninety-border: #e5eaf0;
    --ninety-muted: #64748b;
}

/* Brand header: preserve Default Theme sizing and structure. */
.pkp_structure_head {
    background-color: var(--ninety-navy);
    border-bottom: 3px solid var(--ninety-red);
}

/* Brand and navigation colors. */
.pkp_site_name a,
.pkp_site_name a:hover,
.pkp_site_name a:focus,
.pkp_navigation_primary > li > a,
.pkp_navigation_user > li > a {
    color: #fff;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus,
.pkp_navigation_user > li > a:hover,
.pkp_navigation_user > li > a:focus {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.12);
}

/* Links: keep the theme's existing font sizes and decoration behavior. */
.pkp_structure_content a,
.pkp_structure_footer a {
    color: var(--ninety-navy);
}

.pkp_structure_content a:hover,
.pkp_structure_content a:focus,
.pkp_structure_footer a:hover,
.pkp_structure_footer a:focus {
    color: var(--ninety-red);
}

/* Headings and section titles. */
.pkp_structure_content h1,
.pkp_structure_content h2,
.pkp_structure_content h3,
.pkp_structure_content h4,
.pkp_block .title,
.obj_issue_toc .heading,
.pkp_page_index .current_issue .current_issue_title {
    color: var(--ninety-navy);
}

/* Fine separators only; no card dimensions or layout changes. */
.obj_issue_summary,
.obj_article_summary,
.pkp_block {
    border-color: var(--ninety-border);
}

/* Buttons: recolor existing OJS controls without changing their sizing. */
.pkp_button,
.cmp_button,
button.submit,
input[type="submit"] {
    border-color: var(--ninety-navy);
}

.pkp_button:hover,
.pkp_button:focus,
.cmp_button:hover,
.cmp_button:focus,
button.submit:hover,
button.submit:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    border-color: var(--ninety-red);
}

/* Footer: preserve its existing background and layout. */
.pkp_structure_footer_wrapper {
    border-top-color: var(--ninety-border);
    color: var(--ninety-muted);
}

/* Accessible visible keyboard focus. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--ninety-red);
    outline-offset: 2px;
}
