/**
 * Techno Journal Theme for OJS 3.5
 * A modern technology-journal visual system inspired by contemporary OJS journal sites.
 */

:root {
  --tj-primary: #033692;
  --tj-primary-rgb: 3, 54, 146;
  --tj-accent: #00b4d8;
  --tj-accent-rgb: 0, 180, 216;
  --tj-success: #16a34a;
  --tj-warning: #f59e0b;
  --tj-ink: #0f172a;
  --tj-muted: #64748b;
  --tj-soft: #eef4ff;
  --tj-line: #dbe5f2;
  --tj-bg: #f6f9fc;
  --tj-surface: #ffffff;
  --tj-radius-sm: 6px;
  --tj-radius: 8px;
  --tj-radius-lg: 12px;
  --tj-shadow-sm: 0 2px 8px rgba(var(--tj-primary-rgb), 0.07);
  --tj-shadow: 0 12px 28px rgba(var(--tj-primary-rgb), 0.12);
  --tj-shadow-lg: 0 24px 54px rgba(var(--tj-primary-rgb), 0.18);
  --tj-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --tj-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: clip;
}

body.tj-theme {
  min-height: 100%;
  margin: 0;
  color: var(--tj-ink);
  background:
    linear-gradient(rgba(246, 249, 252, 0.94), rgba(246, 249, 252, 0.94)),
    repeating-linear-gradient(0deg, rgba(var(--tj-primary-rgb), 0.035) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, rgba(var(--tj-primary-rgb), 0.035) 0 1px, transparent 1px 36px);
  font-family: var(--tj-font);
  font-size: 15px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.tj-nav-open {
  overflow: hidden;
}

a {
  color: var(--tj-primary);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

a:hover,
a:focus {
  color: #021e54;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.pkp_screen_reader,
.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.tj-container {
  width: min(100% - 40px, 1320px);
  margin-inline: auto;
}

.tj-page-shell {
  min-height: 100vh;
}

.tj-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--tj-surface);
  box-shadow: 0 6px 18px rgba(var(--tj-primary-rgb), 0.08);
}

.tj-topbar {
  color: rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(120deg, #06162f, #082d70 60%, #06162f),
    var(--tj-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tj-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 16px;
  padding-block: 6px;
}

.tj-topbar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tj-topbar-pill,
.tj-topbar-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--tj-radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--tj-font-mono);
  font-size: 12px;
  line-height: 1.3;
}

.tj-topbar-note {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
}

.tj-navbar {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--tj-primary), var(--tj-accent), var(--tj-primary)) 1;
  backdrop-filter: blur(16px);
}

.tj-site-header.tj-is-scrolled .tj-navbar {
  box-shadow: 0 12px 28px rgba(var(--tj-primary-rgb), 0.12);
}

.tj-site-header.tj-is-scrolled .tj-navbar-inner {
  min-height: 66px;
}

.tj-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 28px;
}

.tj-brand-wrap,
.tj-brand,
.tj-brand-link {
  min-width: 0;
}

.tj-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tj-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--tj-ink);
}

.tj-brand-logo {
  display: block;
  width: auto;
  max-width: 230px;
  max-height: 58px;
  object-fit: contain;
}

.tj-brand-mark {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: var(--tj-radius);
  color: #fff;
  background: linear-gradient(135deg, var(--tj-primary), var(--tj-accent));
  font-weight: 800;
}

.tj-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.18;
}

