html,body {
    background-image:
        linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)),
        url("https://static.vecteezy.com/system/resources/previews/017/388/128/non_2x/law-and-judgement-seamless-pattern-vector.jpg");
    background-size: auto, 320px 320px;
    background-repeat: repeat, repeat;
}

  .pkp_structure_content {
    background: #ffff;
  }

  /* tidak menampilkan logo PKP */ 
.pkp_brand_footer {
display: none;
}

  .pkp_site_name {padding-top: 0 !important; padding-bottom: 0 !important}
  .pkp_site_name > a {padding-top: 0; padding-bottom: 0;}
  .pkp_site_name .is_img img {max-height: 200px !important;}
  .pkp_site_name_wrapper {padding-left: 0; padding-right: 0;}
  .pkp_navigation_user_wrapper {top: 0; right: 0; padding-right:30px;}
  .pkp_structure_page {margin-top:  20px !important; margin-bottom:20 !important; padding-bottom: 20 !important;}


/* Judul artikel di detail */
.page_title {
    color: #991635;
}

/* nama penulis pada detail */
.name {
    color: #991635;
}

.pkp_block .title {
    display: block;
    padding: 10px;
    text-align: left;
    background-color: #991635;
    color: white;
    font-weight: bold;
}


  /* rata kiri kanan abstract */
.obj_article_details .abstract {
    text-align: justify;
  }

/* untuk daftar artikel */
a {
    color: #991635;
}

a:hover {
    color: #D8B35A;
}

.cmp_button_wire,
.obj_galley_link {
    background: #991635;
    border: 1px solid #991635;
    color: #fff;
}

.obj_article_summary {
    border: 1px solid #991635;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 3px 3px #991635;
}


/* header */
.pkp_site_name {
    padding-top: 0 !important;
    padding-bottom: 0 !important
}

.pkp_site_name>a {
    padding-top: 0;
    padding-bottom: 0;
}

.pkp_site_name .is_img img {
    max-height: 200px !important;
}

.pkp_site_name_wrapper {
    padding-left: 0;
    padding-right: 0;
}

.pkp_navigation_user_wrapper {
    top: 0;
    right: 0;
    padding-right: 30px;
}

.pkp_structure_page {
    margin-top: 20px !important;
    margin-bottom: 20 !important;
    padding-bottom: 20px !important;
}

/* Menu Side Bar  Menu Head*/

.head-menu {
    border-bottom: 3px #991635 solid;
    height: 50px;
}

.head-menu a {
    display: block;
    padding: 10px;
    text-align: left;
    background-color: #991635;
    color: white;
    font-weight: bold;
}

.menu-sidebar {
    font: bold 12px arial, verdana, sans-serif;
}

.menu-sidebar li a {
    text-decoration: none;
    border-top: 1px solid #991635; /* Warna garis atas */
    border-right: 1px solid #991635; /* Warna garis kanan */
    border-bottom: 1px solid #991635; /* Warna garis bawah */
    border-left: 1px solid #991635; /* Warna garis kiri */
    color: #991635;
    display: block;
    background-color: #F8F8F8;
    padding: 10px;
    margin-top: -5px;
    transition: 0.3s;
}




.menu-sidebar li a:hover {
    background-color: #991635;
    box-shadow: gray 2px 2px 2px;
    color: white;
    border-left: 5px solid #D8B35A;
    border-bottom: 5px solid #D8B35A;
}

.menu-sidebar ul {
    list-style: none;
    padding: 0px;
}

.menu-sidebar ul ul {
    position: absolute;
    top: 75px;
    left: 135px;
    visibility: hidden;
}

.menu-sidebar ul li:hover ul {
    visibility: visible;
}




.badan a {
    display: block;
    padding: 10px;
    border-bottom: 1px solid white;
    background: #F8F8F8;
    text-align: center;
    transition: 0.5s;
    color: black;

}

.badan {
    margin-top: -15px;
}


.badan a:hover {
    color: black !important;
    font-weight: bold;
    box-shadow: gray 0px 5px 10px 0px;
    display: fixed;
    position: relative
}


