/* akaturk.com /journals ? sidebar filters + journal tiles */

.aka-jrn-body {
  background: var(--aka-body-bg);
}

/* Hero extras */

.aka-jrn__coverage-note {
  margin: 0.65rem 0 0;
  max-width: 42rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
  border-left: 2px solid rgba(255, 255, 255, 0.28);
  padding-left: 0.65rem;
}

.aka-jrn__hero-kpis {
  margin-top: 1.65rem;
}

/* Sidebar */

.aka-jrn__sidebar .aka-uni__sidebar-head {
  border-bottom: 1px solid var(--aka-border);
}

.aka-jrn__clear {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--aka-primary);
  text-decoration: none;
  white-space: nowrap;
}

.aka-jrn__clear:hover {
  color: var(--aka-primary-l);
  text-decoration: underline;
}

.aka-jrn__search {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.aka-jrn__search-btn {
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--aka-primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.aka-jrn__search-btn:hover {
  background: var(--aka-primary-l);
}

.aka-jrn__filters {
  flex: 1;
  overflow-y: auto;
  padding: 0.35rem 0 1rem;
}

.aka-jrn__facet {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--aka-border);
}

.aka-jrn__facet-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.25rem;
}

.aka-jrn__facet-label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--aka-navy);
}

.aka-jrn__facet-src {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  color: var(--aka-muted);
  line-height: 1.4;
}

.aka-jrn__provenance-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--aka-primary);
  background: rgba(193, 18, 31, 0.08);
  border: 1px solid rgba(193, 18, 31, 0.14);
  border-radius: 999px;
}

.aka-jrn__provenance-badge--yok {
  color: #0d5c4a;
  background: rgba(13, 92, 74, 0.08);
  border-color: rgba(13, 92, 74, 0.16);
}

.aka-jrn__facet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.aka-jrn__facet-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.42rem 0.55rem;
  font-size: 0.8125rem;
  color: var(--aka-ink);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.12s ease, color 0.12s ease;
}

.aka-jrn__facet-link:hover {
  background: var(--aka-surface);
  color: var(--aka-navy);
}

.aka-jrn__facet-link.is-active {
  background: rgba(193, 18, 31, 0.1);
  color: var(--aka-primary);
  font-weight: 600;
}

.aka-jrn__facet-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--aka-muted);
  font-variant-numeric: tabular-nums;
}

.aka-jrn__facet-link.is-active .aka-jrn__facet-count {
  color: var(--aka-primary);
}

.aka-jrn__tr-toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.8125rem;
  color: var(--aka-ink);
  text-decoration: none;
  background: var(--aka-surface);
  border: 1px solid var(--aka-border);
  border-radius: 10px;
  transition: border-color 0.12s ease, background 0.12s ease;
}

.aka-jrn__tr-toggle:hover {
  border-color: rgba(193, 18, 31, 0.25);
}

.aka-jrn__tr-toggle.is-active {
  background: rgba(13, 92, 74, 0.08);
  border-color: rgba(13, 92, 74, 0.22);
  color: #0d5c4a;
  font-weight: 600;
}

.aka-jrn__tr-toggle-mark {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  border: 2px solid var(--aka-border);
  border-radius: 4px;
  background: #fff;
}

.aka-jrn__tr-toggle.is-active .aka-jrn__tr-toggle-mark {
  background: #0d5c4a;
  border-color: #0d5c4a;
  box-shadow: inset 0 0 0 2px #fff;
}

.aka-jrn__tr-toggle-text {
  flex: 1;
  min-width: 0;
}

/* Main content */

.aka-jrn__main {
  padding: 0 0 2.5rem;
}

.aka-jrn__results-body {
  position: relative;
  min-height: 12rem;
}

.aka-jrn__main.is-loading .aka-jrn__results-body > :not([data-jrn-loading]):not([data-jrn-error]) {
  opacity: 0.42;
  pointer-events: none;
  filter: saturate(0.85);
}

