.channel-page {
  width: 100vw;
  padding: 2rem 6rem;
  height: auto;
  display: flex;
  justify-content: center;
}
.page-auto {
  width: 100%;
  max-width: 1200px;
  height: 100%;
}

.channel-nav {
  width: 100%;
  height: 3.5rem;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  text-align: center;
  gap: 0.2rem;
  padding-bottom: 1.5rem;
}
.channel-nav span {
  font-size: 1rem;
  text-align: center;
  user-select: none;
}
.channel-nav > a ,
.channel-nav > span > a {
  font-size: 1rem;
  color: #000;
  text-align: center;
  text-decoration: none !important;
  position: relative;
  cursor: pointer;
}
.channel-nav a:first-child {
  font-size: 1.2rem;
  font-weight: bold;
}

.channel-nav a:hover {
  color: #2b2b2b;
}
.channel-nav a::after {
  content: '';
  position: absolute;
  bottom: -0.1rem;
  left: 0;
  width: 100%;
  height: 0.1rem;
  background-color: #2b2b2b;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease-in-out;
}
.channel-nav a:hover::after {
  transform: scaleX(1);
}

.nav-slash {
  font-size: 1.2rem;
  color: #000;
  padding: 0 0.2rem;
}
.channel-head {
  width: 100%;
  height: 3rem;
  background: linear-gradient(85.43deg, #c875f0 -6.33%, #4a6cf7 90.46%);
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.channel-head .icon {
  width: 1.5rem;
  height: 1.5rem;
  display: none;
}
.channel-head h1 {
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.5rem;
  margin: 0;
}
.channel-main {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
.menu {
  padding: 2rem;
  width: fit-content;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1em;
  height: 100%;
  & > a {
    font-size: 1rem;
    color: #000;
    text-decoration: none !important;
    cursor: pointer;
  }
}
.menu a {
  font-size: 1rem;
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.menu a.active {
  background: linear-gradient(85.43deg, #c875f0 -6.33%, #4a6cf7 90.46%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.menu a.active::after {
  content: '';
  position: absolute;
  bottom: -0.1em;
  left: 0;
  width: 100%;
  height: 0.1em;
  background: linear-gradient(85.43deg, #c875f0 -6.33%, #4a6cf7 90.46%);
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 0.3s ease-in-out;
}
.channel-main .channel-content {
  flex: 1;
  padding: 2rem 0;
  box-sizing: border-box;
  min-width: 0;
  max-width:100%;
  width:100%;
}
#article-main {
  display: block;
}
/* #article-main * {
  margin: revert;
  padding: revert;
  box-sizing: revert;
} */
#article-head {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid #e4e4e4;
}
#article-content {
  padding: 1rem 0;
}
#article-content > * img,
#article-content > * video,
#article-content > * table{
  max-width: 100% !important;
  height: auto !important;
}
#article-footer {
  border-top: 1px solid #e4e4e4;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1em;
}
#article-footer > a {
  text-decoration:none;
  color: #333
}
@media (min-width: 1024px) {
  .page-auto {
    width: 100%;
    max-width: none;
  }
}

@media (min-width: 1440px) {
  .page-auto {
    width: 100%;
    max-width: 1200px;
  }
}
@media (min-width: 1920px) {
  .page-auto {
    width: 100%;
    max-width: 1440px;
  }
}
@media (max-width: 768px) {
  .channel-page {
    padding: 1rem 1rem;
  }
  .channel-head .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s ease-in-out;
  }
  .channel-head .icon.active {
    transform: rotate(180deg);
  }
  .channel-main {
    flex-direction: column;
    overflow: hidden;
  }
  .menu {
    width: 100%;
    height: 0;
    padding: 0 2rem;
    transform: translateY(-100%);
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease-in-out;
  }
  .menu.active {
    transform: translateY(0);
    border-bottom: 1px solid #e4e4e4;
    padding: 2rem;
    opacity: 1;
    visibility: visible;
    width: 100%;
    height: 100%;
  }
}