/* =========================================================
   DOAJ-LIKE THEME - style.css
   Untuk halaman: index.php, search.php, article.php
   ========================================================= */

/* =========================
   1. Root Variables
   ========================= */
:root {
    --doaj-dark: #073570;
    --doaj-orange: #a63a23;
    --doaj-orange-2: #e75f3f;
    --doaj-yellow: #ffd84f;
    --doaj-green: #9cc9b7;
    --doaj-grey: #bfc4c3;
    --doaj-pink: #f7b1a5;
    --doaj-cream: #f7f4f2;
    --doaj-soft: #f5f3f2;
    --doaj-border: #dddddd;
    --doaj-text: #151515;
    --doaj-muted: #6b625c;
    --doaj-line: #e85a42;

    --container-wide: 1180px;
    --container-narrow: 850px;
}

/* =========================
   2. Base
   ========================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--doaj-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--doaj-orange);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(var(--container-wide), calc(100% - 48px));
    margin: 0 auto;
}

.wrap {
    width: min(var(--container-narrow), calc(100% - 42px));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
/* =========================================================
   4. Header
========================================================= */

.site-header {
    background: var(--doaj-dark);
    color: #ffffff;
}

.topbar {
    height: 64px;
    background: var(--doaj-dark);
    color: #ffffff;
}

.topbar-inner {
    width: min(var(--container-header), calc(100% - 42px));
    height: 64px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-left: 20px;
    padding-right: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    text-decoration: none;
    flex-shrink: 0;
}

.logo:hover {
    color: #ffffff;
    text-decoration: none;
}

.logo-mark {
    width: 44px;
    height: 34px;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.logo-mark::before,
.logo-mark::after {
    content: "";
    position: absolute;
    top: 0;
    width: 24px;
    height: 34px;
    border-radius: 22px 0 22px 0;
    transform: skew(-8deg);
}

.logo-mark::before {
    left: 0;
    background: var(--doaj-orange-2);
}

.logo-mark::after {
    left: 17px;
    background: #f58055;
}

.logo-text {
    font-size: 39px;
    font-weight: 900;
    line-height: .9;
    letter-spacing: -1px;
}

.logo-sub {
    width: 100px;
    display: inline-block;
    font-size: 9px;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.top-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.top-actions a {
    color: #ffffff;
    text-decoration: none;
}

.top-actions a:hover {
    color: var(--doaj-orange-2);
    text-decoration: none;
}

/* Subnav tidak dipakai karena menu sudah satu baris */
.subnav {
    display: none;
}

.subnav-inner {
    width: min(var(--container-narrow), calc(100% - 42px));
    height: 48px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 900;
}

.container.subnav-inner {
    width: min(var(--container-wide), calc(100% - 48px));
}

.subnav-left {
    display: flex;
    gap: 54px;
}

.subnav a {
    color: #111111;
    text-decoration: none;
}

/* =========================
   5. Homepage Hero
   ========================= */
.hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 95px;
    background: #ffffff;
}

.hero-content {
    max-width: 760px;
    position: relative;
    z-index: 2;
}

.eyebrow {
    margin: 0 0 22px;
    color: var(--doaj-orange);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.1px;
}

h1 {
    margin: 0 0 28px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4.8vw, 58px);
    line-height: .98;
    letter-spacing: -.8px;
    font-weight: 700;
}

.search-type {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
    font-size: 17px;
    color: #2e2a26;
}

.search-type label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.search-type input {
    width: 17px;
    height: 17px;
    accent-color: var(--doaj-orange);
}

.search-row {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 260px 80px;
    width: 610px;
    max-width: 100%;
    height: 39px;
    background: #ffffff;
    border: 1px solid #111111;
}

.search-row input,
.search-row select,
.search-row button {
    height: 100%;
    border: 0;
    background: #ffffff;
    font-size: 13px;
    outline: none;
}

.search-row input {
    padding: 0 12px;
    border-right: 1px solid #111111;
}

.search-row select {
    padding: 0 10px;
    border-right: 1px solid #111111;
}

.search-row button {
    background: #42ae58;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

/* =========================
   6. Homepage Stats
   ========================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, auto);
    gap: 0;
    width: min(880px, 100%);
    margin-top: 50px;
}

.stat-item {
    min-width: 150px;
    padding: 0 34px;
    border-left: 1px solid var(--doaj-line);
}

.stat-item:first-child {
    padding-left: 0;
    border-left: 0;
}

.stat-number {
    display: block;
    margin-bottom: 9px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.25;
    letter-spacing: .5px;
}

/* =========================
   7. Homepage Decorative Pattern
   ========================= */
.pattern {
    position: absolute;
    top: 58px;
    right: 0;
    width: 260px;
    display: grid;
    grid-template-columns: repeat(3, 82px);
    grid-auto-rows: 82px;
    gap: 10px;
    opacity: .95;
}

.shape {
    width: 82px;
    height: 82px;
}

.s-grey {
    background: var(--doaj-grey);
}

.s-pink {
    background: var(--doaj-pink);
}

.s-yellow {
    background: #fff0af;
}

.s-green {
    background: var(--doaj-green);
}

.s-mint {
    background: #dce9d4;
}

.circle {
    border-radius: 50%;
}

.half-left {
    border-radius: 82px 0 0 82px;
}

.half-right {
    border-radius: 0 82px 82px 0;
}

.quarter-a {
    border-radius: 0 0 82px 0;
}

.quarter-b {
    border-radius: 0 0 0 82px;
}

.quarter-c {
    border-radius: 82px 0 0 0;
}

.quarter-d {
    border-radius: 0 82px 0 0;
}

/* =========================
   8. Homepage Sections
   ========================= */
.dark-band {
    background: var(--doaj-dark);
    color: #ffffff;
}

.about-funding {
    padding: 76px 0;
}

.two-col {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 72px;
}

.panel-heading {
    margin: 0 0 20px;
    color: #95c66e;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .8px;
}

.about-text {
    max-width: 560px;
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.65;
}

.text-link {
    display: block;
    margin: 18px 0;
    font-size: 13px;
}

.outline-btn {
    display: inline-block;
    margin-top: 6px;
    padding: 8px 14px;
    border: 1px solid currentColor;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 900;
    text-decoration: none;
}

.funding {
    padding-left: 54px;
    border-left: 1px solid #5b554e;
}

.funding-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 430px;
    margin: 28px 0 20px;
}

.funding-item + .funding-item {
    padding-left: 30px;
    border-left: 1px solid #5b554e;
}

.funding-percent {
    display: block;
    margin-bottom: 8px;
    color: #91c36c;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.funding-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
}

.funding-label.orange {
    color: var(--doaj-orange-2);
}

/* =========================
   9. Blog Section
   ========================= */
.blog {
    padding: 58px 0 72px;
    background: var(--doaj-cream);
}

.section-title {
    margin: 0 0 28px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .8px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 44px;
}

.blog-card {
    padding-top: 15px;
    border-top: 1px solid var(--doaj-line);
}

.blog-date {
    margin-bottom: 10px;
    color: var(--doaj-muted);
    font-size: 11px;
}

.blog-title {
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
}

/* =========================
   10. Volunteers
   ========================= */