.aka-jrn__loading {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: color-mix(in srgb, var(--aka-shell-bg, #f7f9fc) 88%, transparent);
  backdrop-filter: blur(1.5px);
}

/* Faceted / filter wait: keep the message in the viewport, not below the fold. */
.aka-jrn__main.is-loading .aka-jrn__loading {
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: var(--aka-shell-pad, 1.25rem);
  background: color-mix(in srgb, var(--aka-shell-bg, #f7f9fc) 82%, transparent);
}

.aka-jrn__loading[hidden] {
  display: none !important;
}

.aka-jrn__loading-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: min(22rem, 100%);
  padding: 0.9rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(15, 35, 71, 0.1);
  border-radius: 12px;
  box-shadow:
    0 1px 2px rgba(15, 35, 71, 0.04),
    0 10px 28px rgba(15, 35, 71, 0.1);
}

.aka-jrn__spinner {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2.5px solid rgba(193, 18, 31, 0.18);
  border-top-color: var(--aka-primary, #c1121f);
  border-right-color: var(--aka-primary, #c1121f);
  animation: aka-jrn-spin 0.7s linear infinite;
}

.aka-jrn__loading-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--aka-navy, #1a1f2e);
  letter-spacing: -0.01em;
}

.aka-jrn__load-error {
  margin: 0.75rem 0 0;
  padding: 0.75rem 1rem;
  max-width: var(--aka-shell-max, 72rem);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--aka-navy, #1a1f2e);
  background: #fff;
  border: 1px solid rgba(193, 18, 31, 0.28);
  border-radius: 10px;
}

.aka-jrn__load-error[hidden] {
  display: none !important;
}

@keyframes aka-jrn-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aka-jrn__spinner {
    animation: none;
    border-top-color: var(--aka-primary, #c1121f);
    border-right-color: var(--aka-primary, #c1121f);
    opacity: 0.85;
  }

  .aka-jrn__main.is-loading .aka-jrn__results-body > :not([data-jrn-loading]):not([data-jrn-error]) {
    transition: none;
  }
}

.aka-jrn__results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.15rem;
  padding-top: 0.35rem;
}

.aka-jrn__results-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--aka-navy);
  letter-spacing: -0.02em;
}

.aka-jrn__provenance-note {
  margin: 0;
  max-width: 28rem;
  font-size: 0.8125rem;
  color: var(--aka-muted);
  line-height: 1.45;
}

.aka-jrn__results-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.15rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid rgba(15, 35, 71, 0.08);
  border-radius: var(--aka-radius);
  box-shadow: 0 1px 3px rgba(15, 35, 71, 0.04);
}

.aka-jrn__results-count {
  margin: 0;
  font-size: 0.875rem;
  color: var(--aka-muted);
}

.aka-jrn__sort {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
}

.aka-jrn__sort label {
  font-weight: 600;
  color: var(--aka-navy);
  white-space: nowrap;
}

.aka-jrn__sort select {
  min-height: 38px;
  padding: 0.35rem 1.75rem 0.35rem 0.65rem;
  font: inherit;
  font-size: 0.8125rem;
  color: var(--aka-ink);
  background: var(--aka-surface);
  border: 1px solid var(--aka-border);
  border-radius: 8px;
  cursor: pointer;
}

/* Tiles */

.aka-jrn__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 0.85rem;
}

.aka-jrn__tile {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.05rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(15, 35, 71, 0.08);
  border-radius: var(--aka-radius);
  box-shadow: 0 1px 3px rgba(15, 35, 71, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.aka-jrn__tile:hover {
  border-color: rgba(193, 18, 31, 0.22);
  box-shadow: 0 6px 20px rgba(15, 35, 71, 0.08);
  transform: translateY(-1px);
}

.aka-jrn__tile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.aka-jrn__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--aka-muted);
  background: var(--aka-surface);
  border: 1px solid var(--aka-border);
  border-radius: 999px;
}

.aka-jrn__badge--q {
  color: var(--aka-navy);
  background: rgba(15, 35, 71, 0.06);
  border-color: rgba(15, 35, 71, 0.12);
}

