/* SEOGrow — Tendances du moment Google Trends (Trends.js, 0.91.0). */

.trending-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}
.trending-select {
  width: auto;
  height: 32px;
}
.trending-list {
  display: flex;
  flex-direction: column;
  max-height: 480px;
  overflow-y: auto;
}
.trending-row {
  display: grid;
  grid-template-columns: 110px 140px minmax(160px, 1fr) 64px minmax(0, 1.4fr);
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border-secondary);
  font-size: 13px;
}
.trending-row:last-child { border-bottom: none; }
.trending-row--head {
  position: sticky;
  top: 0;
  background: var(--surface-primary);
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.trending-row__geo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
  overflow: hidden;
  color: var(--text-secondary);
}
.trending-row__time {
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.trending-row__query {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font: inherit;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.trending-row__query:hover { color: var(--color-brand-primary); text-decoration: underline; }
.trending-row__query:focus-visible { outline: 2px solid var(--color-brand-primary); outline-offset: 2px; }
.trending-row__traffic { justify-self: start; font-variant-numeric: tabular-nums; }
.trending-row__news {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-secondary);
}
.trending-row__news a { color: inherit; }
.trending-row__news a:hover { color: var(--color-brand-primary); }
.trending-foot { margin-top: var(--space-3); }

@media (max-width: 720px) {
  .trending-row { grid-template-columns: 80px 44px minmax(0, 1fr) 56px; }
  .trending-row--head span:last-child { display: none; }
  .trending-row__geo-label { display: none; }
  .trending-row__news { grid-column: 1 / -1; }
  .trending-row__news:empty { display: none; }
}