/* most read */
.most_read_article {
    padding: 10px; /* Menambahkan padding di sekitar setiap artikel */
    margin-bottom: 10px; /* Memberikan jarak antar artikel */
    border: 1px solid #991635; /* Garis di sekeliling setiap artikel */
    background-color: #f8f8f8; /* Warna latar belakang artikel */   
    transition: background-color 0.3s; /* Menambahkan transisi saat hover */
}

.most_read_article:hover {
    background-color: #e6e6e6; /* Mengubah warna latar belakang saat di-hover */
}

.most_read_article_title a {
    color: #991635; /* Warna teks link */
    text-decoration: none; /* Menghilangkan garis bawah pada link */   
}

.most_read_article_journal {
    color: #991635; /* Warna teks untuk views (jumlah tampilan) */
    font-size: 0.9em; /* Ukuran teks yang lebih kecil untuk views */
}

.most_read_article_journal .fa-eye {
    margin-right: 5px; /* Jarak antara ikon mata dan teks */
}

h2 {
    color: #991635; /* Mengubah warna teks menjadi biru */
}

/* footer */
.pkp_structure_footer_wrapper {
    background-color: #B8163B !important;
    border-bottom-color: #D8B35A !important;
}

.pkp_structure_footer {
    background-color: #B8163B !important;
    color: #FFFFFF !important;
}

.pkp_footer_content {
    background-color: #B8163B !important;
    color: #FFFFFF !important;
}

.pkp_structure_footer a,
.pkp_structure_footer p,
.pkp_structure_footer div {
    color: #FFFFFF !important;
}

.pkp_structure_footer a:hover,
.pkp_structure_footer a:focus {
    color: #D8B35A !important;
}

/* ========= Journal Info ========= */
.journal-info-wrapper {
    display: flex;
    align-items: stretch;
    gap: 20px;
    width: 100%;
}

.cover-container {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
}

.journal-cover {
    height: 100%;
    object-fit: contain;
    max-width: 210px;
    display: block;
}

.journal-info-table {
    flex: 1 1 auto;
    background-color: #f0f0f0;
    border-collapse: collapse;
    width: 100%;
    height: auto;
}

.journal-info-table td {
    padding: 8px 12px;
    vertical-align: top;
    border-bottom: 1px solid #d9d9d9;
}

.journal-info-table tr:last-child td {
    border-bottom: 0;
}

.journal-info-table td:first-child {
    font-weight: bold;
    width: 25%;
    white-space: nowrap;
}

.journal-info-table a {
    color: #981635;
    font-weight: bold;
    text-decoration: none;
}

.journal-info-table a:hover,
.journal-info-table a:focus {
    color: #B89038;
    text-decoration: underline;
}


/* ========= Indexing ========= */
.indexing-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.indexing-card {
    flex: 1 1 180px;
    height: 85px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #dedede;
    border-radius: 6px;
    text-decoration: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.indexing-card img {
    display: block;
    width: 160px;
    height: 55px;
    max-width: 100%;
    object-fit: contain;
}

.indexing-card:hover,
.indexing-card:focus {
    border-color: #D8B35A;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.10);
    transform: translateY(-1px);
}


/* ========= Responsive Journal Info ========= */
@media (max-width: 768px) {
    .journal-info-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .cover-container {
        width: 100%;
        justify-content: center;
    }

    .journal-cover {
        height: auto;
        width: 100%;
        max-width: 210px;
    }

    .journal-info-table td:first-child {
        width: 34%;
        white-space: normal;
    }

    .indexing-card {
        flex: 1 1 140px;
    }
}

/* ========= Typography: follow OJS theme ========= */
#journalDescription,
#journalDescription *,
.journal-info-wrapper,
.journal-info-table,
.indexing-list,
.indexing-card {
    font-family: inherit !important;
}

/* ========= Journal Info Spacing Fix ========= */
.journal-info-table td {
    padding: 8px 12px;
    vertical-align: middle;
    line-height: 1.45;
}

.journal-info-table p {
    margin: 0 !important;
    padding: 0 !important;
}

.journal-info-table .editor-entry + .editor-entry {
    margin-top: 4px;
}
