/* ========================================================================
   AJSTD stylesheet (versi diperbaiki untuk OJS 3)
   v1.031; 4 April 2019
   (c) 2018-2019 Joaquim Baeta <mail@joaquimbaeta.com>
   Disesuaikan untuk kompatibilitas OJS 3.x
   ======================================================================== */

/* 1. Typography */

@import url('https://fonts.googleapis.com/css?family=Lora:400,400i');

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: #610c3a;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 300;
}

a {
    color: #610c3a;
}

::selection {
    background: #610c3a;
    color: #fcfcfc;
}

/* Hover effect on regular links */
.border-hover {
    color: #610c3a;
    border-bottom: 0 solid #d1b8c5;
    transition: cubic-bezier(.45,.05,.55,.95) 0.15s;
}

.border-hover:hover {
    text-decoration: none;
    border-bottom: 3px solid #d1b8c5;
}

.navbar-logo a {
    border-bottom: 0 solid #d1b8c5;
    transition: cubic-bezier(.45,.05,.55,.95) 0.15s;
}

.navbar-logo a:hover {
    border-bottom: 10px solid #d1b8c5;
}

.article-summary-title a {
    color: #161413;
    border-bottom: 0 solid #d1b8c5;
    transition: cubic-bezier(.45,.05,.55,.95) 0.15s;
}

.article-summary-title a:hover {
    border-bottom: 3px solid #d1b8c5;
}

.article-details-issue-identifier a {
    border-bottom: 0 solid #d1b8c5;
    transition: cubic-bezier(.45,.05,.55,.95) 0.15s;
}

.article-details-issue-identifier a:hover,
.article-details-issue-identifier a:focus {
    text-decoration: none;
    border-bottom: 3px solid #d1b8c5;
}

.article-details-doi a {
    border-bottom: 0 solid #d1b8c5;
    transition: cubic-bezier(.45,.05,.55,.95) 0.15s;
}

.article-details-doi a:hover,
.article-details-doi a:focus {
    text-decoration: none;
    border-bottom: 3px solid #d1b8c5;
}

/* 2. Global */

/* 2.1 Body */

body {
    color: #161413;
    background-color: #fcfcfc;
}

/* 2.2 Header */

.main-header {
    border-bottom: 1px solid #e7e7e7;
}

.navbar-logo {
    max-width: 80%;
    padding-top: 2.5rem;
}

.navbar-logo img {
    width: 100%;
}

/* 2.3 Navbar */

#userNav .nav-link,
.language-toggle .dropdown-toggle {
    color: #a18a96;
}

#userNav .nav-link:hover,
.language-toggle .dropdown-toggle:hover,
#userNav .nav-link:focus,
.language-toggle .dropdown-toggle:focus {
    outline: 0;
    border-color: transparent;
    color: #775d6b;
}

#primaryNav .nav-link:hover,
#primaryNav .nav-link:focus {
    background: transparent;
    color: #610c3a;
    border-color: transparent;
}

.badge-light {
    background: #d1b8c5cc;
    color: #161413aa;
}

.dropdown-item {
    transition: ease-in-out 0.2s;
}

.dropdown-item:hover,
.dropdown-item:focus {
    border-color: transparent;
    color: #d1b8c5 !important;
}

#primaryNav .dropdown-menu.show {
    border-radius: 0 0 20px 20px;
}

#primaryNav .dropdown-item {
    color: #f9f9f9;
    transition: ease-in-out 0.2s;
}

#primaryNav .dropdown-item:hover,
#primaryNav .dropdown-item:focus {
    background: transparent;
    color: #d1b8c5;
    border-color: transparent;
}

/* 2.4 Footer */

#customblock-prefooter {
    flex-basis: auto;
    width: 100%;
    padding: 0;
}

.site-footer {
    background: #610c3a;
    color: #d1b8c5;
    padding-bottom: 0;
}

.site-footer a {
    color: #f9f9f9;
    text-decoration: none;
    transition: ease-in-out 0.2s;
}

.site-footer a:hover {
    color: #d1b8c5;
    text-decoration: none;
}

.site-footer .row .align-self-center {
    -ms-flex-item-align: flex-start !important;
    align-self: flex-start !important;
}

.footer-brand-image {
    max-width: 92px;
}

/* 2.5 Tooltips */

.hint {
    position: relative;
    display: inline-block;
    color: #610c3a;
}

.hint .hint-text {
    visibility: hidden;
    width: 200px;
    background-color: #610c3a;
    color: #fcfcfc;
    border-radius: 10px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 110%;
    left: 50%;
    transform: translate(-50%);
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.3s;
}

.hint .hint-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #610c3a transparent transparent transparent;
}

.hint:hover .hint-text {
    visibility: visible;
    opacity: 1;
}

/* 3. Styling */

