/* =========================================================
   JECIE – PREMIUM SIDEBAR
   Journal of Early Childhood and Inclusive Education
   OJS Custom CSS
   ========================================================= */


/* =========================================================
   1. MAIN SIDEBAR
   ========================================================= */

.jecie-sidebar {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #ffffff !important;

    font-family: Arial, Helvetica, sans-serif !important;
    color: #263238 !important;

    box-sizing: border-box !important;
}

.jecie-sidebar td {
    box-sizing: border-box !important;
}


/* =========================================================
   2. SECTION HEADER
   ========================================================= */

.jecie-header {
    background: linear-gradient(
        135deg,
        #0727a9 0%,
        #0b3d91 50%,
        #0e7490 100%
    ) !important;

    color: #ffffff !important;

    padding: 11px 12px !important;

    text-align: center !important;

    font-size: 11px !important;
    font-weight: 700 !important;

    letter-spacing: 0.8px !important;

    text-transform: uppercase !important;

    border: none !important;

    border-radius: 0 !important;

    box-shadow:
        0 2px 6px rgba(7, 39, 169, 0.15) !important;
}


/* =========================================================
   3. GENERAL CONTENT
   ========================================================= */

.jecie-content {
    padding: 12px !important;

    background: #ffffff !important;

    text-align: center !important;
}

.jecie-content a {
    text-decoration: none !important;
}


/* =========================================================
   4. MENU CONTAINER
   ========================================================= */

.jecie-menu {
    padding: 7px !important;

    background: #ffffff !important;
}


/* =========================================================
   5. MENU ITEM
   ========================================================= */

.jecie-menu-item {
    position: relative !important;

    display: flex !important;

    align-items: center !important;

    width: 100% !important;

    min-height: 40px !important;

    box-sizing: border-box !important;

    padding: 8px 28px 8px 38px !important;

    margin: 0 !important;

    background: #ffffff !important;

    color: #263238 !important;

    border: none !important;

    border-bottom: 1px solid #edf1f3 !important;

    border-radius: 0 !important;

    text-decoration: none !important;

    font-size: 13px !important;

    font-weight: 500 !important;

    line-height: 1.35 !important;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        padding-left 0.25s ease,
        box-shadow 0.25s ease !important;
}


/* =========================================================
   6. LAST MENU ITEM
   ========================================================= */

.jecie-menu-item:last-child {
    border-bottom: none !important;
}


/* =========================================================
   7. MENU ICON
   ========================================================= */

.jecie-menu-item::before {
    position: absolute !important;

    left: 11px !important;

    top: 50% !important;

    transform: translateY(-50%) !important;

    width: 20px !important;

    text-align: center !important;

    color: #0e7490 !important;

    font-size: 17px !important;

    font-weight: 400 !important;

    line-height: 1 !important;

    transition:
        color 0.25s ease,
        transform 0.25s ease !important;
}


/* =========================================================
   8. RIGHT ARROW
   ========================================================= */

.jecie-menu-item::after {
    content: "›" !important;

    position: absolute !important;

    right: 10px !important;

    top: 50% !important;

    transform: translateY(-50%) !important;

    color: #b0bec5 !important;

    font-size: 17px !important;

    font-weight: 400 !important;

    transition:
        color 0.25s ease,
        right 0.25s ease !important;
}


/* =========================================================
   9. MENU HOVER
   ========================================================= */

.jecie-menu-item:hover {
    background: linear-gradient(
        90deg,
        #f0fafb 0%,
        #ffffff 100%
    ) !important;

    color: #0727a9 !important;

    padding-left: 42px !important;

    text-decoration: none !important;

    box-shadow:
        inset 3px 0 0 #0e7490 !important;
}


.jecie-menu-item:hover::before {
    color: #0727a9 !important;

    transform:
        translateY(-50%)
        scale(1.12) !important;
}


.jecie-menu-item:hover::after {
    color: #0e7490 !important;

    right: 7px !important;
}


/* =========================================================
   10. MAIN MENU ICONS
   ========================================================= */

/* Home */
.jecie-menu-item[href="/index.php/JECIE"]::before {
    content: "⌂" !important;
}

