/* File: kb-frontend.css
   Description: Knowledge base frontend layout. Pagination button visuals live in buttons.css.
*/

body.post-type-archive-ll_knowledge_base {
  background: #f5f7fa !important;
}

#ll-kb-app {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 24px rgba(0, 0, 0, 0.08);
}

.ll-kb-header {
  text-align: center;
  margin-bottom: 30px;
}

.ll-kb-title {
  font-size: 32px;
  margin-bottom: 10px;
  color: #222;
}

.ll-kb-subtitle {
  font-size: 16px;
  color: #666;
}

.ll-kb-search-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

#ll-kb-search-input {
  width: 100%;
  max-width: 600px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.ll-kb-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
}

.ll-kb-filters select {
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
}

.kb-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.kb-item {
  padding: 20px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e6ea;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.kb-item:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.kb-item h2 {
  margin: 0 0 8px 0;
}

.kb-item h2 a {
  color: #0057d8;
  text-decoration: none;
  font-size: 20px;
}

.kb-item h2 a:hover {
  text-decoration: underline;
}

.kb-item p {
  color: #444;
  margin: 0;
}

#ll-kb-pagination {
  margin-top: 25px;
  text-align: center;
}

#ll-kb-pagination button {
  margin: 0 6px;
}

#ll-kb-pagination span {
  margin: 0 10px;
  font-weight: 600;
}