/* 標竿學校/學院 — 內容樣式（版面共用 qna.css） */

.benchmark-content {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #444;
}

.benchmark-content p {
  margin-bottom: 14px;
}

.benchmark-content a {
  color: #007bff;
  word-break: break-all;
}

.benchmark-content a:hover {
  color: #0056b3;
}

.benchmark-section-title {
  margin: 22px 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #966300;
  line-height: 1.5;
}

.benchmark-section-title:first-child {
  margin-top: 0;
}

.benchmark-file-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benchmark-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e8ecef;
  border-radius: 8px;
  background: #fff;
}

.benchmark-file-title {
  flex: 1;
  min-width: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #222;
  line-height: 1.55;
}

.benchmark-file-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}

.benchmark-file-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f5f8fa;
  border: 1px solid #e8ecef;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.benchmark-file-actions a:hover {
  background: #eef8f0;
  border-color: #c8e6c9;
}

.benchmark-file-actions img {
  max-width: 22px;
  max-height: 22px;
}

.benchmark-table-wrap {
  overflow-x: auto;
  margin: 12px 0 16px;
  border: 1px solid #e8ecef;
  border-radius: 8px;
}

.benchmark-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.benchmark-table th,
.benchmark-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eef1f3;
  text-align: center;
  vertical-align: middle;
}

.benchmark-table thead th {
  background: #fff8e8;
  color: #966300;
  font-weight: 700;
}

.benchmark-table tbody tr:last-child td {
  border-bottom: none;
}

.benchmark-table tbody tr:hover {
  background: #f9fcfa;
}

.benchmark-note {
  margin: 0;
  font-size: 0.875rem;
  color: #666;
}

@media (max-width: 768px) {
  .benchmark-file-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .benchmark-file-actions {
    width: 100%;
    padding-top: 4px;
    border-top: 1px solid #f0f0f0;
  }
}