/* Buttons */
.btn {
    border-radius: 10px;
    border: 1px solid #a18a96;
    color: #775d6b;
    text-transform: uppercase;
}

/* Main (violet) buttons */
.btn-primary {
    border-radius: 20px 40px 40px 20px;
    border-color: #48092b !important;
    color: #fcfcfc;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #161413;
    border-color: #161413 !important;
    color: #fcfcfc;
}

/* Buttons in modals with violet backgrounds */
.modal-content .btn-primary {
    background: transparent;
    border-radius: 10px !important;
    border-color: #fcfcfc44;
    color: #fcfcfcaa;
    text-transform: uppercase;
    transition: ease-in-out 0.2s;
}

.modal-content .btn-primary:hover {
    background: transparent;
    border-color: #fcfcfc77;
    color: #fcfcfc;
}

/* Forms */
.form-control {
    background-color: #fcfcfc;
}

.form-control:hover {
    border-color: #d1b8c5;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #fff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem #d1b8c5;
}

@media (max-width: 575px) {
    /* Lists with images on the side */
    .list-img {
        text-align: center !important;
    }

    .list-img > img {
        width: 150px !important;
        margin-bottom: 2rem;
    }
}

/* 4. Page-specific */

/* 4.1 Homepage */

/* 4.1.1 Homepage issue */

.homepage-image-behind-issue::after {
    background: rgba(0,0,0,0.2);
}

.homepage-issue-current {
    font-family: 'Fira Sans', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    text-transform: uppercase;
}

.homepage-issue-cover {
    width: 210px;
    height: 297px;
}

.homepage-issue-identifier {
    display: none;
}

.homepage-issue-published {
    margin-top: 1.5rem !important;
}

.homepage-issue-description-wrapper {
    background: #f7f7f7;
    box-shadow: 0 0 10px #610c3a;
    height: 297px;
    padding: 2.8rem 3rem;
}

.homepage-issue-description .h2 {
    color: #161413;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 300;
}

.homepage-issue-description p {
    color: #161413;
}

.homepage-issue-description-more > a {
    padding: .5em 1em;
    border-radius: 10px;
    border: 1px solid #a18a96;
    background: transparent;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    color: #775d6b;
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    transition: ease-in-out 0.2s;
}

.homepage-issue-description-more > a:hover {
    border-color: #610c3a;
    color: #610c3a;
}