.aka-jrn__badge--q1 { color: #0d5c4a; background: rgba(13, 92, 74, 0.1); border-color: rgba(13, 92, 74, 0.18); }
.aka-jrn__badge--q2 { color: #c1121f; background: rgba(193, 18, 31, 0.1); border-color: rgba(193, 18, 31, 0.18); }
.aka-jrn__badge--q3 { color: #7c5a10; background: rgba(124, 90, 16, 0.1); border-color: rgba(124, 90, 16, 0.18); }
.aka-jrn__badge--q4 { color: #64748b; background: rgba(100, 116, 139, 0.1); border-color: rgba(100, 116, 139, 0.18); }

.aka-jrn__badge--oa {
  color: #0d5c4a;
  background: rgba(13, 92, 74, 0.08);
  border-color: rgba(13, 92, 74, 0.16);
}

.aka-jrn__tile-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--aka-navy);
  letter-spacing: -0.01em;
}

.aka-jrn__tile-meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--aka-muted);
  line-height: 1.4;
}

.aka-jrn__tile-tr {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0d5c4a;
}

.aka-jrn__tile-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
  font-size: 0.75rem;
  color: var(--aka-muted);
}

.aka-jrn__tile-cats strong {
  color: var(--aka-navy);
}

.aka-jrn__tile-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0.55rem 0 0;
  border-top: 1px solid var(--aka-border);
}

.aka-jrn__tile-metrics li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.aka-jrn__tile-metrics strong {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--aka-navy);
  font-variant-numeric: tabular-nums;
}

.aka-jrn__tile-metrics span {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--aka-muted);
}

/* Empty + pager */

.aka-jrn__empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--aka-border);
  border-radius: var(--aka-radius);
  color: var(--aka-muted);
}

.aka-jrn__pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 0.875rem;
}

.aka-jrn__pager a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  font-weight: 600;
  color: var(--aka-primary);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--aka-border);
  border-radius: 8px;
  transition: border-color 0.12s ease, background 0.12s ease;
}

.aka-jrn__pager a:hover {
  border-color: rgba(193, 18, 31, 0.3);
  background: var(--aka-surface);
}

.aka-jrn__pager .is-disabled {
  color: var(--aka-muted);
  opacity: 0.55;
}

/* Mobile sidebar (reuse uni slide-in pattern) */

