/* ==========================================================
   UUM e-Journal Portal
   OJS 3.5 - Manuscript Child Theme
   SITE LANDING PAGE ONLY
   ========================================================== */

body.pkp_page_index{
    background:#f4f7fb;
    font-family:"Segoe UI",Roboto,Arial,sans-serif;
    color:#2d3748;
    line-height:1.7;
}

/* Container */
body.pkp_page_index .page{
    max-width:1500px;
    margin:auto;
}

/* Main content */
body.pkp_page_index .page_index_site{
    padding:40px 30px 80px;
}

/* =========================================
   HEADER
========================================= */

body.pkp_page_index .pkp_structure_head{
    background:#002b5c;
    box-shadow:0 8px 25px rgba(0,0,0,.12);
}

body.pkp_page_index .pkp_site_name a{
    color:#fff;
    font-size:32px;
    font-weight:700;
    letter-spacing:.5px;
}

body.pkp_page_index .pkp_navigation_primary > li > a{
    color:#fff;
    font-weight:600;
    transition:.3s;
}

body.pkp_page_index .pkp_navigation_primary > li > a:hover{
    color:#ffc72c;
}

/* =========================================
   PAGE TITLE
========================================= */

body.pkp_page_index h1{
    font-size:42px;
    color:#002b5c;
    font-weight:700;
    text-align:center;
    margin-bottom:10px;
}

body.pkp_page_index h2{
    color:#002b5c;
    font-weight:700;
}

body.pkp_page_index h3{
    color:#003d7a;
}

/* =========================================
   JOURNAL LIST
========================================= */

body.pkp_page_index ul.journals{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
    gap:35px;
    list-style:none;
    padding:0;
    margin:50px 0;
}

/* =========================================
   JOURNAL CARD
========================================= */

body.pkp_page_index ul.journals li{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s ease;
    padding:30px;
    border-top:6px solid #ffc72c;
}

body.pkp_page_index ul.journals li:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 45px rgba(0,0,0,.18);
}

/* =========================================
   JOURNAL IMAGE
========================================= */

body.pkp_page_index .thumb{
    text-align:center;
    margin-bottom:20px;
}

body.pkp_page_index .thumb img{
    max-width:180px;
    max-height:220px;
    width:auto;
    height:auto;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
}

/* =========================================
   JOURNAL TITLE
========================================= */

body.pkp_page_index .title{
    margin:20px 0;
    text-align:center;
}

body.pkp_page_index .title a{
    color:#002b5c;
    font-size:24px;
    font-weight:700;
    text-decoration:none;
    transition:.3s;
}

body.pkp_page_index .title a:hover{
    color:#d4a000;
}

/* =========================================
   DESCRIPTION
========================================= */

body.pkp_page_index .description{
    color:#555;
    font-size:15px;
    text-align:justify;
    margin-top:15px;
}

/* =========================================
   LINKS
========================================= */

body.pkp_page_index .links{
    margin-top:25px;
    display:flex;
    gap:12px;
    justify-content:center;
    flex-wrap:wrap;
}

body.pkp_page_index .links a{
    background:#002b5c;
    color:#fff;
    padding:10px 18px;
    border-radius:40px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

body.pkp_page_index .links a:hover{
    background:#ffc72c;
    color:#002b5c;
}

/* =========================================
   FOOTER
========================================= */

body.pkp_page_index .pkp_structure_footer_wrapper{
    background:#002b5c;
    color:#fff;
    padding:40px;
}

body.pkp_page_index .pkp_structure_footer_wrapper a{
    color:#ffc72c;
}

/* ==========================================================
   PART 2
   JOURNAL CARDS - ADVANCED STYLING
   ========================================================== */


/* Journal list wrapper */
body.pkp_page_index .journals {
    position:relative;
}


/* Improve card spacing */
body.pkp_page_index .journals > li {
    position:relative;
    min-height:420px;
    display:flex;
    flex-direction:column;
}


/* Gold accent line */
body.pkp_page_index .journals > li::before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:linear-gradient(
        90deg,
        #ffc72c,
        #f4b400
    );
}


/* Card inner alignment */
body.pkp_page_index .journals > li > div {
    flex:1;
}


/* Journal title styling */
body.pkp_page_index .journals .title {
    min-height:70px;
    display:flex;
    align-items:center;
    justify-content:center;
}


/* Description limit */
body.pkp_page_index .journals .description {
    display:-webkit-box;
    -webkit-line-clamp:5;
    -webkit-box-orient:vertical;
    overflow:hidden;
}


/* Remove ugly default spacing */
body.pkp_page_index .journals p {
    margin-bottom:15px;
}


/* Journal logo container */
body.pkp_page_index .journals .thumb {
    height:230px;
    display:flex;
    align-items:center;
    justify-content:center;
}


/* Logo hover */
body.pkp_page_index .journals .thumb img {
    transition:.35s ease;
}


body.pkp_page_index .journals li:hover .thumb img {
    transform:scale(1.05);
}


/* ==========================================================
   BUTTON IMPROVEMENT
   ========================================================== */


