/* Issue List Page Styles */

:root {
  --title: #1b3051;
  --text: #1f2937;
  --muted: #667085;
  --line: #e6e7eb;
  --accent: #33629d;
}

/* Main Container */
.issue-wrap {
  max-width: 1100px;
  margin: 36px auto;
  padding: 0 20px;
}

/* Header Section */
.issue-head {
  margin: 0 0 18px;
}

.issue-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 900;
  color: var(--title);
}

.issue-sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.issue-sub a {
  color: var(--title);
  text-decoration: none;
}

.issue-sub a:hover {
  text-decoration: underline;
}

/* Article List */
.list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

/* Article Type Header */
.article-type-header {
  margin-top: 32px;
  margin-bottom: 16px;
}

.article-type-header:first-child {
  margin-top: 16px;
}

.article-type-title {
  margin: 0;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--title);
  background-color: #f8f9fa;
  border-left: 4px solid var(--accent);
  border-radius: 2px;
}

/* Cover Page */
.cover-page-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cover-page-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s ease;
}

.cover-page-link:hover {
  opacity: 0.7;
}

.cover-page-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.cover-page-text {
  line-height: 1.4;
  text-decoration: underline;
}

.item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.item-title {
  margin: 0 0 6px;
  line-height: 1.3;
  font-weight: 800;
  font-size: 19px;
}

.item-title a {
  color: var(--title);
  text-decoration: none;
}

.item-title a:hover {
  text-decoration: underline;
}

/* Article Meta */
.meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 6px;
}

.pages {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 6px;
}

.authors {
  color: var(--text);
  font-size: 14px;
  margin: 0 0 10px;
}

/* Actions (Links) */
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.actions a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 400;
  transition: color 0.2s ease;
}

.actions a:hover {
  color: var(--title);
  text-decoration: underline;
}

.action-sep {
  color: #cbd5e1;
  font-weight: 300;
  user-select: none;
}

/* Empty State */
.empty-state {
  margin: 14px 0;
  color: var(--muted);
}

/* Citation Modal */
.citation-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.citation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.citation-content {
  position: relative;
  background: white;
  border-radius: 8px;
  padding: 32px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.citation-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.citation-close:hover {
  color: var(--title);
}

.citation-title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
  color: var(--title);
}

.citation-text {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 6px;
  border-left: 3px solid var(--accent);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  word-wrap: break-word;
}

.citation-copy {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.citation-copy:hover {
  opacity: 0.85;
}

.citation-copy:active {
  transform: scale(0.98);
}