/* About the Journal */
.jecie-menu-item[href="/index.php/JECIE/about"]::before {
    content: "ⓘ" !important;
}

/* Focus and Scope */
.jecie-menu-item[href="/index.php/JECIE/focus_and_scope"]::before {
    content: "◎" !important;
}

/* Editorial Team */
.jecie-menu-item[href="/index.php/JECIE/editorial_team"]::before {
    content: "♙" !important;
}

/* Reviewer Team */
.jecie-menu-item[href="/index.php/JECIE/reviewer_team"]::before {
    content: "✓" !important;
}

/* Journal History */
.jecie-menu-item[href="/index.php/JECIE/journal_history"]::before {
    content: "◷" !important;
}


/* =========================================================
   11. SUBMISSION ICONS
   ========================================================= */

/* Author Guidelines */
.jecie-menu-item[href="/index.php/JECIE/author_guidelines"]::before {
    content: "▤" !important;
}

/* Submission Guidelines */
.jecie-menu-item[href*="drive.google.com/file"]::before {
    content: "☷" !important;
}

/* Online Submission */
.jecie-menu-item[href="/index.php/JECIE/about/submissions"]::before {
    content: "↑" !important;
}


/* =========================================================
   12. PUBLICATION ICONS
   ========================================================= */

/* Publication Ethics */
.jecie-menu-item[href="/index.php/JECIE/publication_ethics"]::before {
    content: "⚖" !important;
}

/* Peer Review Process */
.jecie-menu-item[href="/index.php/JECIE/peer_review_process"]::before {
    content: "⌕" !important;
}

/* Types of Manuscript */
.jecie-menu-item[href="/index.php/JECIE/types_of_manuscript"]::before {
    content: "▱" !important;
}

/* Authorship and Contributorship */
.jecie-menu-item[href="/index.php/JECIE/authorship_and_contributorship"]::before {
    content: "✎" !important;
}

/* Conflict of Interest Policy */
.jecie-menu-item[href="/index.php/JECIE/conflict_of_interest_policy"]::before {
    content: "⚠" !important;
}

/* Plagiarism Policy */
.jecie-menu-item[href="/index.php/JECIE/plagiarism_policy"]::before {
    content: "⊘" !important;
}

/* AI Policy */
.jecie-menu-item[href="/index.php/JECIE/ai_policy"]::before {
    content: "✦" !important;
}

/* Research Misconduct */
.jecie-menu-item[href="/index.php/JECIE/research_misconduct"]::before {
    content: "!" !important;
}

/* Retraction and Withdrawal Policy */
.jecie-menu-item[href="/index.php/JECIE/retraction_and_withdrawal_policy"]::before {
    content: "↩" !important;
}

/* Post-Publication Discussion */
.jecie-menu-item[href="/index.php/JECIE/post-publication_discussion"]::before {
    content: "☏" !important;
}

/* Open Access Policy */
.jecie-menu-item[href="/index.php/JECIE/open_access_policy"]::before {
    content: "♢" !important;
}

/* Copyright Policy */
.jecie-menu-item[href="/index.php/JECIE/copyright_policy"]::before {
    content: "©" !important;
}

/* Licensing Policy */
.jecie-menu-item[href="/index.php/JECIE/licensing_policy"]::before {
    content: "◆" !important;
}

/* Archiving Policy */
.jecie-menu-item[href="/index.php/JECIE/archiving_policy"]::before {
    content: "▣" !important;
}

/* Publishing Schedule */
.jecie-menu-item[href="/index.php/JECIE/publishing_schedule"]::before {
    content: "▦" !important;
}

/* Publication Fees */
.jecie-menu-item[href="/index.php/JECIE/publication_fees"]::before {
    content: "¤" !important;
}


/* =========================================================
   13. INFORMATION ICON
   ========================================================= */

/* Contact Information */
.jecie-menu-item[href="/index.php/JECIE/contact_information"]::before {
    content: "✉" !important;
}


/* =========================================================
   14. ARTICLE TEMPLATE
   ========================================================= */