.volunteers {
    position: relative;
    overflow: hidden;
    padding: 72px 0 86px;
}

.volunteers::before {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -95px;
    width: 610px;
    height: 360px;
    opacity: .16;
    background:
        radial-gradient(circle at 18% 20%, #777777 0 58px, transparent 59px),
        radial-gradient(circle at 38% 20%, #777777 0 58px, transparent 59px),
        radial-gradient(circle at 58% 20%, #777777 0 58px, transparent 59px),
        radial-gradient(circle at 28% 66%, #777777 0 76px, transparent 77px),
        radial-gradient(circle at 52% 66%, #777777 0 76px, transparent 77px),
        linear-gradient(90deg, transparent 0 72%, #777777 72% 80%, transparent 80%);
}

.volunteer-intro {
    margin-bottom: 20px;
    font-size: 14px;
}

.volunteer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px 70px;
    margin-top: 36px;
}

.vol-field {
    margin-bottom: 10px;
    color: #9cc96b;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: .4px;
}

.vol-name {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 900;
}

.vol-location {
    font-size: 13px;
    line-height: 1.45;
}

/* =========================
   11. Recently Added Journals
   ========================= */
.recent {
    padding: 46px 0 100px;
    background: #ffffff;
}

.recent-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 70px;
    align-items: start;
}

.recent-box {
    padding: 23px 25px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 9px rgba(0, 0, 0, .18);
    font-size: 13px;
    line-height: 1.5;
}

.recent-box-title {
    margin-bottom: 22px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--doaj-line);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
}

.recent-box a {
    display: block;
    margin-top: 18px;
    font-size: 12px;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 58px;
}

.journal-item {
    min-height: 70px;
    padding-top: 14px;
    border-top: 1px solid var(--doaj-line);
    font-size: 13px;
    line-height: 1.35;
}

/* =========================
   12. Search Page
   ========================= */
.search-hero {
    position: relative;
    overflow: hidden;
    height: 134px;
    margin-top: 0;
    padding: 17px 18px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .80)),
        repeating-radial-gradient(circle at 95% 20%, #cfcfcf 0, #cfcfcf 8px, transparent 9px, transparent 25px),
        linear-gradient(135deg, #f2f2f2, #d7d7d7);
}

.search-hero::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -105px;
    width: 430px;
    height: 300px;
    border-radius: 50%;
    border: 23px solid rgba(255, 255, 255, .72);
    box-shadow:
        -42px 22px 0 rgba(255, 255, 255, .35),
        -83px 52px 0 rgba(255, 255, 255, .22),
        -124px 82px 0 rgba(255, 255, 255, .15);
    transform: rotate(10deg);
}

.search-hero-content {
    position: relative;
    z-index: 2;
}

.page-heading {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
}

.help-icon {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-left: 4px;
    border: 1px solid #333333;
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 12px;
    vertical-align: middle;
}

.search-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 260px 36px;
    width: 100%;
    height: 31px;
    background: #ffffff;
    border: 1px solid #222222;
}

.search-form input,
.search-form select,
.search-form button {
    height: 100%;
    border: 0;
    background: #ffffff;
    font-size: 11px;
    outline: none;
}

.search-form input {
    padding: 0 10px;
    border-right: 1px solid #222222;
}

.search-form select {
    padding: 0 8px;
    border-right: 1px solid #222222;
}

.search-form button {
    cursor: pointer;
    color: #111111;
    font-size: 12px;
    font-weight: 900;
}

.share-btn {
    display: inline-block;
    margin: 18px 0 38px;
    padding: 6px 9px;
    border: 1px solid #222222;
    background: #ffffff;
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 900;
}

.content-grid {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 38px;
    align-items: start;
}

.result-summary {
    margin: 0 0 3px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 500;
}

.refine-title {
    margin: 0 0 18px;
    color: #333333;
    font-size: 12px;
    font-weight: 700;
}

.filter-block {
    margin-bottom: 22px;
}

.filter-heading {
    margin: 0 0 9px;
    color: #4e4541;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 900;
}

.filter-search {
    width: 100%;
    height: 26px;
    margin-bottom: 8px;
    padding: 0 8px;
    border: 1px solid #c7c7c7;
    font-size: 10px;
}

.subject-list {
    max-height: 125px;
    overflow-y: auto;
    padding-right: 6px;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin: 7px 0;
    color: #5f5a56;
    font-size: 10px;
    line-height: 1.25;
}

.check-row input {
    width: 12px;
    height: 12px;
    margin-top: 1px;
    accent-color: var(--doaj-orange);
}

.collapse-title {
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #eeeeee;
}

.results-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: end;
    margin-bottom: 21px;
}

.sort-wrap label,
.perpage-wrap label {
    display: block;
    margin-bottom: 6px;
    color: #4f4844;
    font-size: 10px;
}

.sort-wrap select,
.perpage-wrap select {
    height: 31px;
    padding: 0 9px;
    border: 1px solid #c6c6c6;
    background: #ffffff;
    font-size: 11px;
}

.sort-wrap select {
    width: 180px;
}

.perpage-wrap select {
    width: 45px;
}

.pager-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin: 4px 0 15px;
    color: #5d5753;
    font-size: 10px;
}

.pager-row a {
    color: var(--doaj-orange);
    font-weight: 700;
}

.pager-left {
    display: flex;
    gap: 34px;
}

.pager-center {
    text-align: center;
    color: #333333;
    font-weight: 700;
}

.pager-right {
    text-align: right;
}

/* =========================
   13. Search Result Cards
   ========================= */
.article-card,
.journal-card {
    display: grid;
    grid-template-columns: 1fr 185px;
    gap: 20px;
    min-height: 128px;
    margin-bottom: 17px;
    padding: 18px 20px 16px;
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 3px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .18);
}

.card-meta {
    margin-bottom: 7px;
    color: var(--doaj-orange);
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: .25px;
}

.card-title {
    margin: 0 0 9px;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 900;
}

.card-title a {
    color: #111111;
}

.card-authors {
    margin: 0 0 11px;
    color: #2d2d2d;
    font-size: 11px;
}

.small-label {
    margin: 0 0 2px;
    font-size: 10px;
    font-weight: 900;
}

.small-text {
    margin: 0 0 7px;
    color: #333333;
    font-size: 10px;
    line-height: 1.35;
}

.abstract-toggle {
    color: #111111;
    font-size: 10px;
    font-weight: 900;
}

.card-actions {
    padding-left: 20px;
    border-left: 1px solid #e0e0e0;
    color: #4d4946;
    font-size: 10px;
    line-height: 1.45;
}

.card-actions a {
    display: block;
    margin-bottom: 1px;
    text-decoration: underline;
}

.publisher {
    margin-top: 7px;
    color: var(--doaj-muted);
}

.empty-box {
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--doaj-border);
    box-shadow: 0 2px 7px rgba(0, 0, 0, .14);
    font-size: 13px;
}

/* =========================
   14. Article Detail Page
   ========================= */
.article-head {
    padding: 45px 0 35px;
    background: var(--doaj-soft);
}

.head-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 46px;
    align-items: start;
}

