:root {
    /* Color Variables */
    --primary: white;
    --secondary: black;
    --background-color: #54010B;
    --link-text-color: whitesmoke;
    --sub-text: #535353;
    --header-background: linear-gradient(180deg, #c42217 0%, #000000 100%);
    --footer-background: linear-gradient(180deg, #54010B 0%, #000000 120%);
    
    /* Note: The following variables are used but were not defined in :root. 
       Ensure they are defined in a parent stylesheet or add them here. */
    
    --tertiary: #d99726;
    --tertiary-light: #2c3e50;
    --primary-light: #f8f9fa;
    --primary-dark: #e9ecef;
    --custom-block-container: #ffffff; 
   
}

html, body {
    height: 100%;
}

body{
    display: flex;
    flex-direction: column;
}

/* =========================================
   HEADER STYLES
   ========================================= */

.main-header {
    color: var(--primary);
    display: flex;
    min-height: 20vh;
    background-image: url(https://assets.assalampublisher.com/assets/literasio-header.png);
    background-color: var(--background-color);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


.main-header__admin {
    align-items: center;
}

.main-menu {
    flex-direction: column;
}

.main-menu__logo,
.main-menu__title {
    margin: 0;
    padding-top: 0;
    font-size: 2em;
    text-align: center;
}

header.row {
    background-color: white;
    align-items: center;
    box-shadow: 5px 5px 10px #8080804f;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

header.row:hover {
    transform: translateY(-5px);
}

header.row::before {
    content: "";
    background-image: url(https://assets.assalampublisher.com/assets/literasio-cover.png);
    background-size: 100% 100%;
    display: inline-block;
    height: 250px; /* Image Size */
    width: 250px;
}

.row.main__header .col-md-3 {
    display: none;
}

/* =========================================
   CONTENT / JOURNAL STYLES
   ========================================= */

.container.main__content{
    flex: 1;
}

.journal-desc {
    text-align: justify;
    border:none;
}

.journal-desc h2{
    color: #d99726;
    font-weight: bold;
}

h2.issue__title{
    border-left: solid var(--background-color);
    margin-bottom: 0;
    padding-left: 10px;
}

.col-sm-8.issue p:nth-child(3){
    border-left: solid var(--background-color);
    margin-top: 0;
    padding-left: 10px;
}

ol.issue-section__toc {
    text-align: justify;
}

.btn-primary, 
.btn, 
.btn-secondary{
    border-radius: 10px;
    background-color: #813131;
    color:white;
    border: none;
}

.btn-primary:hover,
.btn-secondary:hover{
    color:white;
    border:none;
    background-color: #9c3b3b;
}

.col-sm-8.issue p:first-child {
    color: #d99726;
    font-weight: bold;
}

.issue-section__toc .issue-section__toc-item .row.article .col-sm-8 .article__title a{
    color: var(--background-color);
    transition: all 0.3s ease;
}

.issue-section__toc .issue-section__toc-item .row.article .col-sm-8 .article__title a:hover{
    color: #d99726;
    text-decoration-line: underline;
}

.issue-section__toc .issue-section__toc-item .row.article .col-sm-8 p{
    color: #d99726;
}

/* =========================================
   FOOTER STYLES
   ========================================= */

.main-footer {
    background: var(--footer-background);
    padding: 40px 20px;
    font-family: "Poppins", sans-serif;
    color: var(--primary);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.main-footer h2 {
    color: var(--primary);
}

.main-footer p {
    margin: 8px 0;
    line-height: 1.6;
    font-size: 0.9rem;
}

.main-footer p:last-child {
    margin-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.main-footer a {
    color: var(--primary);
    text-decoration: none;
}

/* Footer Layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

/* Footer Section Titles */
.main-footer .title {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    font-weight: 600;
}

.main-footer .title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

/* Footer Boxes */
.footer-box, .footer-box-issn{
    padding: 10px;
    border-radius: 10px;
    backdrop-filter: blur(5px); /* Note: backdrop-filter requires semi-transparent background to be visible */
    transition: transform 0.3s ease;
}

/* Footer Containers (Index, Flag, Tools, Map) */
.index-container,
.flag-container,
.tools-container,
.map-container {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: fit-content;
    max-width: 300px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.issn-container {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: fit-content;
    max-width: 300px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Index Container Specific */
.main-footer .index-container {
    display: flex;
    flex-direction: column;
}

.main-footer .index-container img {
    max-width: 100%;
    max-height: 60px;
    height: auto;
    object-fit: contain;
}

/* Map Container Specific */
.main-footer .map-container iframe {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    min-height: 200px;
}

/* Image Link Styling in Footer */
.main-footer a img {
    transition: all 0.3s ease;
    margin: 8px 0;
    border-radius: 6px;
    max-width: 100%;
    filter: grayscale(20%);
}

.main-footer a:hover img {
    transform: scale(1.03);
    filter: grayscale(0%);
}

/* Utility / Hidden Items */
.col-2.col-sm-1.offset-10.offset-sm-11 {
    display: none;
}

/* =========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================= */

@media (max-width: 1440px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .main-header {
        flex-direction: row-reverse;
        align-items: center;
        min-height: 30vh;
    }

    .main-menu {
        flex-direction: row-reverse;
        align-content: center;
        justify-content: space-around;
    }

    #navigationPrimary {
        text-align: start;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-menu__logo,
    .main-menu__title {
        font-size: 1.3em;
    }
}

@media (min-width: 768px) {
    .col-md-7,
    .col-md-8,
    .col-sm-8 {
        flex: 0 0 auto;
        width: 100%;
    }

    .col-sm-6 {
        width: 81%;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer .title {
        font-size: 1.1rem;
    }

    .main-menu {
        flex-direction: row-reverse;
        align-content: center;
        justify-content: flex-end;
    }

    #navigationPrimary {
        text-align: start;
    }

    .main-menu__logo,
    .main-menu__title {
        font-size: 0em; /* Hidden on small screens */
    }
}

/* =========================================
   ADDITIONAL PAGE STYLES (FEE CONTAINER)
   ========================================= */

.fee-container {
    max-width: 900px;
    margin: auto;
    padding: 1.5rem;
    background: var(--primary);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--tertiary-light);
}

.fee-container h2 {
    text-align: center;
    color: var(--background-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.fee-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
    border-radius: 8px;
}

/* Fee List */
.fee-list p {
    background: var(--primary-light);
    padding: 0.6rem 1rem;
    margin: 0.3rem 0;
    border-radius: 6px;
    border-left: 4px solid var(--background-color);
}

.fee-list p strong {
    color: #b22222;
    font-size: 1.05rem;
}

/* Fee Description */
.fee-description {
    margin-top: 1rem;
    font-size: 0.95rem;
    background: var(--primary-dark);
    padding: 0.8rem 1rem;
    border-radius: 6px;
}

/* Responsive for Fee Container */
@media (max-width: 600px) {
    .fee-container {
        padding: 1rem;
    }

    .fee-container h2 {
        font-size: 1.5rem;
    }

    .fee-list p {
        font-size: 0.9rem;
    }
}



        body.pkp_page_about.pkp_op_editorialTeam,
body.pkp_page_authorGuidelines.pkp_op_index,
body.pkp_page_reviewProcess.pkp_op_index,
body.pkp_page_processingCharge.pkp_op_index
 {
            font-family: Arial, Helvetica, sans-serif;
            background: #f8f9fa;
            margin: 0;
            padding: 0;
        }

/* Editorial Group */
        .editorial-team {
            max-width: 900px;
            margin: 50px auto;
            background: #ffffff;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            color: #333;
        }

        .editorial-group {
            margin-bottom: 32px;
        }

        .editorial-group h3 {
            font-size: 20px;
            margin-bottom: 14px;
            padding-bottom: 6px;
            border-bottom: 2px solid #e0e0e0;
            color: #222;
        }

        .editorial-group ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .editorial-group li {
            margin-bottom: 14px;
            line-height: 1.6;
        }

        .editorial-group strong {
            display: block;
            font-size: 16px;
            font-weight: 600;
        }

        .editorial-group span {
            font-size: 14px;
            color: #666;
        }
/* End of Editorial Group */

/* Guidelines */
        .guidelines {
            max-width: 900px;
            margin: 50px auto;
            background: #ffffff;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            color: #333;
        }

        .guidelines ul {
            padding-left: 20px;
            line-height: 1.8;
        }

        .guidelines li {
            margin-bottom: 12px;
            font-size: 15px;
        }

        .guidelines a {
            color: #0d6efd;
            text-decoration: none;
            font-weight: 600;
        }

        .guidelines a:hover {
            text-decoration: underline;
        }

        .highlight {
            background: #fff3cd;
            border-left: 4px solid #ffc107;
            padding: 15px 20px;
            margin-top: 25px;
            border-radius: 4px;
            font-size: 14px;
        }
/* End of Guidelines */


/* Review Process & Charge List */
        .content-box {
            max-width: 900px;
            margin: 50px auto;
            background: #ffffff;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            color: #333;
        }

        .section {
            margin-bottom: 35px;
        }

        .section p {
            font-size: 15px;
            line-height: 1.8;
            margin-bottom: 14px;
            text-align: justify;
        }

        .charge-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .charge-list li {
            margin-bottom: 14px;
            font-size: 15px;
            line-height: 1.7;
        }

        .price {
            font-weight: 700;
        }

        .note {
            background: #e7f1ff;
            border-left: 4px solid #0d6efd;
            padding: 15px 20px;
            margin-top: 20px;
            border-radius: 4px;
            font-size: 14px;
        }
/* End of Review Process & Charge List */