/**
 * Focus Journals Theme
 * Novelty-inspired OJS 3 stylesheet
 */

/* ================================
   Global Layout
================================ */

body {
    background: #f6f7fb;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

/* =========================================
   Global OJS Inner Page Layout
========================================= */

.pkp_structure_main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 18px 48px;
}

.pkp_structure_main > .page,
.page_about,
.page_submissions,
.page_announcements,
.page_editorial_team {
    background: #ffffff;
    border: 1px solid #e5e7f0;
    padding: 32px;
    border-radius: 8px;
}

.pkp_structure_main h1,
.page h1 {
    font-size: 30px;
    color: #25346b;
    margin: 0 0 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7f0;
}

.pkp_structure_main h2,
.page h2 {
    font-size: 20px;
    color: #25346b;
    margin: 28px 0 12px;
}

.pkp_structure_main h3,
.page h3 {
    font-size: 16px;
    color: #222;
    margin: 22px 0 10px;
}

.pkp_structure_main p,
.page p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 16px;
}

.pkp_structure_main ul,
.page ul {
    padding-left: 22px;
    margin-bottom: 18px;
}

.pkp_structure_main li,
.page li {
    margin-bottom: 8px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .pkp_structure_main {
        padding: 20px 14px 36px;
    }

    .pkp_structure_main > .page,
    .page_about,
    .page_submissions,
    .page_announcements,
    .page_editorial_team {
        padding: 20px;
    }

    .pkp_structure_main h1,
    .page h1 {
        font-size: 24px;
    }
}

.pkp_structure_page,
.pkp_structure_content {
    overflow: visible;
}

a {
    color: #4b5fd5;
    text-decoration: none;
}

a:hover {
    color: #26378c;
    text-decoration: underline;
}

/* ================================
   Header
================================ */

/* ================================
   Stable Novelty-style Header
================================ */

.fj-header {
    background: #ffffff;
    border-bottom: 0;
}

.fj-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}



.fj-brandbar {
    background: #ffffff;
}

.fj-logo {
    max-height: 92px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
}

.fj-brand-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fj-site-title {
    color: #33407c;
    font-size: clamp(34px, 3.2vw, 54px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.fj-site-subtitle {
    color: #667085;
    font-size: 17px;
    font-weight: 600;
}

.fj-primary-nav .pkp_navigation_primary {
    margin: 0;
    padding: 0;
}

.fj-primary-nav .pkp_navigation_primary > li > a {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 13px 14px;
}

.fj-primary-nav .pkp_navigation_primary > li > a:hover,
.fj-primary-nav .pkp_navigation_primary > li > a:focus {
    background: #303763;
    color: #ffffff;
    text-decoration: none;
}

.fj-search {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 18px;
}

.fj-search input {
    width: 210px;
    height: 30px;
    border: 0;
    border-radius: 2px;
    padding: 0 10px;
    font-size: 12px;
}

.fj-search button {
    height: 30px;
    background: #ffffff;
    color: #3f4778;
    border: 0;
    border-radius: 2px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .fj-topbar-inner,
    .fj-navbar-inner {
        display: block;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .fj-issn-strip {
        display: block;
        margin-bottom: 6px;
    }

    .fj-issn-strip span {
        display: block;
    }

    .fj-brandbar-inner {
        min-height: 90px;
        justify-content: center;
        text-align: center;
    }

    .fj-search {
        margin: 10px 0 0;
    }

}

/* Top strip simulation */

.pkp_navigation_user_wrapper {
    position: absolute;
    top: 12px;
    right: 20px;
}

/* ================================
   Site Index / Journals Page
================================ */

.fj-site-index {
    background: #f5f5f5;
    padding: 0;
}

.fj-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 34px 18px 46px;
}

.fj-page-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dcdcdc;
}

/* ================================
   Journal Grid
================================ */

.fj-journals-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.fj-journal-card {
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 2px;
    padding: 18px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fj-journal-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
    transform: translateY(-2px);
}

.fj-journal-title {
    margin: 0 0 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid #e5e5e5;
    line-height: 1.25;
}

.fj-journal-title a {
    color: #4b5fd5;
    font-size: 18px;
    font-weight: 700;
}

.fj-journal-title a:hover {
    color: #26378c;
}

.fj-journal-description {
    color: #333;
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 18px;
    flex: 1;
}

.fj-journal-description p {
    margin: 0 0 10px;
}

.fj-journal-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.fj-btn {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.fj-btn-primary {
    background: #232a4d;
    color: #ffffff;
    border: 1px solid #232a4d;
}

.fj-btn-primary:hover {
    background: #3f4778;
    border-color: #3f4778;
}

.fj-btn-outline {
    background: #ffffff;
    color: #232a4d;
    border: 1px solid #bfc3d9;
}

.fj-btn-outline:hover {
    background: #f0f2ff;
    border-color: #4b5fd5;
}

/* ================================
   Generic OJS Blocks / Sidebars
================================ */

.pkp_structure_sidebar .block,
.block {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    margin-bottom: 16px;
    padding: 14px;
}

.block .title {
    background: #f1f1f1;
    color: #3f4778;
    font-size: 14px;
    font-weight: 700;
    margin: -14px -14px 14px;
    padding: 10px 14px;
    border-bottom: 1px solid #e3e3e3;
}

.block ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.block li {
    border-bottom: 1px solid #eeeeee;
    padding: 8px 0;
    font-size: 13px;
}

.block li:last-child {
    border-bottom: 0;
}

/* ================================
   Novelty-style Article Cards
================================ */

.fj-article-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid #eeeeee;
}

.fj-article-card:last-child {
    border-bottom: 0;
}

.fj-article-thumb img,
.fj-thumb-placeholder {
    width: 150px;
    height: 105px;
    object-fit: cover;
    border: 1px solid #e2e2e2;
    background: #eef0ff;
}

.fj-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5964c8;
    font-weight: 700;
}

