/* ==========================================================================
   FACULTY OF LAW - UNIVERSITAS PATTIMURA
   OJS 3.5 CUSTOM CSS

   Version : 1.0
   Updated : 2026-07

   TABLE OF CONTENTS

   01. Variables
   02. Layout
   03. Top Bar
   04. Sidebar
   05. Homepage
   06. Article
   07. Article Metadata
   08. Research Metadata
   09. Footer
   10. Mobile
   ========================================================================== */


/* ==========================================================================
   01. VARIABLES
   ========================================================================== */

:root {

    --fh-primary: #012b44;
    --fh-primary-light: #0056b3;

    --fh-text: #2d3748;
    --fh-text-muted: #555;

    --fh-bg: #ffffff;
    --fh-hover: #f5f9fc;
    --fh-active: #e8f2ff;

    --fh-border: #d9e2ec;
    --fh-border-light: #edf2f7;

    --fh-radius: .5rem;

    --fh-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    --fh-shadow-hover: 0 4px 14px rgba(0, 0, 0, .08);

}


/* ==========================================================================
   02. LAYOUT
   ========================================================================== */

@media (min-width: 992px) {

    .pkp_structure_sidebar {
        padding-left: 1.5rem;
        box-sizing: border-box;
    }

}


/* ==========================================================================
   03. TOP BAR
   ========================================================================== */

.topbarfh {

    position: relative;
    z-index: 9999;

    padding: .5rem 0;

    background: var(--fh-primary);

    font-size: .82rem;

}

.topbarwrap {

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    gap: .75rem;

    width: min(95%, 1200px);
    margin: 0 auto;

}

.topbar-left {

    display: flex;
    flex-wrap: wrap;
    gap: 1rem;

}

.topbarfh a {

    color: #fff;
    text-decoration: none;
    font-weight: 500;

    transition: opacity .2s ease;

}

.topbarfh a:hover {

    opacity: .8;

}


/* ==========================================================================
   04. SIDEBAR
   ========================================================================== */

/* Sidebar card */

.pkp_structure_sidebar>.pkp_block {

    margin-bottom: 1.25rem;

    background: var(--fh-bg);

    border: 1px solid var(--fh-border);
    border-radius: var(--fh-radius);

    overflow: hidden;

    box-shadow: var(--fh-shadow);

    transition: box-shadow .25s ease;

}

.pkp_structure_sidebar>.pkp_block:hover {

    box-shadow: var(--fh-shadow-hover);

}

/* Nested block */

.pkp_structure_sidebar .pkp_block .pkp_block {

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;

    background: transparent;

    box-shadow: none;

}

/* Screen reader title */

.pkp_structure_sidebar>.pkp_block>.pkp_screen_reader {

    display: none;

}

/* Sidebar title */

.pkp_structure_sidebar .title {

    margin: 0;

    padding: .9rem 1rem;

    background: var(--fh-primary);

    color: #fff;

    font-size: .95rem;
    font-weight: 600;
    line-height: 1.4;

}

/* Sidebar content */

.pkp_structure_sidebar .content {

    margin: 0;
    padding: 0;

    border: 0;

}

.pkp_structure_sidebar ul {

    margin: 0;
    padding: 0;

    list-style: none;

}

.pkp_structure_sidebar li {

    margin: 0;

    border-bottom: 1px solid var(--fh-border-light);

}

.pkp_structure_sidebar li:last-child {

    border-bottom: 0;

}

.pkp_structure_sidebar li a {

    display: flex;
    align-items: center;

    padding: .75rem 1rem;

    color: var(--fh-text);

    text-decoration: none;

    font-size: .95rem;
    line-height: 1.45;

    transition:
        background-color .2s ease,
        color .2s ease;

}

.pkp_structure_sidebar li a::before {

    content: "›";

    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 18px;
    margin-right: .6rem;

    text-align: center;

    color: var(--fh-primary-light);

    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;

    flex-shrink: 0;

}

.pkp_structure_sidebar li a:hover {

    background: var(--fh-hover);

    color: var(--fh-primary-light);

}

.pkp_structure_sidebar li.current a,
.pkp_structure_sidebar li a[aria-current="page"] {

    background: var(--fh-active);

    color: var(--fh-primary-light);

    font-weight: 600;

    border-left: 4px solid var(--fh-primary-light);

    padding-left: calc(1rem - 4px);

}

.pkp_structure_sidebar img {

    display: block;

    max-width: 100%;
    height: auto;

    margin: 0 auto;

}


/* ==========================================================================
   05. HOMEPAGE
   ========================================================================== */

.page_index_journal .current_issue .cover img {

    display: block;

    width: 50%;
    max-width: 320px;

    height: auto;

    margin: 0 auto;

}

.page_index_journal .homepage_image {

    margin-bottom: 2rem;

    text-align: center;

}

.page_index_journal .homepage_image img {

    display: inline-block;

    max-width: 500px;
    width: auto;
    height: auto;

}


/* ==========================================================================
   06. ARTICLE
   ========================================================================== */

.obj_article_details .item.abstract {

    text-align: justify;

    text-justify: inter-word;

    hyphens: auto;

}


/* ==========================================================================
   07. ARTICLE METADATA
   ========================================================================== */

.article-meta-extra {

    margin-top: .5rem;

    font-size: .9rem;

    color: var(--fh-text-muted);

}

.article-meta-extra a,
.doi a {

    text-decoration: none;

    word-break: break-word;

}

.doi,
.article-id {

    margin-top: .35rem;

    font-size: .9rem;

}


/* ==========================================================================
   08. RESEARCH METADATA
   ========================================================================== */

.item.crossmark {

    margin-top: .75rem;

}

.item.funding {

    margin-top: 1rem;

}

.dimensions-badge {

    margin-top: 1.25rem;

}

.dimensions-badge .label {

    margin-bottom: .5rem;

    font-size: 1rem;
    font-weight: 600;

}

.dimensions-badge .value {

    display: flex;
    align-items: center;

    margin-top: .5rem;

}

.app_affiliation {

    display: inline-flex;
    align-items: baseline;

    gap: .35rem;

}

/* Author affiliation */

.obj_article_details .authors .affiliation {

    line-height: 1.5;

}

.obj_article_details .authors .affiliation svg {

    width: 13px;
    height: 13px;

    vertical-align: -2px;

}

.obj_article_details .authors .affiliation a,
.obj_article_details .authors .affiliation span {

    vertical-align: baseline;

}


/* ==========================================================================
   09. FOOTER
   ========================================================================== */

.pkp_brand_footer {

    display: none !important;

}

footer a,
.pkp_footer_content a {

    text-decoration: none;

    transition: opacity .2s ease;

}

footer a:hover,
.pkp_footer_content a:hover {

    opacity: .75;

}


/* ==========================================================================
   10. MOBILE
   ========================================================================== */

@media (max-width: 991px) {

    .pkp_structure_sidebar {

        padding-left: 0;

    }

}

@media (max-width: 768px) {

    .topbarwrap {

        flex-direction: column;
        align-items: flex-start;

    }

    .page_index_journal .current_issue .cover img {

        width: 75%;
        max-width: 260px;

    }

}