@media (max-width: 960px) {
  .aka-jrn-sidebar-open {
    overflow: hidden;
  }

  .aka-jrn__sidebar {
    position: fixed;
    inset: var(--aka-nav-h) auto 0 0;
    width: min(320px, 92vw);
    z-index: 900;
    max-height: none;
    transform: translateX(-105%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .aka-jrn__sidebar.is-open {
    transform: translateX(0);
  }

  .aka-jrn__hero-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aka-jrn__tile-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 375px) {
  .aka-jrn__hero-kpis {
    grid-template-columns: 1fr;
  }

  .aka-jrn__hero-kpis .aka-uni__detail-kpi:not(:first-child)::before {
    display: none;
  }

  .aka-jrn__hero-kpis .aka-uni__detail-kpi {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .aka-jrn__hero-kpis .aka-uni__detail-kpi:first-child {
    border-top: none;
  }
}

/* ?? Journal detail (/journals/{id}) ?? */
/* Content column (like glossary/academician): NOT full-bleed list layout */

.aka-jrn-detail {
  --aka-jrn-detail-max: 1120px;
  --aka-jrn-detail-pad: clamp(0.75rem, 2vw, 1.25rem);
}

.aka-jrn-detail-body {
  background: var(--aka-body-bg);
}

.aka-jrn-detail__hero .aka-uni__hero-inner {
  width: 100%;
  max-width: var(--aka-shell-max);
  margin-inline: auto;
  padding-inline: var(--aka-shell-pad);
  box-sizing: border-box;
}

.aka-jrn-detail__hero .aka-jrn-detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.aka-jrn-detail__hero .aka-jrn__badge {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
}

.aka-jrn-detail__hero .aka-jrn__badge--q1,
.aka-jrn-detail__hero .aka-jrn__badge--q2,
.aka-jrn-detail__hero .aka-jrn__badge--q3,
.aka-jrn-detail__hero .aka-jrn__badge--q4 {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.aka-jrn-detail__hero .aka-jrn__badge--oa {
  background: rgba(193, 18, 31, 0.22);
  border-color: rgba(193, 18, 31, 0.35);
  color: #ccfbf1;
}

.aka-jrn-detail__hero .aka-jrn__badge--tr {
  background: rgba(193, 18, 31, 0.28);
  border-color: rgba(255, 255, 255, 0.22);
  color: #e0e7ff;
}

.aka-jrn-detail__title {
  max-width: 48rem;
}

.aka-jrn-detail__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem 1.25rem;
  margin: 1.15rem 0 0;
  padding: 0;
}

.aka-jrn-detail__fact {
  margin: 0;
}

.aka-jrn-detail__fact dt {
  margin: 0 0 0.2rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.aka-jrn-detail__fact dd {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
}

.aka-jrn-detail__muted {
  color: rgba(255, 255, 255, 0.62);
}

.aka-jrn-detail__issns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aka-jrn-detail__issns code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  padding: 0.18rem 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #fff;
}

.aka-jrn-detail__shell {
  width: 100%;
  max-width: var(--aka-shell-max);
  margin: -1.75rem auto 0;
  padding: 0.5rem var(--aka-shell-pad) 3rem;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.aka-jrn-detail__glance {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.aka-jrn-detail__glance-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.9rem;
  background: #fff;
  border: 1px solid var(--aka-border);
  border-radius: var(--aka-radius);
  box-shadow: 0 1px 3px rgba(15, 35, 71, 0.06), 0 4px 14px rgba(15, 35, 71, 0.04);
}

.aka-jrn-detail__glance-item--scopus {
  border-top: 3px solid #475569;
}

.aka-jrn-detail__glance-item--wos {
  border-top: 3px solid #c2410c;
}

.aka-jrn-detail__glance-item--q1 { border-top-color: #0d5c4a; }
.aka-jrn-detail__glance-item--q2 { border-top-color: #c1121f; }
.aka-jrn-detail__glance-item--q3 { border-top-color: #7c5a10; }
.aka-jrn-detail__glance-item--q4 { border-top-color: #64748b; }

.aka-jrn-detail__glance-item strong {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 800;
  color: var(--aka-navy);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.aka-jrn-detail__glance-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--aka-muted);
}

.aka-jrn-detail__src {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.aka-jrn-detail__src::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}

.aka-jrn-detail__src--scopus { color: #475569; }
.aka-jrn-detail__src--wos { color: #c2410c; }

.aka-jrn-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
  gap: 1.25rem;
  align-items: start;
}

.aka-jrn-detail__section {
  background: #fff;
  border: 1px solid var(--aka-border);
  border-radius: var(--aka-radius);
  padding: 1.15rem 1.25rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(15, 35, 71, 0.05);
}

.aka-jrn-detail__section-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
  max-width: 52ch;
}

.aka-jrn-detail__section-head h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--aka-navy);
  letter-spacing: -0.02em;
}

.aka-jrn-detail__section-head p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--aka-muted);
  line-height: 1.5;
}

.aka-jrn-detail__coverage {
  font-size: 0.8125rem !important;
  border-left: 2px solid var(--aka-border);
  padding-left: 0.55rem;
}

.aka-jrn-detail__compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.aka-jrn-detail__panel {
  padding: 1rem 1.05rem;
  background: var(--aka-surface);
  border: 1px solid var(--aka-border);
  border-radius: 10px;
}

.aka-jrn-detail__panel--scopus {
  border-top: 3px solid #475569;
}

.aka-jrn-detail__panel--wos {
  border-top: 3px solid #c2410c;
}

.aka-jrn-detail__panel-eyebrow {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aka-muted);
}

.aka-jrn-detail__panel-head h3 {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--aka-navy);
}

.aka-jrn-detail__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.75rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.aka-jrn-detail__stats li {
  display: grid;
  gap: 0.12rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--aka-border);
}

.aka-jrn-detail__stats span {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--aka-muted);
}

.aka-jrn-detail__stats strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--aka-navy);
  font-variant-numeric: tabular-nums;
}