.fj-article-content {
    min-width: 0;
}

.fj-article-section {
    display: inline-block;
    background: #5964c8;
    color: #ffffff;
    padding: 3px 7px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 6px;
}

.fj-article-title {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.35;
}

.fj-article-title a {
    color: #4b5fd5;
    font-weight: 700;
}

.fj-article-title a:hover {
    color: #26378c;
}

.fj-article-authors {
    font-size: 13px;
    margin-bottom: 8px;
}

.fj-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.fj-article-abstract {
    font-size: 13px;
    color: #444;
    margin-bottom: 10px;
    line-height: 1.55;
}

.fj-article-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fj-small-btn {
    display: inline-block;
    border: 1px solid #cfd3ff;
    color: #5964c8;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.fj-small-btn:hover {
    background: #f0f2ff;
}

.fj-small-btn-primary {
    background: #5964c8;
    color: #ffffff;
    border-color: #5964c8;
}

.fj-small-btn-primary:hover {
    background: #3f4778;
    border-color: #3f4778;
}

/* OJS issue TOC compatibility */
.obj_issue_toc .section {
    margin-top: 22px;
}

.obj_issue_toc .section h2 {
    font-size: 17px;
    color: #3f4778;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 8px;
    margin-bottom: 5px;
}

.obj_issue_toc .articles {
    margin: 0;
    padding: 0;
    list-style: none;
}

.obj_issue_toc .articles > li {
    margin: 0;
    padding: 0;
}

/* ==============================
   Focus Journals Footer
============================== */

.fj-footer {
	background: #232840;
	color: rgba(255,255,255,.86);
	margin-top: 0;
	font-size: 14px;
}

.fj-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 24px 34px;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.25fr;
	gap: 36px;
}

.fj-footer h3,
.fj-footer h4 {
	color: #fff;
	margin: 0 0 16px;
	line-height: 1.3;
}

.fj-footer h3 {
	font-size: 20px;
	font-weight: 700;
}

.fj-footer h4 {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.fj-footer p,
.fj-footer__description {
	margin: 0 0 14px;
	line-height: 1.7;
	color: rgba(255,255,255,.76);
}

.fj-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.fj-footer li {
	margin-bottom: 10px;
}

.fj-footer a {
	color: rgba(255,255,255,.82);
	text-decoration: none;
	transition: color .2s ease;
}

.fj-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.fj-footer__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 8px;
	padding: 10px 16px;
	background: #5962d6;
	color: #fff;
	border-radius: 4px;
	font-weight: 700;
	text-decoration: none;
}

.fj-footer__submit:hover {
	background: #4852c8;
}

.fj-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.12);
	max-width: 1200px;
	margin: 0 auto;
	padding: 18px 24px 24px;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	color: rgba(255,255,255,.68);
	font-size: 13px;
}

.fj-footer__bottom-links {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}

.fj-footer__bottom a {
	color: rgba(255,255,255,.72);
}

@media (max-width: 900px) {
	.fj-footer__inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.fj-footer__inner {
		grid-template-columns: 1fr;
		padding: 36px 18px 24px;
		gap: 26px;
	}

	.fj-footer__bottom {
		flex-direction: column;
		padding: 16px 18px 22px;
	}

	.fj-footer__bottom-links {
		gap: 12px;
	}
}


/* =========================================
   FINAL HEADER FIX
========================================= */

