/* 考未来考试切换组件：支持国考与多省份扩展 */
.kwl-exam-switcher {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
  padding: 8px 14px;
  background: #f6faf7;
  border: 1px solid #d6e8dc;
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
}
.kwl-es-title { font-weight: 600; color: #15543a; white-space: nowrap; }
.kwl-es-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.kwl-es-list li { margin: 0; padding: 0; }
.kwl-es-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #cfe3d6;
  color: #1b6b43;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  box-sizing: border-box;
}
a.kwl-es-item:hover { background: #eaf5ee; }
.kwl-es-current { background: #1b6b43; color: #fff; border-color: #1b6b43; font-weight: 700; }
.kwl-es-disabled { color: #9aa6a0; background: #f1f1f1; border-color: #e2e2e2; cursor: not-allowed; }

/* 手机采用两列网格；增加省份时自动增加行，不产生横向溢出。 */
@media (max-width: 480px) {
  .kwl-exam-switcher { gap: 8px; padding: 8px 10px; }
  .kwl-es-title { flex: 1 1 100%; }
  .kwl-es-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; flex-basis: 100%; }
  .kwl-es-list li, .kwl-es-item { width: 100%; min-width: 0; }
  .kwl-es-item { padding: 8px 4px; font-size: 13px; white-space: normal; line-height: 1.25; text-align: center; }
}