.journal-kicker {
    margin: 0 0 20px;
    color: var(--doaj-orange);
    text-transform: uppercase;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 900;
    letter-spacing: .5px;
}

.article-title {
    margin: 0 0 26px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.2px;
}

.authors {
    margin: 0 0 13px;
    font-size: 13px;
}

.aff-btn,
.read-btn,
.about-btn,
.download-pdf-btn {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #111111;
    background: #ffffff;
    color: #111111;
    text-transform: uppercase;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .7px;
    text-decoration: none;
    cursor: pointer;
}

.aff-panel {
    display: none;
    max-width: 420px;
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid #d9d9d9;
    background: #ffffff;
    color: var(--doaj-muted);
    font-size: 12px;
}

.aff-panel.show {
    display: block;
}

.head-meta {
    min-height: 82px;
    margin-top: 75px;
    padding-left: 36px;
    border-left: 1px solid var(--doaj-line);
}

.meta-label {
    margin: 0 0 2px;
    color: var(--doaj-muted);
    font-size: 11px;
}

.meta-value {
    margin: 0 0 17px;
    font-size: 12px;
}

.main-content {
    padding: 0 0 92px;
}

.main-content .content-grid {
    grid-template-columns: 1fr 270px;
    gap: 58px;
}

.abstract-block {
    padding-top: 28px;
}

.article-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 52px;
}

.read-btn {
    color: var(--doaj-orange);
    border-color: var(--doaj-orange);
    background: #ffffff;
    box-shadow: 3px 3px 0 var(--doaj-orange);
}

.read-btn:hover {
    background: var(--doaj-orange);
    color: #ffffff;
    box-shadow: none;
    text-decoration: none;
}

.download-pdf-btn {
    background: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
}

.download-pdf-btn:hover {
    background: #bb2d3b;
    border-color: #bb2d3b;
    color: #ffffff;
    text-decoration: none;
}

.abstract-text {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.72;
}

.keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 34px;
}

.keyword {
    display: inline-block;
    padding: 8px 13px;
    border-radius: 18px;
    background: #191919;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.keyword:hover {
    color: #ffffff;
    text-decoration: none;
}

.published-title {
    margin: 0 0 20px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 400;
}

.published-title em {
    font-style: italic;
}

.side-item {
    margin-bottom: 18px;
}

.side-label {
    margin: 0 0 4px;
    color: var(--doaj-muted);
    font-size: 13px;
}

.side-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
}

.side-text a {
    word-break: break-word;
}

.about-btn {
    margin-top: 2px;
}

.altmetric {
    position: relative;
    display: grid;
    place-items: center;
    width: 67px;
    height: 67px;
    margin-top: 35px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    color: #333333;
    font-weight: 700;
}

.altmetric::before {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background:
        conic-gradient(
            #d81670 0 18%,
            #7c1fb4 18% 34%,
            #1d9bd7 34% 52%,
            #23b26d 52% 69%,
            #f4d400 69% 84%,
            #f28c22 84% 100%
        );
    clip-path: polygon(
        50% 0,
        63% 31%,
        98% 35%,
        71% 56%,
        79% 91%,
        50% 72%,
        21% 91%,
        29% 56%,
        2% 35%,
        37% 31%
    );
}

.altmetric span {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: #ffffff;
    border-radius: 50%;
}

.extra-meta {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--doaj-border);
    color: var(--doaj-muted);
    font-size: 12px;
}

.extra-meta summary {
    margin-bottom: 10px;
    color: #111111;
    font-weight: 700;
    cursor: pointer;
}

/* =========================
   15. Footer
   ========================= */
.footer {
    background: var(--doaj-dark);
    color: #ffffff;
    padding: 55px 0 35px;
}

.footer-wrap {
    width: min(var(--container-narrow), calc(100% - 42px));
    margin: 0 auto;
}

.footer .container {
    width: min(var(--container-wide), calc(100% - 48px));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 34px;
    padding-bottom: 48px;
    border-bottom: 1px solid #77706a;
}

.footer h4 {
    margin: 0 0 14px;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 900;
}

.footer a {
    display: block;
    margin-bottom: 9px;
    color: #ffffff;
    font-size: 10px;
    text-decoration: none;
}

.footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    padding-top: 34px;
    color: #ffffff;
    font-size: 10px;
}

.footer-logo .logo-text {
    font-size: 39px;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.legal-links a {
    margin: 0;
}

.backtop {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    background: var(--doaj-orange-2);
    color: #111111;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.backtop:hover {
    color: #111111;
    text-decoration: none;
}

/* =========================
   16. Small Utilities
   ========================= */
mark {
    background-color: #ffeb3b;
    padding: 0 2px;
}

.table-responsive {
    overflow-x: auto;
}

.badge {
    font-weight: normal;
}

.sidebar .nav-link {
    color: #333333;
    padding: .5rem 1rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: #e9ecef;
}

.sidebar .nav-link.active {
    color: #0d6efd;
}

/* =========================
   17. Responsive
   ========================= */
@media (max-width: 1000px) {
    .topbar-inner {
        grid-template-columns: auto 1fr;
    }

    .top-actions {
        display: none;
    }

    .logo {
        justify-self: center;
    }

    .pattern {
        right: -90px;
        opacity: .25;
    }

    .stats-grid,
    .two-col,
    .recent-layout,
    .footer-bottom {
        grid-template-columns: 1fr;
    }

    .funding {
        padding-left: 0;
        border-left: 0;
    }

    .blog-grid,
    .volunteer-grid,
    .journal-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .head-grid,
    .content-grid,
    .article-card,
    .journal-card,
    .main-content .content-grid {
        grid-template-columns: 1fr;
    }

    .head-meta {
        margin-top: 10px;
    }

    .card-actions {
        padding-top: 12px;
        padding-left: 0;
        border-top: 1px solid #e0e0e0;
        border-left: 0;
    }
}

@media (max-width: 768px) {
    .doaj-minisearch--container .input-group {
        flex-direction: column;
    }

    .doaj-minisearch--container .input-group input[type="text"] {
        border-radius: 30px 30px 0 0;
    }

    .doaj-minisearch--container .input-group select {
        width: 100%;
        border-radius: 0;
    }

    .doaj-minisearch--container .input-group button {
        border-radius: 0 0 30px 30px;
    }
}

@media (max-width: 640px) {
    .container,
    .wrap,
    .subnav-inner,
    .container.subnav-inner,
    .footer-wrap {
        width: min(100% - 28px, var(--container-wide));
    }

    .topbar {
        height: auto;
        padding: 12px 0;
    }

    .topbar-inner {
        height: auto;
    }

    .logo-text {
        font-size: 30px;
    }

    .subnav-left {
        gap: 18px;
    }

    .hero {
        padding: 54px 0 64px;
    }

    .search-row,
    .search-form {
        grid-template-columns: 1fr;
        height: auto;
        border: 0;
        gap: 8px;
    }

    .search-row input,
    .search-row select,
    .search-row button,
    .search-form input,
    .search-form select,
    .search-form button {
        height: 42px;
        border: 1px solid #111111;
    }

    .stats-grid,
    .blog-grid,
    .volunteer-grid,
    .journal-grid,
    .footer-grid,
    .results-top,
    .pager-row {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 18px 0;
        border-top: 1px solid var(--doaj-line);
        border-left: 0;
    }

    .stat-item:first-child {
        border-top: 0;
    }

    .funding-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .funding-item + .funding-item {
        padding-left: 0;
        border-left: 0;
    }

    .article-head {
        padding-top: 30px;
    }

    .article-title {
        font-size: 25px;
    }

    .head-meta {
        padding-left: 18px;
    }

    .pager-left,
    .pager-right,
    .pager-center {
        margin-bottom: 7px;
        text-align: left;
    }
}

@media (max-width: 900px) {
    .topbar {
        height: auto;
    }

    .topbar-inner {
        height: auto;
        padding: 14px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .top-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 14px 22px;
        font-size: 10px;
    }
}

@media (max-width: 640px) {
    .logo-text {
        font-size: 30px;
    }

    .logo-sub {
        font-size: 8px;
    }

    .top-actions {
        gap: 12px 18px;
    }
}

/* =========================================================
   Journal Detail Page
========================================================= */

.journal-detail-head .article-action-buttons {
    margin-top: 28px;
    margin-bottom: 0;
}

.journal-url-text {
    max-width: 620px;
    margin: -12px 0 0;
    color: var(--doaj-muted);
    font-size: 13px;
    word-break: break-word;
}

.journal-detail-page .content-grid {
    grid-template-columns: 270px 1fr;
}

.journal-side-info {
    padding-top: 28px;
}

.journal-cover-box {
    margin-bottom: 24px;
    border: 1px solid var(--doaj-border);
    background: #ffffff;
    padding: 10px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .12);
}

