/* -----------------------------------
   Global tweaks
----------------------------------- */

a {
  text-decoration: none;
}

/* -----------------------------------
   Navbar tweaks
----------------------------------- */

/* Add separators only on larger screens,
   for mobile stacked nav they look weird */
@media (min-width: 992px) {
  .nav-item {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0 0.75rem;
  }

  .nav-item:last-child {
    border-right: none;
  }
}

.header-actions {
  gap: 0.25rem;
  flex-shrink: 0;
}

.site-search-wrap {
  position: relative;
  margin-left: 0.75rem;
}

.site-search-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #fff;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-search-toggle:hover,
.site-search-toggle:focus {
  color: #0054ff;
  border-color: #0054ff;
}

.site-search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1050;
  width: 380px;
  max-width: calc(100vw - 32px);
  padding: 14px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
  display: none;
}

.site-search-panel.is-open {
  display: block;
}

.site-search-panel .input-group {
  border: 1px solid #b7cff5;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.site-search-panel .form-control,
.site-search-panel .btn {
  height: 38px;
  border: 0;
  box-shadow: none;
}

.site-search-panel .form-control {
  font-size: 14px;
  padding-left: 12px;
}

.site-search-panel .form-control:focus {
  box-shadow: none;
}

.site-search-panel .input-group:focus-within {
  border-color: #0054ff;
  box-shadow: 0 0 0 3px rgba(0, 84, 255, 0.14);
}

.site-search-panel .btn {
  width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.site-search-help {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.35;
  color: #64748b;
  white-space: nowrap;
}

.site-search-help.is-error {
  color: #dc3545;
}

@media (max-width: 991.98px) {
  .header-actions {
    align-items: flex-start !important;
    flex-wrap: wrap;
  }

  .site-search-wrap {
    margin-top: 0.75rem;
    margin-left: 0;
  }

  .site-search-panel {
    left: 0;
    right: auto;
    width: min(360px, calc(100vw - 32px));
  }
}

article {
  line-height: 1.6;
}

.journal-metric {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.journal-metric:last-child {
  border-bottom: none;
}

.journal-metric strong {
  font-weight: 500;
  color: #333;
}

.journal-metric span {
  color: #000;
}

/* ===== Archive Design ===== */

.archive-year-box {
  border: 1px solid #e3e6ea;
  border-radius: 10px;
  padding: 16px 18px;
  background-color: #fff;
}

.archive-year-header {
  border-bottom: 1px dashed #dcdcdc;
  padding-bottom: 8px;
}

.archive-year {
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.archive-volume {
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

.archive-issues-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.archive-issue-pill {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #0d6efd;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #0d6efd;
  text-decoration: none;
  background-color: #f8faff;
  transition: all 0.2s ease-in-out;
}

.archive-issue-pill:hover {
  background-color: #0d6efd;
  color: #fff;
  text-decoration: none;
}

.current-issue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.current-issue-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #d8e7fb;
  border-radius: 16px;
  background: linear-gradient(135deg, #f4f9ff 0%, #ffffff 100%);
  box-shadow: 0 10px 24px rgba(12, 87, 145, 0.08);
}

.current-issue-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0c5791;
  background: #e9f2ff;
  border: 1px solid #cfe0fb;
  border-radius: 999px;
  padding: 6px 10px;
}

.current-issue-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.current-issue-chip {
  min-width: 92px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.current-issue-chip small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.current-issue-chip strong {
  font-size: 1.05rem;
  line-height: 1.1;
  color: #0f172a;
}

@media (max-width: 991.98px) {
  .current-issue-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .current-issue-meta {
    width: 100%;
  }

  .current-issue-chip {
    min-width: 84px;
  }
}

/* Journal hero, navbar brand, and theme colors now live in jinbs-theme.css */
