.checklists {
  max-width: 980px;
  min-width: 980px;
  margin: 0 auto;
  padding: 28px 18px 50px;
}

.checklists__header {
  margin-bottom: 18px;
}

.checklists__hint {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
  color: #4b5563; /* gray-ish */
}

/* Search row */
.checklists__search {
  display: flex;
  gap: 10px;
  align-items: center;
}

.checklists__search input[type="search"] {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.checklists__search input[type="search"]:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.checklists__search button {
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #111827; /* near-black */
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.checklists__search button:hover {
  filter: brightness(1.08);
}

/* Cards grid */
.checklists__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

/* Card */
.checklists__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px 18px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.checklists__card:hover {
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.08);
  transform: translateY(-1px);
}

.checklists__title {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}

.checklists__title a {
  color: #0B5F99;
  text-decoration: none;
}

.checklists__title a:hover {
  text-decoration: underline;
}

.checklists__desc {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #6b7280;
}

.checklists__meta {
  margin: 10px 0 0;
  font-size: 13px;
  color: #6b7280;
}

/* Optional: “View checklists (x)” style link */
.checklists__cta {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
}

.checklists__cta a {
  color: #0B5F99;
  text-decoration: none;
}
.checklists__cta a:hover {
  text-decoration: underline;
}

/* Nav links */
.checklists__nav {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.checklists__nav a {
  color: #0B5F99;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.checklists__nav a:hover {
  text-decoration: underline;
}

/* Level 3 list */
.checklists__list ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.checklists__item {
  padding: 12px 14px;
  border-top: 1px solid #f1f5f9;
}

.checklists__item:first-child {
  border-top: 0;
}

.checklists__item a {  
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.checklists__item a:hover {
  text-decoration: underline;
}
/* Search results spacing */
[data-checklists-results] {
  margin-top: 18px;
}

/* Responsive */
@media (max-width: 820px) {
  .checklists {
    min-width: auto;
  }
  .checklists__grid {
    grid-template-columns: 1fr;
  }
}