.tj-brand-kicker {
  color: var(--tj-primary);
  font-family: var(--tj-font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.tj-brand-title {
  display: -webkit-box;
  max-width: 340px;
  overflow: hidden;
  color: var(--tj-ink);
  font-size: 15px;
  font-weight: 800;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tj-nav-panel,
.tj-primary-wrapper,
.tj-primary-menu,
.tj-user-menu {
  display: flex;
  align-items: center;
}

.tj-nav-panel {
  flex: 1;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
}

.tj-primary-wrapper {
  gap: 10px;
}

.tj-primary-menu,
.tj-user-menu,
.tj-primary-menu ul,
.tj-user-menu ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.tj-primary-menu {
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.tj-primary-menu > li,
.tj-user-menu > li {
  position: relative;
}

.tj-primary-menu a,
.tj-user-menu a,
.tj-search-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: var(--tj-radius-sm);
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.tj-primary-menu > li > a:hover,
.tj-primary-menu > li > a:focus,
.tj-primary-menu > li > a[aria-current],
.tj-search-link:hover,
.tj-search-link:focus {
  color: var(--tj-primary);
  background: var(--tj-soft);
}

.tj-primary-menu ul,
.tj-user-menu ul {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: none;
  min-width: 230px;
  padding: 8px;
  border: 1px solid var(--tj-line);
  border-radius: var(--tj-radius);
  background: #fff;
  box-shadow: var(--tj-shadow);
}

.tj-primary-menu li:hover > ul,
.tj-primary-menu li:focus-within > ul,
.tj-user-menu li:hover > ul,
.tj-user-menu li:focus-within > ul {
  display: block;
}

.tj-primary-menu ul a,
.tj-user-menu ul a {
  display: flex;
  width: 100%;
  min-height: 34px;
  font-weight: 600;
}

.tj-user-wrapper {
  flex: 0 0 auto;
}

.tj-user-menu {
  gap: 7px;
}

.tj-user-menu > li > a {
  border: 1px solid rgba(var(--tj-primary-rgb), 0.16);
  color: var(--tj-primary);
  background: #fff;
}

.tj-user-menu > li:last-child > a {
  color: #fff;
  border-color: var(--tj-primary);
  background: linear-gradient(135deg, var(--tj-primary), #0a5fd2);
}

.tj-search-wrapper {
  display: flex;
}

.tj-search-link {
  width: 40px;
  justify-content: center;
  border: 1px solid var(--tj-line);
  background: #fff;
}

.tj-search-link span:not(.fa) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tj-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--tj-line);
  border-radius: var(--tj-radius);
  background: #fff;
  cursor: pointer;
}

.tj-nav-toggle span:not(.pkp_screen_reader) {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--tj-primary);
}

.tj-content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  width: min(100% - 40px, 1320px);
  margin: 0 auto;
  padding: 32px 0 44px;
}

.tj-content-shell:not(.has_sidebar) {
  display: block;
}

.pkp_page_index.pkp_op_index .tj-content-shell,
.pkp_page_index.pkp_op_index .tj-content-shell:not(.has_sidebar) {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0;
}

.tj-main {
  min-width: 0;
}

.page {
  padding: 28px;
  border: 1px solid var(--tj-line);
  border-radius: var(--tj-radius-lg);
  background: #fff;
  box-shadow: var(--tj-shadow-sm);
}

.page h1,
.page .page_title {
  margin: 0 0 18px;
  color: var(--tj-ink);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
}

.cmp_breadcrumbs,
.breadcrumbs {
  margin: 0 0 18px;
  color: var(--tj-muted);
  font-size: 13px;
}

.tj-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(var(--tj-accent-rgb), 0.22), transparent 30%),
    radial-gradient(circle at 84% 24%, rgba(245, 158, 11, 0.14), transparent 26%),
    linear-gradient(135deg, #061128 0%, var(--tj-primary) 54%, #031a42 100%);
}

.tj-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  content: "";
  background: linear-gradient(0deg, rgba(2, 8, 23, 0.26), transparent);
  pointer-events: none;
}

.tj-hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

.tj-hero-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  pointer-events: none;
}

.tj-hero-orbit::before,
.tj-hero-orbit::after {
  position: absolute;
  content: "";
  border-radius: inherit;
  border: 1px dashed rgba(var(--tj-accent-rgb), 0.28);
}

.tj-hero-orbit-a {
  right: 8%;
  top: 54px;
  width: 280px;
  height: 280px;
}

.tj-hero-orbit-a::before {
  inset: 34px;
}

.tj-hero-orbit-a::after {
  inset: 78px;
}

.tj-hero-orbit-b {
  left: -86px;
  bottom: -120px;
  width: 260px;
  height: 260px;
}

.tj-hero-orbit-b::before {
  inset: 44px;
}

.tj-hero-orbit-b::after {
  inset: 92px;
}

