/* ============================================================
   UWC Corporate Branding — OJS 3.3
   Only header background and footer are overridden.
   All navigation dropdowns use OJS defaults.
   ============================================================ */

/* ----------------------------------------------------------
   HEADER BACKGROUND ONLY
   ---------------------------------------------------------- */
.pkp_structure_head,
.pkp_head_wrapper,
.pkp_site_name_wrapper {
    background-color: rgba(10, 26, 92, 1) !important;
    border-bottom: 3px solid rgba(255, 255, 255, 0.15);
}

/* Journal name text */
.pkp_site_name a.is_text,
.pkp_site_name a.is_text:visited {
    color: #ffffff !important;
    font-size: 1.4em;
    font-weight: 650;
    text-decoration: none;
    padding-bottom: 10px;
    display: inline-block;
}

/* Journal logo image */
.pkp_site_name a.is_img img {
    max-height: 70px;
    width: auto;
}

/* Mobile menu toggle */
.pkp_site_nav_toggle {
    color: #ffffff !important;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
}

/* Primary nav bar row background only */
.pkp_navigation_primary_row {
    background-color: rgba(10, 26, 92, 0.9) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Top level nav links white */
ul.pkp_navigation_primary > li > a,
ul.pkp_navigation_primary > li > a:visited,
ul.pkp_navigation_user > li > a,
ul.pkp_navigation_user > li > a:visited,
.pkp_navigation_search_wrapper a.pkp_search {
    color: #ffffff !important;
}

ul.pkp_navigation_primary > li > a:hover,
ul.pkp_navigation_user > li > a:hover,
.pkp_navigation_search_wrapper a.pkp_search:hover {
    color: #c8d4ff !important;
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
.pkp_structure_footer_wrapper {
    background-color: rgba(10, 26, 92, 1) !important;
    border-top: 3px solid rgba(255, 255, 255, 0.15);
}

.pkp_structure_footer {
    background-color: rgba(10, 26, 92, 1) !important;
    padding: 25px 0;
}

.pkp_footer_content,
.pkp_footer_content p,
.pkp_footer_content span,
.pkp_footer_content li,
.pkp_footer_content a,
.pkp_footer_content a:visited {
    color: #ffffff !important;
}

.pkp_footer_content a:hover {
    color: #c8d4ff !important;
}

/* UWC logo replacing PKP brand */
.pkp_brand_footer {
    padding: 10px 20px;
    text-align: right;
}

.pkp_brand_footer img {
    display: none !important;
}

.pkp_brand_footer a {
    display: inline-block;
}

.pkp_brand_footer a::after {
    content: '';
    display: block;
    background-image: url('https://uwc-za.b-cdn.net/files/images/UWC-2025-trilingual-landscape-white.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    width: 350px;
    height: 70px;
}

/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */
.pkp_button,
.cmp_button,
button[type="submit"],
input[type="submit"],
.btn,
.btn-primary {
    background-color: rgba(10, 26, 92, 1) !important;
    border-color: rgba(10, 26, 92, 1) !important;
    color: #ffffff !important;
    border-radius: 3px;
}

.pkp_button:hover,
.cmp_button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.btn:hover,
.btn-primary:hover {
    background-color: rgba(10, 26, 92, 0.8) !important;
    color: #ffffff !important;
}

/* ----------------------------------------------------------
   BODY LINKS
   ---------------------------------------------------------- */
.pkp_structure_main a {
    color: rgba(10, 26, 92, 1);
}

.pkp_structure_main a:hover {
    color: rgba(10, 26, 92, 0.7);
}
