/* Compact, two-level filters for the insights directory. */
.insights-filter-panel {
  border-top: 4px solid var(--orange);
  border-bottom: 1px solid var(--line);
  background: #f7f9fa;
}
.insights-filter-panel .wrap { padding-block: 12px; }
.insights-filter-row {
  display: grid;
  grid-template-columns: minmax(108px, .18fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 58px;
}
.insights-filter-row + .insights-filter-row { border-top: 1px solid #dce4e9; }
.insights-filter-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #627382;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.4;
}
.insights-filter-label::before {
  width: 18px;
  height: 3px;
  flex: 0 0 auto;
  background: var(--orange);
  content: "";
}
.insights-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-block: 9px;
}
.insights-filter-options a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.insights-filter-options a:hover {
  border-color: #c5d1d9;
  background: var(--white);
}
.insights-filter-options a.is-active {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
  box-shadow: inset 3px 0 var(--orange);
}
[dir="rtl"] .insights-filter-options a.is-active { box-shadow: inset -3px 0 var(--orange); }

@media (max-width: 720px) {
  .insights-filter-panel .wrap { padding-block: 8px; }
  .insights-filter-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-block: 13px;
  }
  .insights-filter-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 0;
  }
  .insights-filter-options a { min-width: 0; padding: 9px 11px; }
}