.tj-hero-scan {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background: repeating-linear-gradient(180deg, transparent 0 8px, rgba(255, 255, 255, 0.22) 9px, transparent 10px);
  pointer-events: none;
}

.tj-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: center;
  min-height: 520px;
  padding-block: 72px;
}

.tj-hero-copy {
  max-width: 780px;
}

.tj-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}

.tj-hero-badge,
.tj-chip,
.tj-meta-pill,
.tj-article-date,
.tj-pages-pill,
.tj-doi-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: var(--tj-radius-sm);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.tj-hero-badge {
  min-height: 32px;
  padding: 6px 10px;
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.tj-hero-title {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.04;
}

.tj-hero-desc {
  display: -webkit-box;
  max-width: 760px;
  margin-top: 18px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.tj-hero-desc p {
  margin: 0;
}

.tj-hero-actions,
.tj-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--tj-radius-sm);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.tj-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--tj-primary), #0b61d1);
  box-shadow: 0 12px 22px rgba(var(--tj-primary-rgb), 0.18);
}

.tj-btn-primary:hover,
.tj-btn-primary:focus {
  color: #fff;
  transform: translateY(-1px);
}

.tj-btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
}

.tj-btn-ghost:hover,
.tj-btn-ghost:focus {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.16);
}

.tj-btn-soft {
  color: var(--tj-primary);
  border-color: rgba(var(--tj-primary-rgb), 0.16);
  background: var(--tj-soft);
}

.tj-btn-full {
  width: 100%;
}

.tj-issue-showcase {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--tj-radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--tj-shadow-lg);
}

.tj-issue-showcase::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--tj-accent), var(--tj-warning), var(--tj-primary));
}

.tj-showcase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.tj-showcase-badge {
  padding: 5px 10px;
  border-radius: var(--tj-radius-sm);
  color: #fff;
  background: linear-gradient(135deg, var(--tj-primary), #0a5fd2);
  font-size: 12px;
  font-weight: 800;
}

.tj-showcase-date {
  color: var(--tj-muted);
  font-family: var(--tj-font-mono);
  font-size: 12px;
  font-weight: 700;
}

.tj-showcase-cover {
  display: block;
  width: min(100%, 220px);
  margin: 0 auto 14px;
}

.tj-showcase-cover img {
  display: block;
  width: 100%;
  border: 1px solid var(--tj-line);
  border-radius: var(--tj-radius);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.tj-showcase-title {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.35;
}

.tj-showcase-title a {
  color: var(--tj-ink);
}

.tj-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: -34px;
  margin-bottom: 30px;
}

.tj-metric-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(var(--tj-primary-rgb), 0.1);
  border-radius: var(--tj-radius);
  background: #fff;
  box-shadow: var(--tj-shadow);
}

.tj-metric-icon,
.tj-section-icon,
.tj-spec-icon {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--tj-radius-sm);
  color: #fff;
  background: linear-gradient(135deg, var(--tj-primary), var(--tj-accent));
}

.tj-metric-icon {
  width: 42px;
  height: 42px;
}

.tj-metric-icon::before,
.tj-section-icon::before,
.tj-spec-icon::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.tj-metric-icon-shield::before,
.tj-ico-shield::before {
  border-radius: 50% 50% 46% 46%;
}

.tj-metric-icon-link::before,
.tj-ico-link::before {
  width: 18px;
  height: 10px;
  border-radius: 10px;
}

.tj-metric-icon-unlock::before,
.tj-ico-unlock::before {
  border-top-color: transparent;
}

.tj-metric-icon-spark::before {
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  border-radius: 2px;
}

