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

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

/* ---- Main container (full-bleed like other pages) ---- */
.authors-main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px 24px;
  box-sizing: border-box;
}

/* ---- Year tabs (underline style, single full-width row) ---- */
.authors-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%;
}
.authors-tab {
  flex: 1 1 0 !important;          /* equal width, fill the row */
  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;
}
.authors-tab:hover {
  color: #0bb89c !important;
  background: rgba(11,184,156,0.04) !important;
}
.authors-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 ---- */
.authors-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: authors-fadeIn 0.35s ease;
}
@keyframes authors-fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Section headers ---- */
.author-section-header-wrap {
  margin-top: 32px;
  margin-bottom: 12px;
}
.author-section-header-wrap:first-child {
  margin-top: 0;
}
.author-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid #0bb89c;
  padding-left: 14px;
}
.author-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1b3b5a;
  letter-spacing: 0.2px;
}
.author-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 ---- */
.authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 6px 16px;
  margin-bottom: 4px;
}

/* ---- Card — borderless, compact row ---- */
.author-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  transition: background 0.2s;
  cursor: default;
}
.author-card:hover {
  background: rgba(11,184,156,0.06);
}
.author-card--lead {
  background: transparent;
}
.author-card--featured {
  background: linear-gradient(135deg, #f0fdf9 0%, #e6faf4 100%);
  border: none;
  border-left: 4px solid #d4a84b;
  border-radius: 8px;
  padding: 14px 18px;
}
.author-card--featured:hover {
  background: linear-gradient(135deg, #e6faf4 0%, #d9f5ed 100%);
}
.author-featured-wrap {
  margin-bottom: 6px;
  max-width: 480px;
}

/* ---- Avatar ---- */
.author-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);
}
.author-avatar--featured {
  width: 46px;
  height: 46px;
  font-size: 1rem;
  background: linear-gradient(135deg, #d4a84b 0%, #c49a3c 100%) !important;
  box-shadow: 0 2px 8px rgba(212,168,75,0.20);
}

/* ---- Info ---- */
.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.author-name {
  font-size: 15px;
  font-weight: 600;
  color: #1b3b5a;
  line-height: 1.3;
  word-break: break-word;
}
.author-name--featured {
  font-size: 17px;
  font-weight: 700;
}
.author-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;
}
.author-role-badge {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #0bb89c;
  margin-bottom: 2px;
}
.author-role-badge--featured {
  color: #c49a3c;
}

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

/* --- End Authors Page Styles --- */
