/* ========================================================================
   IJASET Prototype Pro — OJS 3.3.x / PHP 7.4
   Professional scientific-journal skin inspired by the supplied prototype.
   ======================================================================== */

:root {
    --ijaset-navy: #073f67;
    --ijaset-navy-2: #00557f;
    --ijaset-blue: #096da3;
    --ijaset-cyan: #1696c8;
    --ijaset-link: #006ea8;
    --ijaset-ink: #102538;
    --ijaset-muted: #5e7182;
    --ijaset-line: #d9e2e9;
    --ijaset-bg: #f3f6f8;
    --ijaset-panel: #ffffff;
    --ijaset-soft: #eef5f8;
    --ijaset-shadow: 0 8px 28px rgba(25, 55, 75, .09);
    --ijaset-radius: 5px;
    --ijaset-radius-lg: 9px;
    --ijaset-content: 1240px;
}

/* Base ------------------------------------------------------------------ */
html {
    background: var(--ijaset-bg);
}

body {
    margin: 0;
    color: var(--ijaset-ink);
    background: var(--ijaset-bg);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
    font-family: Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #0a1d2d;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--ijaset-link);
    transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

a:hover,
a:focus {
    color: #004d79;
}

img {
    max-width: 100%;
}

.pkp_structure_content,
.pkp_head_wrapper,
.pkp_structure_footer_wrapper {
    max-width: var(--ijaset-content);
    margin-right: auto;
    margin-left: auto;
}

.pkp_structure_page {
    background: transparent;
}

/* Header ---------------------------------------------------------------- */
.pkp_structure_head {
    position: relative;
    z-index: 100;
    background: #fff;
    border: 0;
    box-shadow: 0 1px 0 rgba(17, 49, 70, .08);
    transition: box-shadow .2s ease;
}

.pkp_structure_head.ijaset_head_scrolled {
    box-shadow: 0 6px 20px rgba(20, 52, 72, .12);
}

.pkp_head_wrapper {
    padding-top: 18px;
}

.pkp_site_name {
    padding-top: 0;
    padding-bottom: 16px;
    text-align: left;
}

.pkp_site_name_wrapper {
    min-height: 70px;
}

.pkp_site_name .is_img img {
    max-height: 70px;
    width: auto;
}

.pkp_site_name .is_text {
    color: var(--ijaset-navy);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

.pkp_navigation_user_wrapper {
    top: 12px;
}

.pkp_navigation_user > li > a,
.pkp_navigation_user > li > button {
    color: #294b61;
    font-size: 12px;
    font-weight: 600;
}

.pkp_navigation_primary_wrapper {
    margin-right: calc((100vw - 100%) / -2);
    margin-left: calc((100vw - 100%) / -2);
    padding: 0 max(20px, calc((100vw - var(--ijaset-content)) / 2));
    background: linear-gradient(90deg, #005279 0%, #075e8a 55%, #064e78 100%);
    border: 0;
}

.pkp_navigation_primary {
    margin: 0;
}

.pkp_navigation_primary > li > a {
    padding: 13px 18px;
    color: #fff;
    border: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .01em;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus,
.pkp_navigation_primary > li.current > a {
    color: #fff;
    background: rgba(0, 185, 231, .22);
}

.pkp_navigation_primary > li:first-child > a {
    border-left: 1px solid rgba(255,255,255,.08);
}

.pkp_navigation_primary ul {
    background: #fff;
    border: 1px solid var(--ijaset-line);
    border-radius: 0 0 5px 5px;
    box-shadow: var(--ijaset-shadow);
}

.pkp_navigation_primary ul a {
    color: var(--ijaset-ink);
}

.pkp_navigation_primary ul a:hover,
.pkp_navigation_primary ul a:focus {
    color: var(--ijaset-navy);
    background: #eff7fb;
}

.pkp_search {
    color: #fff;
}

/* Main structure -------------------------------------------------------- */
.pkp_structure_content {
    padding-top: 22px;
    padding-bottom: 34px;
}

.pkp_structure_main {
    padding-top: 0;
}

.page,
.page_index_journal {
    color: var(--ijaset-ink);
}

.pkp_structure_main:before,
.pkp_structure_main:after {
    border-color: transparent;
}

/* Homepage hero --------------------------------------------------------- */
.ijaset_home {
    margin-top: -22px;
}

.ijaset_hero {
    position: relative;
    min-height: 350px;
    margin-right: -30px;
    margin-left: -30px;
    overflow: hidden;
    background: linear-gradient(120deg, #073a5d 0%, #005a87 100%);
    color: #fff;
}

.ijaset_hero_media,
.ijaset_hero_overlay {
    position: absolute;
    inset: 0;
}

.ijaset_hero_media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(.85) contrast(1.02);
}

.ijaset_hero_overlay {
    background:
        linear-gradient(90deg, rgba(2, 43, 72, .96) 0%, rgba(2, 48, 79, .88) 46%, rgba(4, 62, 95, .44) 72%, rgba(4, 54, 83, .18) 100%),
        linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.16));
}

.ijaset_hero_inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 50px;
    align-items: center;
    max-width: 1120px;
    min-height: 350px;
    margin: 0 auto;
    padding: 42px 28px 54px;
}

.ijaset_hero_copy {
    max-width: 720px;
}

.ijaset_hero h1 {
    max-width: 760px;
    margin: 0 0 13px;
    color: #fff;
    font-size: 38px;
    line-height: 1.08;
    text-shadow: 0 2px 12px rgba(0,0,0,.12);
}

.ijaset_hero_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 16px;
    color: rgba(255,255,255,.92);
    font-size: 13px;
    font-weight: 600;
}

