/* ── Common reset & wrapper ──────────────────────────── 
.jw-wrap *, .jw-wrap *::before, .jw-wrap *::after,
.jw-dir *, .jw-dir *::before, .jw-dir *::after,
.jw-cfg *, .jw-cfg *::before, .jw-cfg *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}*/


/* ── Navigation bar ──────────────────────────────────── */
.nav-brand {
    background-color: #a46ca7;
    padding: 10px 170px;
}

.jw-nav {
    background: #8b438e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 160px;
    min-height: 40px;
}

.jw-nav-brand {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jw-nav-links {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.jw-nav-links > a,
.jw-nav-item > a {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    padding: 0 12px;
    height: 40px;
    white-space: nowrap;
    transition: background .2s;
}

.jw-nav-links > a:hover,
.jw-nav-item:hover > a {
    background: rgba(255, 255, 255, .15);
}

.jw-nav-item {
    position: relative;
}

.jw-caret {
    /* font-size: 9px; */
    margin-left: 3px;
}

span.jw-caret::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.jw-dropdown {
    display: none;
    position: absolute;
    top: 42px;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: 3px solid #6a1a7a;
    min-width: 180px;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .12);
}

.jw-dropdown a {
    display: block;
    padding: 9px 14px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0e8f5;
}

.jw-dropdown a:hover {
    background: #f3e8f7;
    color: #6a1a7a;
}

.jw-nav-item:hover .jw-dropdown {
    display: block;
}

/* ── Hero / cover pane ───────────────────────────────── */

.jw-aims-pane, .jw-submit-pane {
    background: #FFF;
    display: flex;
    justify-content: end;
}

.jw-hero {
    padding: 20px 20px 16px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.jw-cover-pane {
    padding-left: 20px;
    padding-top: 30px;
}

.jw-cover {
    flex-shrink: 0;
}

.jw-cover img {
    width: 100%;
    max-width: 250px;
    display: block;
}

.jw-no-cover {
    width: 110px;
    height: 145px;
    background: #6a1a7a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px;
    border: 1px solid #5a0a6a;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, .2);
}

.jw-no-cover .jw-abbr {
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 6px;
}

.jw-no-cover .jw-cover-name {
    color: rgba(255, 255, 255, .85);
    font-size: 9px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.jw-no-cover .jw-cover-vol {
    color: rgba(255, 255, 255, .7);
    font-size: 9px;
    border-top: 1px solid rgba(255, 255, 255, .3);
    padding-top: 5px;
    width: 100%;
    text-align: center;
}

/* ── Journal info ────────────────────────────────────── */
.jw-info {
    flex: 1;
    min-width: 0;
}

.jw-info h2,
.jw-name-pane h2 {
    color: #0177b5;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.2;
}

.jw-name-pane h2 {
    margin-bottom: 0;
}

.jw-meta {
    font-size: 13px;
    margin-bottom: 5px;
    color: #444;
}

.jw-meta:last-child {
    margin-bottom: 0;
}

.jw-meta strong {
    color: #222;
}

/* ── Aims bar ────────────────────────────────────────── */
.jw-aims-bar {
    font-size: 14px;
    color: #555;
    margin: 10px 0 14px;
    line-height: 1.5;
    /* border-left: 3px solid #9060b0; */
    padding: 10px;
}

.jw-aims-pane .jw-aims-bar {
    margin: 0;
    color: #000;
}

.jw-aims-bar a {
    color: #000;
    text-decoration: none;
    padding: 0 2px;
}

.jw-aims-bar a:hover {
    text-decoration: underline;
}

/* ── Submit button ───────────────────────────────────── */
.jw-submit-btn {
    background: #2e7db0;
    color: #fff;
    border: none;
    padding: 9px 22px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    letter-spacing: .3px;
    display: inline-block;
    text-decoration: none;
}

.jw-submit-btn:hover {
    background: #8b438e;
    color: #FFF;
    text-decoration: none;
}

.jw-submit-pane {
    margin: 20px 20px;
}

/* ── Right panel: search + highlights ────────────────── */
.jw-right-panel {
    width: 230px;
    flex-shrink: 0;
}

.jw-search-box {
    padding: 20px 8px 0;
}

.jw-right-panel .jw-search-box {
    margin-bottom: 12px;
}

.jw-search-row {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.jw-search-input {
    flex: 1;
    border: solid 2px hsla(298, 50%, 24%, 0.47) !important;
    padding: 6px 8px;
    font-size: 12px;
    border-radius: 10px;
    outline: none;
}

.jw-search-input:focus {
    border-color: #6a1a7a;
}

.jw-search-btn {
    background: #4a1060;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    white-space: nowrap;
}

.jw-search-btn:hover {
    background: #6a1a7a;
}

.jw-search-radios {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #555;
}

.jw-search-radios label {
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
}

/* ── Highlights ──────────────────────────────────────── */
.jw-highlights-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.jw-hl-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(90px, 1fr));
    gap: 2px;
}

.jw-hl-item {
    background: rgba(0, 172, 238, 0.2);
    border-radius: 10px;
    padding: 10px 6px 8px;
    text-align: center;
    font-size: 14px;
    color: #000;
    cursor: pointer;
    line-height: 1.3;
    transition: background .2s;
}

.jw-hl-item:hover {
    background: #d5b8e8;
}

.jw-hl-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

.jw-hl-icon svg {
    fill: #0177b5;
}

.jw-highlights-pane {
    padding: 20px;
}

/* ── Stats bar ───────────────────────────────────────── */
.jw-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    background: #fff;
    text-align: center;
    gap: 3.4rem;
}

.jw-hero + .jw-stats {
    border-top: 1px solid #e0cce8;
    border-bottom: 1px solid #e0cce8;
}

.jw-stat-item .jw-stat-val {
    font-size: 16px;
    font-weight: 700;
    color: #000;
}

.jw-stat-item .jw-stat-label {
    font-size: 12px;
    color: #099be8;
    margin-top: 2px;
}

.jw-stat-divider {
    width: 1px;
    height: 40px;
    /* background: #e0cce8; */
}

/* ── Section header ──────────────────────────────────── */
.jw-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px 8px;
    border-bottom: 1px solid #e6dede;
}