body.pkp_page_index .journals a.read_more,
body.pkp_page_index .journals a.more {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 25px;
    background:#002b5c;
    color:white;
    border-radius:50px;
    font-size:14px;
    font-weight:600;
    transition:.3s;
}


body.pkp_page_index .journals a.read_more:hover,
body.pkp_page_index .journals a.more:hover {
    background:#ffc72c;
    color:#002b5c;
}


/* ==========================================================
   SEARCH AREA
   ========================================================== */


body.pkp_page_index .search {
    background:#ffffff;
    padding:25px;
    border-radius:16px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    margin-bottom:40px;
}


body.pkp_page_index input[type="text"],
body.pkp_page_index input[type="search"] {
    border:2px solid #d9e2ec;
    border-radius:40px;
    padding:12px 20px;
    width:100%;
    transition:.3s;
}


body.pkp_page_index input[type="text"]:focus,
body.pkp_page_index input[type="search"]:focus {
    border-color:#002b5c;
    outline:none;
}


/* Search button */

body.pkp_page_index button,
body.pkp_page_index input[type="submit"] {
    background:#002b5c;
    color:#fff;
    border:none;
    border-radius:40px;
    padding:12px 25px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}


body.pkp_page_index button:hover,
body.pkp_page_index input[type="submit"]:hover {
    background:#ffc72c;
    color:#002b5c;
}
/* ==========================================================
   PART 3
   HEADER + NAVIGATION + BRANDING
   OJS 3.5 MANUSCRIPT THEME
   ========================================================== */


/* =========================================
   HEADER BACKGROUND
========================================= */

body.pkp_page_index .pkp_structure_head {
    background:
        linear-gradient(
            135deg,
            #002b5c 0%,
            #004b87 100%
        );
    padding:25px 0;
}


/* Add subtle bottom border */

body.pkp_page_index .pkp_structure_head::after {
    content:"";
    display:block;
    height:4px;
    background:#ffc72c;
}


/* =========================================
   SITE TITLE
========================================= */

body.pkp_page_index .pkp_site_name {
    padding:10px 0;
}


body.pkp_page_index .pkp_site_name a {
    display:inline-block;
    color:#ffffff;
    font-size:34px;
    font-weight:800;
    letter-spacing:.3px;
    transition:.3s;
}


body.pkp_page_index .pkp_site_name a:hover {
    color:#ffc72c;
}


/* =========================================
   NAVIGATION
========================================= */

body.pkp_page_index .pkp_navigation_primary {
    margin-top:15px;
}


body.pkp_page_index .pkp_navigation_primary li a {

    padding:10px 18px;
    border-radius:30px;

    color:#ffffff;
    font-weight:600;

    transition:.3s;
}


body.pkp_page_index .pkp_navigation_primary li a:hover {

    background:#ffc72c;
    color:#002b5c;

}


/* Active menu */

body.pkp_page_index 
.pkp_navigation_primary 
li.active a {

    background:#ffc72c;
    color:#002b5c;

}


/* =========================================
   MAIN CONTENT AREA
========================================= */


body.pkp_page_index .page_index_site {

    background:#ffffff;

    border-radius:25px;

    box-shadow:
    0 15px 40px rgba(0,0,0,.08);

    margin-top:40px;

    padding:50px;

}


/* =========================================
   PAGE INTRO
========================================= */


body.pkp_page_index .page_index_site > h1 {

    position:relative;

    padding-bottom:20px;

}


body.pkp_page_index .page_index_site > h1::after {

    content:"";

    position:absolute;

    bottom:0;

    left:50%;

    transform:translateX(-50%);

    width:90px;

    height:4px;

    background:#ffc72c;

}


/* =========================================
   JOURNAL SECTION TITLE
========================================= */


body.pkp_page_index .journals > h2 {

    text-align:center;

    font-size:34px;

    margin-bottom:40px;

    color:#002b5c;

}


/* =========================================
   BODY LINKS
========================================= */


body.pkp_page_index a {

    transition:.25s ease;

}


/* =========================================
   FOOTER REDESIGN
========================================= */


body.pkp_page_index .pkp_structure_footer_wrapper {

    background:

    linear-gradient(
        135deg,
        #002b5c,
        #00172f
    );

    margin-top:60px;

    border-top:5px solid #ffc72c;

}


body.pkp_page_index 
.pkp_structure_footer_wrapper 
.pkp_brand_footer a {

    opacity:.85;

}


body.pkp_page_index 
.pkp_structure_footer_wrapper 
.pkp_brand_footer a:hover {

    opacity:1;

}


/* =========================================
   BACK TO TOP
========================================= */


body.pkp_page_index .pkp_scroll_to_top {

    background:#002b5c;

    color:white;

    border-radius:50%;

    width:45px;

    height:45px;

}


body.pkp_page_index .pkp_scroll_to_top:hover {

    background:#ffc72c;

    color:#002b5c;

}
/* ==========================================================
   PART 4
   RESPONSIVE DESIGN
   OJS 3.5 MANUSCRIPT
   ========================================================== */


/* =========================================
   LARGE TABLET / SMALL LAPTOP
========================================= */

