@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');

:root {
    --bg-header-image-url: url("./homepageImage_en.png");
    --bg-body-image-url: url("https://images.unsplash.com/photo-1499346030926-9a72daac6c63?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&dl=pero-kalimero-9BJRGlqoIUk-unsplash.jpg&w=1920");
    --color-primary: #023865;
    --color-secondary: #023865;
    --color-accent: #FEB705;
}

body,
body * {
    font-family: 'Titillium Web', 'Georgia', serif !important;
}

html,
body {
    background-image: var(--bg-body-image-url);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.fa,
.fas,
.far,
.fal,
.fab {
    font-family: 'FontAwesome' !important;
}

.pkp_page_index .homepage_image {
    display: none;
}

.page_index_journal {
    display: flex;
    flex-direction: column;
}

.additional_content {
    order: 1;
    border-top: none !important;
}

.homepage_image {
    order: 2;
}

.current_issue {
    order: 3;
}

.additional_content>h2 {
    margin-top: 0;
}

/* homepage content configuration */
.description_container_a {
    margin-top: 30px;
}

.description_container_b {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.journal_description {
    margin-top: -1.5em;
}

.journal_thumbnail {
    flex-shrink: 0;
    flex-basis: 25%;
}

.description_summary {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.info-key {
    width: 30%;
    font-weight: bold;
}

.info-separator {
    width: 3%;
}

.info-value {
    width: 67%;
}


.pkp_block .title {
    position: relative;
    display: block;
    padding-bottom: 10px;
    border-bottom: none !important;
}

.pkp_block .title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--color-accent), transparent);
    border-radius: 2px;
}


.custom-card,
.block_language>.content,
.block_information>.content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    padding: 15px;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    margin-bottom: 8px;
    position: relative;
    /* Agar ikon berada dengan benar di dalam li */
    padding-left: 30px !important;
    /* Memberikan ruang untuk ikon */
    font-weight: 600;
}

.menu-item::before {
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 400 !important;
}

.menu-item.aims-scope::before {
    content: '\f121';
    /* fa-bullseye */
}

.menu-item.open-access::before {
    content: '\f09e';
    /* fa-lock-open */
}

.menu-item.peer-review::before {
    content: '\f0b1';
    /* fa-check-square */
}

.menu-item.publication-ethics::before {
    content: '\f02d';
    /* fa-file-text-o */
}

.menu-item.reviewer-team::before {
    content: '\f0c0';
    /* fa-users */
}

.menu-item.instructions-authors::before {
    content: '\f15c';
    /* fa-book */
}

.menu-item.apcs::before {
    content: '\f155';
    /* fa-dollar-sign */
}

.menu-item.copyright-terms::before {
    content: '\f1f9';
    /* fa-copyright */
}

.menu-item.license-terms::before {
    content: '\f02f';
    /* fa-file */
}


/* footer configuration */
.pkp_brand_footer {
    display: none;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    gap: 20px;
}

/* Kolom lebar */
.footer-col-wide {
    flex: 1 1 35%;
    min-width: 280px;
}

/* Kolom sempit */
.footer-col-narrow {
    flex: 1 1 15%;
    min-width: 180px;
}

.footer-logo {
    width: auto;
    height: 100px;
    margin-bottom: 10px;
}

.footer h4 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.footer p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding-left: 0;
    font-size: 14px;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    text-decoration: none;
    color: #333;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-map iframe {
    width: 100%;
    height: 200px;
    border: 0;
}

/* Responsif (opsional) */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
}

/* Responsive design for journal description and thumbnail */
@media (min-width:320px) and (max-width:991px) {
    .description_container_b {
        flex-direction: column;
    }

    .journal_thumbnail {
        align-self: center;
    }

    .journal_thumbnail>img.thumbnail {
        max-height: 250px;
    }

    .pkp_block {
        padding: 0.714rem;
    }

    .pkp_structure_sidebar.left {
        padding: 1.714rem 0;
    }

    .pkp_footer_content {
        padding: 2.143rem 0.714rem;
    }
}

@media (min-width:992px) {
    .pkp_navigation_primary_row {
        background: linear-gradient(to bottom, #ffffff 0%, #f3f3f3 50%, #ededed 51%, #ffffff 100%);
    }

    .pkp_site_name .is_img img {
        max-height: fit-content;
    }

    .pkp_site_name {
        padding-top: 0;
        padding-bottom: 0;
    }

    .pkp_site_name_wrapper {
        background-image: var(--bg-header-image-url);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;

        padding-left: 0;
        padding-right: 0;
    }

    .pkp_site_name .is_img {
        margin-top: 0;
        margin-bottom: 0;
    }
}