@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

/* ==========================================================================
   PERBAIKAN HEADER & LOGO
   ========================================================================== */

/* 1. Memaksa kontainer header melebar penuh & di tengah */
.pkp_structure_head,
.pkp_head_wrapper,
.has_site_logo .pkp_head_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 2. Menghapus offset margin-left 10%-20% lama yang bikin rata kanan */
.has_site_logo .pkp_head_wrapper .pkp_site_name,
.pkp_site_name {
    margin: 0 auto !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    float: none !important;
}

/* 3. Memastikan pembungkus gambar mengisi lebar kontainer */
.pkp_site_name .is_img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* 4. Mengatur gambar header agar tampil sempurna tanpa terpotong */
.pkp_site_name .is_img img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}


/* ==========================================================================
   TAMPILAN UMUM & BODY
   ========================================================================== */

body {
    font-family: 'Montserrat', sans-serif;
}

.issue-toc .row {
    margin-left: -15px;
    margin-right: -15px;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.animated.delay-1s {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
}

/* Perbaikan Sintaks Animation Keyframes */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0,100%,0);
        transform: translate3d(0,100%,0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

.article-summary:first-child {
    margin-top: -15px;
}

.article-summary {
    margin-left: 15px;
    margin-right: 15px;
}

.article-summary, .announcement-summary {
    box-shadow: 0 0.3rem 1.525rem -0.375rem #d7e4ed;
    padding: 15px;
    border: 1px solid #f4f4f4;
    border-radius: 5px;
    transition: all .5s ease-in-out;
    text-align: left;
    margin-bottom: -15px;
}

.panel .panel-default .panel-body, .pkp_block .content {
    box-shadow: 0 0.3rem 1.525rem -0.375rem #d7e4ed;
    padding: 15px;
    transition: all .5s ease-in-out;
    text-align: left;
    border: 0px;
}

.panel .pkp_block {
    margin-bottom: 20px;
    background-color: #fff;
    border: hidden;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
    box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
}

.panel-default, .pkp_block {
    border-color: white;
}

.page-header {
    font-family: 'Montserrat', serif;
    font-weight: 800;
    border: 0;
    margin: 20px auto 10px auto;
    position: relative;
    display: block;
}


/* ==========================================================================
   NAVBAR & SEARCH BAR
   ========================================================================== */

.navbar-search {
    display: inline-flex;
    padding: 8px 0;
    width: 100%;
    float: none;
    margin: 0 auto;
}

@media only screen and (min-width: 768px) {
    .navbar-search {
        display: inline-flex;
        float: left;
        width: 300px;
        margin-left: 40px;
        border: 0;
    }
}

input#search-bar {
    margin: 0 auto;
    border-radius: 50px;
    width: 100%;
    height: 34px;
    padding: 10px 10px 10px 15px;
    font-size: 14px;
    border: 1px solid #ccc;
    outline: 0;
    transition: .3s ease;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,0.075);
}

input#search-bar:focus {
    border-color: #17a2b8;
    box-shadow: none;
}

.search-icon {
    position: relative;
    width: 42px;
    height: 34px;
    top: -1px;
    right: 40px;
    outline: 0;
    border: 0;
    color: #999;
    background: 0;
    transition: .3s ease;
    z-index: 999;
}

.search-icon:hover {
    color: #ff7200;
}

.navbar {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    background-color: #fff;
}

.navbar-default {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 999;
    transition: .5s ease-in-out;
}

@media only screen and (min-width: 768px) {
    .navbar {
        padding-top: 0px;
        padding-bottom: 0px;
    }
}

.navbar-brand-logo {
    padding: 3px;
    height: 48px;
}

@media only screen and (min-width: 768px) {
    .navbar-brand-logo {
        padding: 5px 0;
        height: 58px;
        margin-right: 45px;
    }
}

.navbar > .container .navbar-brand {
    margin-left: 15px;
}


/* ==========================================================================
   ACCORDION & COMPONENT STYLES
   ========================================================================== */