.tj-metric-value {
  color: var(--tj-primary);
  font-family: var(--tj-font-mono);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.tj-metric-label {
  margin-top: 4px;
  color: var(--tj-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.tj-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  padding-bottom: 52px;
}

.tj-home-primary {
  min-width: 0;
}

.tj-panel {
  margin-bottom: 24px;
}

.tj-about-panel,
.tj-indexing-panel {
  padding: 24px;
  border: 1px solid var(--tj-line);
  border-radius: var(--tj-radius-lg);
  background: #fff;
  box-shadow: var(--tj-shadow-sm);
}

.tj-latest-panel {
  padding: 0;
}

.tj-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.tj-section-heading-centered {
  justify-content: center;
  text-align: center;
}

.tj-section-icon {
  width: 44px;
  height: 44px;
}

.tj-section-heading h2 {
  margin: 0;
  color: var(--tj-ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tj-section-heading span:not(.tj-section-icon) {
  color: var(--tj-primary);
  font-size: 13px;
  font-weight: 700;
}

.tj-rich-text {
  color: #475569;
  font-size: 14px;
}

.tj-rich-text p:first-child {
  margin-top: 0;
}

.tj-rich-text p:last-child {
  margin-bottom: 0;
}

.tj-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.tj-spec-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 10px;
  min-height: 74px;
  padding: 13px;
  border: 1px solid #e6edf7;
  border-radius: var(--tj-radius);
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.tj-spec-icon {
  grid-row: span 2;
  width: 38px;
  height: 38px;
}

.tj-spec-icon::before {
  width: 14px;
  height: 14px;
}

.tj-spec-label {
  color: var(--tj-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.tj-spec-item strong {
  min-width: 0;
  color: var(--tj-ink);
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
}

.tj-indexing-content p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.tj-indexing-content a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 58px;
  padding: 8px 12px;
  border: 1px solid var(--tj-line);
  border-radius: var(--tj-radius);
  background: #fff;
  box-shadow: var(--tj-shadow-sm);
}

.tj-indexing-content img {
  max-width: 170px;
  max-height: 64px;
  object-fit: contain;
}

.tj-homepage-image {
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: var(--tj-radius-lg);
  box-shadow: var(--tj-shadow);
}

.tj-issue-heading-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 26px;
  padding: 22px;
  border: 1px solid var(--tj-line);
  border-radius: var(--tj-radius-lg);
  background: #fff;
  box-shadow: var(--tj-shadow-sm);
}

.tj-issue-cover {
  display: block;
}

.tj-issue-cover img {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border: 1px solid var(--tj-line);
  border-radius: var(--tj-radius);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.tj-chip {
  min-height: 28px;
  padding: 5px 9px;
  color: var(--tj-primary);
  border: 1px solid rgba(var(--tj-primary-rgb), 0.15);
  background: var(--tj-soft);
}

.tj-chip-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--tj-primary), #0b61d1);
}

.tj-issue-title {
  margin: 12px 0;
  font-size: 24px;
  line-height: 1.25;
}

.tj-issue-title a {
  color: var(--tj-ink);
}

.tj-issue-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tj-meta-pill,
.tj-pages-pill {
  min-height: 30px;
  padding: 6px 9px;
  color: #334155;
  border: 1px solid var(--tj-line);
  background: #fff;
}

.tj-full-issue-galleys {
  margin-bottom: 22px;
  padding: 16px;
  border: 1px dashed rgba(var(--tj-primary-rgb), 0.2);
  border-radius: var(--tj-radius);
  background: var(--tj-soft);
}

.tj-full-issue-galleys h2,
.tj-full-issue-galleys h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.galleys_links,
.cmp_article_list,
.tj-article-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.galleys_links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.obj_galley_link,
.obj_galley_link_supplementary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(var(--tj-primary-rgb), 0.15);
  border-radius: var(--tj-radius-sm);
  color: var(--tj-primary);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.obj_galley_link.pdf {
  color: #fff;
  border-color: #b91c1c;
  background: linear-gradient(135deg, #dc2626, #991b1b);
}

.obj_galley_link.restricted {
  opacity: 0.74;
}

.tj-toc-section {
  margin-bottom: 24px;
}

.tj-toc-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--tj-line);
  color: var(--tj-ink);
  font-size: 18px;
  font-weight: 800;
}

.tj-article-list {
  display: grid;
  gap: 14px;
}

.tj-article-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--tj-line);
  border-radius: var(--tj-radius);
  background: #fff;
  box-shadow: var(--tj-shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tj-article-card:hover {
  border-color: rgba(var(--tj-primary-rgb), 0.22);
  box-shadow: var(--tj-shadow);
  transform: translateY(-1px);
}

.tj-article-cover {
  width: 104px;
}

.tj-article-cover a,
.tj-article-cover img {
  display: block;
}

.tj-article-cover img {
  width: 104px;
  height: 138px;
  object-fit: cover;
  border: 1px solid var(--tj-line);
  border-radius: var(--tj-radius-sm);
  background: var(--tj-soft);
}

.tj-article-body {
  min-width: 0;
}

.tj-article-topline,
.tj-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tj-article-tags,
.tj-article-identifiers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.tj-article-date {
  flex: 0 0 auto;
  color: var(--tj-muted);
  font-family: var(--tj-font-mono);
}

.tj-article-title {
  margin: 10px 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

.tj-article-title a {
  color: var(--tj-primary);
}

.tj-article-title .subtitle {
  display: block;
  margin-top: 4px;
  color: var(--tj-muted);
  font-size: 14px;
  font-weight: 600;
}

.tj-article-authors {
  display: flex;
  gap: 7px;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}

.tj-article-footer {
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--tj-line);
}

.tj-doi-pill {
  min-height: 30px;
  max-width: 100%;
  padding: 6px 9px;
  color: var(--tj-primary);
  border: 1px solid rgba(var(--tj-primary-rgb), 0.15);
  background: var(--tj-soft);
  overflow-wrap: anywhere;
}

.tj-article-galleys {
  justify-content: flex-end;
}

.tj-ico {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  place-items: center;
  color: currentColor;
}

.tj-ico::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.tj-ico-code::before,
.tj-ico-chip::before {
  border-radius: 2px;
  box-shadow: inset 4px 0 0 currentColor;
}

.tj-ico-book::before,
.tj-ico-page::before,
.tj-ico-news::before {
  border-radius: 2px;
  box-shadow: inset -4px 0 0 currentColor;
}

.tj-ico-calendar::before {
  border-top-width: 4px;
}

.tj-ico-user::before {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.tj-ico-upload::before {
  border-bottom-color: transparent;
  transform: rotate(45deg);
}

.tj-ico-info::before,
.tj-ico-award::before,
.tj-ico-tag::before,
.tj-ico-pin::before,
.tj-ico-building::before {
  border-radius: 50%;
}

.tj-sidebar {
  min-width: 0;
}

.tj-sidebar .pkp_block,
.tj-sidebar .block_make_submission,
.tj-sidebar > div {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--tj-line);
  border-radius: var(--tj-radius);
  background: #fff;
  box-shadow: var(--tj-shadow-sm);
}

.tj-sidebar .pkp_block h2,
.tj-sidebar .pkp_block .title,
.tj-sidebar h2,
.tj-sidebar h3 {
  margin: 0 0 12px;
  color: var(--tj-ink);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.tj-sidebar ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.tj-sidebar li + li {
  margin-top: 7px;
}

.tj-sidebar a {
  font-weight: 700;
}

.tj-sidebar img {
  border-radius: var(--tj-radius-sm);
}

.tj-sidebar .block_make_submission_link,
.tj-sidebar .block_make_submission a,
.cmp_manuscript_button,
.cmp_button,
button.submit,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid var(--tj-primary);
  border-radius: var(--tj-radius-sm);
  color: #fff;
  background: linear-gradient(135deg, var(--tj-primary), #0b61d1);
  font-weight: 800;
  text-transform: uppercase;
}

.tj-footer {
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(135deg, #061128, #08245c 54%, #061128),
    var(--tj-primary);
}

.tj-footer-inner {
  padding-block: 28px;
}

.tj-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 420px) auto;
  gap: 24px;
  align-items: center;
}

.tj-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tj-footer-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--tj-radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-family: var(--tj-font-mono);
  font-weight: 800;
}

.tj-footer-title {
  color: #fff;
  font-weight: 800;
  line-height: 1.35;
}

.tj-footer-muted,
.tj-footer-content {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.tj-footer-content p {
  margin: 0;
}

.tj-powered img {
  max-width: 96px;
  filter: brightness(0) invert(1);
  opacity: 0.72;
}

.obj_article_details .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}

.obj_article_details .item {
  margin-bottom: 22px;
}

.obj_article_details .label {
  margin-bottom: 6px;
  color: var(--tj-ink);
  font-size: 15px;
  font-weight: 800;
}

.obj_article_details .entry_details {
  padding: 18px;
  border: 1px solid var(--tj-line);
  border-radius: var(--tj-radius);
  background: #f8fbff;
}

.obj_issue_summary {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--tj-line);
  border-radius: var(--tj-radius);
  background: #fff;
  box-shadow: var(--tj-shadow-sm);
}

