.channel-news { --channel-accent: #006fba; --channel-tint: #eaf5fc; }
.channel-standards { --channel-accent: #16784b; --channel-tint: #edf8f2; }
.channel-policies { --channel-accent: #a95000; --channel-tint: #fff4e8; }
.channel-tech { --channel-accent: #5b4bb7; --channel-tint: #f1efff; }
.channel-history { --channel-accent: #087e8b; --channel-tint: #e9f8f9; }
.channel-tools { --channel-accent: #c25c00; --channel-tint: #fff3e5; }
.channel-nav { --channel-accent: #146c64; --channel-tint: #eaf7f5; }

.channel-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--bit-brand-deep) url("/img/logo/banner-content-1600x480.jpg") center / cover no-repeat;
}

.channel-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(100deg, rgba(3, 43, 77, 0.97), rgba(7, 59, 103, 0.86) 58%, rgba(0, 111, 186, 0.46));
}

.channel-hero::after {
  position: absolute;
  right: -8rem;
  bottom: -16rem;
  width: 30rem;
  height: 30rem;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.channel-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  align-items: center;
}

.channel-hero h1,
.channel-hero h2,
.channel-hero .bit-eyebrow {
  color: #fff;
}

.channel-hero p {
  color: rgba(255, 255, 255, 0.82);
}

.channel-hero__panel {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--bit-radius);
  backdrop-filter: blur(10px);
}

.channel-search {
  display: flex;
  padding: 0.38rem;
  gap: 0.4rem;
  background: #fff;
  border-radius: 0.85rem;
}

.channel-search .form-control {
  min-width: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.channel-quick-links {
  display: flex;
  padding: 0;
  margin: 1rem 0 0;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.channel-quick-links span,
.channel-quick-links a {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.78rem;
  text-decoration: none;
}

.channel-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.channel-category {
  display: flex;
  min-height: 150px;
  padding: 1.25rem;
  flex-direction: column;
  color: var(--bit-text);
  background: #fff;
  border: 1px solid var(--bit-border);
  border-radius: var(--bit-radius);
  text-decoration: none;
}

.channel-category:hover {
  color: var(--channel-accent);
  border-color: color-mix(in srgb, var(--channel-accent) 35%, white);
  box-shadow: var(--bit-shadow-sm);
}

.channel-category[aria-disabled="true"] {
  color: var(--bit-text-muted);
  background: var(--bit-page);
}

.channel-category .bi {
  margin-bottom: 1rem;
  color: var(--channel-accent);
  font-size: 1.5rem;
}

.channel-category strong {
  display: block;
  color: var(--bit-brand-deep);
}

.channel-category small {
  margin-top: auto;
  color: var(--bit-text-muted);
}

.channel-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bit-border);
  border-radius: var(--bit-radius-lg);
  box-shadow: var(--bit-shadow-sm);
}

.channel-feature img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.channel-feature__body {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.channel-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.channel-kpi {
  padding: 1rem;
  background: var(--channel-tint);
  border-radius: 0.75rem;
}

.channel-kpi strong,
.channel-kpi span {
  display: block;
}

.channel-kpi strong {
  color: var(--channel-accent);
  font-size: 1.45rem;
}

.channel-kpi span {
  color: var(--bit-text-muted);
  font-size: 0.78rem;
}

.channel-list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.channel-list {
  display: grid;
  gap: 1rem;
}

.channel-list-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bit-border);
  border-radius: var(--bit-radius);
}

.channel-list-item__visual {
  display: grid;
  min-height: 190px;
  color: var(--channel-accent);
  background: var(--channel-tint);
  font-size: 2.5rem;
  place-items: center;
}

.channel-list-item__body {
  padding: 1.25rem;
}

.channel-list-item h2,
.channel-list-item h3 {
  margin: 0.6rem 0;
  font-size: 1.2rem;
}

.channel-list-item h2 a,
.channel-list-item h3 a {
  color: var(--bit-text);
  text-decoration: none;
}

.channel-list-item h2 a:hover,
.channel-list-item h3 a:hover {
  color: var(--channel-accent);
}

.channel-list-item p {
  margin-bottom: 0.7rem;
  color: var(--bit-text-muted);
  font-size: 0.9rem;
}

.channel-side {
  display: grid;
  gap: 1rem;
}

.channel-side-card {
  padding: 1.3rem;
  background: #fff;
  border: 1px solid var(--bit-border);
  border-radius: var(--bit-radius);
}

.channel-side-card h2,
.channel-side-card h3 {
  margin-bottom: 1rem;
  font-size: 1.08rem;
}

.channel-side-card ul {
  display: grid;
  padding-left: 1.15rem;
  margin: 0;
  gap: 0.65rem;
  color: var(--bit-text-muted);
  font-size: 0.86rem;
}

.channel-data-card {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--bit-border);
  border-left: 4px solid var(--channel-accent);
  border-radius: var(--bit-radius);
}

.channel-data-card dl {
  display: grid;
  grid-template-columns: minmax(100px, 0.35fr) minmax(0, 0.65fr);
  margin: 0;
  gap: 0.6rem 1rem;
}

.channel-data-card dt {
  color: var(--bit-text-muted);
  font-weight: 650;
}

.channel-data-card dd {
  margin: 0;
}

.channel-article {
  max-width: 900px;
  margin-inline: auto;
}

.channel-article__summary {
  padding: 1.4rem;
  margin-bottom: 2rem;
  background: var(--channel-tint);
  border-left: 4px solid var(--channel-accent);
  border-radius: var(--bit-radius-sm);
}

.channel-article h2 {
  margin-top: 2.3em;
  font-size: 1.65rem;
}

.channel-article h3 {
  margin-top: 1.8em;
  font-size: 1.25rem;
}

.channel-article blockquote {
  padding: 1rem 1.25rem;
  color: var(--bit-text-muted);
  background: var(--bit-page);
  border-left: 4px solid var(--channel-accent);
}

.channel-timeline {
  position: relative;
  display: grid;
  padding-left: 2rem;
  gap: 1rem;
}

.channel-timeline::before {
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.6rem;
  width: 2px;
  content: "";
  background: var(--bit-border);
}

.channel-timeline__item {
  position: relative;
  padding: 1.2rem;
  background: #fff;
  border: 1px solid var(--bit-border);
  border-radius: var(--bit-radius);
}

.channel-timeline__item::before {
  position: absolute;
  top: 1.45rem;
  left: -1.8rem;
  width: 0.8rem;
  height: 0.8rem;
  content: "";
  background: var(--channel-accent);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--channel-accent);
}

