/* ============================================================
   Reviewers page — aligned with the Authors / Publications design.
   Clean white hero, navy headings, teal accents, compact reviewer
   grid with avatar initials. Font inherited from the site body.
   ============================================================ */

/* ---- Hero banner (clean light, dark professional text) ---- */
.reviewers-hero {
  background: #ffffff;
  padding: 40px 24px 26px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid #e8ece9;
}
.reviewers-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}
.reviewers-hero-title {
  color: #1b2733;
  font-size: 30px;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.2px;
}
.reviewers-hero-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 14px auto 0;
  background: #0bb89c;
  border-radius: 2px;
}
.reviewers-hero-subtitle {
  color: #5a6b73;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  margin: 16px auto 0;
  max-width: 680px;
}

/* ---- Main container ---- */
.reviewers-main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px 24px;
  box-sizing: border-box;
}

/* ---- Year tabs (single full-width underline row) ---- */
.reviewers-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: stretch;
  gap: 0;
  margin: 28px 0 0 0;
  border-bottom: 2px solid #e6ebe9 !important;
  height: auto !important;
  align-items: flex-end;
  width: 100%;
}
.reviewers-tab {
  flex: 1 1 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: none !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  background: transparent !important;
  color: #5a6b73 !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  white-space: nowrap;
  padding: 16px 8px !important;
  cursor: pointer;
  border-bottom: 3px solid transparent !important;
  margin-bottom: -2px !important;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.reviewers-tab:hover {
  color: #0bb89c !important;
  background: rgba(11,184,156,0.04) !important;
}
.reviewers-tab--selected {
  background: transparent !important;
  color: #0bb89c !important;
  font-weight: 700 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 3px solid #0bb89c !important;
}

/* ---- Tab content area ---- */
.reviewers-content {
  background: #fff;
  border-radius: 0 0 12px 12px;
  padding: 36px 32px 44px 32px;
  min-height: 400px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  border: 1px solid #e8ece9;
  border-top: none;
  animation: reviewers-fadeIn 0.35s ease;
}
@keyframes reviewers-fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Section header ---- */
.reviewer-section-header-wrap {
  margin-top: 32px;
  margin-bottom: 12px;
}
.reviewer-section-header-wrap:first-child {
  margin-top: 0;
}
.reviewer-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid #0bb89c;
  padding-left: 14px;
}
.reviewer-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1b3b5a;
  letter-spacing: 0.2px;
}
.reviewer-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0bb89c 0%, #2db29b 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  min-width: 30px;
  height: 30px;
  border-radius: 15px;
  padding: 0 8px;
  margin-left: 4px;
}

/* ---- Grid — compact, auto-fill columns ---- */
.reviewer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 6px 16px;
  margin-bottom: 4px;
}

/* ---- Card — borderless, compact row ---- */
.reviewer-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  transition: background 0.2s;
  cursor: default;
}
.reviewer-card:hover {
  background: rgba(11,184,156,0.06);
}

/* ---- Avatar ---- */
.reviewer-avatar {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 1px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* ---- Info ---- */
.reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.reviewer-name {
  font-size: 15px;
  font-weight: 600;
  color: #1b3b5a;
  line-height: 1.3;
  word-break: break-word;
}
.reviewer-affiliation {
  font-size: 13px;
  color: #6b8a7e;
  font-weight: 500;
  background: #eef5f2;
  padding: 2px 10px;
  border-radius: 10px;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .reviewers-main {
    padding: 0 12px 24px 12px;
  }
  .reviewers-content {
    padding: 24px 16px 28px 16px;
  }
  .reviewer-grid {
    grid-template-columns: 1fr;
  }
  .reviewers-tab {
    padding: 13px 6px !important;
    font-size: 0.9rem !important;
  }
}

/* --- End Reviewers Page Styles --- */