.fj-topbar {
    height: 36px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.fj-topbar-inner {
    min-height: 48px;
    padding: 0 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fj-issn-strip {
    display: flex;
    gap: 18px;
    color: #3155d4;
    font-size: 15px;
    font-weight: 700;
}

.fj-user-nav ul,
.fj-user-nav li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fj-user-nav a {
    color: #5367df;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

/* Journal title row */

.fj-brandbar {
    background: #fff;
    border-bottom: 0;
}

.fj-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    text-decoration: none;
}

.fj-site-title {
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
    color: #3f4778;
}

/* Navigation row */

.fj-navbar {
    background: #444b82;
    width: 100%;
}

.fj-navbar-inner {
    width: 100%;
    min-height: 64px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: center;
    box-sizing: border-box;
}

/* Fix vertical bullet menu */

.fj-primary-nav {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.fj-primary-nav ul {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.fj-primary-nav a {
    min-height: 64px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.fj-primary-nav li {
    flex: 0 0 auto;
}


.fj-primary-nav li:nth-child(1) a::before { content: "⌂"; }
.fj-primary-nav li:nth-child(2) a::before { content: "▣"; }
.fj-primary-nav li:nth-child(3) a::before { content: "▤"; }
.fj-primary-nav li:nth-child(4) a::before { content: "✦"; }
.fj-primary-nav li:nth-child(5) a::before { content: "ℹ"; }
.fj-primary-nav li:nth-child(6) a::before { content: "✎"; }
.fj-primary-nav li:nth-child(7) a::before { content: "👥"; }


.fj-primary-nav a:hover {
    background: rgba(255,255,255,0.08);
    opacity: 1;
}


.fj-primary-nav > ul,
.fj-primary-nav .pkp_navigation_primary {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
}

.fj-primary-nav .pkp_navigation_primary > li {
    display: inline-block;
    position: relative;
}

.fj-primary-nav .pkp_navigation_primary > li::marker {
    content: "";
}

.fj-primary-nav .pkp_navigation_primary > li > a {
    display: block;
    padding: 16px 18px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.fj-primary-nav .pkp_navigation_primary > li > a:hover {
    background: #303763;
    color: #ffffff;
}

.fj-search input {
    width: 220px;
    height: 34px;
    border: 0;
    border-radius: 3px;
    padding: 0 12px;
}

.fj-search button {
    height: 34px;
    border: 0;
    border-radius: 3px;
    background: #ffffff;
    color: #232a4d;
    padding: 0 18px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .fj-navbar-inner {
        display: block;
        padding: 10px 15px;
    }

    .fj-primary-nav .pkp_navigation_primary {
        display: block;
    }

    .fj-primary-nav .pkp_navigation_primary > li {
        display: block;
    }

    .fj-primary-nav .pkp_navigation_primary > li > a {
        padding: 10px 0;
    }

    .fj-search {
        margin: 12px 0 0;
    }

    .fj-search input {
        width: 100%;
    }
}

/* Mobile */

@media (max-width: 768px) {
    .fj-brandbar-inner {
        min-height: auto;
        padding: 24px 15px;
    }

    .fj-site-title {
        font-size: 24px;
    }

    .fj-primary-nav .pkp_navigation_primary > li > a {
        padding: 10px 0;
    }
}

/* =========================================
   Force right sidebar visibility - Journal page
========================================= */

/* FINAL OVERRIDE: Force 3-column journal homepage */

.fj-journal-homepage {
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 25px;

    display: grid;
    grid-template-columns: 230px calc(100% - 230px - 250px - 36px) 250px;
    gap: 18px;
    align-items: start;
}

.fj-sidebar-left {
    grid-column: 1;
    display: block;
}

.fj-main-content {
    grid-column: 2;
    display: block;
    min-width: 0;
    padding: 0 10px;
}

.fj-sidebar-right {
    grid-column: 3;
    display: block;
    position: relative;
    visibility: visible;
    opacity: 1;
    min-width: 0;
    background: transparent;
    z-index: 10;
}

.fj-sidebar-right .fj-widget,
.fj-sidebar-right .fj-action-widget,
.fj-sidebar-right .fj-social-widget {
    display: block;
    margin-bottom: 16px;
}

@media (max-width: 1050px) {
    .fj-journal-homepage {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .fj-sidebar-right {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .fj-journal-homepage {
        display: block;
    }

    .fj-sidebar-left,
    .fj-main-content,
    .fj-sidebar-right {
        display: block;
        width: 100%;
    }
}

.fj-sidebar {
    min-width: 0;
}

/* Widgets */

.fj-widget,
.fj-action-widget,
.fj-social-widget {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    margin-bottom: 16px;
    padding: 14px;
}

.fj-widget-title {
    background: #f1f1f1;
    color: #3f4778;
    font-size: 14px;
    font-weight: 700;
    margin: -14px -14px 14px;
    padding: 10px 14px;
    border-bottom: 1px solid #e3e3e3;
}

.fj-widget p {
    font-size: 13px;
    margin: 0 0 10px;
}

.fj-widget-list,
.fj-menu-list,
.fj-volume-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fj-widget-list li,
.fj-menu-list li,
.fj-volume-list li {
    border-bottom: 1px solid #eeeeee;
    padding: 9px 0;
    font-size: 13px;
}

.fj-widget-list li:last-child,
.fj-menu-list li:last-child,
.fj-volume-list li:last-child {
    border-bottom: 0;
}

.fj-widget-list span {
    display: block;
    color: #888;
    font-size: 11px;
    margin-top: 3px;
}

.fj-issue-cover {
    width: 100%;
    height: auto;
    border: 1px solid #eeeeee;
    margin-bottom: 10px;
}

.fj-issue-meta {
    font-size: 13px;
    margin-bottom: 8px;
}

.fj-link-button,
.fj-readmore {
    display: inline-block;
    color: #5964c8;
    font-size: 12px;
    font-weight: 700;
}

.fj-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fj-keywords a {
    background: #f2f3ff;
    color: #5964c8;
    padding: 4px 7px;
    border-radius: 2px;
    font-size: 12px;
}

.fj-call-box {
    background: #5964c8;
    color: #ffffff;
    padding: 18px;
    text-align: center;
}

.fj-call-box h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.1;
}

.fj-call-box p {
    color: #ffffff;
}

.fj-call-box a {
    display: inline-block;
    background: #ffffff;
    color: #5964c8;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
}

/* Main journal card */

.fj-hero-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 16px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.fj-hero-image {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 12px;
}

.fj-journal-description h1 {
    font-size: 22px;
    margin-bottom: 10px;
}

.fj-journal-description {
    font-size: 13px;
    color: #333333;
}

/* Current issue */

.fj-current-issue {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    padding: 18px;
}

.fj-section-tabs {
    display: flex;
    gap: 25px;
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 18px;
}

.fj-section-tabs span {
    padding: 0 0 10px;
    font-size: 13px;
    color: #777777;
}

.fj-section-tabs .active {
    color: #5964c8;
    border-bottom: 2px solid #5964c8;
    font-weight: 700;
}

.fj-current-issue h2 {
    color: #5964c8;
    font-size: 18px;
    margin: 0 0 6px;
}

.fj-current-issue h3 {
    font-size: 14px;
    margin: 0 0 6px;
}

.fj-published-date {
    color: #777777;
    font-size: 12px;
}

/* Article card upgrade */

.fj-article-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fff;
    margin-bottom: 14px;
}

.fj-thumb-placeholder {
    width: 110px;
    height: 80px;
    background: #eef0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #5964c8;
}

.fj-article-title {
    font-size: 15px;
    margin-bottom: 6px;
}

.fj-article-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.fj-badge {
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 2px;
    border: 1px solid #ddd;
    background: #fff;
}

.fj-badge-views {
    border-color: #f0c27d;
    color: #c77b00;
}

/* Right widgets */

.fj-social-widget {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.fj-social-widget a {
    width: 28px;
    height: 28px;
    border: 1px solid #cfd3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5964c8;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
}

.fj-editor strong {
    color: #333333;
    font-size: 13px;
}

.fj-editor p {
    color: #666666;
    font-size: 12px;
}

.fj-stats-box {
    display: grid;
    gap: 8px;
}

.fj-stats-box div {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 6px;
    font-size: 13px;
}

.fj-stats-box span {
    color: #5964c8;
    font-weight: 700;
}

/*Fix search alignment*/
.fj-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fj-main-nav {
    flex: 1;
}

/* Search must stay inside nav bar */
.fj-search {
    width: 100%;
    max-width: 300px;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 78px;
    gap: 8px;
    align-items: center;
}

.fj-search input {
    width: 100%;
    min-width: 0;
    height: 40px;
    box-sizing: border-box;
    border: 0;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 13px;
    background: #ffffff;
}

.fj-search button {
    height: 48px;
    min-width: 120px;
    border: 0;
    border-radius: 5px;
    padding: 0 24px;
    background: #ffffff;
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 900px) {
    .fj-topbar-inner {
        padding: 10px 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .fj-brandbar-inner {
        min-height: 110px;
        padding: 22px 18px;
    }

    .fj-brand-link {
        gap: 14px;
    }

    .fj-logo {
        max-height: 64px;
        max-width: 82px;
    }

    .fj-site-title {
        font-size: 28px;
    }

    .fj-site-subtitle {
        font-size: 14px;
    }

    .fj-navbar-inner {
        padding: 14px 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .fj-primary-nav ul {
        overflow-x: auto;
        gap: 22px;
        padding-bottom: 4px;
    }

    .fj-primary-nav a {
        font-size: 15px;
    }

    .fj-search {
        width: 100%;
    }

    .fj-search input {
        width: 100%;
    }

    .fj-search button {
        min-width: 96px;
    }
}

/* stabilize layout */

.pkp_page_login .pkp_structure_content {
    display: block;
}


@media (max-width: 768px) {
    .fj-top-inner,
    .fj-nav-inner {
        display: block;
    }

    .fj-issn {
        display: block;
        margin-bottom: 8px;
    }

    .fj-issn span {
        display: block;
        margin-bottom: 4px;
    }

    .fj-search {
        padding: 10px 0;
    }

    .fj-widget,
    .fj-action-widget,
    .fj-social-widget {
        margin-bottom: 16px;
    }

    .fj-article-card {
        grid-template-columns: 1fr;
    }

    .fj-article-thumb img,
    .fj-thumb-placeholder {
        width: 100%;
        height: 160px;
    }
}



/* ================================
   Responsive
================================ */

@media (max-width: 1100px) {
    .fj-journals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .pkp_structure_page {
        max-width: 100%;
        box-shadow: none;
    }

    .pkp_site_name_wrapper {
        text-align: center;
        padding: 22px 15px;
    }

    .pkp_navigation_primary_row {
        padding: 0 10px;
    }

    .fj-container {
        padding: 24px 14px 36px;
    }

    .fj-journals-grid {
        grid-template-columns: 1fr;
    }

    .fj-journal-card {
        min-height: auto;
    }

    .fj-page-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .fj-journal-actions {
        flex-direction: column;
    }

    .fj-btn {
        width: 100%;
        text-align: center;
    }
}


/* ================================
   Article Metrics Badges
================================ */

.fj-article-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 10px;
}

.fj-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #ddd;
    background: #ffffff;
    color: #555;
    padding: 3px 7px;
    border-radius: 2px;
    font-size: 11px;
    line-height: 1.2;
}

.fj-badge strong {
    color: #333;
    font-weight: 700;
    background: #f5f5f5;
    padding: 1px 5px;
    border-radius: 2px;
}

.fj-badge-citations {
    border-color: #cfd3ff;
    color: #4b5fd5;
}

.fj-badge-views {
    border-color: #f1c27d;
    color: #d17a00;
}

.fj-badge-downloads {
    border-color: #d9d9d9;
    color: #666;
}

.fj-doi {
    color: #d17a00;
}

/* Issue article spacing fix */
.fj-issue-wrapper {
    margin-top: 10px;
}

/* Sidebar polish */

.fj-sidebar .fj-widget {
    background: #fff;
    border: 1px solid #eee;
    padding: 14px;
    margin-bottom: 16px;
    border-radius: 4px;
}

.fj-widget-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #3f4778;
}

.fj-menu-list li {
    margin-bottom: 6px;
}

.fj-menu-list a {
    font-size: 13px;
    color: #4b5fd5;
}

.fj-most-read {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fj-most-read li {
    margin-bottom: 10px;
}

.fj-most-read a {
    font-size: 13px;
    color: #4b5fd5;
    display: block;
    margin-bottom: 3px;
}

.fj-most-read span {
    font-size: 11px;
    color: #888;
}

/* Sidebar widgets */

.fj-latest-articles,
.fj-most-read {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fj-latest-articles li,
.fj-most-read li {
    border-bottom: 1px solid #eeeeee;
    padding: 8px 0;
}

.fj-latest-articles li:last-child,
.fj-most-read li:last-child {
    border-bottom: 0;
}

.fj-latest-articles a,
.fj-most-read a {
    font-size: 13px;
    color: #4b5fd5;
    line-height: 1.35;
}

/* Article buttons */

.fj-doi-btn {
    border-color: #f1c27d;
    color: #d17a00;
}

.fj-pdf-btn {
    background: #4b5fd5;
    border-color: #4b5fd5;
    color: #ffffff;
}

/* Real thumbnails */

.fj-article-thumb img {
    width: 110px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #e5e5e5;
    background: #f2f3ff;
}

/* Sticky sidebar */

@media (min-width: 1000px) {
    .fj-sidebar-left,
    .fj-sidebar-right {
        position: sticky;
        top: 20px;
        align-self: start;
    }
}

/* Editorial Board Widget */

.fj-editorial-board-widget {
    font-size: 13px;
}

.fj-editorial-role {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eeeeee;
}

.fj-editorial-role:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}

.fj-editorial-role > span {
    display: block;
    color: #3f4778;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.fj-editorial-role strong {
    display: block;
    color: #222222;
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 3px;
}

.fj-editorial-role p {
    margin: 0;
    color: #666666;
    font-size: 12px;
    line-height: 1.45;
}

.fj-editorial-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fj-editorial-list li {
    margin-bottom: 10px;
}

.fj-editorial-list li:last-child {
    margin-bottom: 0;
}

.fj-readmore {
    display: inline-block;
    margin-top: 8px;
    color: #4b5fd5;
    font-size: 12px;
    font-weight: 700;
}

/* CTA Widget */

.fj-cta-widget {
    padding: 14px;
    border: 1px solid #e6e8f0;
    background: #f8f9fc;
    border-radius: 6px;
}

/* Buttons */

.fj-cta {
    display: block;
    text-align: center;
    padding: 14px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Primary */

.fj-cta-primary {
    background: #4b5fd5;
    color: #ffffff;
    border: 1px solid #4b5fd5;
}

.fj-cta-primary:hover {
    background: #3f52c3;
}

/* Secondary */

.fj-cta-secondary {
    background: #ffffff;
    color: #4b5fd5;
    border: 1px solid #d2d6ff;
}

.fj-cta-secondary:hover {
    background: #eef0ff;
}

/* Social icons */

.fj-social-icons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

/* Individual icon */

.fj-social {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d2d6ff;
    border-radius: 6px;
    color: #4b5fd5;
    font-size: 16px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.fj-social:hover {
    background: #4b5fd5;
    color: #ffffff;
}

/* Article Details Page */
.fj-article-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px 40px;
}

.fj-breadcrumbs {
    font-size: 13px;
    margin-bottom: 16px;
    color: #666;
}

.fj-breadcrumbs a {
    color: #25346b;
    text-decoration: none;
}

.fj-article {
    background: #fff;
    border: 1px solid #e7e7ef;
    padding: 24px;
}

.fj-article-issue {
    display: inline-block;
    background: #25346b;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    margin-bottom: 10px;
}

.fj-article-title {
    font-size: 28px;
    line-height: 1.25;
    margin: 0 0 10px;
    color: #222;
}

.fj-article-authors {
    font-size: 14px;
    color: #555;
    margin-bottom: 18px;
}

.fj-article-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.fj-btn {
    display: inline-block;
    padding: 8px 13px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
}

.fj-btn-primary {
    background: #25346b;
    color: #fff;
}

.fj-btn-light {
    background: #f3f4f8;
    color: #25346b;
}

.fj-article-hero img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
    margin-bottom: 22px;
}

.fj-article-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 20px 0;
    padding: 14px 0;
    gap: 16px;
}

.fj-article-meta-grid strong {
    display: block;
    font-size: 12px;
    color: #555;
    margin-bottom: 4px;
}

.fj-article-meta-grid span {
    font-size: 14px;
    color: #222;
}

.fj-article-section {
    margin-top: 28px;
}

.fj-article-section h2 {
    font-size: 21px;
    color: #c76a00;
    margin-bottom: 12px;
}

.fj-article-content {
    font-size: 15px;
    line-height: 1.75;
    color: #333;
}

.fj-keywords {
    margin-top: 24px;
}

.fj-keywords span {
    display: inline-block;
    background: #f1f2fa;
    color: #25346b;
    font-size: 12px;
    padding: 5px 9px;
    margin: 3px;
    border-radius: 3px;
}

.fj-references {
    font-size: 13px;
    line-height: 1.6;
}

.fj-article-sidebar {
    align-self: start;
    position: sticky;
    top: 16px;
}

.fj-sidebar-card {
    background: #fff;
    border: 1px solid #e7e7ef;
    padding: 16px;
    margin-bottom: 14px;
}

.fj-sidebar-card h3 {
    font-size: 16px;
    margin: 0 0 12px;
    color: #222;
}

.fj-sidebar-card a {
    display: block;
    font-size: 13px;
    color: #25346b;
    text-decoration: none;
    padding: 6px 0;
}

#fjArticleToc {
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 900px) {
    .fj-article-page {
        grid-template-columns: 1fr;
    }

    .fj-article-sidebar {
        position: static;
    }

    .fj-article-meta-grid {
        grid-template-columns: 1fr;
    }

    .fj-article {
        padding: 18px;
    }

    .fj-article-title {
        font-size: 23px;
    }
}

.fj-main {
    background: #fff;
    border: 1px solid #e5e7f0;
    padding: 24px;
}

.fj-sidebar {
    position: sticky;
    top: 20px;
}

.fj-card {
    background: #fff;
    border: 1px solid #e5e7f0;
    padding: 16px;
    margin-bottom: 16px;
}

.fj-abstract-card {
    background: #f4f6ff;
    padding: 18px;
    margin-top: 20px;
}

.fj-full-article {
    margin-top: 25px;
}

/* ================================
   Article Page Refinements
================================ */

/* Hide/clean top default numbered breadcrumb if OJS still prints it */
.cmp_breadcrumbs {
    display: none;
}

/* Clean custom breadcrumb */
.fj-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    font-size: 13px;
    color: #6b7280;
}

.fj-breadcrumbs a {
    color: #2447c6;
    font-weight: 600;
    text-decoration: none;
}

.fj-breadcrumbs span {
    color: #6b7280;
}

/* Default OJS Similar Articles / Most Read blocks */
.fj-article-page + h2,
.fj-article-page + h3,
.fj-article-page ~ h2,
.fj-article-page ~ h3 {
    max-width: 1200px;
    margin: 36px auto 14px;
    color: #17245a;
    font-size: 22px;
    font-weight: 800;
}

.fj-article-page ~ ul {
    max-width: 1200px;
    margin: 0 auto 28px;
    padding: 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.fj-article-page ~ ul li {
    position: relative;
    padding: 18px 22px 18px 44px;
    border-bottom: 1px solid #eef0f6;
    font-size: 14px;
    line-height: 1.75;
    color: #374151;
}

.fj-article-page ~ ul li:last-child {
    border-bottom: 0;
}

.fj-article-page ~ ul li::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 28px;
    width: 7px;
    height: 7px;
    background: #27356f;
    border-radius: 50%;
}

.fj-article-page ~ ul a {
    color: #2447c6;
    font-weight: 600;
    text-decoration: none;
}

.fj-article-page ~ ul a:hover {
    text-decoration: underline;
}

/* Similarity search sentence */
.fj-article-page ~ p {
    max-width: 1200px;
    margin: 0 auto 30px;
    font-size: 14px;
    color: #4b5563;
}

.fj-article-page ~ p a {
    color: #2447c6;
    font-weight: 600;
    text-decoration: none;
}

/* General page width refinement */
.fj-article-page {
    max-width: 1200px;
    margin: 40px auto 52px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
    align-items: start;
}

.fj-article {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 32px;
}

.fj-sidebar {
    position: sticky;
    top: 24px;
}

@media (max-width: 900px) {
    .fj-article-page {
        grid-template-columns: 1fr;
        margin: 24px 16px 40px;
    }

    .fj-article-page ~ h2,
    .fj-article-page ~ h3,
    .fj-article-page ~ ul,
    .fj-article-page ~ p {
        margin-left: 16px;
        margin-right: 16px;
    }

    .fj-sidebar {
        position: static;
    }
}

/* ================================
   Archives Page
================================ */

.fj-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px 56px;
}

.fj-page-hero {
    margin: 22px 0 34px;
    padding: 34px 38px;
    background: linear-gradient(135deg, #f4f6ff 0%, #ffffff 100%);
    border: 1px solid #e5e7eb;
}

.fj-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #3155d4;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.fj-page-hero h1 {
    margin: 0 0 12px;
    color: #17245a;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
}

.fj-page-hero p {
    max-width: 760px;
    margin: 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.7;
}

.fj-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.fj-archive-card {
    position: relative;
    min-height: 190px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.fj-archive-card:hover {
    border-color: #c7d2fe;
    transform: translateY(-2px);
    transition: 0.2s ease;
}

.fj-archive-card-meta {
    margin-bottom: 14px;
    color: #3155d4;
    font-size: 14px;
    font-weight: 800;
}

.fj-archive-card h2 {
    margin: 0 0 14px;
    color: #17245a;
    font-size: 22px;
    line-height: 1.25;
}

.fj-archive-card h2 a {
    color: inherit;
    text-decoration: none;
}

.fj-archive-description {
    margin-bottom: 18px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.7;
}

.fj-archive-link {
    display: inline-flex;
    margin-top: auto;
    color: #17245a;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.fj-pagination {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 34px;
}

.fj-pagination a {
    display: inline-flex;
    padding: 12px 18px;
    background: #27356f;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.fj-empty-state {
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.fj-empty-state h2 {
    margin-top: 0;
    color: #17245a;
}

/* Hide old default issue archive list if it still appears */
.page_issue_archive > ul,
.page_issue_archive .issues_archive {
    display: none;
}

@media (max-width: 1000px) {
    .fj-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .fj-page {
        padding: 22px 16px 42px;
    }

    .fj-page-hero {
        padding: 24px 20px;
    }

    .fj-page-hero h1 {
        font-size: 30px;
    }

    .fj-archive-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   Login / Register Pages
================================ */

.pkp_page_login .pkp_structure_content,
.pkp_page_register .pkp_structure_content,
.pkp_page_user .pkp_structure_content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 24px 64px;
}

.pkp_page_login h1,
.pkp_page_register h1,
.pkp_page_user h1 {
    margin: 0 0 24px;
    color: #17245a;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
}

.pkp_page_login form,
.pkp_page_register form,
.pkp_page_user form {
    max-width: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.pkp_page_login fieldset,
.pkp_page_register fieldset,
.pkp_page_user fieldset {
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

.pkp_page_login legend,
.pkp_page_register legend,
.pkp_page_user legend {
    display: block;
    width: 100%;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef0f6;
    color: #17245a;
    font-size: 22px;
    font-weight: 800;
}

.pkp_page_login label,
.pkp_page_register label,
.pkp_page_user label {
    display: block;
    margin: 0 0 8px;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.pkp_page_login input[type="text"],
.pkp_page_login input[type="email"],
.pkp_page_login input[type="password"],
.pkp_page_register input[type="text"],
.pkp_page_register input[type="email"],
.pkp_page_register input[type="password"],
.pkp_page_register select,
.pkp_page_user input[type="text"],
.pkp_page_user input[type="email"],
.pkp_page_user input[type="password"],
.pkp_page_user select {
    display: block;
    width: 100%;
    max-width: 520px;
    height: 46px;
    margin: 0 0 16px;
    padding: 0 14px;
    border: 1px solid #d7dce8;
    border-radius: 4px;
    background: #ffffff;
    color: #111827;
    font-size: 15px;
}

.pkp_page_login input:focus,
.pkp_page_register input:focus,
.pkp_page_user input:focus,
.pkp_page_register select:focus {
    border-color: #3155d4;
    outline: 3px solid rgba(49, 85, 212, 0.12);
}

.pkp_page_login input[type="checkbox"],
.pkp_page_register input[type="checkbox"],
.pkp_page_user input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    vertical-align: middle;
}

.pkp_page_login .buttons,
.pkp_page_register .buttons,
.pkp_page_user .buttons {
    margin-top: 20px;
}

.pkp_page_login button,
.pkp_page_login input[type="submit"],
.pkp_page_register button,
.pkp_page_register input[type="submit"],
.pkp_page_user button,
.pkp_page_user input[type="submit"] {
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 4px;
    background: #27356f;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.pkp_page_login button:hover,
.pkp_page_login input[type="submit"]:hover,
.pkp_page_register button:hover,
.pkp_page_register input[type="submit"]:hover {
    background: #17245a;
}

.pkp_page_login a,
.pkp_page_register a,
.pkp_page_user a {
    color: #3155d4;
    font-weight: 600;
    text-decoration: none;
}

.pkp_page_login a:hover,
.pkp_page_register a:hover,
.pkp_page_user a:hover {
    text-decoration: underline;
}

/* Fix checkbox rows */
.pkp_page_login label input[type="checkbox"],
.pkp_page_register label input[type="checkbox"] {
    display: inline-block;
}

.pkp_page_login label:has(input[type="checkbox"]),
.pkp_page_register label:has(input[type="checkbox"]) {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 500;
    line-height: 1.6;
}

/* Older OJS field wrappers */
.pkp_page_login .fields,
.pkp_page_register .fields {
    margin: 0;
    padding: 0;
}

.pkp_page_login .field,
.pkp_page_register .field {
    margin-bottom: 18px;
}

/* Mobile */
@media (max-width: 700px) {
    .pkp_page_login .pkp_structure_content,
    .pkp_page_register .pkp_structure_content,
    .pkp_page_user .pkp_structure_content {
        padding: 28px 16px 48px;
    }

    .pkp_page_login h1,
    .pkp_page_register h1,
    .pkp_page_user h1 {
        font-size: 34px;
    }

    .pkp_page_login input[type="text"],
    .pkp_page_login input[type="email"],
    .pkp_page_login input[type="password"],
    .pkp_page_register input[type="text"],
    .pkp_page_register input[type="email"],
    .pkp_page_register input[type="password"],
    .pkp_page_register select {
        max-width: 100%;
    }
}

/* =====================================================
   Final layout fix - header, search, content, footer
===================================================== */

/* Page shell */
.pkp_structure_page {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.pkp_structure_content {
    max-width: 100%;
    margin: 0;
    padding:20px;
}

/* Top ISSN strip */
.fj-topbar {
    height: auto;
    background: #ffffff;
    border-bottom: 1px solid #eef0f6;
}

.fj-topbar-inner {
    min-height: 42px;
    padding: 0 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand row */
.fj-brandbar-inner {
    max-width: 1280px;
    min-height: 120px;
    padding: 28px 44px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.fj-site-title {
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    color: #33407c;
}

.fj-site-subtitle {
    font-size: 15px;
    font-weight: 700;
    color: #667085;
}

/* Navigation row */
.fj-navbar-inner,
.fj-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: stretch;
    gap: 0;
}

/* Main nav */
.fj-primary-nav,
.fj-main-nav {
    min-width: 0;
    display: flex;
    align-items: center;
    padding-left: 28px;
}

.fj-primary-nav .pkp_navigation_primary,
.fj-primary-nav > ul,
.fj-main-nav ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fj-primary-nav .pkp_navigation_primary > li,
.fj-main-nav li {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.fj-primary-nav .pkp_navigation_primary > li > a,
.fj-main-nav a {
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 0 13px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.fj-primary-nav .pkp_navigation_primary > li > a:hover,
.fj-main-nav a:hover {
    background: #303763;
    color: #ffffff;
    text-decoration: none;
}

/* Search block */
/* .fj-search {
    width: 100%;
    height: 72px;
    margin: 0;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    box-shadow: none;
} */

.fj-search input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 42px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
}

.fj-search button {
    width: 78px;
    min-width: 0;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #ffffff;
    color: #17245a;
    font-size: 13px;
    font-weight: 800;
}

/* Register/Login page content */
.pkp_page_register .pkp_structure_content,
.pkp_page_login .pkp_structure_content,
.pkp_page_user .pkp_structure_content {
    padding: 36px 24px 0;
}

/* Footer should align with content, not look detached */
.fj-footer {
    width: 100%;
    margin: 0;
    background: #22283f;
}

.fj-footer__inner {
    max-width: 1200px;
    padding: 46px 24px 34px;
}

.fj-footer__bottom {
    max-width: 1200px;
}

@media (max-width: 1050px) {
    .fj-navbar-inner,
    .fj-nav-inner {
        grid-template-columns: 1fr;
    }

    .fj-primary-nav,
    .fj-main-nav {
        padding: 0 18px;
        overflow-x: auto;
    }

    .fj-search {
        height: auto;
        padding: 14px 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
}

@media (max-width: 700px) {
    .fj-topbar-inner,
    .fj-brandbar-inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .fj-brandbar-inner {
        min-height: auto;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .fj-site-title {
        font-size: 25px;
    }

    .fj-primary-nav .pkp_navigation_primary,
    .fj-main-nav ul {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .fj-primary-nav .pkp_navigation_primary > li > a,
    .fj-main-nav a {
        min-height: 44px;
        padding: 0;
    }

    .fj-search {
        flex-direction: column;
        align-items: stretch;
    }

    .fj-search input,
    .fj-search button {
        width: 100%;
    }

    .pkp_page_register .pkp_structure_content,
    .pkp_page_login .pkp_structure_content,
    .pkp_page_user .pkp_structure_content {
        padding: 28px 16px 0;
    }

    .fj-footer__inner {
        grid-template-columns: 1fr;
    }
}

.fj-primary-nav ul::-webkit-scrollbar {
    display: none;
}

.page,
.pkp_page_index .page,
.pkp_page_announcement .page,
.pkp_page_issue .page,
.pkp_page_about .page,
.pkp_page_search .page,
.pkp_page_login .page,
.pkp_page_register .page {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 36px 32px 56px; */
    box-sizing: border-box;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Avoid double-padding on custom homepage/article layouts */
.fj-homepage,
.fj-article-page,
.fj-page {
    box-sizing: border-box;
}

.fj-footer .fj-wrap,
.fj-footer-inner,
.fj-footer-bottom {
    max-width: 100%;
    box-sizing: border-box;
}

.fj-footer-inner {
    padding-left: 32px;
    padding-right: 32px;
}

.fj-footer-bottom {
    padding-left: 32px;
    padding-right: 32px;
}

/* ================================
   Mobile
================================ */

@media (max-width: 900px) {
    .pkp_structure_page {
        max-width: 100%;
        box-shadow: none;
    }

    .fj-navbar-inner {
        grid-template-columns: 1fr;
        padding: 0 16px 14px;
        gap: 10px;
    }

    .fj-primary-nav a {
        min-height: 54px;
        padding: 0 12px;
    }

    .fj-search {
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr) 90px;
    }

    .fj-search button {
        width: 90px;
    }

    .page,
    .pkp_page_index .page,
    .pkp_page_announcement .page,
    .pkp_page_issue .page,
    .pkp_page_about .page,
    .pkp_page_search .page,
    .pkp_page_login .page,
    .pkp_page_register .page {
        padding: 28px 18px 44px;
    }

    .fj-footer-inner,
    .fj-footer-bottom {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* =========================================
   Search Page Refinement
========================================= */

.page_search {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 18px 56px;
}

.page_search h1 {
    font-size: 36px;
    color: #25346b;
    margin: 0 0 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5e7f0;
}

.page_search form {
    background: #ffffff;
    border: 1px solid #e5e7f0;
    border-radius: 10px;
    padding: 26px;
    box-shadow: 0 8px 24px rgba(20, 30, 70, 0.05);
}

.page_search form > label,
.page_search form > .label {
    display: block;
    font-weight: 700;
    color: #25346b;
    margin-bottom: 8px;
}

.page_search input[type="text"],
.page_search input[type="search"],
.page_search select {
    height: 42px;
    border: 1px solid #cfd4e6;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 14px;
    background: #fff;
    color: #222;
}

.page_search input[type="text"],
.page_search input[type="search"] {
    min-width: 320px;
}

.page_search fieldset {
    border: 1px solid #e0e4f2;
    border-radius: 10px;
    padding: 22px;
    margin: 20px 0;
    background: #f8f9fc;
}

.page_search legend {
    padding: 0 10px;
    font-weight: 700;
    color: #25346b;
    font-size: 15px;
}

.page_search fieldset fieldset {
    background: #ffffff;
    border-color: #e5e7f0;
    margin: 16px 0;
}

.page_search button,
.page_search input[type="submit"] {
    background: #25346b;
    color: #ffffff;
    border: 1px solid #25346b;
    border-radius: 6px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.page_search button:hover,
.page_search input[type="submit"]:hover {
    background: #3f4778;
    border-color: #3f4778;
}

.page_search .cmp_button {
    background: #25346b;
    color: #ffffff !important;
    border-radius: 6px;
    padding: 11px 22px;
}

.page_search h2 {
    font-size: 26px;
    color: #25346b;
    margin-top: 38px;
    margin-bottom: 18px;
}

.page_search .search_results,
.page_search .cmp_search_results,
.page_search .obj_article_summary,
.page_search .obj_issue_summary {
    background: #ffffff;
    border: 1px solid #e5e7f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
}

.page_search .obj_article_summary .title,
.page_search .obj_issue_summary .title {
    font-size: 18px;
    font-weight: 700;
    color: #25346b;
}

.page_search .obj_article_summary .authors {
    color: #555;
    font-size: 14px;
    margin-top: 6px;
}

.page_search .obj_article_summary .meta {
    color: #777;
    font-size: 13px;
    margin-top: 8px;
}

.page_search .no_results,
.page_search p {
    font-size: 15px;
    color: #555;
}

/* Focus Journals Error / 404 Page */
.fj-error-page {
	width: 100%;
	background: #f6f8fb;
	padding: 70px 20px;
}

.fj-error-hero {
	max-width: 980px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 420px;
}

.fj-error-card {
	width: 100%;
	background: #ffffff;
	border: 1px solid #e5e9f0;
	border-radius: 18px;
	padding: 56px 42px;
	text-align: center;
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.fj-error-code {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	padding: 8px 16px;
	border-radius: 999px;
	background: #eef4ff;
	color: #1d4ed8;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.fj-error-card h1 {
	margin: 0 0 14px;
	color: #111827;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.15;
	font-weight: 800;
}

.fj-error-card p {
	max-width: 680px;
	margin: 0 auto 30px;
	color: #4b5563;
	font-size: 17px;
	line-height: 1.7;
}

.fj-error-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
}

.fj-error-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 22px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
}

.fj-error-btn-primary {
	background: #1d4ed8;
	color: #ffffff;
}

.fj-error-btn-primary:hover {
	background: #1e40af;
	color: #ffffff;
}

.fj-error-btn-secondary {
	background: #ffffff;
	color: #1f2937;
	border: 1px solid #d1d5db;
}

.fj-error-btn-secondary:hover {
	background: #f3f4f6;
	color: #111827;
}

@media (max-width: 640px) {
	.fj-error-page {
		padding: 40px 14px;
	}

	.fj-error-card {
		padding: 36px 22px;
	}

	.fj-error-actions {
		flex-direction: column;
	}

	.fj-error-btn {
		width: 100%;
	}
}