.jecie-template-image {
    display: block !important;

    width: 100% !important;

    max-width: 100% !important;

    height: auto !important;

    margin: 0 auto !important;

    border: 0 !important;

    border-radius: 6px !important;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease !important;
}

.jecie-template-image:hover {
    transform: translateY(-2px) !important;

    box-shadow:
        0 6px 15px rgba(0, 0, 0, 0.15) !important;
}


/* =========================================================
   15. ISSN
   ========================================================= */

.jecie-issn-image {
    display: block !important;

    width: 100% !important;

    max-width: 100% !important;

    height: auto !important;

    margin: 0 auto 10px auto !important;

    border: 0 !important;

    border-radius: 5px !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease !important;
}

.jecie-issn-image:hover {
    transform: translateY(-2px) !important;

    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.12) !important;
}


/* =========================================================
   16. COLLABORATION
   ========================================================= */

.jecie-collaboration-image {
    display: block !important;

    width: 100% !important;

    max-width: 100% !important;

    height: auto !important;

    margin: 0 auto !important;

    border: 0 !important;

    border-radius: 6px !important;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease !important;
}

.jecie-collaboration-image:hover {
    transform: translateY(-2px) !important;

    box-shadow:
        0 6px 15px rgba(0, 0, 0, 0.15) !important;
}


/* =========================================================
   17. INDEXING – TRUE TWO COLUMN GRID
   ========================================================= */

.jecie-indexing {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: 8px !important;

    padding: 10px !important;

    background: #ffffff !important;

    text-align: center !important;

    box-sizing: border-box !important;

    font-size: initial !important;
}


/* Remove HTML line breaks */
.jecie-indexing br {
    display: none !important;
}


/* =========================================================
   18. INDEXING ITEMS
   ========================================================= */

.jecie-indexing a,
.jecie-indexing > img {
    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    width: 100% !important;

    max-width: 100% !important;

    height: 78px !important;

    margin: 0 !important;

    padding: 7px !important;

    box-sizing: border-box !important;

    background: #ffffff !important;

    border: 1px solid #edf1f3 !important;

    border-radius: 6px !important;

    text-decoration: none !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease !important;
}


/* =========================================================
   19. INDEXING IMAGES
   ========================================================= */

.jecie-indexing a img,
.jecie-indexing > img {
    display: block !important;

    width: auto !important;

    max-width: 100% !important;

    height: 58px !important;

    object-fit: contain !important;

    margin: 0 auto !important;

    padding: 0 !important;

    border: 0 !important;

    box-sizing: border-box !important;
}


/* =========================================================
   20. INDEXING HOVER
   ========================================================= */

.jecie-indexing a:hover,
.jecie-indexing > img:hover {
    transform: translateY(-3px) !important;

    border-color: #0e7490 !important;

    box-shadow:
        0 6px 14px rgba(7, 39, 169, 0.12) !important;
}


/* =========================================================
   21. LIBRARY CATALOGUES – TWO COLUMN
   ========================================================= */

.jecie-library {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: 8px !important;

    padding: 10px !important;

    background: #ffffff !important;

    text-align: center !important;

    box-sizing: border-box !important;

    font-size: initial !important;
}


/* Remove HTML line breaks */
.jecie-library br {
    display: none !important;
}


/* =========================================================
   22. LIBRARY ITEMS
   ========================================================= */

.jecie-library a {
    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    width: 100% !important;

    max-width: 100% !important;

    height: 78px !important;

    margin: 0 !important;

    padding: 7px !important;

    box-sizing: border-box !important;

    background: #ffffff !important;

    border: 1px solid #edf1f3 !important;

    border-radius: 6px !important;

    text-decoration: none !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease !important;
}


/* =========================================================
   23. LIBRARY LOGOS
   ========================================================= */

.jecie-library-logo {
    display: block !important;

    width: auto !important;

    max-width: 100% !important;

    height: 58px !important;

    object-fit: contain !important;

    margin: 0 auto !important;

    padding: 0 !important;

    border: 0 !important;
}


/* =========================================================
   24. LIBRARY HOVER
   ========================================================= */

