:root {
  /* Measured from Giao dien NCKH.png + confirmed brand tokens */
  --jvc: #ed2625;
  --jvc-dark: #c91c1c;
  --jvc-ink: #111111;
  --jvc-page: #ededee;
  --jvc-panel: #ffffff;
  --jvc-nav: #d7d7d7;
  --jvc-accent: #005976;
  --jvc-blue: #005976;
  --jvc-blue-dark: #004a63;
  --jvc-blue-light: #ddedf8;
  --jvc-login: #005976;
  --jvc-muted: #999999;
  --jvc-border: #e2e2e2;
  --jvc-text-color: #111111;
  --jvc-text-secondary: #222222;
  --jvc-cover-border: #ed2625;
}

/* Default square chrome; allow mild radius on controls that match PNG */
.ojs-home-box,
.ojs-cta-tile,
.ojs-sidebar-btn,
.ojs-btn,
.partner-logo-card,
.ojs-module-placeholder {
  border-radius: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  background: var(--jvc-page) !important;
  color: var(--jvc-text-color);
}

h1,
.h1 {
  font-size: 2rem;
  line-height: 1.25;
}

h2,
.h2 {
  font-size: 1.5rem;
  line-height: 1.3;
}

h3,
.h3 {
  font-size: 1.25rem;
  line-height: 1.35;
}

h4,
.h4 {
  font-size: 1.125rem;
  line-height: 1.4;
}

h5,
.h5 {
  font-size: 1rem;
  line-height: 1.45;
}

.serif {
  font-family: 'Noto Serif', serif;
}

.text-jvc {
  color: var(--jvc-text-color);
}

.bg-jvc {
  background-color: var(--jvc);
}

.bg-jvc-dark {
  background-color: var(--jvc-dark);
}

.bg-slate-900 {
  background-color: var(--jvc-blue) !important;
}

.bg-slate-900\/30 {
  background-color: rgba(201, 28, 28, 0.3) !important;
}

.bg-jvc\/10 {
  background-color: rgba(237, 38, 37, 0.1);
}

.bg-jvc\/20 {
  background-color: rgba(237, 38, 37, 0.2);
}

.bg-jvc-dark\/60 {
  background-color: rgba(201, 28, 28, 0.6);
}

.border-jvc {
  border-color: var(--jvc);
}

.border-jvc\/20 {
  border-color: rgba(237, 38, 37, 0.2);
}

.hover\:text-jvc:hover {
  color: var(--jvc);
}

.hover\:bg-jvc-dark:hover {
  background-color: var(--jvc-dark);
}

.hover\:bg-jvc\/10:hover {
  background-color: rgba(237, 38, 37, 0.1);
}

.hover\:border-jvc\/20:hover {
  border-color: rgba(237, 38, 37, 0.2);
}

.group:hover .group-hover\:text-jvc {
  color: var(--jvc);
}

.view-container,
[view-container] {
  display: none;
}

.view-container.active,
[view-container].active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

@keyframes skeletonPulse {
  0%,
  100% {
    opacity: 0.45;
  }

  50% {
    opacity: 1;
  }
}

.hero-gradient {
  background-size: cover;
  background-position: center;
}

.nav-btn {
  transition: all 0.2s ease;
}

.nav-btn:hover {
  transform: translateY(-1px);
}

/* Site shell — wider layout than max-w-7xl (1280px) */
.site-shell {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .site-shell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .site-shell {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.site-header-ojs-nav {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.site-header-ojs-nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.35rem;
}

.site-header-mobile-toggle {
  display: block;
}

@media (min-width: 1024px) {
  .site-header-ojs-nav {
    display: flex;
  }

  .site-header-mobile-toggle {
    display: none;
  }
}

.site-header-ojs-nav .nav-link {
  white-space: nowrap;
  font-size: 0.9375rem;
}

.site-header-ojs-nav .nav-link {
  color: #111;
}
.site-header-ojs-nav .nav-link.active,
.site-header-ojs-nav .nav-link:hover {
  color: var(--jvc);
}

/* NCKH header: red brand band + grey nav #d7d7d7 (đúng design PNG) */
.site-header {
  background: #fff;
  box-shadow: none;
}

.site-header-brand {
  background: var(--jvc);
  color: #fff;
}

.site-header-brand-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem 0 1rem;
}

.site-header-brand-left {
  min-width: 0;
  flex: 1 1 auto;
}

.site-header-logo {
  display: inline-flex;
  align-items: center;
}

.site-header-brand-org {
  margin-top: 0.35rem;
  max-width: 42rem;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,.92);
}
.site-header-brand-title {
  margin-top: 0.35rem;
  max-width: 48rem;
  font-size: clamp(0.95rem, 1.55vw, 1.2rem);
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
}

.site-header-brand-right {
  flex: 0 0 auto;
  text-align: right;
  display: grid;
  gap: 0.45rem;
  justify-items: end;
}

.site-header-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
}

.site-header-back:hover { color: #fff; text-decoration: underline; }

.site-header-meta {
  font-size: 0.875rem;
  line-height: 1.45;
  color: #fff;
}

.site-header-meta strong { font-weight: 800; }

/* Remove obsolete blue subtitle bar if any markup remains */
.site-header-subtitle { display: none !important; }

.site-header-nav {
  background: var(--jvc-nav);
  border-bottom: 0;
}

.site-header-nav-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 52px;
}

.site-header-ojs-nav {
  display: none;
  flex: 1 1 auto;
  min-width: 0;
}

.site-header-ojs-nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.15rem;
}

@media (min-width: 1024px) {
  .site-header-ojs-nav { display: block; }
  .site-header-mobile-toggle { display: none; }
}

.site-header-mobile-toggle { display: block; color: #111; }

.nav-link,
.site-header-ojs-nav .nav-link {
  display: inline-flex;
  align-items: center;
  color: #005976 !important;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.85rem 0.65rem;
  text-transform: none;
  background: transparent !important;
}

.nav-link:hover,
.nav-link.active,
.site-header-ojs-nav .nav-link:hover,
.site-header-ojs-nav .nav-link.active {
  color: var(--jvc) !important;
  background: transparent !important;
}

.site-header-nav-search {
  display: flex;
  align-items: stretch;
  margin-left: auto;
  flex: 0 1 300px;
  min-width: 0;
  background: #fff;
  border: 1px solid #005976;
  border-radius: 4px;
  overflow: hidden;
}

.site-header-nav-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.45rem 0.7rem;
  font-size: 0.875rem;
  color: #222;
}

.site-header-nav-search-btn {
  width: 2.35rem;
  border: 0;
  border-left: 1px solid #e5e5e5;
  background: #fff;
  color: #005976;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.site-header-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.header-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #005976;
  border: 1px solid #005976;
  padding: 0.5rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 800;
  white-space: nowrap;
  border-radius: 4px;
}

.header-auth-btn:hover {
  background: #004a63;
  border-color: #004a63;
  color: #fff;
}

.header-auth-btn-outline {
  background: #fff;
  color: #005976;
  border-color: #005976;
}

.header-auth-btn-outline:hover {
  background: #ddedf8;
  color: #005976;
}

.header-submit-btn,
.site-header-search { display: none !important; }

.brand-logo {
  width: auto;
  max-width: 280px;
  max-height: 52px;
  object-fit: contain;
}

/* Homepage 3-column layout */
.ojs-home-body {
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
}

.ojs-home-body .lg\:col-span-3 > .ojs-sidebar-box:last-child,
.ojs-home-body .lg\:col-span-3 > *:last-child .ojs-sidebar-box:last-child {
  margin-bottom: 0;
}

.ojs-sidebar-box {
  background: #fff;
}

.ojs-sidebar-box-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  padding: 0.7rem 1rem;
  background: var(--jvc);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ojs-sidebar-box-body {
  padding: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.ojs-journal-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ojs-journal-cover-wrap {
  max-width: 220px;
  margin: 0 auto 1rem;
}

/* Thumbnail frames 16:10 */
.ojs-aspect-16-10 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.ojs-aspect-16-10 > img,
.ojs-aspect-16-10 > a > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ojs-aspect-16-10 > a {
  display: block;
  width: 100%;
  height: 100%;
}

.ojs-journal-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--jvc-dark);
  text-align: center;
  line-height: 1.4;
  margin-bottom: 0.875rem;
}

.ojs-sidebar-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid var(--jvc);
  margin-bottom: 0.5rem;
}

.ojs-sidebar-btn-primary {
  background: var(--jvc-login);
  color: #fff;
  border: 1px solid var(--jvc-login);
}

.ojs-sidebar-btn-outline {
  background: #fff;
  color: var(--jvc);
}

.ojs-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.ojs-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #cbd5e1;
  color: #475569;
  background: #fff;
}

.ojs-section-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ojs-section-link-list li {
  border-bottom: 1px solid #eef2f7;
}

