/* ============================================================
   JGPI Journal — Design matching spectrumscholarly.com/jshe
   ============================================================ */

/* ── HEADER / SITE NAME WRAPPER ─────────────────────────── */
.pkp_structure_head {
    background-color: #1B2A4A;
}

.pkp_site_name_wrapper {
    background-color: #1B2A4A !important;
    padding: 0 !important;
    min-height: 0 !important;
    display: block !important;
    position: relative !important;
}

/* ── LOGO — full-width banner (matches spectrumscholarly style) ── */
.pkp_head_wrapper {
    padding: 0 !important;
    max-width: 100% !important;
}

.pkp_site_name {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pkp_site_name a.is_img {
    display: block !important;
    width: 100% !important;
    line-height: 0 !important;
    font-size: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pkp_site_name img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ── NAVIGATION BAR ─────────────────────────────────────── */
.pkp_navigation_primary_row {
    background-color: #1B2A4A !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    margin-top: 0 !important;
}

.pkp_navigation_primary_wrapper {
    display: flex !important;
    align-items: center !important;
}

/* Nav links */
#navigationPrimary li a,
.pkp_navigation_primary li a,
ul.pkp_nav_list > li > a {
    color: #ffffff !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.7px !important;
    padding: 14px 16px !important;
    transition: background-color 0.2s ease !important;
}

#navigationPrimary > li > a:hover,
.pkp_navigation_primary > li > a:hover,
#navigationPrimary > li.active > a,
.pkp_navigation_primary > li.active > a {
    background-color: rgba(255, 255, 255, 0.13) !important;
    color: #ffffff !important;
}

/* Caret / dropdown arrow */
#navigationPrimary .caret {
    border-top-color: #ffffff !important;
}

/* Search link */
.pkp_navigation_search_wrapper a,
#siteNav .pkp_navigation_search_wrapper a,
.pkp_navigation_search_wrapper a span {
    color: #ffffff !important;
}

/* ── DROPDOWN MENUS ─────────────────────────────────────── */
.pkp_nav_list .dropdown-menu {
    background-color: #1e3058 !important;
    border: none !important;
    border-top: 3px solid #C9A84C !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
}

.pkp_nav_list .dropdown-menu li a {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
}

.pkp_nav_list .dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

/* ── USER NAV (top-right) ───────────────────────────────── */
#navigationUser,
.pkp_navigation_user {
    background-color: #f0f2f5 !important;
    border-bottom: 1px solid #dde1e9 !important;
}

#navigationUser li a,
.pkp_navigation_user li a {
    color: #1B2A4A !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

#navigationUser li a:hover,
.pkp_navigation_user li a:hover {
    color: #1B2A4A !important;
    background-color: rgba(0,0,0,0.06) !important;
}

/* ── LOGIN & REGISTER — bright gold pill buttons ── */
#navigationUser li a[href*="login"],
#navigationUser li a[href*="register"],
.pkp_navigation_user li a[href*="login"],
.pkp_navigation_user li a[href*="register"] {
    color: #ffffff !important;
    background-color: #C9A84C !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    border-radius: 4px !important;
    margin: 5px 4px !important;
    padding: 5px 14px !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
}

#navigationUser li a[href*="login"]:hover,
#navigationUser li a[href*="register"]:hover,
.pkp_navigation_user li a[href*="login"]:hover,
.pkp_navigation_user li a[href*="register"]:hover {
    background-color: #b8973e !important;
    color: #ffffff !important;
}

/* ── Logged-in user dropdown toggle — gold highlight ── */
#navigationUser li.profile > a[data-toggle],
#navigationUser li.profile > a[aria-haspopup],
.pkp_navigation_user li.profile > a[data-toggle] {
    color: #ffffff !important;
    background-color: #C9A84C !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    margin: 5px 6px !important;
    padding: 5px 14px !important;
}

#navigationUser li.profile > a[data-toggle]:hover,
.pkp_navigation_user li.profile > a[data-toggle]:hover {
    background-color: #b8973e !important;
    color: #ffffff !important;
}

#navigationUser .dropdown-menu {
    background-color: #ffffff !important;
    border-top: 3px solid #C9A84C !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
}

#navigationUser .dropdown-menu a {
    color: #1B2A4A !important;
}