.journal-cover-box img {
    display: block;
    width: 100%;
    border-radius: 2px;
}

.journal-article-list {
    padding-top: 28px;
}

.journal-section-title {
    margin: 0 0 22px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: none;
}

.journal-article-card .card-title {
    text-transform: none;
    font-size: 15px;
}

.journal-secondary-btn {
    border-color: #111111;
    background: #ffffff;
    color: #111111;
}

.journal-secondary-btn:hover {
    border-color: var(--doaj-orange);
    background: #ffffff;
    color: var(--doaj-orange);
}

@media (max-width: 900px) {
    .journal-detail-page .content-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Blog Detail Page
========================================================= */

.blog-detail-head .article-title {
    max-width: 720px;
}

.blog-meta-line {
    margin: -10px 0 0;
    color: var(--doaj-muted);
    font-size: 13px;
}

.blog-meta-line span {
    margin: 0 8px;
    color: var(--doaj-line);
}

.blog-detail-page .content-grid {
    grid-template-columns: 1fr 270px;
}

.blog-article-content {
    padding-top: 28px;
}

.blog-thumbnail {
    margin: 0 0 32px;
}

.blog-thumbnail img {
    display: block;
    width: 100%;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
}

.blog-content {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.78;
}

.blog-share {
    margin-top: 46px;
    border-top: 1px solid var(--doaj-border);
    padding-top: 24px;
}

.blog-share-title {
    margin: 0 0 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.blog-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.blog-sidebar {
    padding-top: 28px;
}

.blog-latest {
    margin-top: 36px;
    border-top: 1px solid var(--doaj-border);
    padding-top: 24px;
}

.blog-latest-item {
    margin-bottom: 18px;
    border-top: 1px solid var(--doaj-line);
    padding-top: 12px;
}

.blog-latest-date {
    margin: 0 0 6px;
    color: var(--doaj-muted);
    font-size: 11px;
}

.blog-latest-item a {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
}

.blog-latest-item a:hover {
    color: var(--doaj-orange);
}

@media (max-width: 900px) {
    .blog-detail-page .content-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Blog List Page
========================================================= */

.blog-list-head .article-title {
    max-width: 720px;
}

.blog-list-intro {
    max-width: 680px;
    margin: -10px 0 0;
    color: var(--doaj-muted);
    font-size: 14px;
    line-height: 1.7;
}

.blog-list-page .content-grid {
    grid-template-columns: 1fr 270px;
}

.blog-list-content {
    padding-top: 28px;
}

.blog-list-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 22px;
    margin-bottom: 24px;
    border: 1px solid var(--doaj-border);
    border-radius: 3px;
    background: #ffffff;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .14);
    padding: 18px;
}

.blog-list-thumb {
    display: block;
    min-height: 150px;
    overflow: hidden;
    background: var(--doaj-bg-soft);
}

.blog-list-thumb img {
    width: 100%;
    height: 100%;
    min-height: 150px;
    display: block;
    object-fit: cover;
}

.blog-list-body {
    min-width: 0;
}

.blog-list-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.25;
}

.blog-list-title a {
    color: #111111;
    text-decoration: none;
}

.blog-list-title a:hover {
    color: var(--doaj-orange);
}

.blog-list-author {
    margin: 0 0 12px;
    color: var(--doaj-muted);
    font-size: 12px;
}

.blog-list-excerpt {
    margin: 0 0 14px;
    color: #333333;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.65;
}

.blog-pagination {
    margin-top: 34px;
}

.blog-sidebar {
    padding-top: 28px;
}

.blog-category-list {
    border-top: 1px solid var(--doaj-line);
}

.blog-category-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--doaj-border);
    padding: 12px 0;
    color: #111111;
    font-size: 13px;
    text-decoration: none;
}

.blog-category-item:hover,
.blog-category-item.active {
    color: var(--doaj-orange);
}

.blog-category-item.active {
    font-weight: 900;
}

@media (max-width: 900px) {
    .blog-list-page .content-grid,
    .blog-list-card {
        grid-template-columns: 1fr;
    }

    .blog-list-thumb img {
        max-height: 260px;
    }
}

/* =========================================================
   About Page
========================================================= */

.about-head .article-title {
    max-width: 720px;
}

.about-intro {
    max-width: 680px;
    margin: -10px 0 0;
    color: var(--doaj-muted);
    font-size: 14px;
    line-height: 1.7;
}

.about-page .content-grid {
    grid-template-columns: 1fr 270px;
}

.about-content {
    padding-top: 28px;
}

.about-sidebar {
    padding-top: 28px;
}

.about-section {
    margin-bottom: 46px;
}

.about-section-title {
    margin: 0 0 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: none;
}

.about-section p {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.72;
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 20px;
}

.about-feature-item {
    border-top: 1px solid var(--doaj-line);
    padding-top: 14px;
}

.about-feature-item h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.3;
}

.about-feature-item p {
    margin: 0;
    color: var(--doaj-muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .about-page .content-grid,
    .about-feature-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Support Page
========================================================= */

.support-head .article-title {
    max-width: 720px;
}

.support-intro {
    max-width: 680px;
    margin: -10px 0 0;
    color: var(--doaj-muted);
    font-size: 14px;
    line-height: 1.7;
}

.support-page .content-grid {
    grid-template-columns: 1fr 270px;
}

.support-content {
    padding-top: 28px;
}

.support-sidebar {
    padding-top: 28px;
}

.support-section {
    margin-bottom: 46px;
}

.support-section-title {
    margin: 0 0 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: none;
}

.support-section p {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.72;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 20px;
}

.support-card {
    border-top: 1px solid var(--doaj-line);
    padding-top: 14px;
}

.support-card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.3;
}

.support-card p {
    margin: 0;
    color: var(--doaj-muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.55;
}

.support-impact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 20px;
}

.support-impact-item {
    border-top: 1px solid var(--doaj-line);
    padding-top: 14px;
}

.support-impact-item h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.3;
}