.ojs-section-link-list li:last-child {
  border-bottom: 0;
}

.ojs-section-link-list a {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--jvc-text-color);
  line-height: 1.4;
}

.ojs-section-link-list a:hover {
  text-decoration: underline;
}

.ojs-issue-browser-go {
  width: 100%;
  margin-top: 0.5rem;
  background: #f1f1f1;
  color: var(--jvc-text-color);
  border: 1px solid #e5e5e5;
  padding: 0.5rem;
  font-weight: 700;
}

.ojs-issue-list {
  margin-top: 0.75rem;
}

.ojs-issue-list a {
  display: block;
  padding: 0.45rem 0;
  border-bottom: 1px solid #eef2f7;
  font-size: 0.9375rem;
  color: var(--jvc-text-color);
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ojs-issue-list a:last-child {
  border-bottom: 0;
}

.ojs-issue-list a:hover {
  color: var(--jvc-dark);
  text-decoration: underline;
}

.ojs-most-read-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eef2f7;
}

.ojs-most-read-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ojs-most-read-thumb-link {
  display: block;
  margin-bottom: 0.5rem;
}

.ojs-most-read-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ojs-most-read-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--jvc-text-color);
  line-height: 1.5;
}

.ojs-most-read-title a {
  color: inherit;
}

.ojs-most-read-title a:hover {
  color: var(--jvc);
}

/* Hero slider */
.ojs-hero-slider {
  position: relative;
  overflow: hidden;
  border: 0;
  background: #fff;
  margin-bottom: 1rem;
}

.ojs-hero-slide {
  display: none;
  position: relative;
  aspect-ratio: 16 / 7;
  background-size: cover;
  background-position: center;
}

.ojs-hero-slide.is-active {
  display: block;
}

.ojs-hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 40%, rgb(0 0 0 / 55%) 100%);
}

.ojs-hero-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  padding: 1rem 1.25rem;
  color: #fff;
}

.ojs-hero-slide-caption a {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.ojs-hero-nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  width: 2rem;
  height: 2rem;
  /* display: inline-flex; */
  align-items: center;
  justify-content: center;
  color: #334155;
  z-index: 2;
}

.ojs-hero-nav-prev {
  left: 0.5rem;
}

.ojs-hero-nav-next {
  right: 0.5rem;
}

.ojs-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  z-index: 2;
}

.ojs-hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50% !important;
}

.ojs-hero-dot.is-active {
  background: #fff;
}

.ojs-intro-box {
  background: #fff;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.ojs-intro-box h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--jvc-text-color);
  margin-bottom: 0.75rem;
}

.ojs-intro-box .ojs-intro-content {
  color: var(--jvc-text-color);
  line-height: 1.75;
  font-size: 1rem;
}

.ojs-latest-heading {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--jvc-text-color);
}

/* Article & scholarly typography (aligned with article detail page) */
.ojs-article-page {
  font-size: 1rem;
  line-height: 1.6;
}

.ojs-article-detail-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--jvc-text-color);
  line-height: 1.25;
}

.ojs-section-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--jvc-text-color);
  margin-bottom: 1rem;
}

.ojs-abstract-text {
  font-family: 'Noto Serif', serif;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--jvc-text-color);
  text-align: justify;
  font-style: italic;
}

.ojs-meta-text {
  font-size: 1rem;
  color: var(--jvc-text-color);
  font-weight: 600;
}

.ojs-page-hero-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.35;
}

.ojs-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--jvc);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ojs-badge-muted {
  background: #f1f5f9;
  color: #334155;
}

.ojs-article-content {
  font-size: 1rem;
  color: #334155;
}

.ojs-content-block {
  margin-bottom: 2rem;
}

.ojs-content-block > strong,
.ojs-content-block .ojs-section-heading {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #005976;
  margin-bottom: 0.75rem;
}

.ojs-richtext,
.ojs-article-body,
.article-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
}

.ojs-richtext p,
.ojs-article-body p,
.article-body p {
  margin-bottom: 1rem;
}

.ojs-richtext h2,
.ojs-article-body h2,
.article-body h2 {
  font-size: clamp(1.25rem, 4vw, 1.45rem);
  font-weight: 800;
  color: #005976;
  margin: 1.5rem 0 0.75rem;
}

.ojs-richtext h3,
.ojs-article-body h3,
.article-body h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: #005976;
  margin: 1.25rem 0 0.65rem;
}

.ojs-richtext h4,
.ojs-article-body h4,
.article-body h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #005976;
  margin: 1rem 0 0.5rem;
}

.ojs-richtext ul,
.ojs-richtext ol,
.ojs-article-body ul,
.ojs-article-body ol,
.article-body ul,
.article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.ojs-richtext img,
.ojs-article-body img,
.article-body img {
  max-width: 100%;
  height: auto;
}

.ojs-richtext table,
.ojs-article-body table,
.article-body table {
  width: 100%;
}

.ojs-richtext figure,
.ojs-article-body figure,
.article-body figure {
  margin: 1.5rem 0;
}

.ojs-richtext figcaption,
.ojs-article-body figcaption,
.article-body figcaption {
  margin-top: 0.5rem;
  color: #64748b;
  font-size: 0.875rem;
  text-align: center;
}

.ojs-article-list-item {
  background: #fff;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  margin-bottom: 1rem;
}

.ojs-article-list-item:hover {
  border-color: rgba(237, 38, 37, 0.3);
}

.ojs-article-list-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--jvc-text-color);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.ojs-article-list-title a {
  color: inherit;
}

.ojs-article-list-title a:hover {
  text-decoration: underline;
}

.ojs-article-list-meta {
  font-size: 0.9rem;
  color: #48505b;
}

.ojs-article-list-category {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: rgba(237, 38, 37, 0.1);
  color: var(--jvc);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(237, 38, 37, 0.2);
}

.ojs-card {
  background: #fff;
  border: 1px solid #d8dee8;
}

.info-chip {
  border: 1px solid #e2e8f0;
  padding: 1rem;
  background: #f8fafc;
}

.stat-badge {
  background: rgba(237, 38, 37, 0.1);
  color: var(--jvc);
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid rgba(237, 38, 37, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#mobile-menu button {
  transition: all 0.2s ease;
}

#mobile-menu button:hover {
  transform: translateX(2px);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(2px);
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-panel {
  width: 88%;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  border-left: 1px solid #e2e8f0;
  box-shadow: -8px 0 30px rgba(15, 23, 42, 0.1);
  padding: 1rem;
  overflow-y: auto;
}

.partner-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.ojs-partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.partner-logo {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

.sticky-card {
  position: sticky;
  top: 96px;
}

/* News box skeleton */
.ojs-news-skeleton-item {
  margin-bottom: 0.85rem;
}

.ojs-news-skeleton-thumb,
.ojs-news-skeleton-line {
  background: #e2e8f0;
  animation: skeletonPulse 1.2s ease-in-out infinite;
}

.ojs-news-skeleton-thumb {
  width: 100%;
  height: 72px;
  margin-bottom: 0.5rem;
}

.ojs-news-skeleton-lines {
  width: 100%;
}

.ojs-news-skeleton-line {
  height: 0.75rem;
  margin-bottom: 0.45rem;
}

.ojs-news-skeleton-line.short {
  width: 55%;
}

.ojs-news-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eef2f7;
}

.ojs-news-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ojs-news-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ojs-news-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.45;
}

.ojs-news-title a {
  color: inherit;
}

.ojs-news-title a:hover {
  color: var(--jvc);
}

.ojs-news-date {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.2rem;
}

/* Author popover */
.ojs-author-line--compact {
  display: inline;
  font-size: 0.9rem;
  color: var(--jvc-text-color);
  line-height: 1.6;
  font-style: italic;
}

.ojs-author-chip {
  display: inline;
}

.ojs-author-name {
  font-weight: 500;
}

.ojs-author-icons {
  display: inline-flex;
  gap: 0.15rem;
  margin-left: 0.15rem;
  margin-top: -0.65rem;
  vertical-align: middle;
}

.ojs-author-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  color: var(--jvc);
  padding: 0;
  cursor: pointer;
}

.ojs-author-sep {
  margin: 0 0.15rem;
}

.ojs-author-popover {
  position: absolute;
  z-index: 200;
  width: min(280px, calc(100vw - 24px));
  background: #fff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

.ojs-author-popover-title {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.ojs-author-popover-body {
  padding: 0.75rem;
  font-size: 1rem;
  color: #334155;
  white-space: pre-wrap;
  word-break: break-word;
}

.ojs-author-popover-body a {
  color: var(--jvc);
  font-weight: 600;
}

/* Office galley modal */
#ojs-office-viewer-modal {
  z-index: 100000 !important;
  isolation: isolate;
}

.ojs-office-viewer-close-fab {
  z-index: 100001 !important;
}

#ojs-dflip-brand-bar {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100002;
  pointer-events: none;
  max-width: min(92vw, 28rem);
  text-align: center;
}

