#topics-header {
  font-family: "Prompt-Regular", sans-serif;
}

#topics-header .nav-pills .nav-link {
  font-family: "LEMONMILK-Regular", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

#topics-header .nav-pills .nav-link.active {
  background-color: #6f42c1;
}

.topics-table-wrap {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.topics-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.topics-table thead th {
  font-family: "LEMONMILK-Regular", sans-serif;
  font-size: 0.72rem;
  font-weight: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid #ececec;
  background: #fff;
}

.topics-table tbody tr {
  transition: background 0.15s ease;
}

.topics-table tbody tr:hover {
  background: #f8f9fa;
}

.topics-table tbody td {
  padding: 0.8rem 1.1rem;
  vertical-align: middle;
  border-bottom: 1px solid #f3f3f3;
  color: #344767;
}

.topics-table tbody tr:last-child td {
  border-bottom: none;
}

.topics-col-source {
  width: 70px;
  text-align: center;
}

.topics-source-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #f2f2f2;
  display: block;
  margin: 0 auto;
}

.topics-headline {
  font-family: "Prompt-SemiBold", sans-serif;
  font-weight: normal;
  font-size: 0.95rem;
  color: #222;
  margin: 0;
  line-height: 1.28;
  text-align: left;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.topics-link-btn {
  display: inline-block;
  padding: 0.42rem 0.95rem;
  font-family: "LEMONMILK-Regular", sans-serif;
  font-size: 0.68rem;
  font-weight: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  background-color: #6f42c1;
  color: #fff !important;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.topics-link-btn:hover {
  opacity: 0.95;
  background-color: #5a32a8;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.topics-date {
  font-family: "Prompt-Regular", sans-serif;
  font-size: 0.85rem;
  color: #666;
  white-space: nowrap;
}

.topics-empty {
  padding: 3rem 1rem;
  text-align: center;
  color: #555;
}

.topics-empty h5 {
  font-family: "Prompt-SemiBold", sans-serif;
  color: #222;
}

.topics-empty p {
  font-family: "Prompt-Regular", sans-serif;
}

.topics-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 1rem;
}

.topics-pagination .dot {
  cursor: pointer;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bbb;
  transition: background-color 0.3s;
}

.topics-pagination .dot.active {
  background: #6f42c1;
}