.support-impact-item p {
    margin: 0;
    color: var(--doaj-muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.55;
}

.support-contact-box {
    border: 1px solid var(--doaj-border);
    background: #ffffff;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .12);
    padding: 24px;
}

.support-contact-box .read-btn {
    margin-top: 10px;
}

@media (max-width: 900px) {
    .support-page .content-grid,
    .support-grid,
    .support-impact-list {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Login Page
========================================================= */

.login-head .article-title {
    max-width: 720px;
}

.login-intro {
    max-width: 680px;
    margin: -10px 0 0;
    color: var(--doaj-muted);
    font-size: 14px;
    line-height: 1.7;
}

.login-layout {
    display: grid;
    grid-template-columns: 1fr 270px;
    gap: 58px;
    align-items: start;
}

.login-panel {
    margin-top: 28px;
    border: 1px solid var(--doaj-border);
    background: #ffffff;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .12);
    padding: 30px;
}

.login-panel-title {
    margin: 0 0 22px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.1;
}

.login-sidebar {
    padding-top: 28px;
}

.auth-form {
    display: grid;
    gap: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #111111;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.form-group input {
    width: 100%;
    height: 42px;
    border: 1px solid #222222;
    background: #ffffff;
    padding: 0 12px;
    color: #111111;
    font-size: 14px;
    outline: none;
}

.form-group input:focus {
    border-color: var(--doaj-orange);
    box-shadow: 3px 3px 0 var(--doaj-orange);
}

.auth-submit {
    display: inline-block;
    width: 100%;
    height: 42px;
    border: 1px solid var(--doaj-orange);
    background: #ffffff;
    color: var(--doaj-orange);
    box-shadow: 3px 3px 0 var(--doaj-orange);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
    cursor: pointer;
}

.auth-submit:hover {
    background: var(--doaj-orange);
    color: #ffffff;
    box-shadow: none;
}

.form-alert {
    margin-bottom: 20px;
    border: 1px solid var(--doaj-border);
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
}

.form-alert-danger {
    border-color: #dc3545;
    background: #fff5f5;
    color: #9b1c1c;
}

.auth-footer-note {
    margin-top: 24px;
    border-top: 1px solid var(--doaj-border);
    padding-top: 18px;
    color: var(--doaj-muted);
    font-size: 13px;
    text-align: center;
}

.auth-footer-note p {
    margin: 0 0 8px;
}

.auth-footer-note a {
    color: var(--doaj-orange);
    font-weight: 800;
    text-decoration: none;
}

.auth-footer-note a:hover {
    text-decoration: underline;
}

.auth-demo-note {
    color: var(--doaj-muted);
    font-size: 12px;
}

@media (max-width: 900px) {
    .login-layout {
        grid-template-columns: 1fr;
    }

    .login-panel {
        padding: 24px;
    }
}

/* =========================================================
   Register Page
========================================================= */

.register-head .article-title {
    max-width: 720px;
}

.register-intro {
    max-width: 680px;
    margin: -10px 0 0;
    color: var(--doaj-muted);
    font-size: 14px;
    line-height: 1.7;
}

.register-layout {
    display: grid;
    grid-template-columns: 1fr 270px;
    gap: 58px;
    align-items: start;
}

.register-panel {
    margin-top: 28px;
    border: 1px solid var(--doaj-border);
    background: #ffffff;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .12);
    padding: 30px;
}

.register-panel-title {
    margin: 0 0 22px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.1;
}

.register-sidebar {
    padding-top: 28px;
}

.register-form {
    gap: 20px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 22px;
}

.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid #222222;
    background: #ffffff;
    padding: 10px 12px;
    color: #111111;
    font-size: 14px;
    outline: none;
}

.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--doaj-orange);
    box-shadow: 3px 3px 0 var(--doaj-orange);
}

.form-group input[type="file"] {
    height: auto;
    padding: 10px 12px;
}

.form-help {
    margin: 7px 0 0;
    color: var(--doaj-muted);
    font-size: 12px;
    line-height: 1.4;
}

.form-alert-success {
    border-color: #198754;
    background: #f0fff7;
    color: #146c43;
}

@media (max-width: 900px) {
    .register-layout,
    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .register-panel {
        padding: 24px;
    }
}

/* =========================================================
   OHS Homepage Redesign
========================================================= */

.ohs-home {
    background:
        radial-gradient(circle at 10% 8%, rgba(98, 181, 255, .14), transparent 28%),
        linear-gradient(180deg, #f4faff 0%, #ffffff 48%, #f4faff 100%);
}

.ohs-home .topbar,
.ohs-home .site-header {
    background: linear-gradient(90deg, #083a73 0%, #063064 50%, #052858 100%);
}

.ohs-home .topbar {
    height: 72px;
    box-shadow: 0 4px 18px rgba(4, 45, 93, .22);
}

.ohs-home .topbar-inner {
    height: 72px;
}

.ohs-home .top-actions a:hover {
    color: #59c76b;
}

.ohs-home .top-actions a:first-child,
.ohs-home .top-actions a.active {
    color: #ffffff;
    position: relative;
}

.ohs-home .top-actions a:first-child::after,
.ohs-home .top-actions a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 100%;
    height: 4px;
    border-radius: 99px;
    background: #59c76b;
}

.ohs-home .logo-mark::before {
    background: #54c66f;
}

.ohs-home .logo-mark::after {
    background: #4ea5ff;
}

.ohs-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 48px;
    background:
        radial-gradient(circle at 16% 24%, rgba(58, 155, 255, .16), transparent 28%),
        linear-gradient(135deg, #f9fdff 0%, #edf7ff 50%, #ffffff 100%);
}

.ohs-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 54px;
    align-items: center;
}

.ohs-hero-content {
    position: relative;
    z-index: 2;
}

.ohs-eyebrow {
    margin: 0 0 24px;
    color: #41b766;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.ohs-hero h1 {
    margin: 0 0 32px;
    color: #083a73;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -1.8px;
}

.ohs-hero h1 span {
    color: #42bf69;
}

.ohs-search-type {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 24px;
    color: #1d3557;
    font-size: 16px;
}

.ohs-search-type label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.ohs-search-type input {
    width: 18px;
    height: 18px;
    accent-color: #3dbb62;
}

.ohs-search-box {
    width: min(780px, 100%);
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 190px 110px;
    align-items: center;
    border: 1px solid rgba(31, 83, 148, .10);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(14, 75, 145, .13);
    overflow: hidden;
}

.ohs-search-box input,
.ohs-search-box select,
.ohs-search-box button {
    height: 58px;
    border: 0;
    background: #ffffff;
    outline: none;
    font-size: 14px;
}

.ohs-search-box input {
    padding: 0 26px;
    color: #083a73;
}

.ohs-search-box select {
    border-left: 1px solid #e3edf8;
    padding: 0 20px;
    color: #102f57;
    font-weight: 700;
}

