/* =========================
   OJS FOOTER — MATCH MAIN SITE
   ========================= */

.pkp_structure_footer {
    background-color: #121212;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.sjp-ojs-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px 28px;
    font-size: 14px;
    color: #9ca3af;
}

.sjp-ojs-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
}

.sjp-ojs-col h5 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
}

.sjp-ojs-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sjp-ojs-col li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.sjp-ojs-col a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sjp-ojs-col a:hover {
    color: #ffffff;
}

/* Brand */

/* Dual brand footer */
.sjp-ojs-footer-dual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    margin: 24px 0;
}

/* Left: SJP */
.sjp-brand-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.sjp-brand-left img {
    height: 28px; /* REQUIRED */
    width: auto;
}

/* Right: SHPAA */
.sjp-brand-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sjp-brand-right a {
    display: flex;
    align-items: center;
}


.sjp-brand-right img {
    height: 40px;
    width: auto;
}

.sjp-brand-right-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.support-line-1 {
    font-size: 0.85rem;
    opacity: 0.8;
}

.support-line-2 {
    font-size: 0.9rem;
    font-weight: 500;
}


/* Bottom */

.sjp-ojs-footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

.sjp-ojs-powered a {
    color: #FAFAFA;
    text-decoration: none;
}

.sjp-ojs-powered a:hover {
    color: #ffffff;
}

/* Responsive */

@media (max-width: 768px) {
    .sjp-ojs-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .sjp-ojs-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   OJS FOOTER FULL WIDTH FIX
   ========================= */

.pkp_structure_footer .pkp_container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* =========================
   OJS 3.4 FOOTER FULL WIDTH (FIXED)
   ========================= */

/* Make footer background full width */
/* =========================
   TRUE FULL-WIDTH FOOTER (OJS 3.4)
   ========================= */

/* Extend footer background to viewport */
.pkp_structure_footer {
    background-color: #121212;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Remove inner container restriction */
.pkp_structure_footer .pkp_container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* Keep footer content centered */
.sjp-ojs-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 28px;
}

body {
    overflow-x: hidden;
}

/* Hide PKP / OJS footer branding */
.pkp_brand_footer,
.pkp_footer_branding,
.pkp_footer_content .pkp_branding {
    display: none !important;
}



