/* Channel directory — compact Channel Hero list */

.channels-page .main-nav {
  margin-bottom: 32px;
}

.channels-list .latest-head {
  margin-bottom: 18px;
}

.channels-list .latest-head h1 {
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.channels-list .latest-lead {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14px;
}

.channels-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.channels-tabs-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
}

.channels-tabs-meta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  margin: 0 5px 0 0;
}

.channels-sort {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.channels-sort select {
  height: 34px;
  min-width: 148px;
  padding: 0 28px 0 12px;
  border: 1px solid #efe8e2;
  border-radius: 8px;
  background: #fffaf6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b4a36' d='M1.2 1.4 L6 6.2 L10.8 1.4'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: #4a4038;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.channels-sort select:focus {
  outline: none;
  border-color: #c4b3a4;
}

.channels-tabs-count {
  flex: 0 0 auto;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.channels-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #efe8e2;
  border-radius: 8px;
  background: #fffaf6;
  color: #4a4038;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.channels-tab:hover {
  background: #f6efe8;
  border-color: #e8ddd3;
}

.channels-tab.is-active {
  background: var(--brown);
  border-color: var(--brown);
  color: #fff;
}

.channels-list [data-channel-directory-body][aria-busy="true"] {
  min-height: 960px;
}

.channels-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  column-gap: 13px;
  row-gap: 16px;
  padding-top: 8px;
}

.channels-list [data-channel-directory-body][aria-busy="true"] .channels-cards {
  min-height: 856px;
}

.channels-cards .channel-hero--compact {
  position: relative;
  overflow: visible;
  min-width: 0;
  height: 100%;
  min-height: 128px;
  box-sizing: border-box;
}

.channels-page .channels-cards .channel-hero--compact {
  box-shadow: 0 1px 4px rgba(107, 74, 54, 0.08);
}

.channels-cards .channel-hero-main,
.channels-cards .channel-hero-copy {
  min-width: 0;
}

.channels-cards .channel-hero-name,
.channels-cards .channel-hero-name a {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.channels-cards .channel-hero-name a {
  display: block;
}

.channels-cards .channel-hero-sub {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.channels-cards .channel-hero--compact.is-skeleton .channel-hero-desc-line .skel-line {
  height: 10px;
  width: 70%;
  margin-top: 0;
}

.channels-cards .channel-hero-metric {
  position: absolute;
  top: 3px;
  right: 2px;
  z-index: 2;
  margin: 0;
  padding: 2px 8px;
  overflow: visible;
  border: 1px solid #efe8e2;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(80, 56, 36, 0.08);
  white-space: nowrap;
  color: var(--brown);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 1.2;
  pointer-events: none;
}

.channels-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 36px 16px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.channels-empty img {
  width: 72px;
  height: auto;
}
