/* Tags Index Main Wrapper */
.cbt-tags-browser {
  background: #fff;
  padding: 0px 0px;
  max-width: 1200px;
  margin: 0 20px;
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
}

/* Page Heading */
.cbt-tags-heading {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Alphabet Navigation */
.cbt-tags-index-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 30px;
}

.cbt-tags-index-nav a {
  background: #111;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
.cbt-tags-index-nav a:hover {
  background: #e71919; /* red from logo */
}

/* Section Groups – Inline Letter + Tags Layout */
.cbt-tags-group {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 40px;
}

.cbt-tags-group h3 {
  flex-shrink: 0;
  width: 30px;
  padding-top: 0px;
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  color: #e71919; /* match logo red */
  text-transform: uppercase;
}

/* Tag List */
.cbt-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 10px;
  list-style: none;
  margin: 0;
}

.cbt-tag-list li a {
  display: inline-block;
  padding: 6px 10px;
  background-color: #f3f3f3;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin: 0;
  text-decoration: none;
  color: inherit;
}

.cbt-tag-list li a:hover {
  background-color: #e2e2e2;
}

.cbt-tags-search {
  margin-bottom: 20px;
  text-align: center;
}
.cbt-tags-search-wrapper {
  display: flex;
  align-items: center;
  background: #222;
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  margin-bottom: 20px;
}

#tag-search {
  flex: 1;
  padding: 12px 14px;
  font-size: 15px;
  background: transparent;
  color: #fff;
  border: none;
  outline: none;
}

.cbt-tags-search-icon {
  background: red;
  border: none;
  padding: 10px 14px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.cbt-tags-search-icon i {
  pointer-events: none;
}
.cbt-tags-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

