.eq-page {
  padding: 24px 0 56px;
  background: #f7f8fa;
  min-height: 50vh;
}

.eq-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.eq-hero {
  text-align: center;
  margin-bottom: 28px;
}

.eq-hero h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
}

.eq-hero p {
  color: #666;
  font-size: 15px;
  margin: 0;
}

.eq-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.eq-card--empty {
  text-align: center;
  padding: 48px 24px;
}

/* 条件筛选条 */
.eq-filter-bar {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.eq-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 20px;
}

.eq-filter-field {
  flex: 0 0 auto;
  min-width: 160px;
}

.eq-filter-field--grow {
  flex: 1 1 240px;
  min-width: 200px;
}

.eq-filter-label {
  display: block;
  font-size: 13px;
  color: #888;
  margin-bottom: 6px;
  line-height: 1.2;
}

.eq-filter-control {
  width: 100%;
  height: 40px;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  color: #333;
  background: #fafbfc;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
}

.eq-filter-control:focus {
  outline: none;
  border-color: #e62e2e;
  background: #fff;
}

.eq-filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding-bottom: 1px;
}

.eq-filter-submit {
  height: 40px;
  padding: 0 28px;
  background: #e62e2e;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.eq-filter-submit:hover {
  background: #cf2626;
}

.eq-filter-reset {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  white-space: nowrap;
}

.eq-filter-reset:hover {
  color: #e62e2e;
}

.eq-section-title .eq-section-count {
  margin-left: 10px;
  font-size: 14px;
  font-weight: 400;
  color: #999;
}

.eq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.eq-nav a {
  display: inline-block;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  color: #333;
  font-size: 13px;
  text-decoration: none;
}

.eq-nav a:hover {
  border-color: #e62e2e;
  color: #e62e2e;
}

.eq-section-title {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e62e2e;
}

.eq-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.eq-table th,
.eq-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.eq-table th {
  background: #fafafa;
  color: #555;
  font-weight: 600;
}

.eq-table tr:hover td {
  background: #fff9f9;
}

.eq-table a {
  color: #e62e2e;
  text-decoration: none;
}

.eq-table a:hover {
  text-decoration: underline;
}

.eq-empty {
  text-align: center;
  color: #999;
  padding: 40px 16px;
}

.eq-crumbs {
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
}

.eq-crumbs a {
  color: #666;
  text-decoration: none;
}

.eq-crumbs a:hover {
  color: #e62e2e;
}

.eq-detail-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
  line-height: 1.4;
}

.eq-intro {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 24px;
}

.eq-intro-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 8px;
}

.eq-intro-row b {
  color: #222;
  min-width: 120px;
}

.eq-question {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 16px;
  background: #fff;
}

.eq-question-head {
  font-size: 15px;
  font-weight: 600;
  color: #e62e2e;
  margin-bottom: 10px;
}

.eq-question-title {
  font-size: 16px;
  line-height: 1.7;
  color: #222;
  margin-bottom: 14px;
}

.eq-choice {
  padding: 8px 12px;
  margin-bottom: 6px;
  border-radius: 4px;
  font-size: 14px;
  color: #444;
  background: #fafafa;
}

.eq-choice.is-correct {
  background: #e8f8ee;
  color: #1a7a3a;
  font-weight: 600;
}

.eq-answer-row {
  margin-top: 12px;
}

.eq-btn-view {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  color: #e62e2e;
  border: 1px solid #e62e2e;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.eq-btn-view:hover {
  background: #fff0f0;
}

.eq-answer-text {
  display: none;
  margin-top: 10px;
  padding: 10px 12px;
  background: #f0faf4;
  border-left: 3px solid #2d9f5a;
  font-size: 14px;
  color: #333;
}

.eq-answer-text.is-show {
  display: block;
}

.eq-back-link {
  display: inline-block;
  margin: 8px 0 20px;
  color: #e62e2e;
  font-size: 14px;
  text-decoration: none;
}

.eq-back-link:hover {
  text-decoration: underline;
}

.eq-more-link {
  text-align: center;
}

.eq-more-link a {
  color: #e62e2e;
  font-size: 15px;
  text-decoration: none;
}

.eq-more-link a:hover {
  text-decoration: underline;
}

.eq-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.eq-modal.is-open {
  display: flex;
}