.aka-jrn-detail__q.q1 { color: #0d5c4a; }
.aka-jrn-detail__q.q2 { color: #c1121f; }
.aka-jrn-detail__q.q3 { color: #7c5a10; }
.aka-jrn-detail__q.q4 { color: #64748b; }

.aka-jrn-detail__editions p {
  margin: 0.75rem 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--aka-muted);
}

.aka-jrn-detail__editions ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aka-jrn-detail__empty {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--aka-muted);
}

.aka-jrn-detail__tax {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1rem);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.aka-jrn-detail__tax-card,
.aka-jrn-detail__tax-block {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.85rem 0.95rem;
  background: var(--aka-surface, #f8fafc);
  border: 1px solid var(--aka-border);
  border-radius: var(--aka-radius, 10px);
  box-sizing: border-box;
}

.aka-jrn-detail__tax-label,
.aka-jrn-detail__tax-card h3,
.aka-jrn-detail__tax-block h3 {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--aka-muted);
  line-height: 1.3;
}

.aka-jrn-detail__tax-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.aka-jrn-detail__tax-list li {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem;
  min-width: 0;
  font-size: 0.875rem;
  color: var(--aka-ink);
  line-height: 1.4;
}

.aka-jrn-detail__tax-link {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--aka-navy);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

.aka-jrn-detail__tax-link:hover {
  color: var(--aka-primary);
  text-decoration: underline;
}

.aka-jrn-detail__tax-list .aka-jrn__badge {
  flex: 0 0 auto;
  align-self: center;
  font-style: normal;
  font-size: 0.6875rem;
  line-height: 1;
  white-space: nowrap;
}

.aka-jrn-detail__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.aka-jrn-detail__chips li {
  max-width: 100%;
  min-width: 0;
  padding: 0.28rem 0.55rem;
  font-size: 0.8125rem;
  color: var(--aka-ink);
  background: #fff;
  border: 1px solid var(--aka-border);
  border-radius: 8px;
  box-sizing: border-box;
}

.aka-jrn-detail__chips a {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.aka-jrn-detail__chips a:hover {
  color: var(--aka-primary);
  text-decoration: underline;
}

@media (max-width: 960px) {
  .aka-jrn-detail__tax {
    grid-template-columns: 1fr;
  }
}

.aka-jrn-detail__table-wrap {
  overflow-x: auto;
  margin: 0 -0.25rem;
  padding: 0 0.25rem;
}

.aka-jrn-detail__table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.aka-jrn-detail__table-caption {
  caption-side: bottom;
  padding-top: 0.65rem;
  text-align: left;
  font-size: 0.75rem;
  color: var(--aka-muted);
  line-height: 1.45;
}

.aka-jrn-detail__table th,
.aka-jrn-detail__table td {
  padding: 0.45rem 0.55rem;
  border-bottom: 1px solid var(--aka-border);
  text-align: left;
  vertical-align: middle;
}

.aka-jrn-detail__table th {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--aka-muted);
  white-space: nowrap;
}

.aka-jrn-detail__table tr.is-current {
  background: rgba(193, 18, 31, 0.04);
}

.aka-jrn-detail__num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--aka-navy);
}

.aka-jrn-detail__bar-cell {
  width: 4.5rem;
  padding-right: 0.75rem !important;
}

.aka-jrn-detail__bar {
  display: block;
  height: 0.35rem;
  width: var(--w, 0%);
  max-width: 100%;
  background: var(--aka-primary);
  border-radius: 999px;
}

.aka-jrn-detail__aside {
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: 0.85rem;
}

.aka-jrn-detail__aside-kicker {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aka-muted);
}

.aka-jrn-detail__widget {
  background: #fff;
  border: 1px solid var(--aka-border);
  border-radius: var(--aka-radius);
  padding: 1rem 1.05rem;
  box-shadow: 0 1px 3px rgba(15, 35, 71, 0.05);
}

.aka-jrn-detail__widget-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.aka-jrn-detail__widget-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.aka-jrn-detail__widget-head h2 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--aka-navy);
  line-height: 1.35;
}

.aka-jrn-detail__widget-meta {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--aka-primary);
}

.aka-jrn-detail__widget-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--aka-muted);
  line-height: 1.4;
}

.aka-jrn-detail__rank {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.aka-jrn-detail__rank-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.45rem 0.55rem 0.45rem 0.65rem;
  border-radius: 8px;
  overflow: hidden;
}

