/* ================================
   GLOBAL LAYOUT CLEANUP
================================ */
body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background: #f7f7f7;
    color: #222;
    line-height: 1.6;
}

/* Card style for main boxes */
.pkp_structure_main {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.pkp_structure_content {
    background-color: #fff;
    padding-top: 0 !important;
}

/* ================================
   HEADER LOGO & NAVBAR
================================ */

.has_site_logo .pkp_site_name, .has_site_logo .pkp_navigation_primary_wrapper {
    width: auto;
}
.pkp_site_name .is_img img {
      display: inline-block;
    max-width: 100% !important;
    max-height: 200px;
    height: auto !important;
    width: auto;
}

.pkp_navigation_primary_wrapper {
    background: #003366;
    padding: 8px;
    border-radius: 6px;
}

.pkp_navigation_primary_wrapper a {
    color: #fff !important;
    font-weight: 500;
}

.pkp_navigation_primary_wrapper a:hover {
    color: #fc0!important;
}

/* Mobile menu button */
.pkp_site_nav_toggle {
    background: #003366;
    color: #fff;
    border-radius: 6px;
}
.pkp_nav_list ul li {
        display: block;
        background: #0070c9 !important;
        color: white !important;
}

/* ================================
   BLOCK MENU SIDEBAR
   ================================ */

#customblock-menusidebar table {
    width: 100%;
    border: none;
}

#customblock-menusidebar .title-menu td {
    background: #0056b3;
    color: white;
    padding: 8px 10px;
    font-weight: bold;
    border-radius: 6px;
    text-align: center;
}

#customblock-menusidebar .menu-link td a {
    display: block;
    padding: 8px 10px;
    margin: 4px 0;
    border-radius: 6px;
    background: #f1f5f9;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

#customblock-menusidebar .menu-link td a:hover {
    background: #0056b3;
    color: #ffffff;
}

#customblock-menusidebar .bagan td {
    text-align: center;
}

/* ================================
   BLOCK JURNAL TEMPLATE (Flag Counter)
   ================================ */
#customblock-jurnaltemplate .content {
    text-align: center;
}

#customblock-jurnaltemplate img {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid #e3e3e3;
}

/* ================================
   BLOCK RECOMMENDED TOOLS
   ================================ */
#customblock-tools .title-menu td {
    background: #0056b3;
    color: #ffffff;
    padding: 7px 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 6px;
}

#customblock-tools .bagan-menu td {
    padding: 10px 0;
    text-align: center;
}

#customblock-tools img {
    width: 100% !important;
    height: auto !important;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    transition: transform 0.3s;
}

#customblock-tools img:hover {
    transform: scale(1.03);
}

/* ================================
   BLOCK KEYWORD CLOUD
   ================================ */
.block_keyword_cloud {
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #e3e3e3;
}

.block_keyword_cloud h2.title {
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 10px;
    color: #0056b3;
    border-bottom: 2px solid #0056b3;
}

/* SVG Cloud responsive */
#wordcloud svg {
    max-width: 100%;
    height: auto;
}

/* Hover efek tambahan */
#wordcloud .keyword:hover {
    cursor: pointer;
    opacity: 1 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ================================
   BLOCK MAKE SUBMISSION
   ================================ */
.block_make_submission .block_make_submission_link {
    display: block;
    background: #0056b3;
    color: #ffffff !important;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s ease;
    text-decoration: none;
}

.block_make_submission .block_make_submission_link:hover {
    background: #003f80;
}

/* ================================
   BLOCK VISITOR (Flag Counter)
   ================================ */
#customblock-visitor .content {
    text-align: center;
}

#customblock-visitor img {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid #e3e3e3;
}


/* ================================
   ABOUT JOURNAL STYLE
================================ */
.homepage_about {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 5px solid #003366;
}

.homepage_about h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #003366;
}

.homepage_about table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.homepage_about table td {
    padding: 8px 10px;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
}

.homepage_about strong {
    color: #003366;
}

/* ================================
   CURRENT ISSUE BLOCK
================================ */
.current_issue {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    margin-top: 35px;
    border-left: 5px solid #003366;
}

.current_issue h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #003366;
}

.current_issue .current_issue_title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.current_issue .obj_issue_toc .cover img {
    width: 180px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* ================================
   ARTICLE LIST STYLE
================================ */
.obj_article_summary {
    background: #fafafa;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    margin-bottom: 15px;
    transition: 0.3s ease;
}

.obj_article_summary:hover {
    background: #f0f7ff;
    border-color: #cce0ff;
}

.obj_article_summary .title a {
    font-size: 17px;
    font-weight: 600;
    color: #003366 !important;
}

.obj_article_summary .meta .authors {
    color: #555;
}

.obj_galley_link.pdf {
    background: #003366;
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
    font-size: 14px;
}

.obj_galley_link.pdf:hover {
    background: #00264d;
}

/* ================================
   SIDEBAR FIX
================================ */
.pkp_structure_sidebar {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.pkp_block {
    margin-bottom: 25px;
    padding: 0 !important;
}

.pkp_block .title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #003366;
}

/* ================================
   FOOTER
================================ */
.pkp_structure_footer {
    background: #003366;
    padding: 20px 0;
    color: #fff;
}

.pkp_structure_footer a {
    color: #ffcc00 !important;
}

/* ================================
   INDEXING LOGO GRID
================================ */
.additional_content table img {
    filter: grayscale(0%) brightness(95%);
    transition: .3s;
}

.additional_content table img:hover {
    filter: grayscale(0%) brightness(110%);
    transform: scale(1.05);
}

@media (min-width: 992px) {
    .pkp_structure_content {
        padding-top: 0;
    }
}