.jw-section-header h3 {
    font-size: 18px;
    font-weight: 800;
    color: #222;
}

/* ── Latest articles ─────────────────────────────────── */
.jw-latest-articles-wrap {
    padding-bottom: 16px;
}

.jw-articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0 24px;
}

.jw-article-row {
    display: flex;
    gap: 12px;
    padding: 14px 12px;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}

.jw-article-row:hover {
    background: #faf6fc;
}

.jw-article-thumb {
    width: 72px;
    height: 90px;
    background: #e8d8f0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9060a8;
}

.jw-article-thumb svg {
    width: 36px;
    height: 36px;
    fill: #9060a8;
}

.jw-article-thumb img {
    width: 72px;
    height: 90px;
    object-fit: cover;
}

.jw-article-meta .jw-art-type {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.jw-article-meta .jw-art-authors {
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
}

.jw-article-meta .jw-art-title {
    font-size: 13px;
    font-weight: 600;
    color: #2e7db0;
    line-height: 1.4;
    text-decoration: none;
    display: block;
}

.jw-article-meta .jw-art-title:hover {
    text-decoration: underline;
}

.jw-no-articles {
    padding: 20px 24px;
    color: #888;
    font-size: 13px;
}

/* ── Online First ────────────────────────────────────── */
#jwOnlineFirstSection {
    display: none;
}

.jw-of-wrap {
    padding: 0 24px 32px;
}

#jwOfLoading {
    display: none;
}

.jw-of-loading {
    padding: 16px;
    color: #888;
    font-size: 13px;
}

.jw-of-list {
    list-style: none;
    padding: 0;
}

.jw-of-group-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #555;
    text-transform: uppercase;
    padding: 10px 0 4px;
    border-bottom: 1px solid #eee;
}

.jw-of-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0e8f5;
}

.jw-of-item-main {
    flex: 1;
}

.jw-of-item a {
    font-size: 13px;
    color: #2e7db0;
    text-decoration: none;
    line-height: 1.4;
}

.jw-of-item a:hover {
    text-decoration: underline;
}

.jw-of-item .jw-of-authors {
    font-size: 11px;
    color: #888;
}

.jw-of-dl {
    color: #6a1a7a;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
}