#accordion .content {
    border: 1px solid #f4f4f4;
    border-radius: 0;
    margin-bottom: 15px;
    box-shadow: 0 .3rem 1.525rem -.375rem #d7e4ed;
}

#accordion .panel-heading {
    padding: 0;
    border-radius: 0;
    border: 0;
}

#accordion .panel-heading:after {
    display: none;
}

#accordion .panel-title a,
#accordion .panel-title a.collapsed[aria-expanded="true"] {
    display: block;
    border-radius: .25em .25em 0 0;
    padding: 10px 50px 10px 15px;
    font-size: 14px;
    font-weight: bold;
    color: #ff7200;
    background: #fff;
    border-bottom: 2px solid rgba(255,114,0,.5);
    position: relative;
    overflow: hidden;
    transition: all .5s ease 0s;
}

#accordion .panel-title a:hover,
#accordion .panel-title a.collapsed[aria-expanded="true"]:hover {
    color: #17a2b8;
    border-color: rgba(23,162,184,.5);
}

#accordion .panel-title a.collapsed {
    border-radius: .25em;
    background: #fff;
    color: #17a2b8;
    border-color: rgba(23,162,184,.5);
}

#accordion .panel-title a.collapsed:hover {
    border-color: rgba(255,114,0,.5);
    color: #ff7200;
}

#accordion .panel-title a:after {
    content: "\f107";
    background: #eee;
    border-radius: 15px;
    padding: 2px 5px;
    font-family: FontAwesome;
    position: absolute;
    right: 15px;
    line-height: 1;
    color: #fe696a;
    transition: all 300ms;
}

#accordion .panel-title a:hover:after {
    color: #17a2b8;
}

#accordion .panel-title a.collapsed:after {
    transition: all 300ms;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    color: #17a2b8;
}

#accordion .panel-title a.collapsed[aria-expanded="true"]:after {
    color: #ff7200;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

#accordion .panel-title a.collapsed:hover:after {
    color: #ff7200;
}

#accordion .panel-body {
    font-size: 14px;
    color: #5a3245;
    line-height: 25px;
    padding: 15px;
    position: relative;
    border: 0;
    transition: all .5s ease 0s;
}

#accordion .panel-body p {
    margin-bottom: 0;
}

#accordion .panel-body ul li {
    padding: 5px 0;
    margin-left: 15px;
    margin-right: 15px;
    border-bottom: 1px dashed #e4e4e4;
}

#accordion .panel-body ul li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}


/* ==========================================================================
   BANNER SECTION
   ========================================================================== */

.banner-sec {
    background: url("https://lh3.googleusercontent.com/PUg064jIHZ4cevdw-HRtyqrL55AxI1feYO-SXTBm7uGmQQxWKvVUssgOxybuK7klpWD2OfNsD7a3kY93VOu6XBFCK5dEsHD5RujsUrCg8IG85JJ4UtQQxwVWUMekaVYjgG9MbevaN5Wbq_CyHsRgJ5U1YZw0tAn825KEac3ykq85VfPIo82moJA91tfIuZQnF5YhTSUTxfWXwlton5ak664CCbVwwPw7HrUtFlOop7-7c9TrES-v3hdvHBmmsVlHosn6Amd3NZhcudJg4JiCr4Ug1ubkTmMK5oqQ3a0UCNE6QYS9HIP-VBkvLrTSugqMqf3XJucj7bYeshv6CmYB6Fbk6shPelb7K78_hUcjNvW5GuTBoCqicJA1ngga783zqOIRoXmKs_m8P4-2yamTesFnqTjqC41mmBoWPkW7431Xdujl_l9YHkOcy9_MfqAt2gTttcCRfcXUBJFEVC1Wc76qAxYpwFMd0xGorop9-WUxLnMbCxkaSA3O_6w1t_ROsY8E2sNMAxsQ4TkVmUphnp_2C3tZsLaiQ3BLfDMVxKeE82laJC86MVs9rYY3DIziCHSYN-iKZVAlTI7ynUwsq4qVeT8ORtEqPxfbx_Z4rfm2NZbhb1zJNadhkuBrn_Z9yBFOsuHLiIMXK0L8JUare3ksL3NknyA8afedodkMzyR1dTcD6-tV0UVarDW1VsDkJ-KbQAWcyUK4uJG4U3hMaCAc=w1481-h312-no?authuser=0");
    padding-top: 100px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    color: #333;
    transition: all .5s ease;
}