.channel-timeline__year {
  color: var(--channel-accent);
  font-weight: 800;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.directory-card {
  display: flex;
  min-height: 260px;
  padding: 1.3rem;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--bit-border);
  border-radius: var(--bit-radius);
}

.directory-card h2,
.directory-card h3 {
  margin: 1rem 0 0.55rem;
  font-size: 1.15rem;
}

.directory-card p {
  color: var(--bit-text-muted);
  font-size: 0.88rem;
}

.directory-card__meta {
  display: flex;
  margin-top: auto;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.directory-risk {
  padding: 1rem;
  color: #854d0e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--bit-radius-sm);
}

.channel-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.channel-accent-button {
  color: #fff;
  background: var(--channel-accent);
  border-color: var(--channel-accent);
}

.channel-accent-button:hover {
  color: #fff;
  filter: brightness(0.9);
}

@media (max-width: 1199.98px) {
  .channel-category-grid,
  .directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .channel-hero__inner,
  .channel-feature,
  .channel-list-layout {
    grid-template-columns: 1fr;
  }

  .channel-feature img {
    min-height: 260px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767.98px) {
  .channel-search {
    align-items: stretch;
    flex-direction: column;
  }

  .channel-list-item {
    grid-template-columns: 1fr;
  }

  .channel-list-item__visual {
    min-height: 120px;
  }

  .channel-kpi-grid,
  .channel-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .channel-category-grid,
  .directory-grid {
    grid-template-columns: 1fr;
  }

  .channel-data-card dl {
    grid-template-columns: 1fr;
  }
}