.aka-jrn-detail__rank-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar, 0%);
  max-width: 100%;
  background: rgba(193, 18, 31, 0.07);
  pointer-events: none;
}

.aka-jrn-detail__rank-body {
  position: relative;
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.aka-jrn-detail__rank-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--aka-navy);
  text-decoration: none;
  line-height: 1.35;
}

.aka-jrn-detail__rank-name:hover {
  color: var(--aka-primary);
  text-decoration: underline;
}

.aka-jrn-detail__rank-sub {
  font-size: 0.75rem;
  color: var(--aka-muted);
}

.aka-jrn-detail__rank-count {
  position: relative;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--aka-muted);
  font-variant-numeric: tabular-nums;
}

.aka-jrn-detail__widget-more {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: var(--aka-muted);
}

.aka-jrn-detail__widget-empty {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--aka-muted);
}

.aka-jrn-detail__widget-actions {
  margin: 0.65rem 0 0;
}

.aka-jrn-detail__btn {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--aka-primary);
  text-decoration: none;
  border: 1px solid rgba(193, 18, 31, 0.22);
  border-radius: 8px;
  background: rgba(193, 18, 31, 0.04);
  transition: background 0.12s ease, border-color 0.12s ease;
}

.aka-jrn-detail__btn:hover {
  background: rgba(193, 18, 31, 0.08);
  border-color: rgba(193, 18, 31, 0.32);
}