.ojs-dflip-brand-logo {
  display: inline-block;
  max-height: 2.25rem;
  width: auto;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}
.footer-site-logo{max-width: 200px;}
.ojs-article-list-content{font-size: 0.9rem; line-height: 1.5; color: var(--jvc-text-color);}
.post-item .ojs-article-list-title{color: var(--jvc);}
.site-header-search.bottom{display: none;}
.ojs-author-line--stacked{display: grid; grid-template-columns: 1fr; gap: 0.25rem;}
.citation-body, .more-meta-info{font-size: 0.9rem; line-height: 1.5; color: var(--jvc-text-color);}
@media (min-width: 640px) {
  .ojs-dflip-brand-logo {
    max-height: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .brand-logo {
    max-width: 340px;
  }

  .ojs-dflip-brand-logo {
    max-height: 3.25rem;
  }
}
@media (max-width: 767px){
  .site-header-subtitle-text { font-size: 0.7rem; }
  .header-auth-btn { padding: 0.4rem 0.7rem; font-size: 0.75rem; }
}

.ojs-office-viewer-head .ojs-office-viewer-logo {
  max-height: 2.5rem;
}


/* ===== NCKH layout sync ===== */
.site-footer {
  background: var(--jvc-blue);
  color: #e8eef3;
  padding: 2.5rem 0 2rem;
  margin-top: 1.5rem;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .site-footer-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
  }
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.65rem;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.site-footer-copy,
.site-footer-contact,
.site-footer-issn {
  font-size: 0.875rem;
  line-height: 1.6;
}
.site-footer-social {
  display: flex;
  gap: 0.75rem;
  margin: 1rem 0;
}
.site-footer-social a {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.35);
}
.site-footer-seal { margin-top: 0.75rem; }

.ojs-cover-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.ojs-sidebar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 800;
  text-align: center;
}
.ojs-sidebar-btn-primary {
  background: var(--jvc-login);
  color: #fff;
  border: 1px solid var(--jvc-login);
}
.ojs-sidebar-btn-outline {
  background: #efefef;
  color: #222;
  border: 1px solid #cfcfcf;
}
.ojs-category-link {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.4rem 0;
  font-weight: 700;
  color: #005976;
}
.ojs-category-bullet {
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.45rem;
  flex-shrink: 0;
  background: var(--jvc);
}
.ojs-category-label { flex: 1 1 auto; }
.ojs-section-link-list { list-style: none; padding: 0; margin: 0; }
.ojs-info-link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.ojs-info-link-title {
  color: var(--jvc);
  font-weight: 800;
  font-size: 0.95rem;
}
.ojs-cta-stack {
  display: grid;
  gap: 0.5rem;
}
.ojs-cta-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}
.ojs-cta-tile-primary {
  background: var(--jvc-blue);
  color: #fff;
}
.ojs-cta-tile-primary:hover {
  background: #004a63;
  color: #fff;
}
.ojs-cta-tile-secondary {
  background: var(--jvc-blue-light);
  color: var(--jvc-blue);
  border: 1px solid #c5dceb;
}
.ojs-cta-tile-secondary:hover {
  background: #d0e6f4;
  color: var(--jvc-blue);
}

.ojs-most-read-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e8e8e8;
}
.ojs-most-read-item:last-child { border-bottom: 0; }
.ojs-most-read-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #005976;
  line-height: 1.45;
  margin-bottom: 0.25rem;
}
.ojs-most-read-title a { color: inherit; }
.ojs-most-read-title a:hover { text-decoration: underline; }
.ojs-most-read-meta {
  font-size: 0.8125rem;
  color: #666;
  line-height: 1.4;
}
.ojs-most-read-doi { margin-top: 0.2rem; font-size: 0.75rem; }

.ojs-featured-topic-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.ojs-featured-topic-title {
  color: #005976;
  font-weight: 800;
  font-size: 0.9375rem;
  line-height: 1.4;
}
.ojs-featured-topic-desc {
  font-size: 0.8125rem;
  color: #555;
  margin-top: 0.2rem;
}

.ojs-article-list-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #005976;
}
.ojs-article-list-title a { color: inherit; }
.ojs-article-list-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eee;
}
.ojs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}
.ojs-btn-view,
.ojs-btn-galley {
  background: var(--jvc);
  color: #fff;
  border: 1px solid var(--jvc);
}
.ojs-btn-view:hover,
.ojs-btn-galley:hover {
  background: var(--jvc-dark);
  color: #fff;
}
.ojs-btn-primary {
  background: var(--jvc-login);
  color: #fff;
  border: 1px solid var(--jvc-login);
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.ojs-page-hero {
  background: #ececec;
  border-bottom: 1px solid #d7d7d7;
  padding: 1.25rem 0;
}
.ojs-page-hero-inner { display: flex; flex-direction: column; gap: 0.5rem; }
.ojs-page-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jvc);
}
.ojs-page-hero-title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 900;
  color: var(--jvc-text-color);
  line-height: 1.3;
}
.ojs-page-hero-desc {
  font-size: 0.95rem;
  color: #555;
  max-width: 48rem;
}
.ojs-page-body {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}
.ojs-breadcrumb a { color: #005976; font-weight: 700; }
.ojs-breadcrumb span { color: var(--jvc); font-weight: 700; }

.ojs-issue-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 1rem;
}
@media (min-width: 768px) {
  .ojs-issue-card {
    grid-template-columns: 220px 1fr;
    align-items: center;
  }
}
.ojs-issue-card-cover img {
  width: 100%;
  max-width: 220px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}
.ojs-issue-card-label {
  color: var(--jvc);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.ojs-issue-card-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #111;
  margin-bottom: 0.5rem;
}
.ojs-issue-card-desc {
  color: #555;
  line-height: 1.6;
}

.ojs-archive-year {
  background: #fff;
  border: 1px solid #e2e8f0;
}
.ojs-archive-year-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--jvc);
  color: #fff;
  font-weight: 800;
}
.ojs-archive-year-list { padding: 0.5rem 1rem 1rem; }
.ojs-archive-issue-item {
  padding: 0.65rem 0;
  border-bottom: 1px solid #eee;
}
.ojs-archive-issue-item:last-child { border-bottom: 0; }
.ojs-archive-issue-title {
  font-weight: 700;
  color: #005976;
}
.ojs-archive-issue-title a { color: inherit; }
.ojs-archive-issue-title a:hover { text-decoration: underline; }
.ojs-archive-issue-date {
  font-size: 0.8125rem;
  color: #777;
  margin-top: 0.15rem;
}

.ojs-search-form {
  display: flex;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #d7d7d7;
  padding: 0.5rem;
}
.ojs-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid #d7d7d7;
  padding: 0.55rem 0.75rem;
  background: #fff;
}

.hero-gradient {
  background: #ececec !important;
  color: var(--jvc-text-color) !important;
}

@media (max-width: 1023px) {
  .site-header-meta { display: none; }
  .site-header-nav-search { display: none; }
  .site-header-nav-inner { justify-content: flex-end; }
}