#navigationUser li a,
.pkp_navigation_user li a {
    color: rgba(255,255,255,0.90) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

#navigationUser li a:hover,
.pkp_navigation_user li a:hover {
    color: #ffffff !important;
    background-color: rgba(255,255,255,0.1) !important;
}

/* ── LOGIN & REGISTER — bright gold pill buttons ── */
#navigationUser li a[href*="login"],
#navigationUser li a[href*="register"],
.pkp_navigation_user li a[href*="login"],
.pkp_navigation_user li a[href*="register"] {
    color: #C9A84C !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    border: 1.5px solid rgba(201,168,76,0.65) !important;
    border-radius: 4px !important;
    margin: 6px 5px !important;
    padding: 5px 14px !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
    background-color: transparent !important;
}

#navigationUser li a[href*="login"]:hover,
#navigationUser li a[href*="register"]:hover,
.pkp_navigation_user li a[href*="login"]:hover,
.pkp_navigation_user li a[href*="register"]:hover {
    background-color: #C9A84C !important;
    color: #1B2A4A !important;
    border-color: #C9A84C !important;
}

#navigationUser .dropdown-menu {
    background-color: #1e3058 !important;
    border-top: 3px solid #C9A84C !important;
}

#navigationUser .dropdown-menu a {
    color: rgba(255,255,255,0.88) !important;
}

/* ── BODY / PAGE BACKGROUND ─────────────────────────────── */
body {
    background-color: #f2f4f7 !important;
}

/* ── SIDEBAR ─────────────────────────────────────────────── */
.pkp_block h2 {
    color: #1B2A4A !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 2px solid #C9A84C !important;
    padding-bottom: 7px !important;
    margin-bottom: 10px !important;
}

/* Make a Submission button */
.pkp_block.pkp_block_make_submission a {
    background-color: #1B2A4A !important;
    color: #ffffff !important;
    border: 2px solid #C9A84C !important;
    display: block !important;
    text-align: center !important;
    padding: 10px 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    font-size: 13px !important;
    border-radius: 3px !important;
    transition: all 0.2s ease !important;
}

.pkp_block.pkp_block_make_submission a:hover {
    background-color: #C9A84C !important;
    color: #ffffff !important;
    border-color: #C9A84C !important;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.pkp_structure_footer,
footer.pkp_structure_footer {
    background-color: #1B2A4A !important;
    color: #c8d4e8 !important;
    border-top: 3px solid #C9A84C !important;
}

.pkp_structure_footer a,
footer.pkp_structure_footer a {
    color: rgba(255, 255, 255, 0.75) !important;
}

.pkp_structure_footer a:hover,
footer.pkp_structure_footer a:hover {
    color: #C9A84C !important;
    text-decoration: underline !important;
}

/* ── CONTENT AREA ───────────────────────────────────────── */
.pkp_structure_content {
    background-color: #ffffff !important;
    box-shadow: 0 1px 8px rgba(0,0,0,0.08) !important;
}

/* Article/issue block headings */
.pkp_structure_main h2,
.pkp_structure_main h3 {
    color: #1B2A4A !important;
}

/* Active / current nav item */
.pkp_navigation_primary li.active > a,
.pkp_navigation_primary li.current > a {
    background-color: rgba(201, 168, 76, 0.25) !important;
    border-bottom: 2px solid #C9A84C !important;
}

/* ── HIDE OJS/PKP BRANDING ──────────────────────────────── */
.pkp_brand_footer,
.pkp_brand_footer_logo,
a[href*="pkp.sfu.ca"],
a[href*="openjournaltheme.com"] {
    display: none !important;
}

/* ── CUSTOM RICH FOOTER ─────────────────────────────────── */

/* Remove default OJS footer padding so our wrap controls spacing */
.pkp_structure_footer {
    padding: 0 !important;
}
.pkp_footer_content {
    padding: 0 !important;
    margin: 0 !important;
}

/* Wrapper font */
.jgpi-footer-wrap {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: rgba(255,255,255,0.85);
}

/* ── MAIN 3-COLUMN GRID ── */
.jgpi-footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 48px;
    padding: 52px 32px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

@media (max-width: 768px) {
    .jgpi-footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 36px 20px 28px;
    }
    .jgpi-footer-bottom {
        flex-direction: column !important;
        gap: 14px !important;
        text-align: center;
    }
}

