/* akaturk.com /akademisyenler — hub redesign (2026-09-25)
   Search card + filters aside + overview (KPIs, featured top lists, browse-by
   chips) or results list. Loads after akaturk-academician.css; the old hub
   classes only remain on the aside (drawer behaviour on mobile). */

.aka-aca-hub-body {
  --h-ink: #141a2b;
  --h-muted: #5c6675;
  --h-faint: #8892a4;
  --h-line: #ebe4e5;
  --h-soft: #fbf8f8;
  --h-red: #c1121f;
  --h-red-soft: #fdecec;
  --h-red-tint: #fff6f6;
  --h-green: #047857;
  --h-green-soft: #e6f5ef;
  --h-radius: 18px;
  --h-shadow: 0 1px 2px rgba(20, 10, 12, 0.03);
  background: #ffffff;
}
.aka-hub2__shell { padding-top: 1.5rem; }
.aka-hub2__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  margin: 0;
}

/* ───────────────────────── Search card ───────────────────────── */
.aka-hub2__search {
  grid-column: 1 / -1;
  padding: 0.85rem;
  background: #ffffff;
  border: 1px solid var(--h-line);
  border-radius: var(--h-radius);
  box-shadow: 0 18px 44px rgba(20, 10, 12, 0.08), 0 2px 8px rgba(20, 10, 12, 0.04);
}
.aka-hub2__search-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.3rem 0.3rem 1rem;
  border: 1.5px solid #e6dcdd;
  border-radius: 14px;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.aka-hub2__search-box:focus-within { border-color: var(--h-red); box-shadow: 0 0 0 4px var(--h-red-soft); }
