/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e4d7b 50%, #2d6a9f 100%);
  padding: 52px 5% 56px; position: relative; overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 50%, rgba(168,212,240,.1) 0%, transparent 60%); }
.page-hero::after { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; border: 1px solid rgba(168,212,240,.08); top: -100px; right: 5%; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 12.5px; position: relative; }
.breadcrumb a { color: rgba(168,212,240,.7); text-decoration: none; }
.breadcrumb a:hover { color: var(--sky); }
.breadcrumb span { color: rgba(168,212,240,.4); }
.breadcrumb strong { color: var(--sky); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; background: rgba(76,175,125,.18); border: 1px solid rgba(76,175,125,.4); color: #7edba8; padding: 5px 14px; border-radius: 30px; font-size: 11.5px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 16px; position: relative; }
.page-hero h1 { font-family: 'Playfair Display',serif; font-size: clamp(28px,4vw,44px); color: var(--white); font-weight: 700; margin-bottom: 14px; position: relative; }
.page-hero p { color: rgba(168,212,240,.82); max-width: 580px; font-size: 15px; line-height: 1.7; position: relative; }
.hero-stats { display: flex; gap: 36px; margin-top: 30px; flex-wrap: wrap; position: relative; }
.hero-stat-num { font-family: 'Space Grotesk',sans-serif; font-size: 26px; font-weight: 700; color: var(--sky); line-height: 1; }
.hero-stat-num sup { font-size: 14px; color: var(--teal); }
.hero-stat-label { font-size: 11px; color: rgba(168,212,240,.6); text-transform: uppercase; letter-spacing: .5px; margin-top: 3px; }
.hero-stat-divider { width: 1px; background: rgba(168,212,240,.2); align-self: stretch; }

/* ── MAIN LAYOUT ── */
.main-wrap { max-width: 1200px; margin: 0 auto; padding: 48px 5% 72px; }

/* ── EDITOR IN CHIEF ── */
.eic-section { margin-bottom: 48px; }
.section-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.section-title { font-family: 'Playfair Display',serif; font-size: clamp(22px,3vw,30px); font-weight: 700; color: var(--navy); margin-bottom: 28px; }

.eic-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark) 50%, var(--primary-light) 100%);
  border-radius: 20px; padding: 36px 40px;
  display: flex; align-items: center; gap: 36px;
  position: relative; overflow: hidden;
}
.eic-card::before {
  content: ''; position: absolute;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(76,175,125,.1), transparent 70%);
  top: -100px; right: 40px;
}
.eic-avatar {
  width: 110px; height: 110px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #2d6a9f, var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk',sans-serif; font-size: 32px; font-weight: 700;
  color: var(--white); border: 4px solid rgba(168,212,240,.3);
  position: relative; z-index: 1;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.eic-role-badge {
  position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: var(--white);
  font-size: 9px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 2px 8px; border-radius: 10px; white-space: nowrap;
}
.eic-info { position: relative; z-index: 1; }
.eic-name { font-family: 'Playfair Display',serif; font-size: 26px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.eic-title { font-size: 14px; color: var(--sky); font-weight: 500; margin-bottom: 14px; }
.eic-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.eic-tag { font-size: 11.5px; padding: 4px 12px; border-radius: 20px; background: rgba(168,212,240,.15); border: 1px solid rgba(168,212,240,.3); color: var(--sky); }
.eic-bio { font-size: 13.5px; color: rgba(168,212,240,.78); line-height: 1.7; max-width: 580px; }
.eic-links { display: flex; gap: 10px; margin-top: 18px; }
.eic-link { font-size: 12px; font-weight: 600; padding: 7px 16px; border-radius: 7px; text-decoration: none; display: flex; align-items: center; gap: 5px; transition: all .2s; }
.eic-link-orcid { background: rgba(168,212,240,.12); color: var(--sky); border: 1px solid rgba(168,212,240,.3); }
.eic-link-orcid:hover { background: rgba(168,212,240,.22); }
.eic-link-rg { background: rgba(76,175,125,.15); color: #7edba8; border: 1px solid rgba(76,175,125,.35); }
.eic-link-rg:hover { background: rgba(76,175,125,.25); }

/* ── SECTION HEADER BAR ── */
.board-section { margin-bottom: 44px; scroll-margin-top: 90px; }
.board-section-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
}
.board-section-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.bsi-blue   { background: #e8f0fb; }
.bsi-teal   { background: #e7f5ef; }
.bsi-orange { background: #fff3e0; }
.bsi-purple { background: #f3e5f5; }
.bsi-green  { background: #f0f7e0; }
.bsi-red    { background: #fdecea; }
.bsi-indigo { background: #eef0ff; }

.board-section-title { font-family: 'Space Grotesk',sans-serif; font-size: 17px; font-weight: 700; color: var(--navy); }
.board-section-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.board-section-line { flex: 1; height: 1.5px; background: linear-gradient(90deg, var(--border), transparent); }
.board-section-count { font-size: 11.5px; color: var(--muted); background: var(--bg); padding: 4px 12px; border-radius: 20px; flex-shrink: 0; font-weight: 500; }

/* ── MEMBER GRID ── */
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

.member-card {
  background: var(--white); border-radius: 14px; border: 1.5px solid var(--border);
  padding: 22px 20px; display: flex; flex-direction: column;
  transition: all .22s; position: relative; overflow: hidden;
}
.member-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--border); transition: background .22s;
}
.member-card:hover { border-color: var(--blue); box-shadow: 0 6px 24px rgba(45,106,159,.11); transform: translateY(-2px); }
.member-card:hover::before { background: var(--blue); }

.member-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.member-avatar {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk',sans-serif; font-size: 16px; font-weight: 700;
  color: var(--white);
}
.av-navy   { background: linear-gradient(135deg, var(--navy), #2d6a9f); }
.av-teal   { background: linear-gradient(135deg, #3d9a6b, var(--teal)); }
.av-blue   { background: linear-gradient(135deg, #1e5f9a, #4a90d9); }
.av-indigo { background: linear-gradient(135deg, #3949ab, #7986cb); }
.av-purple { background: linear-gradient(135deg, #6a1b9a, #ab47bc); }
.av-green  { background: linear-gradient(135deg, #2e7d32, #66bb6a); }
.av-orange { background: linear-gradient(135deg, #e65100, #ff8a50); }
.av-cyan   { background: linear-gradient(135deg, #00838f, #4dd0e1); }

.member-info { flex: 1; min-width: 0; }
.member-name { font-family: 'Space Grotesk',sans-serif; font-size: 14.5px; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 3px; }
.member-designation { font-size: 11.5px; color: var(--blue); font-weight: 500; line-height: 1.4; }
.member-affil { font-size: 11.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; display: flex; align-items: flex-start; gap: 4px; }
.member-affil::before { content: '🏛️'; font-size: 10px; flex-shrink: 0; margin-top: 1px; }
.member-country { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.member-specialties { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.specialty-tag { font-size: 10.5px; padding: 2.5px 9px; border-radius: 5px; background: var(--bg); color: var(--blue); font-weight: 500; border: 1px solid var(--border); }
.member-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.member-orcid { font-size: 10.5px; color: var(--muted); display: flex; align-items: center; gap: 4px; text-decoration: none; }
.member-orcid:hover { color: var(--blue); }
.member-role-dot { width: 8px; height: 8px; border-radius: 50%; }
.role-dot-assoc { background: var(--blue); }
.role-dot-review { background: var(--teal); }
.role-dot-sec { background: #7986cb; }
.member-role-text { font-size: 10.5px; font-weight: 600; }

/* ── STICKY FILTER BAR ── */
.sticky-filter {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 12px 5%; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  position: sticky; top: 64px; z-index: 90;
  box-shadow: 0 2px 8px rgba(26,58,92,.05);
}
.filter-label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; flex-shrink: 0; }
.filter-chips { display: flex; gap: 7px; flex-wrap: wrap; flex: 1; }
.chip { padding: 5px 14px; border-radius: 20px; font-size: 12.5px; font-weight: 500; cursor: pointer; border: 1.5px solid var(--border); background: var(--bgsoft); color: var(--muted); transition: all .18s; text-decoration: none; display: inline-block; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.search-mini { display: flex; gap: 0; background: var(--bgsoft); border-radius: 8px; border: 1.5px solid var(--border); overflow: hidden; margin-left: auto; }
.search-mini input { border: none; background: transparent; padding: 7px 12px; font-size: 13px; outline: none; font-family: 'Inter',sans-serif; width: 200px; color: var(--text); }
.search-mini input::placeholder { color: var(--muted); }
.search-mini button { background: var(--blue); border: none; color: var(--white); padding: 7px 12px; cursor: pointer; font-size: 13px; }

/* ── JOIN CTA ── */
.join-cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  border-radius: 20px; padding: 48px 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  margin-top: 48px; position: relative; overflow: hidden;
}
.join-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(76,175,125,.12), transparent 60%);
}
.join-cta h2 { font-family: 'Playfair Display',serif; font-size: 26px; font-weight: 700; color: var(--white); margin-bottom: 10px; position: relative; }
.join-cta p { color: rgba(168,212,240,.78); font-size: 14.5px; line-height: 1.65; max-width: 520px; position: relative; }
.join-cta-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; position: relative; }
.join-cta-actions .btn-teal { white-space: nowrap; }
.join-cta-actions .btn-outline { border: 1.5px solid rgba(168,212,240,.3); color: var(--dark-primary); background: rgba(168,212,240,.08); white-space: nowrap; }
.join-cta-actions .btn-outline:hover { background: rgba(168,212,240,.15); }

/* ── GLOBAL REACH MAP ── */
.reach-section { margin-bottom: 44px; }
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.country-item {
  background: var(--white); border-radius: 10px; border: 1.5px solid var(--border);
  padding: 12px 14px; display: flex; align-items: center; gap: 10px;
  transition: all .18s;
}
.country-item:hover { border-color: var(--blue); background: var(--bg); }
.country-flag { font-size: 20px; }
.country-name { font-size: 13px; font-weight: 500; color: var(--navy); }
.country-count { font-size: 11px; color: var(--muted); }

/* ── NO RESULTS ── */
#no-results { display: none; text-align: center; padding: 48px; background: var(--white); border-radius: 14px; border: 1.5px dashed var(--border); margin-top: 24px; }

/* ── FOOTER ── */
footer { background: var(--navy); color: rgba(168,212,240,.75); padding: 48px 5% 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand p { font-size: 13px; line-height: 1.65; max-width: 260px; margin-top: 12px; }
.footer-contact { margin-top: 16px; font-size: 12.5px; }
.footer-contact div { margin-bottom: 5px; display: flex; gap: 7px; }
.footer-col h5 { font-family: 'Space Grotesk',sans-serif; font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(168,212,240,.65); text-decoration: none; font-size: 13px; margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--sky); }
.footer-bottom { border-top: 1px solid rgba(168,212,240,.15); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; }
.footer-bottom p { color: rgba(168,212,240,.5); }
.footer-badges { display: flex; gap: 10px; }
.fb { padding: 4px 10px; border-radius: 20px; font-size: 10.5px; font-weight: 600; border: 1px solid rgba(168,212,240,.25); color: rgba(168,212,240,.6); }

@media (max-width: 900px) {
  .eic-card { flex-direction: column; padding: 28px; }
  .join-cta { grid-template-columns: 1fr; }
  .join-cta-actions { flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .member-grid { grid-template-columns: 1fr; }
  .search-mini input { width: 130px; }
}