/* Wrapper */
.cptl-wrapper {
  max-width: 800px;
  margin: 2rem auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Remove default bullets & spacing */
.cptl-title-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Each title row as a "card" */
.cptl-title-item {
  margin: 0 0 0.75rem 0;
}

/* Link styling */
.cptl-title-item a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  background: #ffffff;
  text-decoration: none;
  color: #222;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition:
    background-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.1s ease,
    border-color 0.15s ease;
}

/* Hover / focus states */
.cptl-title-item a:hover,
.cptl-title-item a:focus-visible {
  background: #f5f7ff;
  border-color: #c4cffc;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}

/* Optional: small chevron on the right */
.cptl-title-item a::after {
  content: "›";
  float: right;
  font-size: 1.1em;
  color: #888;
}

/* Pagination styling */
.cptl-pagination ul {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cptl-pagination li {
  margin: 0;
}

.cptl-pagination a,
.cptl-pagination span {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
}

.cptl-pagination .current span {
  background: #2c4bff;
  border-color: #2c4bff;
  color: #fff;
  font-weight: 600;
}

.cptl-pagination a:hover {
  border-color: #2c4bff;
  color: #2c4bff;
}