/* ── COL 1: BRAND ── */
.jgpi-footer-brand h3 {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 0 4px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    border: none !important;
    padding: 0 !important;
}

.jgpi-footer-abbrev {
    color: #C9A84C;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 10px;
}

.jgpi-footer-hr {
    border: none !important;
    border-top: 1px solid rgba(255,255,255,0.18) !important;
    margin: 12px 0 14px !important;
}

.jgpi-footer-tagline {
    font-style: italic;
    font-size: 13px;
    color: rgba(255,255,255,0.58);
    margin: 0 0 22px !important;
    line-height: 1.5;
}

.jgpi-footer-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

.jgpi-footer-meta-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    min-width: 116px;
}

.jgpi-issn-badge {
    background: #C9A84C;
    color: #1B2A4A;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* ── COLUMN HEADINGS (gold, uppercase) ── */
.jgpi-footer-col-head {
    color: #C9A84C !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.3px !important;
    text-transform: uppercase !important;
    margin: 0 0 14px !important;
    border: none !important;
    padding: 0 !important;
}

/* ── QUICK LINKS ── */
.jgpi-footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 28px !important;
}

.jgpi-footer-links li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.jgpi-footer-links li a {
    display: block !important;
    color: rgba(255,255,255,0.80) !important;
    font-size: 13.5px !important;
    padding: 7px 0 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.jgpi-footer-links li a::before {
    content: '›';
    color: #C9A84C;
    margin-right: 8px;
    font-size: 17px;
    line-height: 1;
    vertical-align: middle;
}

.jgpi-footer-links li a:hover {
    color: #ffffff !important;
}

/* ── INDEXED IN BADGES ── */
.jgpi-index-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jgpi-index-badge {
    background: #ffffff;
    color: #1B2A4A;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 3px;
    display: inline-block;
    line-height: 1;
}

/* ── CONTACT COLUMN ── */
.jgpi-contact-icon-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.45);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.jgpi-contact-icon-label svg {
    width: 15px;
    height: 12px;
    fill: rgba(255,255,255,0.38);
    flex-shrink: 0;
}

.jgpi-contact-email-addr {
    color: rgba(255,255,255,0.85);
    font-size: 13.5px;
    margin-bottom: 22px;
    word-break: break-all;
    line-height: 1.5;
}

.jgpi-submit-btn {
    display: inline-block !important;
    background: #C9A84C !important;
    color: #1B2A4A !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 11px 20px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    letter-spacing: 0.3px !important;
    transition: background 0.2s !important;
    white-space: nowrap;
}

.jgpi-submit-btn:hover {
    background: #dbb95e !important;
    color: #1B2A4A !important;
    text-decoration: none !important;
}

/* ── BOTTOM BAR ── */
.jgpi-footer-bottom {
    background: #152238;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 32px !important;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    flex-wrap: wrap;
    gap: 12px;
}

.jgpi-footer-bottom strong {
    color: #ffffff;
    font-weight: 700;
}

.jgpi-cc-link {
    color: #C9A84C !important;
    text-decoration: none !important;
    font-weight: 600;
}

.jgpi-cc-link:hover {
    text-decoration: underline !important;
}

/* Social icons */
.jgpi-social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.jgpi-social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-weight: 700;
    color: #ffffff !important;
    transition: opacity 0.2s;
    flex-shrink: 0;
    line-height: 1;
}

.jgpi-social-icon:hover {
    opacity: 0.82;
    text-decoration: none !important;
}

.jgpi-social-li  { background: #0A66C2; font-size: 13px; font-family: Georgia, serif; letter-spacing: -0.5px; }
.jgpi-social-fb  { background: #1877F2; font-size: 15px; }
.jgpi-social-yt  { background: #FF0000; font-size: 11px; }

/* ── DEVELOPER STRIP ── */
.jgpi-dev-strip {
    background: #152238;
    text-align: center;
    padding: 12px 32px 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

.jgpi-dev-badge {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.32);
    border-radius: 4px;
    padding: 4px 13px;
    color: rgba(255,255,255,0.82);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
