/**
 * Wits Business Review — layout matching https://witsbr.com/
 * Navy #003366, gold #ffb81c, boxed page on #112233.
 */

.aref-theme h1,
.aref-theme h2,
.aref-theme h3,
.aref-theme h4,
.aref-theme h5,
.aref-theme h6 {
    font-family: "Open Sans", sans-serif;
    color: #1b2430;
}

.aref-theme a { color: #003366; }
.aref-theme a:hover { color: #d9534f; }

/* Top bar */
.aref-theme .aref-topbar {
    background: #003366;
    min-height: 40px;
    font-size: 13px;
}

.aref-theme .aref-topbar__inner {
    max-width: none;
    padding: 8px 22px;
}

.aref-theme .aref-topbar__label {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    margin-right: 4px;
}

.aref-theme .aref-topbar a,
.aref-theme .aref-topbar strong,
.aref-theme .aref-topbar__item {
    color: #fff;
}

.aref-theme .wbr-auth-link {
    color: #ffb81c !important;
    text-decoration: none;
    font-size: 15px;
}

.aref-theme .wbr-auth-link:hover { color: #fff !important; }

.aref-theme .wbr-auth-sep {
    color: #fff;
    margin: 0 10px;
}

/* White navigation */
.aref-theme .pkp_structure_head.aref-nav-bar {
    background: #fff !important;
    box-shadow: none;
    border-bottom: 1px solid #eee !important;
}

.aref-theme .aref-head-wrapper,
.aref-theme .has_site_logo .pkp_head_wrapper.aref-head-wrapper {
    max-width: none;
    padding: 8px 22px !important;
}

.aref-theme .pkp_site_name .is_text {
    color: #003366;
}

.aref-theme .pkp_navigation_primary > li {
    border-right: none;
}

.aref-theme .pkp_navigation_primary > li > a {
    color: #1b2430 !important;
    font-family: "Open Sans", sans-serif !important;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: transparent !important;
    border-bottom: 3px solid transparent !important;
    padding: 22px 11px;
}

.aref-theme .pkp_navigation_primary > li > a:hover,
.aref-theme .pkp_navigation_primary > li > a:focus,
.aref-theme .pkp_navigation_primary > li.aref-nav-current > a,
.aref-theme .pkp_navigation_primary > li > a.aref-nav-current,
.aref-theme .pkp_navigation_primary > li.aref-nav-current--parent > a,
.aref-theme .pkp_navigation_primary > li > a.aref-nav-current--parent {
    color: #003366 !important;
    background: transparent !important;
    border-bottom-color: #ffb81c !important;
}

.aref-theme .pkp_navigation_primary li ul a.aref-nav-current {
    color: #003366 !important;
    background: #f4f7fb;
}

.aref-theme .pkp_nav_list ul {
    border-top: 3px solid #ffb81c !important;
}

/* Hero */
.wbr-hero {
    padding: 22px 22px 8px;
}

.wbr-hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #003366;
    color: #fff;
    border-radius: 6px;
    padding: 36px 28px;
}

.wbr-hero__title {
    margin: 0 0 10px;
    color: #fff !important;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
}

.wbr-hero__tagline {
    margin: 0;
    color: #e6ecf3;
    font-size: 16px;
    max-width: 720px;
    line-height: 1.5;
}

.wbr-hero__cta {
    flex: 0 0 auto;
    background: #ffb81c !important;
    color: #1b2430 !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 2px;
}

.wbr-hero__cta:hover {
    background: #fff !important;
    color: #003366 !important;
}

/* Content width inside the box */
.aref-theme .pkp_structure_content {
    max-width: none;
    padding: 0 22px 10px;
}

.aref-theme .pkp_structure_main {
    padding-top: 1.25rem;
}

/* Homepage */
.wbr-issn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0 18px;
    text-align: center;
}

.wbr-issn__text {
    margin: 0;
    font-size: 20px;
    color: #1b2430;
}

.wbr-cfp {
    display: inline-block;
    background: #d9534f;
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 3px;
}

.wbr-cfp:hover { background: #c9302c; color: #fff !important; }

.wbr-papers {
    border: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.wbr-papers__head {
    background: #112233;
    color: #fff;
    padding: 12px 18px;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wbr-papers__head .fa { margin-right: 8px; }

.wbr-papers__body { padding: 8px 16px 16px; }

.wbr-article-list {
    margin: 0;
    padding: 0 0 0 22px;
}

.wbr-article-list__item {
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.wbr-article-list__title {
    margin: 0 0 6px;
    font-weight: 700;
}

.wbr-article-list__title a {
    color: #123;
    text-decoration: underline;
}

.wbr-article-list__title a:hover { color: #d9534f; }

.wbr-article-list__title .fa,
.wbr-article-list__meta .fa {
    color: #003366;
    margin-right: 6px;
}

.wbr-article-list__meta {
    margin: 4px 0 0 18px;
    color: #1b2430;
}

.wbr-view-all { margin: 14px 0 4px; font-weight: 700; }

.wbr-empty { padding: 16px 4px; }

/* Sidebar */
.wbr-sidebar { display: flex; flex-direction: column; gap: 18px; }

.wbr-widget {
    background: #fff;
}

.wbr-widget__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #003366;
}

.wbr-search {
    display: flex;
    border: 1px solid #d5dbe3;
    border-radius: 4px;
    overflow: hidden;
}

.wbr-search__input {
    flex: 1;
    border: 0;
    padding: 8px 10px;
    font-size: 14px;
    outline: none;
}

.wbr-search__btn {
    border: 0;
    background: #003366;
    color: #fff;
    width: 40px;
    cursor: pointer;
}

.wbr-advance { margin: 8px 0 0; font-weight: 700; }

.wbr-issue-list,
.wbr-news-list {
    list-style: disc;
    margin: 0;
    padding-left: 18px;
}

.wbr-issue-list li,
.wbr-news-list li { margin: 6px 0; }

.wbr-submit-kicker {
    margin: 0 0 4px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d9534f;
    font-weight: 700;
}

.wbr-submit-note { margin: 0 0 8px; line-height: 1.5; }

.wbr-submit-links { font-weight: 700; }

.wbr-news-empty { margin: 0; }

/* Inner page title bar — navy text, not a coloured strip */
.aref-theme .aref-page-header {
    background: transparent;
    color: #1b2430;
    box-shadow: none;
    border-radius: 0;
    margin: 8px 0 12px;
    padding: 0;
    width: auto;
}

.aref-theme .pkp_structure_content.has_sidebar > .aref-page-header {
    margin-left: 0;
    margin-right: 0;
    width: auto;
    padding: 4px 0 0;
}

.aref-theme .cmp_breadcrumbs--aref ol { color: #5c6770; }
.aref-theme .cmp_breadcrumbs--aref a { color: #003366; }
.aref-theme .aref-page-header__title {
    color: #003366;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
}

/* Footer */
.aref-theme .aref-footer,
.aref-theme .pkp_structure_footer_wrapper.aref-footer {
    background: #0d1a2a;
    color: #d7dde5;
    margin-top: 20px;
}

.aref-theme .wbr-footer__main,
.aref-theme .aref-footer__main {
    background: transparent;
    padding: 28px 22px 18px;
}

.wbr-footer__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.wbr-footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.aref-theme .aref-footer__title {
    color: #fff;
    margin: 0 0 4px;
    font-size: 16px;
}

.aref-theme .aref-footer__desc { margin: 0; color: #d7dde5; }

.wbr-footer__links {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.wbr-footer__links a,
.aref-theme .aref-footer__copyright a {
    color: #d7dde5;
    text-decoration: none;
}

.wbr-footer__links a:hover,
.aref-theme .aref-footer__copyright a:hover { color: #ffb81c; }

.aref-theme .aref-footer__copyright {
    background: #09131f;
    padding: 12px 22px;
}

.wbr-footer__legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: none;
    padding: 0;
}

.aref-theme .pkp_brand_footer { display: none; }

.aref-theme .aref-footer__logo {
    max-height: 48px;
    width: auto;
    background: #fff;
    padding: 4px 6px;
}

/* Article page: body and details side by side, one divider, then Similar Articles */
.aref-theme .page_article .obj_article_details .row {
    display: block;
}

.aref-theme .page_article .obj_article_details .entry_details .title {
    border-left: none;
    padding-left: 0;
}

.aref-theme .page_article .obj_article_details .entry_details .cover_image img {
    display: block;
    max-width: 100%;
    height: auto;
}

.aref-theme .page_article .obj_article_details .entry_details .item,
.aref-theme .page_article .obj_article_details .citation_display .value {
    overflow-wrap: anywhere;
}

@media (min-width: 768px) {
    .aref-theme .page_article .obj_article_details .row {
        display: flex;
        align-items: stretch;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        border-top: 1px solid #ddd;
        border-bottom: 0;
    }

    .aref-theme .page_article .obj_article_details .main_entry {
        float: none;
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
        border-right: 0;
    }

    .aref-theme .page_article .obj_article_details .entry_details {
        float: none;
        flex: 0 0 280px;
        width: 280px;
        max-width: 280px;
        margin: 0;
        border-top: 0;
        border-left: 1px solid #ddd;
        box-sizing: border-box;
    }

    .aref-theme .page_article .obj_article_details .entry_details .item {
        margin-right: 0;
        box-sizing: border-box;
    }
}

.aref-theme #articlesBySimilarityList {
    clear: both;
    margin: 1.75rem 0 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid #ddd;
}

.aref-theme #articlesBySimilarityList .label {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1b2430;
}

.aref-theme #articlesBySimilarityList ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.aref-theme #articlesBySimilarityList li {
    margin: 0 0 0.85rem;
    line-height: 1.55;
}

.aref-theme #articlesBySimilarityList li a {
    overflow-wrap: anywhere;
}

@media (max-width: 991px) {
    .wbr-hero__inner { flex-direction: column; align-items: flex-start; }
    .wbr-hero__title { font-size: 30px; }
    .aref-theme .pkp_navigation_primary > li > a { color: #1b2430 !important; }
}

@media (max-width: 768px) {
    .aref-theme .aref-topbar__inner { flex-direction: row; flex-wrap: wrap; }
    .wbr-issn__text { font-size: 16px; }
}
