/* Sober.now Meeting Finder: city table on state pages (v0.4.2). Builds on frontend.css. */

.snmf-state-directory .snmf-toolbar {
  max-width: 420px;
}

.snmf-city-table {
  min-width: 0;
}

.snmf-city-table .snmf-num {
  width: 150px;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.snmf-city-table td.snmf-num {
  color: var(--snmf-text);
}

.snmf-city-table .snmf-cell-city a {
  color: var(--snmf-navy) !important;
  text-decoration: none !important;
}

.snmf-city-table .snmf-cell-city a:hover,
.snmf-city-table .snmf-cell-city a:focus {
  color: var(--snmf-orange) !important;
  outline: 0;
}

.snmf-city-table .snmf-cell-link {
  width: 120px;
  text-align: right;
}

.snmf-city-link {
  font: 700 12px/1.2 Arial, sans-serif;
  color: var(--snmf-blue) !important;
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
}

.snmf-city-link:hover,
.snmf-city-link:focus {
  color: var(--snmf-orange) !important;
  border-bottom-color: var(--snmf-orange);
  outline: 0;
}

.snmf-city-table .snmf-mobile-label {
  display: none !important;
}

.snmf-state-directory .snmf-footnote a {
  color: var(--snmf-blue);
}

@media (max-width: 760px) {
  /* One compact line per city: name, then "12 per week · 3 today". */
  .snmf-state-directory .snmf-city-table tr {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: none;
    align-items: baseline;
    column-gap: 12px;
    padding: 11px 0;
  }

  .snmf-state-directory .snmf-city-table td {
    grid-area: auto;
  }

  .snmf-state-directory .snmf-city-table .snmf-num {
    width: auto;
    font-size: 12px;
    color: var(--snmf-muted);
  }

  .snmf-state-directory .snmf-city-table .snmf-mobile-label {
    display: inline !important;
    margin: 0 !important;
    color: var(--snmf-muted) !important;
  }

  .snmf-state-directory .snmf-city-table .snmf-cell-link {
    display: none;
  }

  .snmf-state-directory .snmf-cell-city strong {
    font-size: 15px;
  }

  .snmf-state-directory .snmf-toolbar {
    max-width: none;
  }
}
