/* Figma Final Designs > Explore > "Category page" (597:27739): a header block (no breadcrumb or count), then Explore's
   "All funds" table (explore.css). Also used for sector and AMC pages. */

.list-page { padding-top: 40px; }

/* 597:27742: 21px icon, 34px title, a 79x20 flag; the description runs the full width at 17/25.5; 20px below. */
.list-head { padding-bottom: 20px; }
.list-title-row { display: flex; align-items: center; gap: 16px; min-height: 38px; }
.list-icon { flex: none; display: flex; width: 21px; height: 21px; }
.list-icon:empty { display: none; }
.list-icon img { width: 21px; height: 21px; }
.list-icon .tile { width: 30px; height: 30px; font-size: 14px; }
.list-title { margin: 0; font-size: 34px; font-weight: 600; line-height: 38px; letter-spacing: -0.85px; }
.list-badge {
  flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 79px; height: 20px; padding: 0 10px;
  font-size: 11px; color: var(--ink); white-space: nowrap;
}
.list-badge.good { background: #d9ede5; color: var(--good); }
.list-badge.bad { background: #f4dad3; color: var(--bad); }
.list-text { margin: 12px 0 0; font-size: 17px; line-height: 25.5px; }

.list-funds { margin-top: 12px; }
/* 597:27749: an "All filters" chip, a hairline, then the filter chips (14px, 1px #d5d5dc) */
.list-bar {
  display: flex; align-items: flex-start; gap: 8px; position: sticky; top: var(--topbar-h, 81px); z-index: 30;
  background: #fff; padding: 8px 0; margin: -8px 0 4px;
}
.list-bar .ex-filters { position: static; margin: 0; padding: 0 0 0 8px; border-left: 1px solid var(--line-soft); }
.list-bar .all-filters[hidden] + .ex-filters { padding-left: 0; border-left: 0; }
.list-page .ex-pill { font-size: 14px; font-weight: 400; color: var(--ink); border-color: var(--line); line-height: 1.55; padding: 0 14px; }
.list-page .ex-pill.set { color: #fff; font-weight: 600; border-color: var(--ink); }
.list-page .ex-pill.open { border-color: var(--faint); }
.list-page .all-filters { gap: 6px; font-weight: 600; flex: none; }
.all-filters img { width: 15px; height: 15px; }
.all-filters[hidden] { display: none; }

.list-missing { padding: 48px 0; color: var(--muted); font-size: 15px; }
.list-missing a { color: var(--link); }

@media (max-width: 760px) {
  .list-page { padding-top: 24px; }
  .list-title-row { flex-wrap: wrap; gap: 10px 12px; }
  .list-title { font-size: 28px; line-height: 32px; }
  .list-text { font-size: 15.5px; line-height: 23px; }
}

/* every fund of the list as plain links (seo._all_funds_html): collapsed, for crawlers and for readers who want the whole list */
.list-all { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-soft, #e8e8ec); }
.list-all summary { cursor: pointer; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--link, #0a2fd4); }
.list-all ul { list-style: none; margin: 16px 0 0; padding: 0; columns: 3 320px; column-gap: 40px; }
.list-all li { break-inside: avoid; padding: 4px 0; font-size: 14px; line-height: 1.45; }
.list-all li a { color: var(--ink, #0c0c10); }
.list-all li a:hover { text-decoration: underline; }
.list-all .na { color: var(--faint, #9a9aa5); font-family: var(--mono, monospace); font-size: 12px; margin-left: 6px; }
