/* ===============================
   HEADER OVERRIDES
=============================== */

.pkp_head_wrapper{
    padding-top:0 !important;
}

.pkp_site_name_wrapper{
    height:auto !important;
    padding:15px 40px;
}

.pkp_site_name{
    position:relative !important;
    left:auto !important;
    right:auto !important;
    width:100%;
    padding:0 !important;
    overflow:visible !important;
    white-space:normal !important;
}

/* ===============================
   HEADER LAYOUT
=============================== */

.header-layout{
    display:grid;
    grid-template-columns:90px 1fr 80px 260px;
    align-items:center;
    column-gap:30px;
    width:100%;
}

.header-left{
    justify-self:start;
}

.header-center{
    justify-self:start;
}

.header-logo-right{
    justify-self:center;
}

.header-right{
    justify-self:end;
}

/* ===============================
   LOGOS
=============================== */

.numl-logo{
    width:75px;
    height:auto;
}

.journal-logo{
    width:65px;
    height:auto;
}

/* ===============================
   TITLE
=============================== */

.brand-text{
    display:flex;
    flex-direction:column;
}

.journal-title{
    font-size:30px;
    font-weight:700;
    color:#0B2346;
    line-height:1.2;
    white-space:nowrap;
}

.journal-subtitle{
    font-size:15px;
    color:#666;
}

/* ===============================
   USER MENU
=============================== */

.header-right .pkp_navigation_user{
    display:flex !important;
    align-items:center;
    justify-content:flex-end;
    gap:18px;
    margin:0;
    padding:0;
    border:none;
    list-style:none;
}

.header-right .pkp_navigation_user li{
    display:inline-flex;
}

.header-right .pkp_navigation_user a{
    padding:0 !important;
    text-decoration:none;
    color:#0B2346;
    font-weight:600;
    white-space:nowrap;
}

.header-right .task_count{
    margin-left:5px;
}

/* ===============================
   MOBILE
=============================== */

@media (max-width:991px){

    .header-layout{
        grid-template-columns:1fr;
        row-gap:15px;
        text-align:center;
    }

    .header-left,
    .header-center,
    .header-logo-right,
    .header-right{
        justify-self:center;
    }

    .header-right .pkp_navigation_user{
        justify-content:center;
    }
}

/* ===========================
   FULL ISSUE CARDS
=========================== */

.issue-galleys-section{
    margin:40px 0;
}

.issue-galleys-header{
    text-align:center;
    margin:40px 0 35px;
}

.issue-galleys-title{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    font-size:30px;
    font-weight:700;
    color:#1f2937;
    margin:0;
    position:relative;
}

.issue-galleys-title::before,
.issue-galleys-title::after{
    content:"";
    flex:1;
    border-top:2px solid #d9dee5;
}
.issue-galleys-title::before{
    margin-right:20px;
}

.issue-galleys-title::after{
    margin-left:20px;
}
.issue-title-icon{
    font-size:28px;
    color:#2563eb;
}

.issue-galleys-subtitle{
    margin-top:12px;
    color:#6b7280;
    font-size:15px;
}

.issue-galley-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:20px;
}

.issue-galley-card{
    background:#fff;
    border:1px solid #e9ecef;
    border-radius:12px;
    padding:22px;
    text-align:center;
    box-shadow:0 4px 12px rgba(0,0,0,.06);
    transition:.3s;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:240px;
}

.issue-galley-card:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 25px rgba(0,0,0,.12);
}

.issue-galley-icon{
    font-size:40px;
    margin-bottom:50px;
}

.issue-galley-title{
    font-size:14px;
    font-weight:400;
    line-height:1.6;
    color:#008acb;
    margin-bottom:18px;


    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.issue-galley-action{
    margin-top:auto;
}

.issue-galley-action .obj_galley_link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    color:#2563eb !important;
    text-decoration:none;
    padding:10px 18px;
    border-radius:8px;
    font-size:11px;
    font-weight:600;
}

.issue-galley-action .obj_galley_link:hover{
    background:#1d4ed8;
    color:#fff !important;
}

.download-icon{
    font-size:18px;
}

@media (max-width:992px){
    .issue-galley-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:576px){
    .issue-galley-grid{
        grid-template-columns:1fr;
    }
}

/* ==========================================
   ABOUT JOURNAL
========================================== */

.modern-about{
    margin:60px 0;
}

.section-title{
    text-align:center;
    margin-bottom:45px;
}

.section-title h2{
    font-size:42px;
    font-weight:700;
    color:#1f2937;
    margin-bottom:12px;
}

.section-title h2::after{
    content:"";
    display:block;
    width:90px;
    height:3px;
    background:#2563eb;
    margin:15px auto 0;
}

.section-title p{
    color:#6b7280;
    font-size:18px;
}

.about-wrapper{
    max-width:1000px;
    margin:0 auto;
}

.about-image{
    flex:0 0 35%;
}

.about-image img{
    width:100%;
    border-radius:15px;
    box-shadow:0 12px 35px rgba(0,0,0,.10);
}

.about-content{
    width:100%;
}

.about-description{
    font-size:17px;
    line-height:1.9;
    text-align:justify;
    color:#374151;

    max-height:320px;
    overflow:hidden;
    position:relative;
}

.about-description::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:80px;
    background:linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,1)
    );
}

/* Highlights */

.journal-highlights{
    max-width:900px;
    margin:40px auto 0;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.highlight-item{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:18px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    gap:10px;

    font-weight:600;

    transition:.3s;

    box-shadow:0 4px 12px rgba(0,0,0,.05);
}

.highlight-item:hover{
    transform:translateY(-5px);
    border-color:#2563eb;
    box-shadow:0 10px 25px rgba(37,99,235,.15);
}

.highlight-item span{
    text-align:center;
}

.about-button{
    margin-top:35px;
    text-align:center;
}

.btn-about{
    display:inline-block;
    background:#2563eb;
    color:#fff !important;
    padding:14px 30px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.btn-about:hover{
    background:#1d4ed8;
}

/* Responsive */

@media(max-width:992px){

    .about-wrapper{
        flex-direction:column;
    }

    .about-image{
        width:100%;
        text-align:center;
    }

    .about-image img{
        max-width:420px;
    }

    .journal-highlights{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:576px){

    .journal-highlights{
        grid-template-columns:1fr;
    }

}

.issue-galleys-section{
    display:none;
}