.banner-sec .container {
    padding-left: 15px;
    padding-right: 15px;
}

.banner-sec .banner-title,
.banner-sec .banner-title-article {
    font-size: 24px;
    color: #ff7200;
    font-weight: 800;
    margin-bottom: 5px;
}

.banner-sec .banner-title-article {
    margin-top: 60px;
}

.banner-sec.skrol {
    background-image: url("https://lh3.googleusercontent.com/Wky6Z3oBEM9YtUK0mC0ErBa2SJsbApd2j3kL04vXSBQqO2329DjKIPYiP9qeSJtMiS67-hZ3wvmmMvGwzBF4HD_usffezUAjsFgDqUJD_8BN89AgKMeC6g8nttxlyTqT6YX5woTCREvytrAMDu0kuZKhzwwM7Z6xgcUoxE5d7dRfyGX39fvO1VHSVhHkxqBeJjiPSxZARuFor6_igs_haUnTc2TXvDvHN6ss1Mkhr8F4eCR_yVeFHxHVM_aJkeTqOjclpyUbsXxY9xjmZrhOTOqIQu66GiIsTt3EFiYEEcVDlkHpN62peOGx4jVGZ4-NrHFSTfVQboEawwq_uH_8OHzmbswSTfo-3M5TrJAxJHqnPTtSfSokAIRU6aSxMDuQywkrnLaVsO-ldGUip5690n3oevSKz6oxUnc-pMsfxb65x-br1nxm8dYEHNRDDGz18YAOlaKNvKwBt58gVxUzdt6y6l-gJfffG5zTpTlZzBbrrYM5-tmX3L1P7O6LVH4R-FN6hxMOyY46ZJPqc-GKVxBmn2G5xSxQ-eowRmXyUKeyDRsgwD94g3eNtAxolAAJSEdOO7fIBLS157ffUGXHlUGlcjUxYtQMBiPUZLmwQhLii678qaLwxr42wphsBhk91Py1EQlkWR4vGYhS2Lj79MjaQirMag3XENrwHuZeXTk4zWpkESNrs6Rn-KN7Or_gSl0ittsG7_25JMqeHXTnbwLq=w1481-h312-no?authuser=0");
    color: #fff;
}

.banner-sec.skrol a {
    color: #ff0;
}

.banner-sec.skrol .banner-title,
.banner-sec.skrol .banner-title-article {
    color: #fffd94;
}

.banner-sec .banner-subtitle,
.banner-sec .banner-subtitle-article {
    font-size: 18px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 20px;
    color: #555;
}

.banner-sec.skrol .banner-subtitle,
.banner-sec.skrol .banner-subtitle-article {
    color: #e4e4e4;
}

.banner-sec .published-by {
    font-size: 14px;
    margin-bottom: 5px;
}

.banner-sec .serial {
    margin-top: 0;
}