.ijaset_hero_meta span {
    position: relative;
    margin-right: 12px;
    padding-right: 12px;
}

.ijaset_hero_meta span:not(:last-child):after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 13px;
    background: rgba(255,255,255,.45);
    content: '';
    transform: translateY(-50%);
}

.ijaset_hero_description {
    max-width: 700px;
    margin-bottom: 24px;
    color: rgba(255,255,255,.92);
    font-size: 14px;
    line-height: 1.65;
}

.ijaset_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.ijaset_btn_primary {
    color: #fff;
    background: linear-gradient(180deg, #0c7ab4 0%, #05669b 100%);
    border-color: rgba(255,255,255,.24);
    box-shadow: 0 5px 15px rgba(0,0,0,.16);
}

.ijaset_btn_primary:hover,
.ijaset_btn_primary:focus {
    color: #fff;
    background: #0885c4;
    transform: translateY(-1px);
}

.ijaset_btn_outline {
    color: var(--ijaset-link);
    background: #fff;
    border-color: #2b8db7;
}

.ijaset_btn_outline:hover,
.ijaset_btn_outline:focus {
    color: #fff;
    background: var(--ijaset-blue);
}

.ijaset_hero_journal_card {
    justify-self: end;
    width: 205px;
    padding: 12px;
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(255,255,255,.5);
    box-shadow: 0 14px 30px rgba(0,0,0,.22);
}

.ijaset_hero_journal_thumb {
    display: block;
    width: 100%;
    max-height: 210px;
    object-fit: contain;
    background: #fff;
}

.ijaset_hero_journal_mark {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 18px;
    color: #fff;
    background: linear-gradient(145deg, #083f68, #076d98);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.ijaset_open_access_badge {
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    margin-top: 11px;
    padding: 7px 6px 2px;
    color: #475867;
    font-size: 9px;
    line-height: 1.1;
}

.ijaset_oa_icon {
    color: #f7931e;
    font-size: 23px;
}

/* Metric strip ---------------------------------------------------------- */
.ijaset_metrics {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: -26px 18px 28px;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce6ec;
    border-radius: 7px;
    box-shadow: 0 8px 20px rgba(25, 57, 78, .12);
}

.ijaset_metric {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 10px 14px;
    border-right: 1px solid #e3eaee;
}

.ijaset_metric:last-child {
    border-right: 0;
}

.ijaset_metric_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #0b76ad;
    border: 1px solid #b9d6e4;
    border-radius: 5px;
    font-size: 15px;
}

.ijaset_metric strong,
.ijaset_metric span {
    display: block;
}

.ijaset_metric strong {
    color: #09223a;
    font-size: 17px;
    line-height: 1.1;
}

.ijaset_metric div > span {
    margin-top: 3px;
    color: #667989;
    font-size: 10px;
}

/* Home sections --------------------------------------------------------- */
.ijaset_panel,
.page:not(.page_article):not(.ijaset_home) {
    margin-bottom: 26px;
    padding: 24px 24px 26px;
    background: #fff;
    border: 1px solid #e0e7ec;
    border-radius: var(--ijaset-radius);
    box-shadow: 0 3px 12px rgba(34, 62, 80, .035);
}

.ijaset_section_heading {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 13px;
}

.ijaset_section_heading h2,
.ijaset_panel > h2 {
    margin: 0;
    font-size: 24px;
}

.ijaset_text_link {
    color: var(--ijaset-link);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.ijaset_current_issue .current_issue_title {
    margin-top: 5px;
    color: var(--ijaset-navy);
    font-size: 15px;
    font-weight: 700;
}

/* OJS issue/article lists ---------------------------------------------- */
.obj_issue_toc .heading {
    margin-bottom: 10px;
}

.obj_issue_toc .cover {
    width: 150px;
    margin-right: 22px;
}

.obj_issue_toc .cover img {
    border: 1px solid #d9e0e6;
    box-shadow: 0 3px 8px rgba(20, 48, 68, .1);
}

.obj_issue_toc .sections {
    margin-top: 8px;
}

.obj_article_summary {
    position: relative;
    padding-top: 11px;
    padding-bottom: 11px;
    border-bottom: 1px solid #e6ebef;
}

.obj_article_summary:last-child {
    border-bottom: 0;
}

.obj_article_summary .title,
.obj_article_summary .title a {
    color: #074d77;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.obj_article_summary .title a:hover {
    color: #0785bd;
}

.obj_article_summary .authors,
.obj_article_summary .meta {
    color: #697c89;
    font-size: 11px;
}

.obj_article_summary .galleys_links a,
.obj_galley_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    padding: 0 10px;
    color: #006fa8;
    background: #fff;
    border: 1px solid #1685bb;
    border-radius: 4px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
}

.obj_article_summary .galleys_links a:hover,
.obj_galley_link:hover {
    color: #fff;
    background: #0675ac;
}

.ijaset_latest_articles .obj_article_summary,
.pkp_page_index .obj_article_summary {
    padding-left: 0;
}

.ijaset_about_body {
    color: #4b5e6d;
}

/* Sidebar --------------------------------------------------------------- */
.pkp_structure_sidebar {
    padding-top: 0;
}

.pkp_structure_sidebar .pkp_block {
    margin-bottom: 18px;
    padding: 17px 17px 18px;
    background: #fff;
    border: 1px solid #dfe7ec;
    border-radius: var(--ijaset-radius);
    box-shadow: 0 3px 12px rgba(34, 62, 80, .035);
}

.pkp_structure_sidebar .title,
.pkp_structure_sidebar h2,
.pkp_structure_sidebar h3 {
    margin-top: 0;
    color: #12344e;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.pkp_structure_sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pkp_structure_sidebar li {
    padding: 7px 0;
    border-bottom: 1px solid #edf1f4;
}

.pkp_structure_sidebar li:last-child {
    border-bottom: 0;
}

.pkp_structure_sidebar a {
    color: #205c7f;
    text-decoration: none;
    font-size: 12px;
}

/* Generic page styling -------------------------------------------------- */
.page h1 {
    margin-top: 0;
    font-size: 27px;
}

.page h2 {
    font-size: 21px;
}

.cmp_breadcrumbs {
    margin-bottom: 16px;
}

.cmp_breadcrumbs ol {
    color: #78909f;
    font-size: 11px;
}

.cmp_breadcrumbs a {
    color: #1784b7;
    text-decoration: none;
}

/* Article page ---------------------------------------------------------- */
.page_article {
    margin-bottom: 24px;
    padding: 24px;
    background: #fff;
    border: 1px solid #dee6eb;
    border-radius: var(--ijaset-radius);
    box-shadow: 0 4px 16px rgba(24, 55, 76, .05);
}

.obj_article_details {
    color: #243a4a;
}

.obj_article_details .page_title,
.obj_article_details h1 {
    max-width: 820px;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.12;
}

.obj_article_details .authors,
.obj_article_details .author_bios {
    color: #273d4d;
    font-size: 12px;
}

.obj_article_details .main_entry {
    width: calc(100% - 300px);
    padding-right: 30px;
}

.obj_article_details .entry_details {
    width: 280px;
    padding: 0;
    background: #fff;
}

.obj_article_details .entry_details > .item {
    margin: 0;
    padding: 16px;
    border: 1px solid #dce5ea;
    border-bottom: 0;
}

.obj_article_details .entry_details > .item:first-child {
    border-radius: 5px 5px 0 0;
}

.obj_article_details .entry_details > .item:last-child {
    border-bottom: 1px solid #dce5ea;
    border-radius: 0 0 5px 5px;
}

.obj_article_details .item .label,
.obj_article_details .label {
    color: #182f40;
    font-size: 12px;
    font-weight: 700;
}

.obj_article_details .abstract,
.obj_article_details .references {
    color: #3d5363;
    font-size: 13px;
    line-height: 1.58;
}

.obj_article_details .keywords .value,
.obj_article_details .keywords span {
    display: inline-block;
    margin: 2px 4px 2px 0;
    padding: 4px 7px;
    color: #355568;
    background: #edf3f6;
    border-radius: 3px;
    font-size: 10px;
}

.obj_article_details .galleys .obj_galley_link,
.obj_article_details .galleys_links a {
    min-height: 40px;
    padding: 0 22px;
    color: #fff;
    background: linear-gradient(#0c7db7, #08699b);
    border: 1px solid #055b88;
    border-radius: 4px;
    font-size: 12px;
}

/* Archive pages --------------------------------------------------------- */
.page_issue_archive .issues_archive,
.page_issue_archive .issues {
    margin: 0;
    padding: 0;
}

.page_issue_archive .obj_issue_summary {
    margin-bottom: 12px;
    padding: 16px;
    background: #f7fafc;
    border: 1px solid #dce5ea;
    border-radius: 4px;
}

.page_issue_archive .obj_issue_summary .title,
.page_issue_archive .obj_issue_summary h2,
.page_issue_archive .obj_issue_summary h3 {
    color: #124d72;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.page_issue_archive .obj_issue_summary .cover img {
    border: 1px solid #d7e0e6;
    box-shadow: 0 2px 8px rgba(20,48,68,.08);
}

/* Editorial team / About / Static pages -------------------------------- */
.page_editorial_team,
.page_about,
.page_contact,
.page_submissions,
.page_information {
    color: #354c5d;
}

.page_editorial_team img,
.page_about img {
    border-radius: 3px;
}

.page_editorial_team ul,
.page_about ul {
    padding-left: 20px;
}

/* Forms ----------------------------------------------------------------- */
.cmp_form input[type='text'],
.cmp_form input[type='email'],
.cmp_form input[type='password'],
.cmp_form select,
.cmp_form textarea {
    border-color: #cbd9e2;
    border-radius: 3px;
}

.cmp_button,
.pkp_button,
button.pkp_button,
input[type='submit'] {
    color: #fff;
    background: #0875aa;
    border: 1px solid #056291;
    border-radius: 4px;
    font-weight: 700;
}

.cmp_button:hover,
.pkp_button:hover,
button.pkp_button:hover,
input[type='submit']:hover {
    color: #fff;
    background: #075f8c;
}

/* Footer ---------------------------------------------------------------- */
.pkp_structure_footer_wrapper {
    max-width: none;
    padding: 0;
    background: linear-gradient(100deg, #073e63 0%, #00557f 100%);
}

.pkp_structure_footer {
    max-width: var(--ijaset-content);
    margin: 0 auto;
    padding: 34px 28px 24px;
    color: rgba(255,255,255,.9);
    background: transparent;
}

.pkp_structure_footer p,
.pkp_structure_footer li,
.pkp_structure_footer small {
    color: rgba(255,255,255,.82);
}

.pkp_structure_footer a {
    color: #fff;
}

.pkp_brand_footer {
    opacity: .8;
}

/* Utility / polish ------------------------------------------------------ */
.ijaset_external_link:after {
    content: '';
}

.pkp_block .content img {
    height: auto;
}

.pkp_page_index .cmp_announcements,
.cmp_announcements {
    margin-bottom: 24px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #dfe7ec;
    border-radius: var(--ijaset-radius);
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
    .ijaset_hero_inner {
        grid-template-columns: minmax(0, 1fr) 200px;
        gap: 28px;
    }

    .ijaset_metrics {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .ijaset_metric {
        gap: 8px;
        padding-right: 8px;
        padding-left: 8px;
    }
}

@media (max-width: 900px) {
    .pkp_head_wrapper {
        padding-top: 10px;
    }

    .pkp_site_name_wrapper {
        min-height: 58px;
    }

    .pkp_site_name .is_img img {
        max-height: 52px;
    }

    .ijaset_hero {
        margin-right: -20px;
        margin-left: -20px;
    }

    .ijaset_hero_inner {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 34px 24px 52px;
    }

    .ijaset_hero_journal_card {
        display: none;
    }

    .ijaset_metrics {
        grid-template-columns: repeat(3, 1fr);
        margin-right: 8px;
        margin-left: 8px;
    }

    .ijaset_metric:nth-child(3) {
        border-right: 0;
    }

    .ijaset_metric:nth-child(-n+3) {
        border-bottom: 1px solid #e3eaee;
    }

    .ijaset_metric:nth-child(4),
    .ijaset_metric:nth-child(5) {
        grid-column: span 1;
    }

    .obj_article_details .main_entry,
    .obj_article_details .entry_details {
        float: none;
        width: 100%;
    }

    .obj_article_details .main_entry {
        padding-right: 0;
    }

    .obj_article_details .entry_details {
        margin-top: 24px;
    }
}

@media (max-width: 700px) {
    body {
        font-size: 14px;
    }

    .pkp_structure_content {
        padding-top: 14px;
    }

    .pkp_navigation_primary_wrapper {
        padding-right: 12px;
        padding-left: 12px;
    }

    .ijaset_home {
        margin-top: -14px;
    }

    .ijaset_hero {
        min-height: 0;
        margin-right: -10px;
        margin-left: -10px;
    }

    .ijaset_hero_inner {
        padding: 28px 20px 48px;
    }

    .ijaset_hero h1 {
        font-size: 27px;
    }

    .ijaset_hero_description {
        font-size: 12px;
    }

    .ijaset_metrics {
        grid-template-columns: repeat(3, 1fr);
        margin-top: -22px;
    }

    .ijaset_metric {
        min-height: 66px;
        flex-direction: column;
        gap: 3px;
        text-align: center;
    }

    .ijaset_metric_icon {
        display: none;
    }

    .ijaset_metric strong {
        font-size: 15px;
    }

    .ijaset_metric div > span {
        font-size: 9px;
    }

    .ijaset_metric:nth-child(4),
    .ijaset_metric:nth-child(5) {
        grid-column: auto;
    }

    .ijaset_panel,
    .page:not(.page_article):not(.ijaset_home),
    .page_article {
        padding: 18px 16px;
    }

    .ijaset_section_heading {
        align-items: flex-start;
    }

    .ijaset_section_heading h2,
    .ijaset_panel > h2 {
        font-size: 21px;
    }

    .obj_article_details .page_title,
    .obj_article_details h1 {
        font-size: 23px;
    }
}

@media (max-width: 430px) {
    .ijaset_metrics {
        grid-template-columns: repeat(3, 1fr);
    }

    .ijaset_metric:nth-child(4) {
        grid-column: 1 / 2;
    }

    .ijaset_metric:nth-child(5) {
        grid-column: 2 / 4;
        border-right: 0;
    }
}
