.channel-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 490px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #0d141c;
}
.channel-hero-art {
  position: absolute;
  inset: 0 0 0 35%;
  z-index: -1;
}
.channel-hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; }
.channel-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0d141c 0%, #0d141cbd 18%, transparent 58%),
    linear-gradient(0deg, #0d141caf 0%, transparent 34%);
}
.channel-hero-content { padding-block: 52px; }
.channel-hero h1 { font-size: clamp(3.6rem, 6.8vw, 6.2rem); }
.channel-hero-content > p:not(.eyebrow) { max-width: 370px; margin-top: 20px; color: #d0dbe2; font-size: 1.12rem; }
.channel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.channel-catalog .section-heading { margin-bottom: 27px; }
.channel-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 13px 30px;
  padding: 19px;
  border: 1px solid #435145;
  border-radius: 12px;
  background: linear-gradient(135deg, #19231b, #121a21 75%);
}
.channel-search-field { display: grid; gap: 6px; }
.channel-search-field > span, .channel-filters legend {
  padding: 0;
  color: #dce4e2;
  font-size: .9rem;
  font-weight: 700;
}
.channel-search input[type="search"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #4c595f;
  border-radius: 7px;
  font: inherit;
  color: var(--paper);
  background: var(--page);
}
.channel-search input::placeholder { color: #94a2aa; }
.channel-filters { min-width: 0; margin: 0; padding: 0; border: 0; }
.channel-filters legend { margin-bottom: 6px; }
.channel-filter-options { display: flex; flex-wrap: wrap; gap: 6px; }
.channel-filter-options label { position: relative; cursor: pointer; }
.channel-filter-options input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.channel-filter-options span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #47535b;
  border-radius: 7px;
  background: #10171e;
  color: #d4dde2;
  font-size: .9rem;
  font-weight: 650;
}
.channel-filter-options input:checked + span { border-color: var(--lime); background: var(--lime); color: var(--dark-lime); }
.channel-filter-options input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 3px; }
.channel-filter-options label:hover span { border-color: var(--lime); }
#channel-count { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; }

.channel-group { margin-top: 39px; }
.channel-group > h3, .channel-empty h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -.035em; }
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.channel-card {
  --category-accent: #bddd7d;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--category-accent);
  border-radius: 10px;
  background: var(--surface);
}
[data-group="regions"] .channel-card { --category-accent: #86cacf; }
[data-group="on-demand"] .channel-card { --category-accent: #b1a5ec; }
.channel-card h4 { margin: 0; font-size: 1.16rem; letter-spacing: -.015em; }
.channel-card p, .channel-empty p { color: var(--muted); margin-top: 7px; }
.channel-empty { margin-top: 22px; padding: 25px; border: 1px dashed #46565d; border-radius: 12px; }
.channel-empty .button { margin-top: 15px; }

.channel-device-section { background: #0c1218; border-block: 1px solid var(--line); }
.channel-device-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.channel-device-layout .button { margin-top: 20px; }
.channel-device-list { display: grid; gap: 9px; margin: 0; }
.channel-device-list > div { padding: 14px 17px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; }
.channel-device-list dt { font-weight: 750; }
.channel-device-list dd { color: var(--muted); margin: 2px 0 0; }
.channel-next-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 23px;
  padding: clamp(22px, 4vw, 48px);
  background: linear-gradient(125deg, #19251a, #111b23 76%);
  border: 1px solid #40534a;
  border-radius: 16px;
}
.channel-next-inner h2 { margin-top: 0; font-size: clamp(2rem, 3.5vw, 3.1rem); }
.channel-next-inner .channel-actions { flex-shrink: 0; margin-top: 0; }

@media (max-width: 780px) {
  .channel-search { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel-next-inner { display: grid; }
}
@media (max-width: 700px) {
  .channel-hero { min-height: 555px; align-items: end; }
  .channel-hero-art { inset: 0 0 16%; }
  .channel-hero-art img { object-position: 62% 50%; }
  .channel-hero-art::after { background: linear-gradient(0deg, #0d141c 0%, #0d141ce0 28%, #0d141c20 58%, transparent 100%); }
  .channel-hero-content { padding-block: 34px; }
  .channel-hero h1 { font-size: clamp(2.65rem, 9.2vw, 4.5rem); margin-top: 12px; }
  .channel-hero-content > p:not(.eyebrow) { font-size: 1rem; margin: 16px auto 0; }
  .channel-actions { gap: 8px; margin-top: 20px; justify-content: center; }
  .channel-filter-options { justify-content: center; }
  .channel-device-layout { grid-template-columns: 1fr; gap: 23px; }
}
@media (max-width: 480px) {
  .channel-grid { grid-template-columns: 1fr; }
  .channel-search, .channel-card { padding: 14px; }
  .channel-hero .button { padding-inline: 12px; }
}