.issues_archive {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid var(--tj-line);
  border-radius: var(--tj-radius-sm);
  background: #fff;
  color: var(--tj-ink);
  font: inherit;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid var(--tj-line);
  text-align: left;
}

th {
  color: var(--tj-ink);
  background: var(--tj-soft);
}

.cmp_pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

@media (max-width: 1180px) {
  .tj-navbar-inner {
    gap: 16px;
  }

  .tj-brand-title {
    max-width: 250px;
  }

  .tj-primary-menu a,
  .tj-user-menu a {
    padding-inline: 9px;
  }
}

@media (max-width: 980px) {
  .tj-container,
  .tj-content-shell {
    width: min(100% - 28px, 760px);
  }

  .tj-topbar {
    display: none;
  }

  .tj-navbar-inner {
    min-height: 68px;
  }

  .tj-nav-toggle {
    display: block;
  }

  .tj-nav-panel {
    position: fixed;
    top: 68px;
    right: 14px;
    left: 14px;
    display: none;
    max-height: calc(100vh - 92px);
    overflow: auto;
    padding: 16px;
    border: 1px solid var(--tj-line);
    border-radius: var(--tj-radius);
    background: #fff;
    box-shadow: var(--tj-shadow-lg);
  }

  body.tj-nav-open .tj-nav-panel {
    display: block;
  }

  .tj-primary-wrapper,
  .tj-primary-menu,
  .tj-user-menu {
    display: grid;
    align-items: stretch;
    width: 100%;
    gap: 8px;
  }

  .tj-primary-row,
  .tj-user-wrapper {
    width: 100%;
  }

  .tj-primary-menu a,
  .tj-user-menu a,
  .tj-search-link {
    width: 100%;
    justify-content: flex-start;
  }

  .tj-search-link span:not(.fa) {
    position: static;
    width: auto;
    height: auto;
  }

  .tj-primary-menu ul,
  .tj-user-menu ul {
    position: static;
    display: block;
    min-width: 0;
    margin: 4px 0 0 12px;
    padding: 6px;
    box-shadow: none;
  }

  .tj-content-shell,
  .tj-content-shell.has_sidebar,
  .tj-home-grid,
  .obj_article_details .row {
    display: block;
  }

  .tj-sidebar,
  .tj-home-sidebar {
    margin-top: 24px;
  }

  .tj-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 54px;
  }

  .tj-issue-showcase {
    max-width: 360px;
    margin-inline: auto;
  }

  .tj-metrics,
  .tj-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tj-issue-heading-card {
    grid-template-columns: 150px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  body.tj-theme {
    font-size: 14px;
  }

  .tj-container,
  .tj-content-shell {
    width: min(100% - 22px, 100%);
  }

  .tj-brand-logo {
    max-width: 150px;
    max-height: 46px;
  }

  .tj-brand-text {
    display: none;
  }

  .tj-hero-inner {
    padding-block: 42px;
  }

  .tj-hero-title {
    font-size: 34px;
  }

  .tj-hero-actions,
  .tj-panel-actions,
  .tj-article-topline,
  .tj-article-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .tj-btn,
  .tj-article-galleys,
  .tj-article-galleys li,
  .tj-article-galleys a {
    width: 100%;
  }

  .tj-metrics,
  .tj-spec-grid {
    grid-template-columns: 1fr;
  }

  .tj-article-card,
  .tj-issue-heading-card,
  .obj_issue_summary {
    grid-template-columns: 1fr;
  }

  .tj-article-cover {
    width: 100%;
  }

  .tj-article-cover img {
    width: 100%;
    height: auto;
    max-height: 240px;
  }

  .tj-issue-cover {
    max-width: 210px;
  }

  .tj-footer-main {
    grid-template-columns: 1fr;
  }

  .page,
  .tj-about-panel,
  .tj-indexing-panel,
  .tj-issue-heading-card {
    padding: 18px;
  }
}
