/* Issue List Page Styles - Japanese Minimal Design */

:root {
  --primary-dark: #1a3d5c;
  --primary-teal: #007c91;
  --accent-warm: #c44536;
  --text-primary: #2d2d2d;
  --text-muted: #6b7280;
  --bg-cream: #fdfcfb;
  --bg-subtle: #f8f7f6;
  --border-light: #e5e3e0;
  --surface: #fff;
}

/* Main Container */
.issue-wrap {
  max-width: 1180px;
  margin: 56px auto;
  padding: 0 24px;
  background: var(--bg-cream);
}

/* Header Section */
.issue-head {
  margin: 0 0 32px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--border-light);
}

.issue-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.3;
  font-weight: 700;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--primary-dark);
  letter-spacing: -0.4px;
}

.issue-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}

.issue-sub a {
  color: var(--primary-teal);
  text-decoration: none;
  border-bottom: 1px dotted var(--primary-teal);
}

.issue-sub a:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}

/* Article List */
.list {
  margin-top: 0;
  border-top: none;
}

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

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

.article-type-title {
  margin: 0;
  padding: 14px 20px;
  font-size: 17px;
  font-weight: 600;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--primary-dark);
  background-color: var(--bg-subtle);
  border-left: 3px solid var(--primary-dark);
  border-radius: 2px;
  letter-spacing: -0.2px;
}

/* Cover Page */
.cover-page-item {
  padding: 18px 0;
  border-bottom: 1px dotted var(--border-light);
}

.cover-page-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-teal);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px dotted var(--primary-teal);
  transition: all 0.2s ease;
}

.cover-page-link:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}

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

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

.item {
  padding: 22px 0;
  border-bottom: 1px dotted var(--border-light);
  transition: all 0.2s ease;
}

.item:hover {
  background: var(--bg-subtle);
  margin: 0 -16px;
  padding: 22px 16px;
  border-radius: 2px;
}

.item-title {
  margin: 0 0 10px;
  line-height: 1.4;
  font-weight: 700;
  font-size: 20px;
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: -0.3px;
}

.item-title a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: all 0.2s ease;
}

.item-title a:hover {
  color: var(--primary-teal);
}

/* Article Meta */
.meta {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 8px;
  line-height: 1.6;
}

.pages {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 8px;
  line-height: 1.6;
}

.authors {
  color: var(--text-primary);
  font-size: 15px;
  margin: 0 0 12px;
  line-height: 1.6;
  font-weight: 500;
}

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

.actions a {
  color: var(--primary-teal);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted var(--primary-teal);
  transition: all 0.2s ease;
}

.actions a:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}

.action-sep {
  color: var(--border-light);
  font-weight: 300;
  user-select: none;
}

/* Empty State */
.empty-state {
  margin: 24px 0;
  padding: 32px;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border-radius: 2px;
  border: 1px solid var(--border-light);
}

/* 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.6);
  backdrop-filter: blur(3px);
}

.citation-content {
  position: relative;
  background: var(--surface);
  border-radius: 2px;
  padding: 36px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-light);
  z-index: 1;
}

.citation-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  font-size: 20px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.citation-close:hover {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  color: white;
}

.citation-title {
  margin: 0 0 24px;
  padding-bottom: 16px;
  font-size: 22px;
  font-weight: 600;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--primary-dark);
  border-bottom: 1px dashed var(--border-light);
}

.citation-text {
  background: var(--bg-cream);
  padding: 18px 20px;
  border-radius: 2px;
  border-left: 3px solid var(--primary-dark);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 24px;
  word-wrap: break-word;
  font-style: italic;
}

.citation-copy {
  background: var(--primary-dark);
  color: white;
  border: 2px solid var(--primary-dark);
  padding: 12px 24px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.citation-copy:hover {
  background: #0f2942;
  border-color: #0f2942;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 41, 66, 0.2);
}

.citation-copy:active {
  transform: translateY(0);
}