/* ============================================================
   YL Research — 迁移研究档案页样式
   极简档案列表风格：极浅米色/象牙白背景，纯文字排版
   ============================================================ */

/* ---------- 页面级 ---------- */
.articles-page {
  background: #f6f3ee;
  color: #1a1a1a;
}

/* 浅色导航覆盖 */
.articles-page .navbar.navbar-light {
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.articles-page .navbar.navbar-light .nav-links a {
  color: #4a4a4a;
}
.articles-page .navbar.navbar-light .nav-links a:hover,
.articles-page .navbar.navbar-light .nav-links a.active {
  color: #1a1a1a;
}
.articles-page .navbar.navbar-light .nav-links a::after {
  background: #1a1a1a;
}
.articles-page .navbar.navbar-light .nav-links a.nav-highlight {
  color: #c9a96e;
  border-color: rgba(201, 169, 110, 0.55);
}
.articles-page .navbar.navbar-light .nav-toggle span {
  background: #1a1a1a;
}

/* ---------- Hero 区域 ---------- */
.ar-hero {
  position: relative;
  padding: 160px 0 72px;
  background: #f6f3ee;
  overflow: hidden;
}

.ar-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.ar-hero .container {
  position: relative;
  z-index: 1;
}

.ar-hero-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 500;
  color: #f6f3ee;
  line-height: 1.2;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.ar-hero-subtitle {
  font-size: 16px;
  color: rgba(246, 243, 238, 0.75);
  line-height: 1.7;
  max-width: 520px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* 重构纪要卡片网格：一行三个 */
.minutes-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .minutes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .minutes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.ar-archive {
  background: #f6f3ee;
  padding: 80px 0 100px;
}

.ar-table {
  width: 100%;
}

/* 表头 */
.ar-thead {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding-bottom: 12px;
  margin-bottom: 0;
}

.ar-th {
  font-size: 13px;
  color: #7a7065;
  letter-spacing: 0.5px;
}

.ar-th-num {
  width: 80px;
  flex-shrink: 0;
}

.ar-th-title {
  flex: 1;
}

.ar-th-date {
  width: 140px;
  flex-shrink: 0;
  text-align: right;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.ar-th-date:hover {
  color: #1a1a1a;
}

.sort-arrow {
  font-size: 12px;
  color: #7a7065;
  transition: transform 0.2s ease;
  display: inline-block;
}

.sort-arrow.asc {
  transform: rotate(180deg);
}

/* 列表行 */
.ar-row {
  display: flex;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.ar-row:hover {
  background: rgba(0, 0, 0, 0.02);
}

.ar-row-num {
  width: 80px;
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: #9a9085;
  line-height: 1.2;
  letter-spacing: 1px;
  padding-top: 2px;
}

.ar-row-body {
  flex: 1;
  padding-right: 32px;
}

.ar-row-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.ar-row-desc {
  font-size: 14px;
  color: #7a7065;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ar-row-date {
  width: 140px;
  flex-shrink: 0;
  text-align: right;
  font-size: 14px;
  color: #7a7065;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 4px;
}

.ar-row-arrow {
  font-size: 16px;
  color: #9a9085;
  transition: transform 0.2s ease, color 0.2s ease;
}

.ar-row:hover .ar-row-arrow {
  transform: translateX(4px);
  color: #1a1a1a;
}

/* ---------- 分页 ---------- */
.ar-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 56px;
}

.ar-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  font-size: 14px;
  color: #7a7065;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 0 8px;
}

.ar-page-btn:hover:not(.active) {
  color: #1a1a1a;
}

.ar-page-btn.active {
  color: #1a1a1a;
  font-weight: 600;
  border-bottom: 2px solid #1a1a1a;
}

.ar-page-btn.disabled {
  color: #ccc;
  cursor: not-allowed;
  opacity: 0.5;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .ar-hero {
    padding: 130px 0 48px;
  }
  .ar-hero-title {
    font-size: 32px;
  }
  .ar-hero-subtitle {
    font-size: 15px;
  }
  .ar-archive {
    padding: 0 0 80px;
  }
  .ar-thead {
    display: none;
  }
  .ar-row {
    flex-wrap: wrap;
    padding: 20px 0;
  }
  .ar-row-num {
    width: auto;
    font-size: 22px;
    margin-right: 16px;
  }
  .ar-row-body {
    flex: 1 1 calc(100% - 60px);
    padding-right: 0;
  }
  .ar-row-date {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
    margin-top: 10px;
    padding-left: 0;
    font-size: 13px;
  }
  .ar-row-title {
    font-size: 15px;
  }
  .ar-row-desc {
    font-size: 13px;
  }
}

@media (max-width: 680px) {
  .ar-hero-title {
    font-size: 28px;
  }
  .ar-row-num {
    font-size: 20px;
  }
}