.ojs-page-content-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 1.25rem 1.5rem;
}
.ojs-empty-state {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.ojs-journal-title { display: none; }


/* ===== Homepage 3-column exact design boxes ===== */
.ojs-home-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .ojs-home-columns {
    grid-template-columns: 240px minmax(0, 1fr) 260px;
    gap: 1.5rem;
  }
}
.ojs-home-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.ojs-home-box {
  background: #fff;
  padding: 0;
}
.ojs-home-col-left .ojs-home-box,
.ojs-home-col-right .ojs-home-box {
  background: #fff;
  padding: 0.65rem 0;
}
.ojs-home-heading {
  font-size: 1rem;
  font-weight: 800;
  color: #111;
  margin: 0 0 0.65rem;
  line-height: 1.35;
}
.ojs-home-heading-red { color: var(--jvc); display:inline-flex; align-items:center; gap:0.35rem; }
.ojs-home-heading-blue { color: var(--jvc-blue); text-transform: uppercase; }
.ojs-home-heading-boxed {
  display: block;
  text-align: center;
  background: #fff;
  border: 1px solid #d7d7d7;
  padding: 0.55rem 0.75rem;
}
.ojs-home-btn-label {
  display: block;
  text-align: center;
  background: #d7d7d7;
  color: #222;
  font-weight: 800;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.75rem;
}
.ojs-module-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 0.75rem;
  border: 1px dashed #9aa7b2;
  background: #eef3f6;
  color: #005976;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
}
.ojs-home-qc .ojs-module-placeholder {
  min-height: 140px;
  aspect-ratio: 1 / 1;
  max-width: 100%;
}
.ojs-home-cover {
  background: #fff !important;
  padding: 0 !important;
}
.ojs-home-cover .ojs-journal-cover-wrap {
  max-width: 100%;
  margin: 0 0 0.65rem;
  border: 3px solid var(--jvc);
}
.ojs-cover-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  padding: 0 0.1rem 0.1rem;
}
.ojs-sidebar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.4rem;
  font-size: 0.8125rem;
  font-weight: 800;
  text-align: center;
}
.ojs-sidebar-btn-primary {
  background: var(--jvc-blue);
  color: #fff;
  border: 1px solid var(--jvc-blue);
}
.ojs-sidebar-btn-outline {
  background: #fff;
  color: var(--jvc-blue);
  border: 1px solid var(--jvc-blue);
}
.ojs-sidebar-btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}
.ojs-category-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-weight: 700;
  color: var(--jvc-blue);
  border-bottom: 1px solid #e5e5e5;
}
.ojs-section-link-list { list-style: none; margin: 0; padding: 0; }
.ojs-category-menu-count { color: #666; font-weight: 600; font-size: 0.85em; }
.ojs-issue-quick-links {
  display: grid;
  gap: 0.35rem;
  margin: 0.65rem 0;
  font-size: 0.9rem;
  font-weight: 700;
}
.ojs-issue-quick-links a { color: var(--jvc-blue); }
.ojs-issue-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.75rem;
  margin-top: 0.5rem;
}
.ojs-issue-list a {
  font-size: 0.8125rem;
  color: #444;
  line-height: 1.35;
}
.ojs-issue-list a:hover { color: var(--jvc-blue); text-decoration: underline; }
.ojs-most-read-item {
  padding: 0.65rem 0;
  border-bottom: 1px solid #e5e5e5;
}
.ojs-most-read-item:last-child { border-bottom: 0; }
.ojs-most-read-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #111;
  line-height: 1.4;
}
.ojs-most-read-title a { color: inherit; }
.ojs-most-read-title a:hover { color: var(--jvc-blue); text-decoration: underline; }
.ojs-most-read-meta { font-size: 0.8rem; color: #666; margin-top: 0.15rem; }
.ojs-most-read-doi { margin-top: 0.15rem; font-size: 0.75rem; }
.ojs-featured-topic-list { list-style: none; margin: 0; padding: 0; }
.ojs-featured-topic-item {
  padding: 0.65rem 0;
  border-bottom: 1px solid #e5e5e5;
}
.ojs-featured-topic-title {
  color: #5a3d2b;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.4;
}
.ojs-featured-topic-desc { font-size: 0.8rem; color: #777; margin-top: 0.2rem; }

.ojs-home-col-center .ojs-home-box {
  background: #fff;
  padding: 0;
}
.ojs-intro-box { padding: 0.75rem 0 0.25rem !important; }
.ojs-intro-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #111;
  margin: 0 0 0.5rem;
}
.ojs-intro-content {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #222;
}
.ojs-latest-heading {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--jvc-blue);
  margin: 0.75rem 0 1rem;
}
.ojs-latest-list { display: grid; gap: 0; }
.ojs-article-list-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 0;
  margin: 0;
}
.ojs-article-list-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: #111;
  margin-bottom: 0.4rem;
}
.ojs-article-list-title a { color: inherit; }
.ojs-article-list-title a:hover { color: var(--jvc-blue); }
.ojs-article-list-authors,
.ojs-article-list-meta,
.ojs-article-list-content {
  font-size: 0.9rem;
  color: #222;
  margin-bottom: 0.3rem;
  line-height: 1.55;
}
.ojs-article-detail-link {
  color: #999;
  font-style: italic;
  margin-left: 0.25rem;
}
.ojs-article-list-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-top: 0.5rem;
  border: 0;
  padding: 0;
}
.ojs-btn-galley,
.ojs-btn-view {
  background: var(--jvc);
  color: #fff !important;
  border: 1px solid var(--jvc);
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}
.ojs-latest-more {
  padding: 0.85rem 0 0.25rem;
}
.ojs-latest-more a {
  color: var(--jvc);
  font-weight: 800;
}

.ojs-info-card-list { display: grid; gap: 0.85rem; }
.ojs-info-card {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e8e8e8;
}
.ojs-info-card:last-child { border-bottom: 0; }
.ojs-info-card-title {
  color: var(--jvc);
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
}
.ojs-info-card-title a { color: inherit; }
.ojs-info-card-more {
  color: #999;
  font-size: 0.8125rem;
}
.ojs-cta-stack {
  display: grid;
  gap: 0.5rem;
  background: transparent !important;
  padding: 0 !important;
}
.ojs-cta-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 58px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
}
.ojs-cta-tile-primary {
  background: var(--jvc-blue);
  color: #fff;
}
.ojs-cta-tile-secondary {
  background: var(--jvc-blue-light);
  color: var(--jvc-blue);
  justify-content: center;
  border: 0;
}
.ojs-news-more {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
}
.ojs-news-more a { color: var(--jvc-blue); }