@media only screen and (min-width: 768px) {
    .banner-sec {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .banner-sec .banner-title {
        font-size: 48px;
    }

    .banner-sec .banner-title-article {
        font-size: 32px;
    }

    .banner-sec .banner-subtitle {
        font-size: 20px;
    }

    .banner-sec .banner-subtitle-article {
        font-size: 20px;
    }

    .banner-sec .published-by {
        font-size: 16px;
    }
}

a {
    color: #15638f;
}

.block_custom .title {
    color: #555;
}

.header_view .nav > li > a, 
.navbar-default .nav > li > a {
    color: #006390;
}

.dropdown-menu > li > a {
    color: #006390 !important;
}

.banner-sec .banner-title {
    color: #0081bd;
    font-size: 30px;
}

.banner-sec .banner-subtitle:after {
    content: "Journal of Development and Mathematics Learning";
}

.banner-sec .published-by:after {
    content: "Published by Pusat Studi Pengembangan Pembelajaran Matematika Sekolah";
}

.banner-sec .serial:after {
    content: "ISSN: 2656-0240 print | 2655-8750 online ";
}

.pkp_brand_footer {
    display: none;
}

.read-more {
    margin-top: 30px;
    margin-bottom: 20px;
}

.pkp_page_index .current_issue .read_more {
    margin-top: 10px;
}

.article-details .page-header {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 24px;
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary {
    color: #fff;
    background-color: #006390;
    border-color: #006390;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0083E4;
    border-color: #0062cc;
}

.btn-primary.focus, .btn-primary:focus {
    color: #fff;
    background-color: #0083E4;
    border-color: #0062cc;
    box-shadow: 0 0 0 .2rem rgba(38,143,255,.5);
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #006390;
    border-color: #006390;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #0062cc;
    border-color: #005cbf;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(38,143,255,.5);
}


/* ==========================================================================
   SIDEBAR & SIDEMENU
   ========================================================================== */

.pkp_block.block_make_submission a {
    border-radius: 10px;
    width: 240px;
}

.sidemenu li {
    list-style: none;
    padding: 0;
}

.sidemenu li a {
    display: table;
    margin-top: 1px;
    padding: 4px 10px;
    width: 100%;
    background: white;
    text-decoration: none;
    text-align: left;
    vertical-align: middle;
    color: black;
    overflow: hidden;
    transition: background 0.4s ease-out;
    border-radius: 0px;
    border-bottom: 1px dashed #006390;
}

.sidemenu > li:hover li a:hover {
    color: #000000;
    background: #ffffff;
    transition: background 0.2s ease-out;
    border-radius: 0px;
}

.sidemenu > li:first-child a {
    margin-top: 0;
}

.sidemenu li a:hover {
    color: white;
    background: #006390;    
    transition: background 0.2s ease-out;
    border-radius: 4px;
}

.sidemenu li ul {
    margin: 0;
    padding: 0;
}

.sidemenu li li a {
    display: block;
    margin-top: 0;
    padding: 0px;
    height: 0;
    background: #0083E4;
    color: white;
    transition: all 0.5s ease-out;
    border: 0px;
    border-radius: 6px;
}

.sidemenu > li:hover li a {
    display: table;
    margin-top: 1px;
    padding: 4px 10px;
    width: 100%;
    height: 1em;
    transition: all 0.3s ease-out;
    border-radius: 4px;
}

.sidemenu > li:hover li a:hover {
    color: black;
    background: #46acea;
    transition: background 0.2s ease-out;
    border-radius: 6px;
}

.pkp_block .content ul li {
    line-height: 20px;
    padding: 0px;
}
/* 1. Menghilangkan garis pemisah (border) dan bayangan di area header */
.pkp_structure_head,
.pkp_head_wrapper,
.pkp_site_name_wrapper,
.pkp_nav_primary_elevation,
.navbar,
.navbar-default {
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background-color: transparent !important; /* Membuat latar belakang transparan agar menyatu */
}

/* 2. Menyamakan latar belakang pembungkus gambar header */
.has_site_logo .pkp_head_wrapper,
.pkp_site_name {
    background-color: #000561 !important; /* Menyamakan persis dengan warna dasar gambar */
}

/* 3. Menghilangkan margin/padding antar elemen yang memicu kemunculan garis */
.pkp_structure_head {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.pkp_site_name .is_img img {
    display: block !important;
    margin-bottom: 0 !important;
}
/* Mengecilkan logo Crossref pada Journal Summary / Description */
img[src*="cres.jpg"] {
    width: 40px !important;  /* Ubah angka 40px ini jika ingin lebih kecil/besar */
    height: auto !important; /* Mempertahankan proporsi gambar */
    display: inline-block !important;
    vertical-align: middle !important;
}