.ohs-search-box button {
    margin: 10px;
    height: 38px;
    border-radius: 7px;
    background: linear-gradient(135deg, #36af58, #52ca76);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(45, 174, 82, .22);
}

.ohs-search-box button:hover {
    filter: brightness(.96);
}

.ohs-stats-card {
    width: min(770px, 100%);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 74px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(8, 58, 115, .12);
    overflow: hidden;
}

.ohs-stat-item {
    min-height: 164px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #e2edf7;
    padding: 22px 24px;
    text-align: center;
}

.ohs-stat-item:first-child {
    border-left: 0;
}

.ohs-stat-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #eaf4ff;
    color: #1666c5;
    font-size: 24px;
}

.ohs-stat-item strong {
    display: block;
    color: #1168c7;
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
}

.ohs-stat-item span {
    display: block;
    margin-top: 10px;
    color: #1f3555;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.35;
    text-transform: uppercase;
}

.ohs-hero-art {
    display: grid;
    place-items: center;
}

.ohs-art-grid {
    width: 330px;
    display: grid;
    grid-template-columns: repeat(3, 104px);
    grid-auto-rows: 104px;
    gap: 8px;
}

.leaf {
    display: block;
    width: 104px;
    height: 104px;
    background: #4ea5ff;
}

.leaf-blue {
    background: linear-gradient(135deg, #90c8ff, #0f68d4);
}

.leaf-soft {
    background: linear-gradient(135deg, #d9ecff, #8ac5ff);
}

.leaf-navy {
    background: linear-gradient(135deg, #0a3b79, #1458ad);
}

.leaf-green {
    background: linear-gradient(135deg, #83ddbd, #42bd74);
}

.leaf-mint {
    background: linear-gradient(135deg, #7adabc, #a9e6cd);
}

.leaf-lime {
    background: linear-gradient(135deg, #c7ef83, #8cd95e);
}

.leaf-a {
    border-radius: 100% 0 0 0;
}

.leaf-b {
    border-radius: 0 100% 0 0;
}

.leaf-c {
    border-radius: 0 0 100% 0;
}

.leaf-d {
    border-radius: 100% 0 0 0;
}

.leaf-e {
    border-radius: 100% 0 0 0;
}

.leaf-f {
    border-radius: 0 0 0 100%;
}

.leaf-g {
    border-radius: 100% 0 0 0;
}

.leaf-h {
    border-radius: 100% 0 0 0;
}

.leaf-i {
    border-radius: 0 0 0 100%;
}

.leaf-j {
    border-radius: 100% 0 0 0;
}

.leaf-circle {
    border-radius: 50%;
    transform: scale(.68);
    opacity: .7;
}

.leaf-dot {
    position: relative;
    background: transparent;
}

.leaf-dot::before {
    content: "";
    position: absolute;
    inset: 14px;
    background-image: radial-gradient(circle, #69c88b 4px, transparent 5px);
    background-size: 26px 26px;
}

.ohs-info-section {
    padding: 26px 0 32px;
    background: #f7fbff;
}

.ohs-info-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(230, 249, 237, .92), rgba(245, 252, 255, .92));
    box-shadow: 0 12px 30px rgba(16, 96, 60, .08);
    padding: 48px 52px;
}

.ohs-info-col-border {
    border-left: 1px solid rgba(8, 58, 115, .10);
    padding-left: 48px;
}

.ohs-section-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.ohs-section-heading h2 {
    margin: 0;
    color: #17833e;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
}

.ohs-round-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #219c43, #4dcc74);
    color: #ffffff;
    font-size: 24px;
}

.ohs-info-card p {
    color: #173454;
    font-size: 14px;
    line-height: 1.75;
}

.ohs-link-list {
    display: grid;
    gap: 16px;
    margin: 26px 0;
}

.ohs-link-list a {
    color: #236d3a;
    font-size: 14px;
    font-weight: 700;
}

.ohs-outline-btn,
.ohs-primary-btn,
.ohs-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 6px;
    padding: 0 24px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .4px;
    text-transform: uppercase;
    text-decoration: none;
}

.ohs-outline-btn {
    border: 2px solid #4fc475;
    color: #239a4a;
    background: #ffffff;
}

.ohs-primary-btn {
    border: 2px solid #1168c7;
    background: #1168c7;
    color: #ffffff;
}

.ohs-primary-btn:hover,
.ohs-cta-btn:hover {
    color: #ffffff;
    filter: brightness(.96);
}

.ohs-funding-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 34px 0;
}

.ohs-funding-grid > div {
    text-align: center;
}

.ohs-funding-grid > div + div {
    border-left: 1px solid #d8e8f5;
}

.ohs-funding-grid strong {
    display: block;
    margin-bottom: 14px;
    color: #31ad58;
    font-size: 42px;
    line-height: 1;
}

.ohs-funding-grid span {
    color: #173454;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.4;
    text-transform: uppercase;
}

.ohs-small-note {
    margin-top: 24px;
}

.ohs-blog-section {
    padding: 44px 0 54px;
    background:
        linear-gradient(135deg, #f8fbff 0%, #ecf6ff 100%);
}

.ohs-section-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
}

.ohs-section-top h2 {
    position: relative;
    margin: 0;
    color: #07386f;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
}

.ohs-section-top h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -14px;
    width: 58px;
    height: 4px;
    border-radius: 99px;
    background: #1168c7;
}

.ohs-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ohs-blog-card {
    border: 1px solid rgba(12, 82, 160, .08);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(8, 58, 115, .10);
    overflow: hidden;
}

.ohs-blog-image {
    height: 132px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #dff7e6, #bfead0);
    overflow: hidden;
}

.ohs-blog-image.blue {
    background: linear-gradient(135deg, #d9ecff, #89c3ff);
}

.ohs-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ohs-blog-image span {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
    color: #1268c7;
    font-size: 36px;
    box-shadow: 0 10px 22px rgba(8, 58, 115, .12);
}

.ohs-blog-body {
    padding: 22px 24px;
}

.ohs-blog-date {
    margin: 0 0 12px;
    color: #43b664;
    font-size: 12px;
    font-weight: 800;
}

.ohs-blog-body h3 {
    margin: 0 0 12px;
    color: #092f5d;
    font-size: 18px;
    line-height: 1.25;
}

.ohs-blog-body h3 a {
    color: inherit;
}

.ohs-blog-body h3 a:hover {
    color: #1168c7;
}

.ohs-blog-excerpt {
    margin: 0 0 22px;
    color: #315371;
    font-size: 13px;
    font-weight: 700;
}

.ohs-read-more {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #d8e8f5;
    padding-top: 16px;
    color: #1168c7;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.ohs-cta-section {
    padding: 0 0 34px;
    background: #f4faff;
}

.ohs-cta-card {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 26px;
    align-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #063a78, #1168c7);
    box-shadow: 0 14px 28px rgba(8, 58, 115, .18);
    padding: 34px 56px;
    color: #ffffff;
}

.ohs-cta-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border: 3px solid #50c56f;
    border-radius: 50%;
    font-size: 36px;
}

.ohs-cta-card h2 {
    margin: 0 0 8px;
    font-size: 29px;
    font-weight: 900;
}

.ohs-cta-card p {
    margin: 0;
    color: #dbeeff;
    font-size: 15px;
}

.ohs-cta-btn {
    min-width: 160px;
    background: linear-gradient(135deg, #3ab764, #5fd17e);
    color: #ffffff;
}

@media (max-width: 1000px) {
    .ohs-hero-inner,
    .ohs-info-card,
    .ohs-cta-card {
        grid-template-columns: 1fr;
    }

    .ohs-info-col-border {
        border-left: 0;
        border-top: 1px solid rgba(8, 58, 115, .10);
        padding-left: 0;
        padding-top: 34px;
    }

    .ohs-hero-art {
        display: none;
    }

    .ohs-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ohs-cta-card {
        text-align: center;
        justify-items: center;
    }
}

@media (max-width: 640px) {
    .ohs-hero {
        padding: 48px 0 36px;
    }

    .ohs-hero h1 {
        font-size: 42px;
    }

    .ohs-search-box {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .ohs-search-box input,
    .ohs-search-box select,
    .ohs-search-box button {
        width: 100%;
        border: 1px solid #e3edf8;
        border-radius: 7px;
    }

    .ohs-search-box select {
        border-left: 1px solid #e3edf8;
    }

    .ohs-search-box button {
        margin: 0;
        height: 46px;
    }

    .ohs-stats-card,
    .ohs-blog-grid,
    .ohs-funding-grid {
        grid-template-columns: 1fr;
    }

    .ohs-stat-item {
        border-left: 0;
        border-top: 1px solid #e2edf7;
    }

    .ohs-stat-item:first-child {
        border-top: 0;
    }

    .ohs-info-card {
        padding: 30px 24px;
    }

    .ohs-section-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 26px;
    }

    .ohs-cta-card {
        padding: 28px 22px;
    }

    .ohs-cta-card h2 {
        font-size: 24px;
    }
}

/* =========================================================
   Logo Mark - Open Book with Spine
========================================================= */

.logo-mark.logo-mark-book {
    position: relative;
    width: 52px;
    height: 36px;
    display: inline-block;
    flex: 0 0 52px;
}

.logo-mark.logo-mark-book::before,
.logo-mark.logo-mark-book::after {
    content: "";
    position: absolute;
    top: 4px;
    width: 22px;
    height: 28px;
}

.logo-mark.logo-mark-book::before {
    left: 1px;
    border-radius: 5px 12px 10px 5px;
    background: linear-gradient(135deg, #55d07a, #26a556);
    transform: skewY(-7deg);
}

.logo-mark.logo-mark-book::after {
    right: 1px;
    border-radius: 12px 5px 5px 10px;
    background: linear-gradient(135deg, #69c3ff, #156dca);
    transform: skewY(7deg);
}

.logo-mark.logo-mark-book .book-spine {
    display: none;
}

.logo-mark.logo-mark-book::selection {
    background: transparent;
}

.logo-mark.logo-mark-book:focus {
    outline: none;
}

/* =========================================================
   Journal Visualization Page
========================================================= */

.journal-viz-head .article-title {
    max-width: 760px;
}

.journal-viz-page {
    background:
        radial-gradient(circle at 12% 8%, rgba(17, 104, 199, .08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
}

.viz-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding-top: 28px;
    margin-bottom: 24px;
}

.viz-stat-card {
    border: 1px solid rgba(17, 104, 199, .10);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(8, 58, 115, .08);
    padding: 22px;
}

.viz-stat-card span {
    display: block;
    margin-bottom: 10px;
    color: var(--doaj-muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.viz-stat-card strong {
    display: block;
    color: #1168c7;
    font-size: 34px;
    line-height: 1;
}

.viz-stat-card p {
    margin: 10px 0 0;
    color: #36556f;
    font-size: 13px;
}

.viz-control-panel {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
    border: 1px solid var(--doaj-border);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(8, 58, 115, .08);
    padding: 22px;
    margin-bottom: 24px;
}

.viz-control-group label {
    display: block;
    margin-bottom: 8px;
    color: #111111;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.viz-control-group select {
    width: 100%;
    height: 42px;
    border: 1px solid #222222;
    background: #ffffff;
    padding: 0 12px;
    font-size: 13px;
    outline: none;
}

.viz-control-group select:focus {
    border-color: var(--doaj-orange);
    box-shadow: 3px 3px 0 var(--doaj-orange);
}

.viz-generate-btn {
    height: 42px;
    border: 1px solid #1168c7;
    border-radius: 4px;
    background: #1168c7;
    color: #ffffff;
    padding: 0 18px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
}

.viz-generate-btn:hover {
    filter: brightness(.96);
}

.viz-main-grid {
    display: grid;
    grid-template-columns: 1fr 270px;
    gap: 24px;
    align-items: start;
    margin-bottom: 24px;
}

.viz-network-card,
.viz-side-box,
.viz-chart-card {
    border: 1px solid rgba(17, 104, 199, .10);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(8, 58, 115, .08);
}

.viz-network-card {
    position: relative;
    overflow: hidden;
}

.viz-card-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    border-bottom: 1px solid #e3edf8;
    padding: 20px 22px;
}

.viz-card-header h2,
.viz-chart-card h2,
.viz-side-box h3 {
    margin: 0;
    color: #083a73;
    font-size: 18px;
    font-weight: 900;
}

.viz-card-header p {
    margin: 6px 0 0;
    color: var(--doaj-muted);
    font-size: 13px;
}

.viz-graph-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.viz-graph-actions button {
    min-width: 34px;
    height: 34px;
    border: 1px solid #d4e4f3;
    border-radius: 999px;
    background: #ffffff;
    color: #1168c7;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.viz-graph-actions button:hover {
    background: #eef7ff;
}

.journal-network-viz {
    height: 560px;
    position: relative;
    background:
        radial-gradient(circle at 20% 20%, rgba(17, 104, 199, .08), transparent 28%),
        #fbfdff;
}

.viz-empty-state {
    height: 100%;
    display: grid;
    place-content: center;
    gap: 8px;
    color: var(--doaj-muted);
    text-align: center;
    padding: 24px;
}

.viz-empty-state strong {
    color: #083a73;
    font-size: 18px;
}

.viz-empty-state.error strong {
    color: #dc3545;
}

.viz-node circle {
    cursor: pointer;
    transition: stroke-width .2s ease;
}

.viz-node circle:hover {
    stroke-width: 5px;
}

.viz-label {
    fill: #183b5d;
    font-size: 10px;
    font-weight: 700;
    pointer-events: none;
    paint-order: stroke;
    stroke: #ffffff;
    stroke-width: 4px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.viz-node-info {
    display: none;
    position: absolute;
    top: 86px;
    right: 18px;
    max-width: 240px;
    border: 1px solid #d4e4f3;
    border-radius: 10px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 8px 20px rgba(8, 58, 115, .16);
    padding: 14px;
    z-index: 10;
}

.viz-node-info.show {
    display: block;
}

.viz-node-info strong,
.viz-node-info span,
.viz-node-info em {
    display: block;
}

.viz-node-info strong {
    color: #083a73;
    font-size: 14px;
}

.viz-node-info span {
    margin-top: 4px;
    color: var(--doaj-muted);
    font-size: 12px;
    text-transform: capitalize;
}

.viz-node-info em {
    margin-top: 8px;
    color: #37b765;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.viz-side-panel {
    display: grid;
    gap: 18px;
}

.viz-side-box {
    padding: 20px;
}

.viz-muted {
    color: var(--doaj-muted);
    font-size: 13px;
}

.viz-mini-stat {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #e3edf8;
    padding: 10px 0;
    font-size: 13px;
}

.viz-mini-stat:last-child {
    border-bottom: 0;
}

.viz-mini-stat span {
    color: var(--doaj-muted);
}

.viz-mini-stat strong {
    color: #1168c7;
}

.viz-top-list {
    display: grid;
    gap: 8px;
}

.viz-top-item {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    gap: 10px;
    align-items: start;
    border-bottom: 1px solid #e3edf8;
    padding-bottom: 8px;
    font-size: 12px;
}

.viz-top-item span {
    color: #1168c7;
    font-weight: 900;
}

.viz-top-item strong {
    color: #173454;
    line-height: 1.3;
}

.viz-top-item em {
    color: #37b765;
    font-style: normal;
    font-weight: 900;
}

.viz-chart-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 42px;
}

.viz-chart-card {
    padding: 20px;
}

.viz-chart-card h2 {
    margin-bottom: 16px;
}

.viz-chart {
    width: 100%;
    min-height: 260px;
}

@media (max-width: 1000px) {
    .viz-stat-grid,
    .viz-control-panel,
    .viz-main-grid,
    .viz-chart-grid {
        grid-template-columns: 1fr;
    }

    .journal-network-viz {
        height: 460px;
    }

    .viz-card-header {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .viz-stat-card strong {
        font-size: 28px;
    }

    .viz-control-panel {
        padding: 18px;
    }

    .journal-network-viz {
        height: 390px;
    }
}

/* =========================================================
   Journal Visualization - Additional Statistics
========================================================= */

.viz-detail-section {
    margin: 34px 0;
}

.viz-detail-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-end;
    margin-bottom: 18px;
}

.viz-detail-heading h2 {
    margin: 0;
    color: #083a73;
    font-size: 22px;
    font-weight: 900;
}

.viz-detail-heading p {
    margin: 6px 0 0;
    color: var(--doaj-muted);
    font-size: 13px;
}

.viz-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.viz-summary-card {
    border: 1px solid rgba(17, 104, 199, .10);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(8, 58, 115, .08);
    padding: 22px;
    border-left: 5px solid #1168c7;
}

.viz-summary-card.green {
    border-left-color: #37b765;
}

.viz-summary-card.purple {
    border-left-color: #8b5cf6;
}

.viz-summary-card.orange {
    border-left-color: #f59e0b;
}

.viz-summary-card span {
    display: block;
    margin-bottom: 10px;
    color: var(--doaj-muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.viz-summary-card strong {
    display: block;
    color: #083a73;
    font-size: 30px;
    line-height: 1.1;
}

.viz-summary-card p {
    margin: 10px 0 0;
    color: #36556f;
    font-size: 13px;
}

.viz-doi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.viz-doi-card {
    border: 1px solid rgba(17, 104, 199, .10);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(8, 58, 115, .08);
    padding: 22px;
}

.viz-doi-card {
    display: grid;
    gap: 14px;
}

.viz-doi-card span {
    display: block;
    color: var(--doaj-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.viz-doi-card strong {
    display: block;
    margin-top: 6px;
    color: #083a73;
    font-size: 32px;
}

.viz-doi-card em {
    color: #1168c7;
    font-style: normal;
    font-weight: 900;
}

.viz-progress {
    width: 100%;
    height: 9px;
    overflow: hidden;
    border-radius: 99px;
    background: #e5eef7;
}

.viz-progress i {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: #1168c7;
}

.viz-doi-card.has-doi .viz-progress i {
    background: #37b765;
}

.viz-doi-card.no-doi .viz-progress i {
    background: #64748b;
}

.viz-table-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.viz-table-card {
    border: 1px solid rgba(17, 104, 199, .10);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(8, 58, 115, .08);
    overflow: hidden;
}

.viz-table-card h3 {
    margin: 0;
    border-bottom: 1px solid #e3edf8;
    padding: 18px 20px;
    color: #083a73;
    font-size: 16px;
    font-weight: 900;
}

.viz-table-scroll {
    max-height: 420px;
    overflow: auto;
}

.viz-table-scroll.wide {
    max-height: 540px;
}

.viz-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.viz-table thead {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f3f8ff;
}

.viz-table th {
    border-bottom: 1px solid #dce9f7;
    padding: 12px 14px;
    color: #083a73;
    font-size: 11px;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.viz-table td {
    border-bottom: 1px solid #edf3f8;
    padding: 12px 14px;
    color: #173454;
    vertical-align: top;
}

.viz-table tr:hover td {
    background: #f7fbff;
}

.viz-table small {
    color: var(--doaj-muted);
}

.text-right {
    text-align: right !important;
}

.text-green {
    color: #15803d !important;
    font-weight: 900;
}

.text-blue {
    color: #1168c7 !important;
    font-weight: 900;
}

.text-red {
    color: #dc2626 !important;
    font-weight: 900;
}

.viz-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    border-radius: 999px;
    background: #e5eef7;
    color: #334155;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.viz-status.ok,
.viz-status.active {
    background: #dcfce7;
    color: #166534;
}

.viz-status.deleted,
.viz-status.error {
    background: #fee2e2;
    color: #991b1b;
}

.viz-status.running {
    background: #fef3c7;
    color: #92400e;
}

.viz-status.muted {
    background: #f1f5f9;
    color: #64748b;
}

@media (max-width: 1000px) {
    .viz-summary-grid,
    .viz-doi-grid,
    .viz-table-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Visualization Full Width Network
========================================================= */

.viz-main-grid {
    display: block;
    width: 100%;
    margin-bottom: 28px;
}

.viz-network-card {
    width: 100%;
}

.journal-network-viz {
    width: 100%;
    height: 680px;
}

.viz-side-panel {
    display: grid;
}

.viz-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.viz-graph-actions {
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .journal-network-viz {
        height: 520px;
    }

    .viz-card-header {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .journal-network-viz {
        height: 430px;
    }
}

/* =========================================================
   Visualization Network Full Width + Statistics Below
========================================================= */

.viz-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    width: 100%;
    margin-bottom: 28px;
}

.viz-network-card {
    width: 100%;
}

.journal-network-viz {
    width: 100%;
    height: 680px;
}

/* Aside tidak dihilangkan, tetapi dipindah menjadi area bawah */
.viz-side-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    width: 100%;
}

.viz-side-box {
    min-height: 100%;
}

.viz-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.viz-graph-actions {
    flex-shrink: 0;
}

/* Supaya daftar Top Entities tidak terlalu panjang */
.viz-top-list {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}

@media (max-width: 900px) {
    .journal-network-viz {
        height: 520px;
    }

    .viz-card-header {
        flex-direction: column;
    }

    .viz-side-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .journal-network-viz {
        height: 430px;
    }
}