.channel-page-subnav[hidden] {
  display: none !important;
}

.channel-page-subnav {
  position: relative;
  z-index: 20;
  margin-top: -44px;
  padding: 0 0 26px;
}

.channel-page-subnav__inner {
  position: relative;
  overflow: hidden;
  padding: 18px 22px 20px;
  border: 1px solid rgba(10, 74, 168, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(9, 101, 255, 0.08), rgba(255, 255, 255, 0.98) 36%),
    #ffffff;
  box-shadow: 0 18px 44px rgba(15, 46, 89, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.channel-page-subnav__inner::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(9, 101, 255, 0.15) 0%, rgba(9, 101, 255, 0) 72%);
  pointer-events: none;
}

.channel-page-subnav__eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #0a5bd7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.channel-page-subnav__eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a67ff, #4fb3ff);
  box-shadow: 0 0 0 6px rgba(10, 103, 255, 0.08);
}

.channel-page-subnav__scroller {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(10, 91, 215, 0.35) transparent;
}

.channel-page-subnav__links {
  display: flex;
  gap: 12px;
  width: max-content;
  min-width: 100%;
  padding-bottom: 2px;
}

.channel-page-subnav__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(10, 74, 168, 0.1);
  background: rgba(244, 248, 253, 0.96);
  color: #24415f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.channel-page-subnav__links a:hover {
  transform: translateY(-2px);
  background: #ffffff;
  color: #0a5bd7;
  box-shadow: 0 10px 22px rgba(10, 74, 168, 0.12);
}

.channel-page-subnav__links a.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #0a67ff 0%, #1f8fff 100%);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(10, 103, 255, 0.26);
}

@media (max-width: 1023px) {
  .channel-page-subnav {
    margin-top: 0;
    padding: 16px 0 6px;
    background: #ffffff;
    border-bottom: 1px solid #edf2f7;
  }

  .channel-page-subnav .commonweb {
    width: auto;
    padding: 0 16px;
  }

  .channel-page-subnav__inner {
    padding: 16px;
    border-radius: 20px;
    box-shadow: 0 14px 28px rgba(15, 46, 89, 0.08);
  }

  .channel-page-subnav__eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .channel-page-subnav__links {
    gap: 10px;
  }

  .channel-page-subnav__links a {
    min-height: 42px;
    padding: 0 16px;
    font-size: 13px;
  }
}