.homepage-issue-description::after {
    background-image: linear-gradient(rgba(255,255,255,0), #f7f7f7 20%);
}

@media (max-width: 1199px) {
    .homepage-issue-current {
        color: #817F7F;
    }

    .homepage-issue-published {
        color: #949292;
    }

    .homepage-issue-description-wrapper {
        background: #fcfcfc;
        box-shadow: none;
    }

    .homepage-issue-description::after {
        background-image: linear-gradient(rgba(255,255,255,0), #fcfcfc 20%);
    }
}

/* 4.1.2 Homepage table of contents */

.issue-toc-section-title {
    font-size: 1.75rem;
}

.article-summary-authors,
.article-summary-pages {
    font-size: 0.9rem;
    color: #8E6A7D;
    text-transform: uppercase;
    font-weight: 300;
    line-height: 1.33;
}

@media (min-width: 992px) {
    .article-summary-pages {
        width: 56px;
    }
}

.article-summary-title {
    font-family: 'Lora', serif;
    font-style: italic;
}

/* Do not show article DOIs in the table of contents */
.article-summary-doi {
    display: none;
}

/* 4.1.3 Introduction */

.asean-terms {
    list-style: none;
}

.asean-terms li::before {
    content: "\2aa2";
    color: #610c3a;
    font-size: 1rem;
    display: inline-block;
    width: 2.5rem;
    margin-left: -2.5rem;
}

/* 4.2 Article page */

.article-details-issue-identifier a {
    font-family: 'Fira Sans', sans-serif;
    color: #817F7F;
    font-size: 1.15rem;
}

.article-details-issue-section {
    color: #817F7F;
}

.article-details-published {
    color: #817F7F;
}

.authors-string {
    font-size: 1.25rem;
}

.authors-string a {
    border-bottom: 0 solid #d1b8c5;
}

/* 4.3 Contact page */

.contact-name,
.contact-affiliation,
.contact-email {
    font-size: 16px;
}

/* 4.4 Submissions page */

.submissions-checklist ul {
    margin-top: 1rem;
    list-style: none;
}

.submissions-checklist ul li::before {
    content: "\2aa2";
    color: #610c3a;
    font-size: 1rem;
    display: inline-block;
    width: 2.5rem;
    margin-left: -2.7rem;
}

/* 4.5 FAQ page */

.faq-return a {
    color: #8E6A7D;
    transition: ease-in-out 0.2s;
}

.faq-return a:hover {
    color: #610c3a;
    text-decoration: none;
}

/*footer baru */

/* =========================================================
   FOOTER FULL WIDTH, RAPI, DAN TENGAH
   ========================================================= */


/* Footer custom memenuhi viewport */
.nurs-footer {
    display: block !important;
     position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    min-width: 1050px !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 40px 25px !important;
    box-sizing: border-box !important;
    background-color: #f7f9fb !important;
    float: none !important;
    clear: both !important;
    transform: none !important;
}

/* Pastikan wrapper footer juga tidak mengapung */
#customblock-prefooter,
.site-footer,
.pkp_structure_footer,
.pkp_structure_footer_wrapper {
    position: static !important;
    float: none !important;
    clear: both !important;

    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}



/* Container isi */
.nurs-footer-inner {
   width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* Tiga kolom berada di tengah */
.nurs-footer-row {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto 30px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 30px !important;
}

/* Kolom footer */
.nurs-footer-column:first-child,
.nurs-footer-column:last-child {
    float: none;
    width: 300px;
    max-width: 100%;
    min-height: 150px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
}

.nurs-footer-column {
    float: none !important;
    box-sizing: border-box !important;
}

.nurs-footer-column h3 {
    margin: 0 0 12px;
    color: #222;
    font-size: 18px;
    line-height: 1.4;
    text-align: center;
}

.nurs-footer-column a {
    display: block;
    width: fit-content;
    margin: 7px auto;
    color: #1769aa;
    text-align: center;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nurs-footer-column a:hover,
.nurs-footer-column a:focus {
    color: #0b3d91;
    text-decoration: underline;
}

/* Creative Commons license */
.nurs-license {
    width: 100%;
    margin: 25px auto 20px;
    text-align: center;
}

.nurs-license p {
    margin: 0;
    color: #000;
    text-align: center;
}

.nurs-license a {
    color: #000;
    text-decoration: none;
}

.nurs-license a:hover,
.nurs-license a:focus {
    color: #333;
    text-decoration: underline;
}

/* Disclaimer */
.nurs-disclaimer {
    width: 100%;
    max-width: 1000px;
    margin: 25px auto;
    color: #333;
    text-align: center;
    overflow-wrap: anywhere;
}

/* Judul / informasi tambahan */
.nurs-footer .journal-title,
.nurs-footer .indexed-title {
    text-align: center;
}

/* Daftar logo indeks */
.nurs-indexed-logos {
    width: 100%;
    max-width: 1050px;
    margin: 15px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px 30px;
}

/* Satu tempat untuk setiap logo */
.nurs-indexed-logos a {
    width: 190px;
    min-height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    text-decoration: none;
}

/* Gambar logo */
.nurs-footer img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 75px;
    margin: 0 auto;
    object-fit: contain;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.nurs-footer img:hover {
    transform: translateY(-3px) scale(1.04);
    filter: brightness(1.05);
}

/* Ukuran tiap logo */
.nurs-indexed-logos a:nth-child(1) img {
    max-height: 85px;
}

.nurs-indexed-logos a:nth-child(2) img,
.nurs-indexed-logos a:nth-child(3) img,
.nurs-indexed-logos a:nth-child(4) img {
    max-height: 75px;
}

.nurs-indexed-logos a:nth-child(5) img {
    max-height: 55px;
}

.nurs-indexed-logos a:nth-child(6) img {
    max-height: 65px;
}

/* Hilangkan garis/border dari footer */
.nurs-footer,
.site-footer,
#customblock-prefooter,
.nurs-footer-inner,
.nurs-footer-row,
.nurs-footer-column,
.nurs-footer *,
.site-footer * {
    border: 0 !important;
}

.nurs-footer hr,
.site-footer hr {
    display: none !important;
}

/* Tablet */
@media (max-width: 768px) {
    .nurs-footer {
        padding: 32px 18px !important;
    }

    .nurs-footer-row {
        gap: 28px;
    }

    .nurs-footer-column {
        width: 260px;
        min-height: 0;
    }

    .nurs-indexed-logos {
        gap: 20px;
    }

    .nurs-indexed-logos a {
        width: 170px;
    }
}

/* Ponsel */
@media (max-width: 576px) {
    .nurs-footer {
        padding: 28px 15px !important;
        font-size: 14px;
    }

    .nurs-footer-row {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        gap: 25px;
    }

    .nurs-footer-column {
        width: 100%;
        max-width: 320px;
        min-height: 0;
    }

    .nurs-footer-column h3 {
        font-size: 17px;
    }

    .nurs-license,
    .nurs-disclaimer {
        text-align: center;
    }

    .nurs-indexed-logos {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .nurs-indexed-logos a {
        width: 100%;
        min-height: 65px;
    }

    .nurs-indexed-logos img {
        max-height: 60px;
    }
}

/* Ponsel sangat kecil */
@media (max-width: 360px) {
    .nurs-indexed-logos {
        grid-template-columns: 1fr;
    }

html,
body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}