.aka-hub2__search-icon { flex-shrink: 0; color: var(--h-red); }
.aka-hub2__search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0.8rem 0.25rem;
  font: inherit;
  font-size: 1.08rem;
  color: var(--h-ink);
  outline: none;
}
.aka-hub2__search-input::placeholder { color: #9aa1ad; }
.aka-hub2__search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.aka-hub2__search-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  border-radius: 10px;
  background: var(--h-red);
  color: #ffffff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.82rem 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(193, 18, 31, 0.24);
}
.aka-hub2__search-btn:hover { background: #9a0e18; }
.aka-hub2__search-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin-top: 0.6rem; padding: 0 0.35rem; }
.aka-hub2__hint { margin: 0; font-size: 0.8rem; color: var(--h-faint); }
.aka-hub2__filters-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--h-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--h-ink);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}
.aka-hub2__filters-badge { display: inline-grid; place-items: center; min-width: 1.25rem; height: 1.25rem; padding: 0 0.3rem; border-radius: 999px; background: var(--h-red); color: #ffffff; font-size: 0.68rem; }

/* ───────────────────────── Filters aside ───────────────────────── */
.aka-aca-hub__aside.aka-hub2__aside {
  position: sticky;
  top: calc(var(--aka-nav-h, 52px) + 1rem);
  max-height: none;
  padding: 1.1rem 1.1rem 1.2rem;
  background: #ffffff;
  border: 1px solid var(--h-line);
  border-right: 1px solid var(--h-line);
  border-radius: var(--h-radius);
  box-shadow: var(--h-shadow);
  overflow: visible;
}
.aka-hub2__aside-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.aka-hub2__aside-title { margin: 0; font-size: 1rem; font-weight: 800; letter-spacing: -0.02em; color: var(--h-ink); }
.aka-hub2__aside-lead { margin: 0.35rem 0 0.9rem; font-size: 0.8rem; color: var(--h-muted); }
.aka-hub2__fields { display: flex; flex-direction: column; gap: 0.7rem; }
.aka-hub2__field label { display: block; margin-bottom: 0.3rem; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--h-faint); }
.aka-hub2__field input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid #e6dcdd;
  border-radius: 12px;
  background: #ffffff;
  font: inherit;
  font-size: 0.9rem;
  color: var(--h-ink);
}
.aka-hub2__field input:focus { outline: none; border-color: var(--h-red); box-shadow: 0 0 0 4px var(--h-red-soft); }
.aka-hub2__aside-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; margin-top: 1rem; }
.aka-hub2__apply {
  flex: 1 1 auto;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 12px;
  background: var(--h-ink);
  color: #ffffff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}
.aka-hub2__apply:hover { background: var(--h-red); }
.aka-hub2__clear { font-size: 0.84rem; font-weight: 600; color: var(--h-muted); }
.aka-hub2__clear:hover { color: var(--h-red); }
.aka-hub2__chip-active { margin: 0.9rem 0 0; padding: 0.6rem 0.75rem; border-radius: 12px; background: var(--h-red-tint); border: 1px solid #f3c3c7; font-size: 0.82rem; color: var(--h-ink); }
.aka-hub2__chip-active a { margin-left: 0.4rem; color: var(--h-red); font-weight: 700; }

/* ───────────────────────── Main column ───────────────────────── */
.aka-hub2__main { min-width: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.aka-hub2__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.aka-hub2__kpi {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--h-line);
  border-radius: 14px;
  background: var(--h-soft);
}
.aka-hub2__kpi strong { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em; color: var(--h-ink); font-variant-numeric: tabular-nums; }
.aka-hub2__kpi span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--h-faint); }
.aka-hub2__kpi--accent { background: var(--h-red-tint); border-color: #f5dcdf; }
.aka-hub2__kpi--accent strong { color: var(--h-red); }
.aka-hub2__kpi--oa strong { color: var(--h-green); }

.aka-hub2__block {
  padding: 1.25rem 1.4rem 1.4rem;
  background: #ffffff;
  border: 1px solid var(--h-line);
  border-radius: var(--h-radius);
  box-shadow: var(--h-shadow);
}
.aka-hub2__block-head { margin-bottom: 1rem; }
.aka-hub2__block-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.aka-hub2__block-head .aka-section__label { margin-bottom: 0.2rem; }
.aka-hub2__block-title { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.025em; color: var(--h-ink); }
.aka-hub2__block-lead { margin: 0.3rem 0 0; font-size: 0.86rem; color: var(--h-muted); }

/* featured top lists */
.aka-hub2__top-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.aka-hub2__top { min-width: 0; padding: 0.9rem 0.9rem 0.6rem; border: 1px solid var(--h-line); border-radius: 14px; background: var(--h-soft); }
.aka-hub2__top-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.5rem; }
.aka-hub2__top-title { margin: 0; font-size: 0.86rem; font-weight: 800; color: var(--h-ink); }
.aka-hub2__top-all { flex-shrink: 0; font-size: 0.76rem; font-weight: 700; color: var(--h-red); text-decoration: none; white-space: nowrap; }
.aka-hub2__top-all:hover { text-decoration: underline; }
.aka-hub2__top-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.aka-hub2__top-row {
  display: grid;
  grid-template-columns: 1.25rem 2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.25rem;
  border-top: 1px solid var(--h-line);
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
}
.aka-hub2__top-list > li:first-child .aka-hub2__top-row { border-top: none; }
.aka-hub2__top-row:hover { background: #ffffff; }
.aka-hub2__top-rank { font-size: 0.74rem; font-weight: 800; color: var(--h-faint); text-align: center; font-variant-numeric: tabular-nums; }
.aka-hub2__top-avatar { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--h-red); color: #ffffff; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.04em; }
.aka-hub2__top-main { min-width: 0; display: flex; flex-direction: column; gap: 0.05rem; }
.aka-hub2__top-name { font-size: 0.86rem; font-weight: 700; color: var(--h-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aka-hub2__top-row:hover .aka-hub2__top-name { color: var(--h-red); }
.aka-hub2__top-meta { font-size: 0.7rem; color: var(--h-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aka-hub2__top-val { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.aka-hub2__top-val strong { font-size: 0.95rem; font-weight: 800; color: var(--h-ink); font-variant-numeric: tabular-nums; }
.aka-hub2__top-val small { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--h-faint); white-space: nowrap; }
.aka-hub2__top-empty { margin: 0.5rem 0; color: var(--h-faint); }

/* browse-by chips */
.aka-hub2__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.aka-hub2__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  padding: 0.42rem 0.5rem 0.42rem 0.85rem;
  border: 1px solid var(--h-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--h-ink);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.aka-hub2__chip span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aka-hub2__chip b { flex-shrink: 0; padding: 0.1rem 0.5rem; border-radius: 999px; background: #f3eeef; color: var(--h-muted); font-size: 0.7rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.aka-hub2__chip:hover { border-color: var(--h-red); background: var(--h-red-tint); color: var(--h-red); }
.aka-hub2__chip:hover b { background: var(--h-red); color: #ffffff; }
.aka-hub2__chip--kw { background: var(--h-soft); }

/* results */
.aka-hub2__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; }
.aka-hub2__count { margin: 0; font-size: 1rem; font-weight: 800; color: var(--h-ink); }
.aka-hub2__toolbar-right { display: flex; align-items: center; gap: 0.9rem; }
.aka-hub2__page { margin: 0; font-size: 0.82rem; color: var(--h-muted); font-variant-numeric: tabular-nums; }
.aka-hub2__back { font-size: 0.82rem; font-weight: 700; color: var(--h-red); text-decoration: none; }
.aka-hub2__back:hover { text-decoration: underline; }
.aka-hub2__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.aka-hub2__card {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.05rem;
  border: 1px solid var(--h-line);
  border-radius: 16px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.aka-hub2__card:hover { border-color: rgba(193, 18, 31, 0.3); box-shadow: 0 12px 28px rgba(193, 18, 31, 0.08); transform: translateY(-1px); }
.aka-hub2__avatar { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--h-red); color: #ffffff; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.04em; box-shadow: 0 0 0 3px #ffffff, 0 0 0 4px #f3c3c7; }
.aka-hub2__card-body { min-width: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.aka-hub2__card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.6rem; }
.aka-hub2__card-name { margin: 0; font-size: 1.02rem; font-weight: 800; letter-spacing: -0.015em; color: var(--h-ink); }
.aka-hub2__card:hover .aka-hub2__card-name { color: var(--h-red); }
.aka-aca-hub__name-mask { opacity: 0.45; letter-spacing: 0.08em; }
.aka-hub2__card-title { padding: 0.12rem 0.55rem; border-radius: 999px; background: var(--h-red-soft); border: 1px solid #f3c3c7; color: var(--h-red); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.aka-hub2__card-org { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.4rem; font-size: 0.82rem; color: var(--h-muted); }
.aka-hub2__org-uni { font-weight: 700; color: var(--h-ink); }
.aka-hub2__org-sep { color: #cdc3c5; }
.aka-hub2__card-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.aka-hub2__tag { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.16rem 0.55rem; border-radius: 999px; background: var(--h-soft); border: 1px solid var(--h-line); font-size: 0.72rem; font-weight: 600; color: var(--h-ink); }
.aka-hub2__tag small { font-size: 0.58rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--h-faint); }
.aka-hub2__tag--ana { background: var(--h-red-tint); border-color: #f5dcdf; }
.aka-hub2__tag--kw { background: #ffffff; }
.aka-hub2__card-aside { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; padding-left: 0.5rem; }
.aka-hub2__card-aside strong { font-size: 1.15rem; font-weight: 800; color: var(--h-ink); font-variant-numeric: tabular-nums; }
.aka-hub2__card-aside span { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--h-faint); }
.aka-hub2__empty { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding: 2.25rem 1rem; border: 1px dashed #cdc3c5; border-radius: 16px; background: var(--h-soft); text-align: center; color: var(--h-red); }
.aka-hub2__empty-title { margin: 0.2rem 0 0; font-size: 1rem; font-weight: 800; color: var(--h-ink); }
.aka-hub2__empty-hint { margin: 0; font-size: 0.88rem; color: var(--h-muted); }
.aka-hub2__pager { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 0.25rem; }
.aka-hub2__pager-btn { padding: 0.5rem 1rem; border: 1px solid var(--h-line); border-radius: 10px; background: #ffffff; color: var(--h-ink); font-size: 0.85rem; font-weight: 650; text-decoration: none; }
.aka-hub2__pager-btn:hover { border-color: var(--h-red); color: var(--h-red); }
.aka-hub2__pager-btn.is-off { opacity: 0.4; pointer-events: none; }
.aka-hub2__pager-status { font-size: 0.82rem; color: var(--h-muted); font-variant-numeric: tabular-nums; }

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 1100px) {
  .aka-hub2__top-grid { grid-template-columns: 1fr; }
  .aka-hub2__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
  .aka-hub2__layout { grid-template-columns: 1fr; }
  .aka-hub2__filters-toggle { display: inline-flex; }
  /* the old stylesheet turns the aside into a fixed drawer at this width; keep its chrome flat */
  .aka-aca-hub__aside.aka-hub2__aside { border-radius: 0; box-shadow: 8px 0 32px rgba(20, 10, 12, 0.12); overflow-y: auto; }
}
@media (max-width: 640px) {
  .aka-hub2__shell { padding-top: 1rem; }
  .aka-hub2__search { padding: 0.65rem; border-radius: 16px; }
  .aka-hub2__search-box { flex-wrap: wrap; padding: 0.35rem 0.35rem 0.35rem 0.8rem; }
  .aka-hub2__search-input { flex-basis: calc(100% - 3rem); font-size: 1rem; padding: 0.7rem 0.1rem; }
  .aka-hub2__search-btn { width: 100%; justify-content: center; }
  .aka-hub2__block { padding: 1rem 0.95rem 1.05rem; border-radius: 16px; }
  .aka-hub2__block-head--row { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .aka-hub2__kpis { gap: 0.55rem; }
  .aka-hub2__kpi { padding: 0.8rem 0.85rem; }
  .aka-hub2__kpi strong { font-size: 1.25rem; }
  .aka-hub2__card { grid-template-columns: 2.5rem minmax(0, 1fr); padding: 0.8rem 0.85rem; gap: 0.7rem; }
  .aka-hub2__avatar { width: 2.5rem; height: 2.5rem; font-size: 0.74rem; }
  .aka-hub2__card-aside { grid-column: 2; flex-direction: row; align-items: baseline; gap: 0.3rem; padding-left: 0; }
  .aka-hub2__toolbar-right { width: 100%; justify-content: space-between; }
}

/* h-index chip on result cards (2026-09-26) */
.aka-hub2__h { margin-top: 0.3rem; padding: 0.08rem 0.45rem; border-radius: 999px; background: #e6f5ef; color: #047857; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.02em; white-space: nowrap; }
