/* The public directory is a portrait-led community, with one warm focal point. */
.experts-page {
  --canvas: #080e17;
  --ink: #edf1f5;
  --muted: #96a8b9;
  --line: #263340;
  --green: #8bced5;
  background: var(--canvas);
}
.experts-page::before {
  height: 760px;
  background: radial-gradient(ellipse at 81% 0, #24445325, transparent 53%), radial-gradient(ellipse at 14% 55%, #26343f19, transparent 45%);
}
.experts-page .site-header { background: #0b131ed9; border-bottom: 1px solid #8197ad15; }
.experts-page .header-inner {
  max-width: 1280px;
  min-height: 78px;
  gap: 44px;
  padding: 0 32px;
}
.experts-page .brand { gap: 11px; font-size: 22px; font-weight: 650; letter-spacing: -.3px; }
.experts-page .brand-mark { width: 37px; height: 37px; border-color: #7dd1da36; background: #112631; border-radius: 11px; color: #91d5dc; box-shadow: none; }
.experts-page .brand-mark svg { width: 25px; height: 25px; }
.experts-page .nav { gap: 32px; }
.experts-page .nav-link { color: #94a5b7; font-size: 14px; font-weight: 500; }
.experts-page .nav-link:hover, .experts-page .nav-link.active { color: #eef4f6; }
.experts-page .nav-link.active::after { height: 2px; left: calc(50% - 16px); right: calc(50% - 16px); background: #93d5da; box-shadow: none; }
.experts-page .header-search { width: 246px; border-color: #7b96ae24; border-radius: 9px; background: #121d2a; padding: 0 13px; }
.experts-page .header-search input { height: 39px; font-size: 13px; }
.experts-page .header-search input::placeholder { color: #8195a8; }
.experts-page .header-search:focus-within { border-color: #84bcc7; box-shadow: 0 0 0 3px #6cb7c30a; }
.experts-page .search-icon { width: 17px; height: 17px; color: #8aa1b5; }
.experts-page.home-view .main-shell { max-width: 1280px; padding: 29px 32px 54px; }
.experts-page.home-view .intro-experts {
  min-height: 120px;
  margin: 0 0 24px;
  gap: 36px;
  align-items: center;
}
.experts-page.home-view .intro-experts .intro-copy { flex: 0 1 auto; min-width: 0; max-width: none; }
.experts-page.home-view .intro-experts .intro-heading {
  display: block;
  margin: 0;
  font-family: var(--font-display, "Bahnschrift", "PingFang SC", "Microsoft YaHei", sans-serif);
  font-size: clamp(34px, 2.8vw, 40px);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -1px;
  color: #f0f3f6;
}
.experts-page .intro-experts .intro-copy::after { content: ""; display: block; width: 34px; height: 2px; margin-top: 18px; background: #a3cbd0; }
.experts-page .expert-community { min-width: 0; max-width: 720px; display: flex; flex:1 1 640px; flex-direction: column; align-items: flex-start; gap: 15px; padding:22px 26px; border:1px solid #45829a55; border-radius:14px 4px 14px 4px; background:linear-gradient(115deg,#173b4d88,#112237bb 75%); box-shadow:inset 3px 0 #81dbe76b; }
.experts-page .expert-avatar-stack { display: flex; align-items: center; isolation: isolate; padding-left: 2px; }
.experts-page .expert-stack-avatar, .experts-page .expert-stack-more {
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  margin-left: -15px;
  border: 3px solid #0b121c;
  border-radius: 50%;
  background: #25333e;
  color: #bdd1dc;
}
.experts-page .expert-stack-avatar:first-child { margin-left: 0; }
.experts-page .expert-stack-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.experts-page .expert-stack-more { flex-basis: 64px; width: 64px; border-radius: 30px; background: #20465a; color: #d2f5ff; font-family:var(--font-numeric); font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.experts-page .expert-community-copy { text-align: left; }
.experts-page .expert-community-copy p { margin: 0; color: #e5f6ff; font-size: 21px; font-weight:600; line-height: 1.55; }
.experts-page .expert-community-copy span { display: block; margin-top: 7px; color: #abc7da; font-size: 15px; line-height: 1.6; }
.experts-page.home-view .profile-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.experts-page.home-view .profile-card {
  height: 192px;
  border: 1px solid #8598b013;
  border-radius: 15px;
  background: linear-gradient(145deg, #14202d, #101924 80%);
  box-shadow: inset 0 1px 0 #dbe9f307;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.experts-page.home-view .profile-card .card-identity { padding: 21px 12px 12px; gap: 14px; }
.experts-page.home-view .profile-card .card-identity > .avatar {
  width: 92px;
  height: 92px;
  margin: 0;
  border: 3px solid #1b2936;
  box-shadow: 0 0 0 1px #a2bdca3b, 0 7px 18px #00000035;
}
.experts-page.home-view .profile-card .avatar-fallback { color: #a9c8d3; background: #213441; }
.experts-page.home-view .profile-card .avatar-word { font-size: 31px; font-weight: 600; }
.experts-page.home-view .profile-card .profile-name { color: #e1e8ee; font-size: 18px; font-weight: 550; letter-spacing: .015em; line-height: 25px; max-height: 50px; }
.experts-page.home-view .profile-card:not(.placeholder-card):hover,
.experts-page.home-view .profile-card:not(.placeholder-card):focus-within {
  transform: translateY(-3px);
  border-color: #82b7c14d;
  background: linear-gradient(145deg, #192936, #121e2b 80%);
  box-shadow: inset 0 1px 0 #dbe9f310, 0 12px 28px #00000032;
}
.experts-page.home-view .profile-card .card-link:focus-visible { outline: 2px solid #9bd6dc; outline-offset: -3px; border-radius: inherit; }
.experts-page.home-view .profile-card.placeholder-card { border-style: dashed; border-color: #7e92a51b; background: #0e1721; box-shadow: none; }
.experts-page.home-view .profile-card .placeholder-avatar { background: #172531; border-color: #172531; box-shadow: 0 0 0 1px #748b9a25; color: #607d91; }
.experts-page.home-view .profile-card .placeholder-name { color: #6f879a; font-weight: 400; }
.experts-page .card-grid-count { margin: 0 0 16px; color: #95a7b8; font-size: 13px; }
.experts-page.home-view .footer { max-width: 1216px; margin: 0 auto; padding: 23px 0 29px; border-color: #7f97ae1c; color: #72899d; font-size: 12px; }
.experts-page .footer strong { font-weight: 550; color: #a5b5c2; }
.experts-page.home-view .footer #storage-note { color: #718699; font-size: 12px; }

@media (max-width: 1100px) {
  .experts-page .header-inner { gap: 28px; }
  .experts-page .header-search { width: 214px; }
  .experts-page.home-view .intro-experts { gap: 24px; }
  .experts-page .expert-community { padding:20px; }
  .experts-page .expert-stack-avatar { width:48px; height:48px; flex-basis:48px; margin-left:-14px; }
  .experts-page .expert-stack-more { width:56px; height:48px; flex-basis:56px; margin-left:-14px; }
  .experts-page .expert-community-copy p { font-size:19px; }
  .experts-page.home-view .profile-grid { gap: 13px; }
  .experts-page.home-view .profile-card .card-identity { padding-right: 8px; padding-left: 8px; }
  .experts-page.home-view .footer { margin-right: 32px; margin-left: 32px; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .experts-page .header-inner { gap: 23px; padding-right: 24px; padding-left: 24px; }
  .experts-page .brand { font-size: 20px; }
  .experts-page .nav { gap: 22px; }
  .experts-page .header-search { width: 174px; }
  .experts-page.home-view .main-shell { padding-right: 24px; padding-left: 24px; }
  .experts-page.home-view .intro-experts .intro-heading { font-size: 34px; }
  .experts-page.home-view .intro-experts { flex-direction:column; align-items:stretch; }
  .experts-page .expert-community { flex:0 1 auto; max-width:none; }
  .experts-page .expert-community-copy p { font-size: 20px; }
  .experts-page.home-view .profile-card .card-identity > .avatar { width: 88px; height: 88px; }
  .experts-page.home-view .profile-card .profile-name { font-size: 16px; }
}
@media (max-width: 760px) {
  .experts-page .header-inner { min-height: 0; padding: 17px 20px 14px; gap: 13px 20px; }
  .experts-page .brand { font-size: 21px; }
  .experts-page .site-header .nav { order: 2; flex: 0 0 100%; height: 38px; min-height: 38px; gap: 27px; }
  .experts-page .site-header .header-search { order: 3; flex: 0 0 100%; margin-top: 0; }
  .experts-page .header-search input { height: 38px; }
  .experts-page.home-view .main-shell { padding: 25px 20px 34px; }
  .experts-page.home-view .intro-experts { min-height: 0; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
  .experts-page.home-view .intro-experts .intro-heading { font-size: 31px; letter-spacing: -.7px; }
  .experts-page .intro-experts .intro-copy::after { display: none; }
  .experts-page .expert-community { align-items: flex-start; gap: 14px; max-width: 100%; width:100%; flex:0 1 auto; padding:19px 16px; }
  .experts-page .expert-stack-avatar { width: 38px; height: 38px; flex-basis: 38px; border-width: 2px; margin-left: -14px; }
  .experts-page .expert-stack-more { height: 38px; width: 44px; flex-basis: 44px; border-width: 2px; margin-left: -14px; font-size:14px; }
  .experts-page .expert-community-copy { text-align: left; }
  .experts-page .expert-community-copy p { font-size: 19px; }
  .experts-page .expert-community-copy span { display: block; font-size: 14px; }
  .experts-page.home-view .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .experts-page.home-view .profile-card { height: 184px; border-radius: 13px; }
  .experts-page.home-view .profile-card .card-identity { padding: 20px 10px 12px; gap: 13px; }
  .experts-page.home-view .profile-card .card-identity > .avatar { width: 88px; height: 88px; }
  .experts-page.home-view .profile-card .profile-name { font-size: 17px; line-height: 24px; max-height: 48px; }
  .experts-page.home-view .footer { margin: 0 20px; padding-top: 21px; gap: 7px; }
}
@media (max-width: 360px) {
  .experts-page .header-inner { padding-right: 16px; padding-left: 16px; }
  .experts-page.home-view .main-shell { padding-right: 16px; padding-left: 16px; }
  .experts-page.home-view .intro-experts .intro-heading { font-size: 29px; }
  .experts-page.home-view .profile-grid { gap: 10px; }
  .experts-page.home-view .profile-card .profile-name { font-size: 16px; }
  .experts-page .expert-community-copy p { max-width: 25em; }
}
@media (prefers-reduced-motion: reduce) {
  .experts-page.home-view .profile-card { transition: none; }
  .experts-page.home-view .profile-card:not(.placeholder-card):hover,
  .experts-page.home-view .profile-card:not(.placeholder-card):focus-within { transform: none; }
}