@media (max-width: 960px) {
  .aka-jrn-detail__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .aka-jrn-detail__aside {
    position: static;
  }

  .aka-jrn-detail__glance {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .aka-jrn-detail__glance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aka-jrn-detail__compare {
    grid-template-columns: minmax(0, 1fr);
  }

  .aka-jrn-detail__facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 400px) {
  .aka-jrn-detail__glance {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Journal authors list (akaturk.com) ? content column, not hub flush */
.aka-jrn-authors {
  --aka-jrn-detail-max: 1120px;
  --aka-jrn-detail-pad: clamp(0.75rem, 2vw, 1.25rem);
}

.aka-jrn-authors__hero .aka-uni__hero-inner {
  width: 100%;
  max-width: var(--aka-shell-max);
  margin-inline: auto;
  padding-inline: var(--aka-shell-pad);
  box-sizing: border-box;
}

.aka-jrn-authors__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.aka-jrn-authors__title {
  margin-top: 0.2rem;
  max-width: 40rem;
  line-height: 1.18;
}

.aka-jrn-authors__lead {
  margin: 0.7rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--aka-text, #0f172a);
  max-width: 40rem;
}

.aka-jrn-authors__note,
.aka-jrn-authors__count {
  margin: 0.55rem 0 0;
  color: var(--aka-muted, #64748b);
  max-width: 42rem;
  line-height: 1.45;
}

.aka-jrn-authors__count {
  font-weight: 600;
  color: var(--aka-text, #0f172a);
}

.aka-jrn-authors__shell {
  width: 100%;
  max-width: var(--aka-shell-max);
  margin: -1.75rem auto 0;
  padding: 0.5rem var(--aka-shell-pad) 3rem;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.aka-jrn-authors__panel {
  margin-top: 0;
}

.aka-jrn-authors__panel-head {
  margin-bottom: 1rem;
}

.aka-jrn-authors__table-wrap {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  overflow: auto;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.aka-jrn-authors__table {
  min-width: 640px;
}

.aka-jrn-authors__table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
}

.aka-jrn-authors__table th:nth-child(1),
.aka-jrn-authors__table td:nth-child(1) {
  width: 34%;
}

.aka-jrn-authors__table th:nth-child(2),
.aka-jrn-authors__table td:nth-child(2) {
  width: 28%;
}

.aka-jrn-authors__table th:nth-child(3),
.aka-jrn-authors__table td:nth-child(3) {
  width: 38%;
}

.aka-jrn-authors__table tbody tr:nth-child(even) {
  background: rgba(248, 250, 252, 0.7);
}

.aka-jrn-authors__table tbody tr:hover {
  background: rgba(16, 185, 129, 0.06);
}

.aka-jrn-authors__uni {
  color: var(--aka-muted, #475569);
  font-size: 0.92rem;
  line-height: 1.35;
}

.aka-jrn-authors__uni-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.aka-jrn-authors__uni-link:hover {
  color: var(--aka-ink, #0f1c2e);
  border-bottom-color: rgba(15, 28, 46, 0.25);
}

.aka-jrn-authors__name {
  font-weight: 600;
}

.aka-jrn-authors__name-text {
  color: var(--aka-ink, #0f1c2e);
}

.aka-jrn-authors__doi {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.84rem;
  line-height: 1.4;
}

.aka-jrn-authors__doi .aka-pub-badges {
  margin-top: 0.35rem;
  font-family: inherit;
}

.aka-jrn-authors__doi a {
  color: #c1121f;
  text-decoration: none;
  word-break: break-all;
}

.aka-jrn-authors__doi a:hover {
  text-decoration: underline;
}

.aka-jrn-authors__doi-empty {
  color: var(--aka-muted, #94a3b8);
  font-family: inherit;
}

.aka-jrn-authors__pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
}

.aka-jrn-authors__pager-meta {
  color: var(--aka-muted, #64748b);
  font-size: 0.95rem;
}

.aka-jrn-authors__pager-off {
  opacity: 0.45;
  font-size: 0.95rem;
}

.aka-jrn-authors__back {
  margin-top: 1.5rem;
}

@media (max-width: 720px) {
  .aka-jrn-authors__table {
    min-width: 540px;
  }

  .aka-jrn-authors__doi {
    font-size: 0.78rem;
  }
}

/* ?? TR Index (/tr-dizin) ?? */
.aka-trdizin__tile-years {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: var(--aka-muted, #5b6b7c);
  line-height: 1.35;
}
.aka-trdizin__tile-years-label {
  font-weight: 600;
  color: var(--aka-ink, #0f1c2e);
  margin-right: 0.35rem;
}
.aka-jrn__facet-group {
  margin-top: 0.55rem;
}
.aka-jrn__facet-group-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--aka-muted, #5b6b7c);
}
.aka-trdizin-detail__alt {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}
.aka-trdizin-detail__actions {
  margin: 1.1rem 0 0;
}
.aka-trdizin-detail__web {
  color: inherit;
  word-break: break-all;
}
.aka-trdizin-detail__years-strong {
  font-size: 0.95rem;
  line-height: 1.25;
}
.aka-trdizin-detail__section {
  margin: 1.25rem 0 0;
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(15, 28, 46, 0.08);
  border-radius: 12px;
}
.aka-trdizin-detail__section-head h2 {
  margin: 0;
  font-size: 1.05rem;
}
.aka-trdizin-detail__section-head p {
  margin: 0.35rem 0 0;
  color: var(--aka-muted, #5b6b7c);
  font-size: 0.88rem;
}
.aka-trdizin-detail__body {
  margin: 0.65rem 0 0;
  color: var(--aka-ink-soft, #334155);
  font-size: 0.92rem;
  line-height: 1.45;
}
.aka-trdizin-years {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.aka-trdizin-years__chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  padding: 0.22rem 0.45rem;
  border: 1px solid rgba(15, 28, 46, 0.14);
  color: var(--aka-ink, #0f1c2e);
  background: #f8fafc;
  border-radius: 6px;
}
.aka-trdizin-years__chip--accept {
  border-color: rgba(193, 18, 31, 0.35);
  background: rgba(193, 18, 31, 0.06);
  color: #c1121f;
}
.aka-trdizin-years__chip--reject {
  text-decoration: line-through;
  opacity: 0.55;
}
.aka-trdizin-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.aka-trdizin-subjects li {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(193, 18, 31, 0.06);
  color: #c1121f;
  font-size: 0.8rem;
}
.aka-trdizin-persons {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.aka-trdizin-persons li {
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(15, 28, 46, 0.06);
}
.aka-trdizin-persons li:last-child {
  border-bottom: 0;
}
.aka-trdizin-persons__type {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--aka-muted, #5b6b7c);
}
.aka-trdizin-persons__name {
  font-size: 0.92rem;
  color: var(--aka-ink, #0f1c2e);
}