.eq-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.eq-modal-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 10px;
  padding: 28px 24px 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.eq-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #999;
  cursor: pointer;
}

.eq-modal-close:hover {
  color: #333;
}

.eq-modal-title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
}

.eq-modal-desc {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

.eq-modal-note {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.7;
  color: #e62e2e;
}

.eq-modal-field {
  margin-bottom: 14px;
}

.eq-modal-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.eq-modal-field input {
  width: 100%;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 14px;
  box-sizing: border-box;
}

.eq-modal-submit {
  display: block;
  width: 100%;
  margin-top: 8px;
  height: 44px;
  border: none;
  border-radius: 4px;
  background: #2d9f5a;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.eq-modal-submit:hover {
  background: #268a4f;
}

.eq-modal-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* 移动端（与 Quiz 页一致使用站点 m_header / m_navbar） */
.eq-body--mobile {
  background: #f5f5f5;
}

.eq-page--mobile {
  padding: 12px 0 28px;
  min-height: auto;
  background: #f5f5f5;
}

.eq-page--mobile .eq-container {
  padding: 0 12px;
}

.eq-page--mobile .eq-card {
  padding: 14px 14px;
  margin-bottom: 12px;
}

.eq-page--mobile .eq-hero h1 {
  font-size: 20px;
}

.eq-page--mobile .eq-hero p {
  font-size: 14px;
}

.eq-page--mobile .eq-detail-title {
  font-size: 18px;
}

.eq-page--mobile .eq-crumbs {
  font-size: 12px;
  line-height: 1.6;
  word-break: break-all;
}

.eq-page--mobile .eq-filter-form {
  flex-direction: column;
  align-items: stretch;
}

.eq-page--mobile .eq-filter-item,
.eq-page--mobile .eq-filter-item--btn {
  width: 100%;
  flex: none;
}

.eq-page--mobile .eq-filter-form select,
.eq-page--mobile .eq-filter-form input[type="text"] {
  min-width: 0;
  width: 100%;
}

.eq-page--mobile .eq-filter-form button {
  width: 100%;
}

.eq-page--mobile .eq-nav {
  gap: 6px;
}

.eq-page--mobile .eq-nav a {
  font-size: 12px;
  padding: 5px 10px;
}

.eq-page--mobile .eq-question {
  padding: 14px;
}

.eq-page--mobile .eq-question-title {
  font-size: 15px;
}

.eq-page--mobile .eq-choice {
  padding: 10px 12px;
  font-size: 14px;
}

.eq-page--mobile .eq-btn-view {
  padding: 8px 18px;
  font-size: 14px;
}

.eq-page--mobile .eq-modal {
  padding: 12px;
  align-items: flex-end;
}

.eq-page--mobile .eq-modal-panel {
  max-width: 100%;
  border-radius: 12px 12px 0 0;
  padding: 22px 16px 20px;
  max-height: 85vh;
}

.eq-page--mobile .eq-modal-title {
  font-size: 18px;
}

.eq-page--mobile .eq-intro img {
  max-width: 100%;
  height: auto;
}

/* 列表页表格在窄屏改为卡片行 */
@media (max-width: 768px) {
  .eq-hero h1 {
    font-size: 22px;
  }

  .eq-filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .eq-filter-field,
  .eq-filter-field--grow {
    width: 100%;
    min-width: 0;
  }

  .eq-filter-actions {
    width: 100%;
    justify-content: stretch;
  }

  .eq-filter-submit {
    flex: 1;
  }

  .eq-list-wrap {
    overflow: visible;
  }

  .eq-table thead {
    display: none;
  }

  .eq-table tbody tr {
    display: block;
    margin-bottom: 12px;
    padding: 12px 14px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
  }

  .eq-table tbody tr:hover td {
    background: transparent;
  }

  .eq-table td {
    display: block;
    padding: 4px 0;
    border: none;
    text-align: left;
  }

  .eq-table td::before {
    content: attr(data-label) "：";
    font-weight: 600;
    color: #666;
    margin-right: 4px;
  }

  .eq-table td.eq-col-date {
    display: block;
  }

  .eq-table td:last-child {
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px dashed #e8e8e8;
  }

  .eq-table td:last-child::before {
    display: none;
  }

  .eq-detail-title {
    font-size: 20px;
  }

  .eq-modal-panel {
    padding: 22px 16px 20px;
  }
}