.ojs-issue-filter-form {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}
.ojs-issue-select {
  width: 100%;
  border: 1px solid #cfcfcf;
  background: #fff;
  padding: 0.5rem 0.65rem;
  font-size: 0.875rem;
  color: #222;
}
.ojs-issue-search-btn {
  width: 100%;
  background: #d7d7d7;
  border: 1px solid #c8c8c8;
  color: #111;
  font-weight: 800;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
}
.ojs-info-card-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #222;
  margin-bottom: 0.25rem;
}
.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: #005976;
}
.ojs-home-body { background: #fff; }
body { background: #ededee !important; }
.ojs-module-placeholder {
  min-height: 100px;
  background: #e9eef1;
  border: 1px solid #cfd8de;
  color: #666;
  font-weight: 700;
}
.ojs-home-qc .ojs-module-placeholder {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ojs-home-qc .ojs-module-placeholder::before {
  content: "QC";
  font-size: 1.5rem;
  color: #888;
}
.ojs-home-qc .ojs-module-placeholder {
  font-size: 0; /* hide long text, show QC via ::before; keep data-module for debug */
}
.ojs-home-qc .ojs-module-placeholder::after {
  content: none;
}


/* ===== Design PNG pixel pass (Giao dien NCKH.png) ===== */
.site-shell {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
}
.ojs-home-body { background: transparent; padding-top: 1rem; padding-bottom: 2rem; }
.ojs-home-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 1100px) {
  .ojs-home-columns {
    grid-template-columns: 250px minmax(0, 1fr) 270px;
    gap: 1.35rem;
  }
}
.ojs-home-col { gap: 1.1rem; }
.ojs-home-col-left .ojs-home-box,
.ojs-home-col-right .ojs-home-box,
.ojs-home-col-center .ojs-home-box {
  background: #fff;
  padding: 0.75rem 0.85rem;
}
.ojs-home-hero { padding: 0 !important; background: transparent !important; }
.ojs-home-cover { padding: 0 !important; }
.ojs-home-cover .ojs-journal-cover-wrap {
  max-width: 100%;
  margin: 0 0 0.65rem;
  border: 3px solid #ed2625;
}
.ojs-cover-actions { padding: 0 0.1rem 0.35rem; gap: 0.4rem; }
.ojs-sidebar-btn { min-height: 38px; font-size: 0.8125rem; }
.ojs-sidebar-btn-primary { background: #005976; border-color: #005976; color: #fff; }
.ojs-sidebar-btn-outline { background: #fff; color: #005976; border: 1px solid #005976; }

.ojs-section-link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.ojs-category-link,
.ojs-section-link-list a {
  color: #005976 !important;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.45;
  text-decoration: none;
}
.ojs-category-link:hover { text-decoration: underline; color: #ed2625 !important; }

.ojs-issue-list-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem 0.65rem;
  margin-top: 0.65rem;
}
.ojs-issue-list-grid a {
  border-bottom: 0 !important;
  padding: 0.2rem 0 !important;
  white-space: normal !important;
  font-size: 0.8125rem !important;
  color: #444 !important;
  font-weight: 500 !important;
}
.ojs-issue-quick-links {
  display: grid;
  gap: 0.35rem;
  margin: 0.65rem 0 0.35rem;
}
.ojs-issue-quick-links a {
  color: #111;
  font-weight: 800;
  font-size: 0.9375rem;
}

.ojs-home-btn-label {
  background: #d7d7d7;
  color: #111;
  text-align: center;
  font-weight: 800;
  padding: 0.55rem 0.75rem;
  margin: 0 0 0.65rem;
}
.ojs-most-read-title,
.ojs-most-read-title a {
  color: #111 !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
  line-height: 1.4;
}
.ojs-most-read-author {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #111;
  margin-top: 0.15rem;
}
.ojs-most-read-meta {
  font-size: 0.75rem;
  color: #777;
  font-style: italic;
  margin-top: 0.1rem;
}
.ojs-most-read-doi,
.ojs-most-read-doi a {
  font-size: 0.75rem;
  color: #666;
  font-style: normal;
}

.ojs-featured-topic-title {
  color: #005976 !important;
  font-weight: 700;
  font-size: 0.875rem;
}

/* Center column */
.ojs-intro-box { padding: 0.85rem 0.1rem !important; background: transparent !important; }
.ojs-intro-title {
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  color: #111;
  margin: 0 0 0.15rem;
  line-height: 1.3;
}
.ojs-intro-subtitle {
  font-size: 1.15rem;
  font-weight: 800;
  font-style: italic;
  color: #111;
  margin: 0 0 0.85rem;
  line-height: 1.35;
}
.ojs-intro-content {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #222;
}
.ojs-intro-content p { margin: 0 0 0.85rem; }
.ojs-latest-articles { padding: 0.35rem 0.1rem 0.85rem !important; background: transparent !important; }
.ojs-latest-heading {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #005976 !important;
  margin: 0 0 1rem;
}
.ojs-article-list-item {
  border: 0 !important;
  border-bottom: 1px solid #e8e8e8 !important;
  padding: 0 0 1.1rem !important;
  margin: 0 0 1.1rem !important;
  background: transparent !important;
}
.ojs-article-list-item:hover { border-color: #e8e8e8 !important; }
.ojs-article-list-title,
.ojs-article-list-title a {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #111 !important;
  line-height: 1.4;
}
.ojs-article-list-authors,
.ojs-article-list-meta {
  font-size: 0.9rem;
  color: #222;
  margin-top: 0.2rem;
}
.ojs-article-list-content {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #333;
  position: relative;
  padding-right: 4.5rem;
}
.ojs-article-detail-link {
  color: #999;
  font-style: italic;
  margin-left: 0.35rem;
}
.ojs-article-list-actions {
  margin-top: 0.45rem;
  display: flex;
  justify-content: flex-end;
}
.ojs-latest-list .ojs-btn-galley,
.ojs-article-list-item .ojs-btn-galley {
  background: #ed2625 !important;
  border: 1px solid #ed2625 !important;
  color: #fff !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  padding: 0.28rem 0.55rem !important;
  min-width: auto;
}
.ojs-latest-more { margin-top: 0.25rem; }
.ojs-latest-more a {
  color: #005976;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Hero caption: white band, black title */
.ojs-hero-slider { border: 0 !important; margin-bottom: 0 !important; }
.ojs-hero-slide { aspect-ratio: 16 / 7; }
.ojs-hero-slide-overlay {
  background: transparent !important;
}
.ojs-hero-slide-caption {
  left: 0 !important;
  right: 0 !important;
  bottom: 2.25rem !important;
  padding: 0.65rem 1rem !important;
  background: rgba(255,255,255,.88);
  color: #111;
}
.ojs-hero-slide-caption a {
  color: #111 !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
}
.ojs-hero-nav {
  display: flex !important;
  width: 2rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.28) !important;
  color: #fff;
  border: 0;
  cursor: pointer;
}
.ojs-hero-dots {
  position: absolute;
  left: 0; right: 0; bottom: 0.55rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  z-index: 2;
}
.ojs-hero-dot {
  width: 0.55rem; height: 0.55rem;
  border-radius: 999px !important;
  border: 0;
  background: rgba(255,255,255,.55);
  padding: 0;
}
.ojs-hero-dot.is-active { background: #fff; }

/* Right column */
.ojs-home-heading-blue {
  color: #005976 !important;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 1rem;
}
.ojs-home-heading-boxed {
  display: inline-flex !important;
  width: 100%;
  justify-content: center;
  border: 1px solid #005976 !important;
  border-radius: 999px !important;
  background: #fff !important;
  padding: 0.45rem 0.75rem !important;
  margin-bottom: 0.85rem;
}
.ojs-info-card-title { color: #ed2625 !important; font-weight: 800; }
.ojs-info-card-text { font-size: 0.875rem; line-height: 1.55; color: #222; margin-bottom: 0.2rem; }
.ojs-info-card-more { color: #999 !important; font-size: 0.8125rem; }
.partner-logo-card {
  border: 1px solid #e5e5e5;
  background: #fff;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
}
.ojs-cta-stack { gap: 0.55rem; }
.ojs-cta-tile-primary {
  background: #005976 !important;
  color: #fff !important;
  min-height: 52px;
  justify-content: center;
  gap: 0.75rem;
}
.ojs-cta-tile-secondary {
  position: relative;
  background: #ddedf8 !important;
  color: #005976 !important;
  border: 0 !important;
  min-height: 88px;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.ojs-cta-chevrons {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  opacity: .35;
  background:
    linear-gradient(135deg, transparent 40%, #fff 40%, #fff 48%, transparent 48%),
    linear-gradient(135deg, transparent 50%, #fff 50%, #fff 58%, transparent 58%),
    linear-gradient(135deg, transparent 60%, #fff 60%, #fff 68%, transparent 68%);
}
.ojs-home-qc .ojs-module-placeholder {
  min-height: 160px;
  background: #e5e5e5;
  border: 1px solid #d0d0d0;
  color: transparent;
  position: relative;
}
.ojs-home-qc .ojs-module-placeholder::before {
  content: "QC";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 1.5rem;
  font-weight: 800;
}

/* Footer */
.site-footer { background: #005976 !important; }

/* Sticky header shouldn't leave gap */
.site-header { background: transparent; box-shadow: none; }
.site-header-nav { background: #d7d7d7 !important; border-bottom: 0; }
.nav-link, .site-header-ojs-nav .nav-link {
  color: #005976 !important;
  font-weight: 800 !important;
}

.ojs-news-item {
  display: grid;
  grid-template-columns: minmax(0,1fr) 88px;
  gap: 0.65rem;
  align-items: start;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e8e8e8;
}
.ojs-news-item:last-child { border-bottom: 0; }
.ojs-news-thumb-wrap {
  width: 88px;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #eee;
}
.ojs-news-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.ojs-news-date { font-size: 0.75rem; color: #999; margin-bottom: 0.2rem; }
.ojs-news-title, .ojs-news-title a { font-size: 0.9rem; font-weight: 800; color: #111; line-height: 1.4; }
.ojs-news-skeleton-item {
  display: grid;
  grid-template-columns: minmax(0,1fr) 88px;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.ojs-news-skeleton-thumb { width: 88px; height: 66px; margin: 0; }


/* ===== NCKH child pages + home polish ===== */
.nckh-body,
body.nckh-body {
  background: #ededee !important;
  color: #111;
}

/* Flatten legacy Tailwind chrome on child/submission screens */
.rounded-2xl,
.rounded-3xl,
.rounded-xl,
.rounded-lg,
.rounded-full,
.rounded-\[2rem\],
.rounded-\[1\.5rem\] {
  border-radius: 0 !important;
}
.shadow-xl,
.shadow-2xl,
.shadow-md,
.shadow-sm,
.shadow-lg {
  box-shadow: none !important;
}
.bg-slate-50 { background: #f7f7f7 !important; }
.bg-slate-100 { background: #f0f0f0 !important; }
.border-slate-200,
.border-slate-100,
.border-slate-300 { border-color: #e2e2e2 !important; }

/* Page shell */
.ojs-page-panel,
.ojs-card,
.ojs-page-content-card {
  background: #fff;
  border: 1px solid #e2e2e2;
  padding: 1.25rem 1.35rem;
  box-shadow: none;
}
.ojs-page-body { padding-top: 1.25rem; padding-bottom: 2.5rem; }
.ojs-page-hero {
  background: #d7d7d7;
  border-bottom: 1px solid #c8c8c8;
  padding: 1.15rem 0;
}
.ojs-page-hero-eyebrow {
  color: #ed2625;
}
.ojs-page-hero-title {
  color: #005976;
  font-weight: 900;
}
.ojs-info-sections { display: grid; gap: 1.35rem; }
.ojs-info-block-title {
  color: #005976;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.65rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #ed2625;
}
.ojs-info-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
  line-height: 1.6;
}
.ojs-info-list a { color: #005976; font-weight: 700; }
.ojs-rich-content {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #222;
}
.ojs-rich-content p { margin: 0 0 0.85rem; }
.ojs-rich-content h2,
.ojs-rich-content h3 {
  color: #005976;
  font-weight: 800;
  margin: 1.25rem 0 0.5rem;
}
.ojs-rich-content a { color: #005976; }

/* Article detail */
.ojs-article-panel { padding: 0; overflow: hidden; }
.ojs-article-head {
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}
.ojs-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}
.ojs-article-meta-row {
  margin-top: 0.75rem;
  color: #444;
  font-size: 0.95rem;
}
.ojs-article-detail-title {
  color: #111;
  font-weight: 900;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.3;
  margin: 0;
}
.ojs-article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.25rem 1.35rem 1.5rem;
}
@media (min-width: 1024px) {
  .ojs-article-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.75rem;
  }
}
.ojs-aside-card {
  background: #f7f7f7;
  border: 1px solid #e2e2e2;
  padding: 1rem;
}
.ojs-aside-meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e2e2;
  display: grid;
  gap: 0.55rem;
}
.ojs-aside-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.ojs-aside-meta-row span { color: #666; }
.ojs-aside-meta-row strong { color: #111; text-align: right; }
.ojs-aside-meta-row a { color: #005976; }
.ojs-article-aside .ojs-btn-galley,
.ojs-article-aside .ojs-btn {
  background: #ed2625 !important;
  border-color: #ed2625 !important;
  color: #fff !important;
  font-weight: 800;
}

/* Archive year head teal instead of red-only mono */
.ojs-archive-year-head {
  background: #005976 !important;
}
.ojs-archive-year { border-color: #d7d7d7; }
.ojs-issue-card { border-color: #d7d7d7; }
.ojs-issue-card-cover img { border: 3px solid #ed2625; }

/* Search */
.ojs-search-form { border-color: #d7d7d7; background: #fff; }
.ojs-search-form .ojs-btn-primary,
.ojs-btn-primary {
  background: #005976 !important;
  border-color: #005976 !important;
  color: #fff !important;
}

/* Homepage polish from latest PNG crop */
.ojs-latest-more a { color: #ed2625 !important; font-weight: 800; }
.ojs-hero-slide-caption {
  background: rgba(30,30,30,.72) !important;
  color: #fff !important;
}
.ojs-hero-slide-caption a { color: #fff !important; }
.ojs-intro-title {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 700;
}
.ojs-home-btn-label {
  border-radius: 999px !important;
  max-width: 160px;
  margin-left: auto;
  margin-right: auto;
}
.ojs-home-qc .ojs-module-placeholder {
  background: #ddedf8 !important;
  border: 0 !important;
  color: transparent;
}
.ojs-home-qc .ojs-module-placeholder::before {
  color: #005976 !important;
  font-size: 1.75rem;
}

/* Submission / reviewer / profile buttons align to NCKH */
.bg-jvc,
.bg-jvc\/10 { --tw-bg-opacity: 1; }
a.bg-jvc,
button.bg-jvc,
.inline-flex.bg-jvc {
  background: #005976 !important;
}
.hover\:bg-jvc-dark:hover {
  background: #004a63 !important;
}
.text-jvc { color: #ed2625 !important; }

/* DOI flat */
.ojs-doi,
span.bg-slate-50 {
  background: transparent !important;
  padding: 0 !important;
}

/* Pagination */
.pagination-container a,
.pagination-container span {
  border-radius: 0 !important;
}
.pagination-container .active a,
.pagination-container .active span {
  background: #005976 !important;
  border-color: #005976 !important;
}

.ojs-aside-authors {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e2e2;
}
.ojs-aside-cover {
  margin-bottom: 1rem;
  border: 1px solid #e2e2e2;
}
.ojs-aside-cover img { display:block; width:100%; height:auto; }
.ojs-doi { color: #444; font-size: inherit; }


/* ===== NCKH auth / profile / blog ===== */
.auth-shell{
  position:relative!important;min-height:100vh!important;
  background:#ededee!important;color:#111!important;
  background-image:none!important;
}
.auth-shell__overlay{display:none!important}
.auth-main{max-width:920px!important;margin:0 auto;padding:2rem 1rem 3rem}
.auth-card{
  max-width:920px!important;margin:0 auto!important;
  border:1px solid #d7d7d7!important;background:#fff!important;
  box-shadow:none!important;border-radius:0!important;overflow:hidden;
}
.auth-card__header{
  padding:1.15rem 1.35rem!important;border-bottom:1px solid #e5e5e5!important;
  background:#d7d7d7!important;
}
.auth-card__header h1{margin:0!important;font-size:1.5rem!important;font-weight:900!important;color:#005976!important}
.auth-card__header p{margin:.4rem 0 0!important;color:#444!important}
.auth-card__body{padding:1.35rem!important}
.auth-btn{border-radius:0!important}
.auth-btn--primary{background:#005976!important;color:#fff!important}
.auth-btn--primary:hover{background:#004a63!important}
.auth-btn--success{background:#ed2625!important;color:#fff!important}
.auth-btn--success:hover{background:#c91c1c!important;color:#fff!important}
.auth-link{color:#ed2625!important}
.auth-shell .rounded-xl,
.auth-shell .form-control{border-radius:0!important}
.auth-shell .form-control:focus{border-color:#005976!important}

/* Profile hub flatten to NCKH */
.tcct-profile-page{background:#ededee!important;color:#111!important}
.tcct-profile-wrap{max-width:1200px!important}
.tcct-profile-hero,
.tcct-stat-card,
.tcct-profile-panel,
.tcct-profile-card{
  border-radius:0!important;
  box-shadow:none!important;
  border:1px solid #d7d7d7!important;
  background:#fff!important;
}
.tcct-profile-hero{
  background:#fff!important;
}
.tcct-profile-kicker,
.tcct-profile-badge{color:#ed2625!important}
.tcct-profile-name{color:#111!important;font-size:clamp(1.75rem,3vw,2.25rem)!important}
.tcct-profile-avatar{border-radius:0!important;border:2px solid #ed2625!important}
.tcct-stat-card.is-accent{
  background:#005976!important;border-color:#005976!important;color:#fff!important;
}
.tcct-profile-badge{border-radius:0!important;border-color:#d7d7d7!important;color:#005976!important}
.tcct-profile-page a.bg-jvc,
.tcct-profile-page .tcct-profile-btn-primary{
  background:#005976!important;border-color:#005976!important;border-radius:0!important;
}

/* Blog helpers */
.ojs-back-link{display:inline-block;margin-bottom:.75rem;color:#005976;font-weight:700}
.ojs-tag-list{display:flex;flex-wrap:wrap;gap:.45rem}
.ojs-tag-chip{
  display:inline-flex;padding:.35rem .65rem;border:1px solid #d7d7d7;
  background:#f7f7f7;color:#005976;font-weight:700;font-size:.8125rem;
}
.ojs-related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.75rem}
.ojs-related-card{
  display:block;padding:.85rem;border:1px solid #e2e2e2;background:#fff;color:inherit;text-decoration:none;
}
.ojs-related-card h4{margin:0 0 .35rem;font-size:.95rem;font-weight:800;color:#111;line-height:1.4}
.ojs-related-card span{font-size:.75rem;color:#777}
.ojs-btn-block{display:flex!important;width:100%;justify-content:center;margin-bottom:.55rem}
.ojs-btn-outline{
  background:#fff!important;color:#005976!important;border:1px solid #005976!important;
  font-weight:800;padding:.65rem 1rem;
}
.ojs-cite-box{border:1px solid #e2e2e2;padding:.85rem;background:#f7f7f7}


/* =========================================================
   NCKH DESIGN SYSTEM — home first, then all child views
   Colors locked to design PNG / brand tokens above
   ========================================================= */

html, body,
body.nckh-body,
.nckh-body {
  background: var(--jvc-page) !important;
  color: var(--jvc-text-color) !important;
}

.site-shell {
  width: 100% !important;
  max-width: 1260px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  box-sizing: border-box;
}

/* ----- Header / nav ----- */
.site-header { background: transparent !important; box-shadow: none !important; }
.site-header-brand { background: var(--jvc) !important; color: #fff !important; }
.site-header-nav { background: var(--jvc-nav) !important; border-bottom: 0 !important; }
.nav-link,
.site-header-ojs-nav .nav-link {
  color: var(--jvc-blue) !important;
  background: transparent !important;
  font-weight: 800 !important;
}
.nav-link:hover,
.nav-link.active,
.site-header-ojs-nav .nav-link:hover,
.site-header-ojs-nav .nav-link.active {
  color: var(--jvc) !important;
  background: transparent !important;
}
.header-auth-btn {
  background: var(--jvc-blue) !important;
  border-color: var(--jvc-blue) !important;
  color: #fff !important;
  border-radius: 3px !important;
}
.header-auth-btn:hover {
  background: var(--jvc-blue-dark) !important;
  border-color: var(--jvc-blue-dark) !important;
  color: #fff !important;
}
.site-header-nav-search {
  background: #fff !important;
  border: 1px solid var(--jvc-blue) !important;
}
.site-header-nav-search-btn { color: var(--jvc-blue) !important; background: #fff !important; }

/* ----- Footer ----- */
.site-footer,
#footer.site-footer {
  background: var(--jvc-blue) !important;
  color: #fff !important;
}
.site-footer a { color: #fff !important; }

/* ----- Homepage columns ----- */
.ojs-home-body {
  background: transparent !important;
  padding-top: 16px !important;
  padding-bottom: 28px !important;
}
.ojs-home-columns {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
@media (min-width: 1024px) {
  .ojs-home-columns {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr) !important;
    gap: 18px !important;
  }
}

/* Each column = white stack on grey canvas */
.ojs-home-col-left,
.ojs-home-col-center,
.ojs-home-col-right {
  background: var(--jvc-panel) !important;
  padding: 12px !important;
}
.ojs-home-col .ojs-home-box {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 0 14px !important;
  margin: 0 0 14px !important;
}
.ojs-home-col .ojs-home-box:last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; }

/* Cover */
.ojs-home-cover { padding: 0 !important; }
.ojs-home-cover .ojs-journal-cover-wrap {
  border: 6px solid var(--jvc-cover-border) !important;
  max-width: 100% !important;
  margin: 0 0 10px !important;
  background: #fff;
}
.ojs-home-cover .ojs-journal-cover { display:block; width:100%; height:auto; }
.ojs-cover-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}
.ojs-sidebar-btn-primary {
  background: var(--jvc-blue) !important;
  border: 1px solid var(--jvc-blue) !important;
  color: #fff !important;
  border-radius: 2px !important;
}
.ojs-sidebar-btn-outline {
  background: #fff !important;
  border: 1px solid var(--jvc-blue) !important;
  color: var(--jvc-blue) !important;
  border-radius: 2px !important;
}

/* Headings */
.ojs-home-heading-red,
.ojs-home-heading.ojs-home-heading-red { color: var(--jvc) !important; font-weight: 800 !important; }
.ojs-home-heading-blue,
.ojs-home-heading.ojs-home-heading-blue { color: var(--jvc-blue) !important; font-weight: 800 !important; text-transform: uppercase; }
.ojs-category-link,
.ojs-section-link-list a {
  color: var(--jvc-blue) !important;
  font-weight: 700 !important;
  border-bottom: 1px solid #e8e8e8 !important;
  display: block !important;
  padding: 8px 0 !important;
  text-decoration: none !important;
}
.ojs-home-btn-label {
  background: var(--jvc-nav) !important;
  color: #111 !important;
  text-align: center;
  font-weight: 800;
  padding: 10px 12px;
  margin: 0 0 12px;
}

/* Hero slider */
.ojs-hero-slide-overlay { display: none !important; }
.ojs-hero-slide-caption {
  left: 0 !important; right: 0 !important; bottom: 0 !important;
  padding: 10px 12px 28px !important;
  background: rgba(60,60,60,.72) !important;
  color: #fff !important;
}
.ojs-hero-slide-caption a { color: #fff !important; font-weight: 700 !important; text-decoration: none !important; }
.ojs-hero-dot { border-radius: 999px !important; }

/* Intro / latest */
.ojs-intro-title,
.ojs-intro-subtitle {
  color: #111 !important;
  font-weight: 800 !important;
  font-style: italic !important;
}
.ojs-latest-heading { color: var(--jvc-blue) !important; font-weight: 800 !important; }
.ojs-article-detail-link,
.ojs-info-card-more { color: var(--jvc-muted) !important; }
.ojs-info-card-title { color: var(--jvc) !important; font-weight: 800 !important; }
.ojs-latest-list .ojs-btn-galley,
.ojs-article-list-item .ojs-btn-galley,
.ojs-btn-galley {
  background: var(--jvc) !important;
  border-color: var(--jvc) !important;
  color: #fff !important;
  border-radius: 2px !important;
}

/* CTA */
.ojs-cta-tile { border-radius: 0 !important; }
.ojs-cta-tile-primary {
  background: var(--jvc-blue) !important;
  color: #fff !important;
  text-transform: uppercase !important;
  justify-content: center !important;
}
.ojs-cta-tile-secondary {
  background: var(--jvc-blue-light) !important;
  color: var(--jvc-blue) !important;
  text-transform: none !important;
  border: 0 !important;
  justify-content: center !important;
  text-align: center !important;
}
.partner-logo-card {
  background: #fff !important;
  border: 1px solid var(--jvc-border) !important;
  border-radius: 0 !important;
}

/* News widget (home + child) */
.ojs-home-news {
  background: #fff !important;
  border: 1px solid var(--jvc-border) !important;
  padding: 12px !important;
}
.ojs-home-news > .ojs-home-heading,
.ojs-home-news .ojs-home-heading-boxed {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  color: var(--jvc-blue) !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  background: #fff !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  margin: 0 0 14px !important;
}
.ojs-news-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 0 0 16px !important;
  margin: 0 0 16px !important;
  border: 0 !important;
}
.ojs-news-date { color: var(--jvc-muted) !important; font-size: 12px !important; }
.ojs-news-title,
.ojs-news-title a { color: #111 !important; font-weight: 800 !important; text-decoration: none !important; }
.ojs-news-thumb-wrap { width: 100% !important; aspect-ratio: 16/9; overflow: hidden; background: #eee; }
.ojs-news-thumb { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }

.ojs-issue-search-btn {
  width: 100% !important;
  background: var(--jvc-nav) !important;
  color: #111 !important;
  border: 0 !important;
  font-weight: 800 !important;
}
.ojs-issue-quick-links a {
  color: #111 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
.ojs-issue-quick-links a::before {
  content: "› ";
  color: var(--jvc);
  font-weight: 900;
}

/* ----- Child pages: same canvas + white panels ----- */
.ojs-page-body {
  background: transparent !important;
  padding-top: 16px !important;
  padding-bottom: 32px !important;
}
.ojs-child-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}
@media (min-width: 1024px) {
  .ojs-child-columns {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 25%) !important;
    gap: 18px !important;
  }
  .ojs-child-columns.is-single { grid-template-columns: minmax(0, 1fr) !important; }
}
.ojs-child-col-main,
.ojs-child-col-aside {
  min-width: 0;
}
.ojs-child-col-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--jvc-panel) !important;
  padding: 12px !important;
}
.ojs-child-col-aside .ojs-home-box {
  background: transparent !important;
  padding: 0 !important;
}

.ojs-page-panel,
.ojs-card,
.ojs-page-content-card,
.ojs-article-panel {
  background: var(--jvc-panel) !important;
  border: 1px solid var(--jvc-border) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: var(--jvc-text-color) !important;
}

/* Child title bar — home style, NOT invent grey/nav strip */
.ojs-page-hero {
  background: var(--jvc-blue-light) !important;
  border-bottom: 0 !important;
  padding: 14px 0 !important;
}
.ojs-page-hero-eyebrow { color: var(--jvc) !important; font-weight: 800 !important; }
.ojs-page-hero-title { color: var(--jvc-blue) !important; font-weight: 900 !important; }
.ojs-page-hero-desc { color: var(--jvc-text-secondary) !important; }
.ojs-info-block-title {
  color: var(--jvc-blue) !important;
  border-bottom: 2px solid var(--jvc) !important;
}
.ojs-breadcrumb a { color: var(--jvc-blue) !important; font-weight: 700 !important; }
.ojs-rich-content a,
.ojs-info-list a,
.ojs-back-link { color: var(--jvc-blue) !important; }

/* Kill inherited dark / purple / cream chrome everywhere */
.bg-slate-900,
.bg-gray-900,
.bg-black,
.bg-jvc\/10 { background: var(--jvc-blue-light) !important; color: var(--jvc-blue) !important; }
.bg-slate-50,
.bg-slate-100,
.bg-gray-50 { background: #f7f7f7 !important; }
.bg-white { background: #fff !important; }
.bg-jvc,
.bg-red-600,
.bg-red-700 { background: var(--jvc) !important; }
.text-jvc,
.text-red-600 { color: var(--jvc) !important; }
.text-slate-500,
.text-slate-400,
.text-gray-500 { color: var(--jvc-muted) !important; }
.text-slate-700,
.text-slate-800,
.text-slate-900 { color: var(--jvc-text-color) !important; }
.border-slate-200,
.border-slate-100,
.border-slate-300 { border-color: var(--jvc-border) !important; }
.rounded-2xl,
.rounded-3xl,
.rounded-xl,
.rounded-lg,
.rounded-\[2rem\],
.rounded-\[1\.5rem\] { border-radius: 0 !important; }
.shadow-xl,
.shadow-2xl,
.shadow-md,
.shadow-sm,
.shadow-lg { box-shadow: none !important; }

/* Auth / profile flatten to same system */
.auth-shell { background: var(--jvc-page) !important; color: #111 !important; background-image: none !important; }
.auth-shell__overlay { display: none !important; }
.auth-card { border: 1px solid var(--jvc-border) !important; background: #fff !important; border-radius: 0 !important; box-shadow: none !important; }
.auth-card__header { background: var(--jvc-nav) !important; border-bottom: 1px solid #e5e5e5 !important; }
.auth-card__header h1 { color: var(--jvc-blue) !important; }
.auth-btn--primary { background: var(--jvc-blue) !important; color: #fff !important; border-radius: 0 !important; }
.auth-btn--success { background: var(--jvc) !important; color: #fff !important; border-radius: 0 !important; }
.auth-link { color: var(--jvc) !important; }
.tcct-profile-page { background: var(--jvc-page) !important; color: #111 !important; }
.tcct-profile-hero,
.tcct-stat-card,
.tcct-profile-panel,
.tcct-profile-card {
  background: #fff !important;
  border: 1px solid var(--jvc-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.tcct-stat-card.is-accent,
.tcct-profile-page a.bg-jvc,
.tcct-profile-page .tcct-profile-btn-primary {
  background: var(--jvc-blue) !important;
  border-color: var(--jvc-blue) !important;
  color: #fff !important;
  border-radius: 0 !important;
}

/* Blog */
.ojs-tag-chip { border: 1px solid var(--jvc-border); background: #f7f7f7; color: var(--jvc-blue); }
.ojs-related-card { border: 1px solid var(--jvc-border); background: #fff; }

/* Pagination */
ul.pagination,
.pagination-container .pagination {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 0.35rem;
}
ul.pagination > li > a,
ul.pagination > li > span {
  border: 1px solid var(--jvc-border) !important;
  background: #fff !important;
  color: var(--jvc-blue) !important;
  border-radius: 0 !important;
}
ul.pagination > .active > a,
ul.pagination > .active > span {
  background: var(--jvc-blue) !important;
  border-color: var(--jvc-blue) !important;
  color: #fff !important;
}

@media (min-width: 1024px) {
  .site-header-mobile-toggle { display: none !important; }
}


/* Child main column sits on page grey; white comes from .ojs-page-panel inside */
.ojs-child-page .ojs-child-col-main > .ojs-page-panel,
.ojs-child-page .ojs-child-col-main > .ojs-article-panel,
.ojs-child-page .ojs-child-col-main > .ojs-card {
  min-height: 240px;
}

/* Tailwind brand utilities used by inherited views */
.bg-jvc { background-color: var(--jvc) !important; }
.hover\:bg-jvc-dark:hover { background-color: var(--jvc-dark) !important; }
.text-jvc { color: var(--jvc) !important; }
.border-jvc { border-color: var(--jvc) !important; }
.focus\:border-jvc:focus { border-color: var(--jvc-blue) !important; }
.focus\:ring-jvc\/20:focus,
.focus\:ring-jvc\/25:focus { --tw-ring-color: rgba(0,89,118,.25) !important; }

/* Submission dark side cards → teal system */
.vnha-submission-page .bg-slate-900,
.ojs-page-body .bg-slate-900 {
  background: var(--jvc-blue) !important;
  color: #fff !important;
  border-radius: 0 !important;
}
.vnha-submission-page .bg-white\/10,
.ojs-page-body .bg-white\/10 {
  background: rgba(255,255,255,.12) !important;
}

/* Archive / issue lists */
.ojs-archive-section,
.ojs-empty-state {
  background: var(--jvc-panel) !important;
}

/* ===== OJS pagination (NCKH) ===== */
.pagination-container,
nav.pagination-container {
  display: block;
  width: 100%;
  margin: 1.25rem 0 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--jvc-border, #e2e2e2);
}

.pagination-container .pagination,
ul.pagination,
ul.ojs-pagination {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  float: none !important;
}

.pagination-container .pagination > li,
ul.pagination > li,
ul.ojs-pagination > li {
  display: inline-flex !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pagination-container .pagination > li > a,
.pagination-container .pagination > li > span,
ul.pagination > li > a,
ul.pagination > li > span,
ul.ojs-pagination > li > a,
ul.ojs-pagination > li > span,
.ojs-page-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.75rem !important;
  margin: 0 !important;
  border: 1px solid #cfd6db !important;
  background: #fff !important;
  color: #005976 !important;
  font-size: 0.9375rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.pagination-container .pagination > li > a:hover,
ul.pagination > li > a:hover,
ul.ojs-pagination > li > a:hover,
.ojs-page-link:hover {
  background: #ddedf8 !important;
  border-color: #005976 !important;
  color: #005976 !important;
}

.pagination-container .pagination > .active > a,
.pagination-container .pagination > .active > span,
ul.pagination > .active > a,
ul.pagination > .active > span,
ul.ojs-pagination > .active > a,
ul.ojs-pagination > .active > span {
  background: #005976 !important;
  border-color: #005976 !important;
  color: #fff !important;
  cursor: default;
}

.pagination-container .pagination > .disabled > a,
.pagination-container .pagination > .disabled > span,
ul.pagination > .disabled > a,
ul.pagination > .disabled > span,
ul.ojs-pagination > .disabled > a,
ul.ojs-pagination > .disabled > span {
  background: #f3f3f3 !important;
  border-color: #e2e2e2 !important;
  color: #999 !important;
  cursor: not-allowed;
  opacity: 1 !important;
}

.pagination-container .pagination > .prev > a,
.pagination-container .pagination > .next > a,
.pagination-container .pagination > .first > a,
.pagination-container .pagination > .last > a,
ul.pagination > .prev > a,
ul.pagination > .next > a,
ul.pagination > .first > a,
ul.pagination > .last > a {
  font-size: 1.05rem !important;
  min-width: 2.5rem;
}

/* ===== OJS breadcrumbs (NCKH) ===== */
.ojs-breadcrumb-bar {
  background: transparent;
  padding: 0.75rem 0 0;
}
.ojs-breadcrumb-wrap {
  width: 100%;
}
ul.ojs-breadcrumb,
.ojs-breadcrumb,
ul.page-breadcrumb {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.35rem 0.5rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: 100%;
  font-size: 0.875rem;
  line-height: 1.4;
}
ul.ojs-breadcrumb > li,
.ojs-breadcrumb > li,
ul.page-breadcrumb > li,
.ojs-breadcrumb-item {
  display: inline-flex !important;
  align-items: center;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #555;
  font-weight: 600;
}
ul.ojs-breadcrumb > li + li::before,
ul.page-breadcrumb > li + li::before,
.ojs-breadcrumb-item + .ojs-breadcrumb-item::before {
  content: "›";
  display: inline-block;
  margin-right: 0.5rem;
  color: #999;
  font-weight: 700;
}
ul.ojs-breadcrumb a,
ul.page-breadcrumb a,
.ojs-breadcrumb a {
  color: #005976 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
ul.ojs-breadcrumb a:hover,
ul.page-breadcrumb a:hover {
  color: #ed2625 !important;
  text-decoration: underline !important;
}
ul.ojs-breadcrumb .is-active,
ul.ojs-breadcrumb .is-active span,
ul.ojs-breadcrumb > li:last-child,
ul.ojs-breadcrumb > li:last-child span,
ul.page-breadcrumb > li:last-child,
ul.page-breadcrumb > li:last-child span {
  color: #111 !important;
  font-weight: 700 !important;
}
/* Hide legacy angle icons inside bootstrap breadcrumb templates */
ul.page-breadcrumb li > i.fa,
ul.ojs-breadcrumb li > i.fa {
  display: none !important;
}

/* Info/child hero aligned to 1260 shell */
.ojs-page-hero {
  background: #ddedf8 !important;
  margin-top: 0.5rem;
}
.ojs-page-hero-inner {
  padding-top: 0.85rem;
  padding-bottom: 0.95rem;
}
.ojs-page-hero-eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ed2625 !important;
  font-weight: 800 !important;
}
.ojs-page-hero-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  color: #005976 !important;
  font-weight: 900 !important;
  line-height: 1.3;
}

/* Kill page_container leftovers if still hit */
.content-wrapper .container,
.page-wrapper .container {
  max-width: 1260px !important;
  width: 100% !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}
.page-bar {
  margin: 0 !important;
  padding: 0.75rem 0 0 !important;
  background: transparent !important;
  border: 0 !important;
}
body.body {
  background: #ededee !important;
  color: #111 !important;
}

/* ===== remove ojs-page-hero ===== */
.ojs-page-hero,
.ojs-page-hero-inner,
.ojs-page-hero-eyebrow,
.ojs-page-hero-title,
.ojs-page-hero-desc {
  display: none !important;
}

.ojs-page-heading {
  margin: 0 0 1rem;
  padding: 0 0 0.65rem;
  border-bottom: 2px solid #ed2625;
  color: #005976;
  font-size: clamp(1.35rem, 2.1vw, 1.65rem);
  font-weight: 900;
  line-height: 1.3;
}

.ojs-breadcrumb-bar {
  padding: 0.85rem 0 0.15rem;
}