@media (max-width:1200px){

    body.pkp_page_index .page_index_site {

        padding:40px 30px;

    }


    body.pkp_page_index .journals {

        grid-template-columns:
        repeat(2, minmax(280px,1fr));

    }


    body.pkp_page_index h1 {

        font-size:36px;

    }


}



/* =========================================
   TABLET
========================================= */


@media (max-width:768px){


    body.pkp_page_index .pkp_site_name a {

        font-size:26px;

    }


    body.pkp_page_index .page_index_site {

        margin-top:20px;

        padding:25px 18px;

        border-radius:15px;

    }


    body.pkp_page_index h1 {

        font-size:30px;

    }



    body.pkp_page_index .journals {

        grid-template-columns:1fr;

        gap:25px;

    }



    body.pkp_page_index 
    .journals > li {

        min-height:auto;

        padding:25px;

    }



    body.pkp_page_index 
    .journals .thumb {

        height:200px;

    }



    body.pkp_page_index 
    .journals .title a {

        font-size:21px;

    }



    body.pkp_page_index 
    .description {

        text-align:left;

    }


}



/* =========================================
   MOBILE PHONE
========================================= */


@media (max-width:480px){


    body.pkp_page_index {

        font-size:14px;

    }



    body.pkp_page_index 
    .pkp_structure_head {

        padding:15px 0;

    }



    body.pkp_page_index 
    .pkp_site_name a {

        font-size:22px;

    }



    body.pkp_page_index 
    .pkp_navigation_primary li a {

        padding:8px 12px;

        font-size:14px;

    }



    body.pkp_page_index 
    .page_index_site {

        padding:20px 12px;

    }



    body.pkp_page_index 
    h1 {

        font-size:26px;

    }



    body.pkp_page_index 
    .journals > li {

        border-radius:14px;

    }



    body.pkp_page_index 
    .journals .thumb img {

        max-width:140px;

        max-height:170px;

    }



    body.pkp_page_index 
    .links {

        flex-direction:column;

    }



    body.pkp_page_index 
    .links a {

        width:100%;

        text-align:center;

    }



}


/* =========================================
   EXTRA SMALL DEVICES
========================================= */


@media (max-width:360px){


    body.pkp_page_index 
    .pkp_site_name a {

        font-size:20px;

    }


    body.pkp_page_index 
    h1 {

        font-size:23px;

    }


}
/* ==========================================================
   PART 5
   FINAL POLISH
   ANIMATIONS + ACCESSIBILITY
   OJS 3.5 MANUSCRIPT
   ========================================================== */


/* =========================================
   SOFT PAGE BACKGROUND
========================================= */

body.pkp_page_index::before {

    content:"";

    position:fixed;

    inset:0;

    background:
    radial-gradient(
        circle at top right,
        rgba(255,199,44,.12),
        transparent 35%
    ),
    radial-gradient(
        circle at bottom left,
        rgba(0,43,92,.10),
        transparent 35%
    );

    pointer-events:none;

    z-index:-1;

}


/* =========================================
   JOURNAL CARD ENTRANCE
========================================= */


body.pkp_page_index .journals > li {

    animation:

    journalFade .6s ease both;

}


body.pkp_page_index .journals > li:nth-child(2){

    animation-delay:.1s;

}


body.pkp_page_index .journals > li:nth-child(3){

    animation-delay:.2s;

}


body.pkp_page_index .journals > li:nth-child(4){

    animation-delay:.3s;

}



@keyframes journalFade {


    from {

        opacity:0;

        transform:
        translateY(25px);

    }


    to {

        opacity:1;

        transform:
        translateY(0);

    }

}



/* =========================================
   CARD GLASS EFFECT
========================================= */


body.pkp_page_index 
.journals > li {

    backdrop-filter:
    blur(8px);

}



/* =========================================
   IMAGE QUALITY
========================================= */


body.pkp_page_index img {

    image-rendering:auto;

}



/* =========================================
   ACCESSIBILITY
========================================= */


body.pkp_page_index a:focus,
body.pkp_page_index button:focus,
body.pkp_page_index input:focus {

    outline:

    3px solid #ffc72c;

    outline-offset:3px;

}



/* =========================================
   REMOVE EXCESS DEFAULT OJS BORDERS
========================================= */


body.pkp_page_index 
.obj_issue_summary,
body.pkp_page_index 
.obj_issue_toc {

    border:none;

}



/* =========================================
   SMOOTH SCROLL
========================================= */


body.pkp_page_index {

    scroll-behavior:smooth;

}



/* =========================================
   PRINT FRIENDLY
========================================= */


@media print {


    body.pkp_page_index {

        background:white;

    }


    body.pkp_page_index 
    .journals > li {

        box-shadow:none;

        border:1px solid #ddd;

    }


}



/* =========================================
   REDUCED MOTION SUPPORT
========================================= */


@media (prefers-reduced-motion:reduce){


    body.pkp_page_index *,
    body.pkp_page_index *::before,
    body.pkp_page_index *::after {

        animation-duration:
        .01ms !important;

        transition-duration:
        .01ms !important;

        scroll-behavior:auto !important;

    }

}
