/* ========== BASE LAYOUT AND BACKGROUND ========== */
html, body {
    margin: 0;
    padding: 0;
    background: #ffffff !important;
    background-image: none !important;
}

/* ========== PAGE STRUCTURE ========== */
.pkp_structure_content {
    background: #ffffff;
}

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

/* ========== HEADER AND SITE TITLE ========== */
.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 {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    padding-right: 0;
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ========== TYPOGRAPHY AND LINKS ========== */
h2 {
    color: #1e6022;
}

.page_title,
.name {
    color: #1e6022;
}

a {
    color: #1e6022;
    text-decoration: none;
}

a:hover {
    color: #155218;
}

/* ========== ARTICLE ELEMENTS ========== */
.obj_article_details .abstract {
    text-align: justify;
}

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

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

/* ========== BLOCK TITLES ========== */
.pkp_block .title {
    display: block;
    padding: 10px;
    text-align: left;
    background-color: #1e6022;
    color: white;
    font-weight: bold;
}

/* ========== SIDEBAR MENU STYLES ========== */
.menu-sidebar {
    font: bold 12px Arial, Verdana, sans-serif;
}

.menu-sidebar li a {
    text-decoration: none;
    border: 1px solid #1e6022;
    color: white;
    display: block;
    background-color: #1e6022;
    padding: 10px;
    margin-top: -5px;
    transition: 0.3s;
}

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

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

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

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

.sidebar img {
    max-width: 250px;
    height: auto;
}

/* ========== NAVIGATION HEADER BAR ========== */
.head-menu {
    border-bottom: 3px solid #1e6022;
    height: 50px;
}

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

/* ========== BADAN SECTION ========== */
.badan {
    margin-top: -15px;
}

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

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

/* ========== MOST READ STYLES ========== */
.most_read_article {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #1e6022;
    background-color: #1e6022;
    transition: background-color 0.3s;
}

.most_read_article:hover {
    background-color: #155218;
}

.most_read_article_title a {
    color: #4ab549;
    text-decoration: none;
}

.most_read_article_journal {
    color: #4ab549;
    font-size: 0.9em;
}

.most_read_article_journal .fa-eye {
    margin-right: 5px;
}

/* ========== SIDEBAR BATTERY EFFECT ========== */
.sidebar-item {
    position: relative;
    background-color: #ffffff;
    border: 2px solid #1e6022;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-item a {
    text-decoration: none;
    color: #1e6022;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.sidebar-item img {
    margin-right: 10px;
    width: 24px;
    height: 24px;
}

.sidebar-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #1e6022;
    z-index: 0;
    transition: width 0.4s ease;
}

.sidebar-item:hover::before {
    width: 100%;
}

.sidebar-item:hover a {
    color: #ffffff;
    position: relative;
    z-index: 1;
}