.jecie-library a:hover {
    transform: translateY(-3px) !important;

    border-color: #0e7490 !important;

    box-shadow:
        0 6px 14px rgba(7, 39, 169, 0.12) !important;
}


/* =========================================================
   25. STATISTICS
   ========================================================= */

.jecie-statistics {
    padding: 5px !important;

    background: #ffffff !important;

    text-align: center !important;

    overflow: hidden !important;
}


.jecie-statistics iframe {
    display: block !important;

    width: 100% !important;

    height: 250px !important;

    border: 0 !important;

    margin: 0 auto !important;
}


/* =========================================================
   26. VISITORS
   ========================================================= */

.jecie-visitors {
    padding: 10px !important;

    background: #ffffff !important;

    text-align: center !important;
}


.jecie-visitors img {
    max-width: 100% !important;

    height: auto !important;

    border: 0 !important;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease !important;
}


.jecie-visitors img:hover {
    transform: translateY(-2px) !important;

    opacity: 0.9 !important;
}


/* =========================================================
   27. TABLET
   ========================================================= */

@media screen and (max-width: 900px) {

    .jecie-menu-item {
        font-size: 12.5px !important;

        min-height: 39px !important;

        padding:
            8px 26px 8px 37px !important;
    }


    .jecie-menu-item::before {
        font-size: 16px !important;

        left: 10px !important;
    }


    .jecie-menu-item::after {
        right: 9px !important;

        font-size: 16px !important;
    }


    .jecie-header {
        font-size: 10.5px !important;

        padding: 10px 9px !important;
    }


    .jecie-statistics iframe {
        height: 240px !important;
    }
}


/* =========================================================
   28. MOBILE
   ========================================================= */

@media screen and (max-width: 600px) {

    .jecie-header {
        font-size: 10px !important;

        padding: 9px 8px !important;

        letter-spacing: 0.6px !important;
    }


    .jecie-menu {
        padding: 5px !important;
    }


    .jecie-menu-item {
        min-height: 38px !important;

        padding:
            7px 24px 7px 35px !important;

        font-size: 12px !important;

        line-height: 1.3 !important;
    }


    .jecie-menu-item::before {
        left: 9px !important;

        width: 18px !important;

        font-size: 15px !important;
    }


    .jecie-menu-item::after {
        right: 8px !important;

        font-size: 15px !important;
    }


    .jecie-menu-item:hover {
        padding-left: 38px !important;
    }


    .jecie-content {
        padding: 9px !important;
    }


    /* INDEXING */
    .jecie-indexing {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 6px !important;

        padding: 7px !important;
    }


    .jecie-indexing a,
    .jecie-indexing > img {
        height: 70px !important;

        padding: 5px !important;
    }


    .jecie-indexing a img,
    .jecie-indexing > img {
        height: 52px !important;
    }


    /* LIBRARY */
    .jecie-library {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 6px !important;

        padding: 7px !important;
    }


    .jecie-library a {
        height: 70px !important;

        padding: 5px !important;
    }


    .jecie-library-logo {
        height: 52px !important;
    }


    /* STATISTICS */
    .jecie-statistics iframe {
        height: 225px !important;
    }
}


/* =========================================================
   29. VERY SMALL MOBILE
   ========================================================= */

@media screen and (max-width: 380px) {

    .jecie-menu-item {
        font-size: 11.5px !important;

        min-height: 36px !important;

        padding-left: 33px !important;
    }


    .jecie-menu-item::before {
        left: 8px !important;

        font-size: 14px !important;
    }


    .jecie-menu-item::after {
        right: 7px !important;

        font-size: 14px !important;
    }


    .jecie-indexing {
        gap: 5px !important;
    }


    .jecie-indexing a,
    .jecie-indexing > img {
        height: 65px !important;
    }


    .jecie-indexing a img,
    .jecie-indexing > img {
        height: 48px !important;
    }


    .jecie-library {
        gap: 5px !important;
    }


    .jecie-library a {
        height: 65px !important;
    }


    .jecie-library-logo {
        height: 48px !important;
    }
}