﻿.channels-main {
  background:
    radial-gradient(1100px 500px at -10% -20%, rgba(241, 191, 0, 0.14), transparent 60%),
    radial-gradient(900px 420px at 110% -18%, rgba(170, 21, 27, 0.14), transparent 62%),
    linear-gradient(180deg, #fff9ef 0%, #ffffff 26%, #ffffff 100%);
}

.channels-hero p {
  max-width: 860px;
}

.channels-controls-card {
  margin-top: 0;
}

.channels-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.channels-search-wrap {
  flex: 1 1 360px;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 12px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(15, 31, 58, 0.05);
}

.channels-search-icon {
  color: #aa151b;
  font-size: 16px;
  line-height: 1;
}

.channels-search {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  padding: 12px 0;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: transparent;
  box-shadow: none;
}

.channels-search-wrap:focus-within {
  outline: none;
  border-color: rgba(241, 191, 0, 0.45);
  box-shadow: 0 0 0 3px rgba(241, 191, 0, 0.1);
}

.channels-search:focus {
  outline: none;
}

.channels-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6a3b2c;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(241, 191, 0, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #fff5dd 100%);
}

.channels-count-label {
  font-weight: 700;
  text-transform: lowercase;
}

.channels-count strong {
  min-width: 34px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #c99b00);
  border-radius: 999px;
  padding: 2px 9px;
  font-weight: 800;
}

.channels-list-card {
  margin-top: 18px;
}

.channels-state {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.channels-empty {
  display: none;
  margin-bottom: 14px;
  border-left: 4px solid var(--blue);
  background: rgba(241, 191, 0, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  color: #6d3429;
  font-size: 14px;
}

.channels-empty.is-visible {
  display: block;
}

.channels-accordion-host .elementor-accordion {
  display: grid;
  gap: 12px;
}

.channels-accordion-host .elementor-accordion-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fffcf4 100%);
  box-shadow: 0 10px 22px rgba(241, 191, 0, 0.05);
  overflow: hidden;
}

.channels-accordion-host .elementor-accordion-item.is-hidden {
  display: none;
}

.channels-accordion-host .elementor-tab-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  cursor: pointer;
}

.channels-accordion-host .elementor-tab-title:focus-visible {
  outline: 2px solid rgba(241, 191, 0, 0.55);
  outline-offset: -2px;
}

.channels-accordion-host .elementor-accordion-title {
  flex: 1;
  color: #5a271d;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1.35;
}

.channels-accordion-host .emoji {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: text-bottom;
}

.channels-accordion-host .elementor-accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(241, 191, 0, 0.22);
  background: #fff;
  color: var(--blue-light);
  flex-shrink: 0;
}

.channels-accordion-host .elementor-accordion-icon svg {
  width: 11px;
  height: 11px;
  display: block;
  fill: currentColor;
}

.channels-accordion-host .elementor-accordion-icon-opened {
  display: none;
}

.channels-accordion-host .elementor-accordion-item.is-open .elementor-accordion-icon-opened {
  display: inline-flex;
}

.channels-accordion-host .elementor-accordion-item.is-open .elementor-accordion-icon-closed {
  display: none;
}

.channels-accordion-host .elementor-tab-content {
  display: none;
  border-top: 1px solid rgba(241, 191, 0, 0.1);
  background: #fff;
  padding: 0 16px 16px;
}

.channels-accordion-host .elementor-accordion-item.is-open .elementor-tab-content {
  display: block;
}

.channels-accordion-host .elementor-tab-content p {
  margin-top: 12px;
  color: #6d3a2e;
  font-size: 13px;
  line-height: 1.65;
  white-space: normal;
  word-break: break-word;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 768px) {
  .channels-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .channels-search-wrap {
    width: 100%;
    flex-basis: auto;
  }

  .channels-search {
    width: 100%;
  }

  .channels-count {
    margin-top: 0;
    justify-content: space-between;
  }

  .channels-accordion-host .elementor-tab-title {
    padding: 13px 13px;
  }

  .channels-accordion-host .elementor-tab-content {
    padding: 0 13px 13px;
  }
}