.jw-of-empty {
    padding: 20px 24px;
    color: #999;
    font-size: 13px;
}

/* ── Directory ───────────────────────────────────────── */
.jw-dir-topbar {
    background: #4a1060;
    padding: 12px 24px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .5px;
}

.jw-dir-breadcrumb {
    padding: 10px 24px;
    font-size: 13px;
    color: #555;
    background: #f9f6fb;
    border-bottom: 1px solid #e8d8f0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.jw-dir-breadcrumb a {
    color: #6a1a7a;
    text-decoration: none;
    font-weight: 600;
}

.jw-dir-breadcrumb a:hover {
    text-decoration: underline;
}

.jw-dir-sep {
    color: #bbb;
}

.jw-dir-page-title {
    padding: 18px 24px 14px;
    font-size: 22px;
    font-weight: 700;
    color: #222;
    border-bottom: 2px solid #6a1a7a;
}

.jw-dir-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 8px 24px 24px;
}

.jw-dir-cat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 4px;
    border-bottom: 1px solid #e8e8e8;
    cursor: pointer;
    font-size: 14px;
    color: #444;
    transition: color .15s;
}

.jw-dir-cat-item:hover {
    color: #6a1a7a;
}

.jw-dir-cat-arrow {
    color: #6a1a7a;
    font-size: 12px;
    flex-shrink: 0;
}

#jwDirPage2,
.jw-dir-journal-group {
    display: none;
}

.jw-dir-journal-list {
    padding: 8px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jw-dir-journal-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #f9f6fb;
    border: 1px solid #e8d8f0;
    border-radius: 4px;
    padding: 14px;
    cursor: pointer;
    transition: background .15s, box-shadow .15s;
}

.jw-dir-journal-card:hover {
    background: #f0e4f8;
    box-shadow: 0 2px 8px rgba(106, 26, 122, .12);
}

.jw-dir-journal-thumb {
    width: 60px;
    height: 80px;
    background: #6a1a7a;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    padding: 4px;
    line-height: 1.2;
    border-radius: 2px;
}

.jw-dir-journal-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    border-radius: 2px;
}

.jw-dir-journal-body {
    flex: 1;
    min-width: 0;
}

.jw-dir-journal-name {
    font-size: 15px;
    font-weight: 700;
    color: #6a1a7a;
    margin-bottom: 4px;
}

.jw-dir-journal-cat {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.jw-dir-journal-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jw-dir-empty {
    padding: 32px 24px;
    color: #888;
    font-size: 14px;
}

/* ── Configuration / edit view ───────────────────────── */
.jw-cfg {
    font-family: Arial, sans-serif;
    padding: 24px;
    max-width: 400px;
}

.jw-cfg h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: #4a1060;
}

.jw-cfg label {
    display: block;
    font-size: 13px;
    color: #444;
    margin-bottom: 6px;
}

.jw-cfg input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 13px;
    margin-bottom: 14px;
}

.jw-cfg p {
    font-size: 12px;
    color: #888;
    margin-bottom: 16px;
    line-height: 1.5;
}

.jw-cfg button {
    background: #4a1060;
    color: #fff;
    border: none;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 3px;
    cursor: pointer;
}

.jw-cfg button:hover {
    background: #6a1a7a;
}

/* ── Pane padding helpers ────────────────────────────── */
.jw-desc-pane,
.jw-aims-pane,
.jw-vol-pane,
.jw-eissn-pane {
    padding: 20px;
}

.jw-aims-pane {
    /* margin-top: 20px; */
    padding: 0;
    min-height: 135px;
}

.jw-vol-pane,
.jw-eissn-pane {
    padding: 8px 20px;
}


.jw-name-pane {
    padding: 8px 170px 0;
}

.img-width1 {
    width: 70px;
    padding-top: 5px;
    z-index: 1000;
    position: relative;
    display: block;
}

.navbar-brandLogo {
    color: #fff;
    font-size: 20px;
    letter-spacing: 1px;
    display: block;
    text-transform: capitalize;
    padding: 10px 10px;
    position: fixed;
    top: 0rem;
    left: 0;
    z-index: 10000;
}

.col.col-lg-4 {
    background: #FFF;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, .12);
}

@media (max-width: 992px) { 
    .jw-nav-links {flex-direction: column;}

}