body {
  background-color: #fff;
  height: 100vh;
  overflow: hidden;
  overscroll-behavior: none;
}

.ArticleBox {
  width: 100%;
  overflow: hidden;
  height: calc(100vh - 78px);
  min-height: 0;
  overflow: hidden;
}
.courseheader {
  background-color: #0b0c1b;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* header 搜索框 */
.courseheadersearch {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding: 0 24px;
}
.courseheadersearchbox {
  width: 100%;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background-color: #fff;
}
.courseheadersearchicon {
  width: 16px;
  height: 16px;
}
.courseheadersearchinput {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #0b0c1b;
}
.courseheadersearchinput::placeholder {
  color: #9093ab;
}
.courseheadersearchclear {
  border: none;
  background: transparent;
  padding: 0;
  line-height: 1;
  font-size: 18px;
  color: #5a5c76;
  cursor: pointer;
  display: none;
}
.courseheadersearchclear:hover {
  color: #0b0c1b;
}
.courseheaderleft {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
}
.courseheaderlogo img {
  width: 120px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}
.courseheadertitle {
  font-size: 18px;
  color: #fff;
  padding-left: 12px;
  margin-left: 12px;
  border-left: 1px solid #fff;
  line-height: 30px;
}
.courseheadergoback img {
  width: 24px;
  height: 24px;
}
.coursefooter {
  margin: auto;
  position: relative;
  padding: 1px;
  margin-top: 80px;
}
.coursefooteritem {
  text-align: center;
  color: #5a5c76;
  width: 100%;
  padding: 0 20px;
  margin-top: 8px;
  font-size: 13px;
}
.Article1 {
  width: 100%;
  margin: 0 auto;
  display: flex;
}
.articlepcbox {
  width: 340px;
  border-right: 1px solid #e6e6e6;
  background-color: #f0f3f6;
  height: calc(100vh - 88px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.articlecontent {
  flex: 1;
  padding: 32px;
  --courseTextWidth: 50%;
  height: calc(100vh - 88px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* 已选条件（顶部筛选条） */
.articleclassify {
  display: none;
  width: 50%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.articleclassifyLeft {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.articleclassifyGroup {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 8px;
}
.articleclassifyLabel {
  font-size: 14px;
  font-weight: 600;
  color: #0b0c1b;
}
.articleclassifyItems {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.articleclassifyChipLink {
  display: inline-flex;
  text-decoration: none;
  color: inherit;
}
.articleclassifyChipLink:hover {
  text-decoration: none;
}
.articleclassifyChip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0px 10px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  color: #0b0c1b;
  line-height: 1;
  background: transparent;
}
.articleclassifyChip:hover {
  text-decoration: none;
}
.articleclassifyChipText {
  font-size: 12px;
  line-height: 24px;
  font-weight: 500;
  color: #5a5c76;
}
.articleclassifyChip:hover .articleclassifyChipText {
  color: #6f7294f3;
}
.articleclassifyChipClose {
  font-size: 16px;
  line-height: 24px;
  line-height: 1;
}
.articleclassifyClear {
  color: #0b0c1b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid #e6e6e6;
  padding: 8px 16px;
  border-radius: 6px;
  line-height: 1;
}
.articleclassifyClear a {
  color: inherit;
  text-decoration: none;
}
.articleclassifyClear a:hover {
  text-decoration: none;
}
.articleclassifyClear:hover {
  color: #6f7294f3 !important;
}

.articletaglis {
  padding: 20px 32px;
  border-top: 1px solid #e6e6e6;
}
.articletaglis:first-child {
  border-top: none;
  padding-top: 32px;
}
.articletaglis:last-child {
  padding-bottom: 32px;
}
.articleListtag,
.articleListtag2 {
  margin-right: 5px;
  display: flex;
  font-size: 14px;
  cursor: pointer;
  padding: 6px;
  padding-left: 0;
  border-radius: 5px;
  border: 1px solid transparent;
  align-items: center;
}
.articleListtagname {
  font-size: 18px;
  font-weight: 600;
  color: #0b0c1b;
  margin-bottom: 12px;
}

/* 标签搜索框 */
.tagSearchBox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background-color: #fff;
  margin-bottom: 10px;
}
.tagSearchBox .glyphicon-search {
  color: #5a5c76;
  font-size: 18px;
  line-height: 1;
}
.tagSearchInput {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: #0b0c1b;
}
.tagSearchInput::placeholder {
  color: #5a5c76;
}
.articlecontentname {
  font-size: 15px;
  font-weight: 600;
  color: #0b0c1b;
  padding-bottom: 16px;
  border-bottom: 1px solid #e6e6e6;
}
.articleListtagcut {
  --state-cut: 1;
}
.articleListtag::before,
.articleListtag2::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  margin-right: 8px;
  background: #fff;
  background-image: none;
  background-size: 16px 16px;
  background-repeat: no-repeat;
  background-position: center;
}
.articleListtag.articleListtagcut::before,
.articleListtag2.articleListtagcut::before {
  content: "";
  background-image: url("../image/article/check.svg");
  background-color: #007dfc;
}

/* 右侧数量徽标 */
.articleCountBadge {
  margin-left: auto;
  line-height: 1;
  text-align: center;
}

/* 课程列表内筛选链接（与左侧筛选呼应） */
.courseFilterLink {
  text-decoration: none;
  color: inherit;
}
.courseFilterLink:hover {
  text-decoration: none;
}

.articlephonebox {
  display: none;
}

/* 日期范围单选 */
.dateFilter {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.dateRadio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
  margin-bottom: 0;
  color: #0b0c1b;
  user-select: none;
}
.dateRadio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.dateRadioMark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cfd4dc;
  background-color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dateRadioMark::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
}
.dateRadio input:checked + .dateRadioMark {
  border-color: #007dfc;
}
.dateRadio input:checked + .dateRadioMark::after {
  background: #007dfc;
}
.dateRadioText {
  font-size: 14px;
  font-weight: 500;
}
.articlephonetagbox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}
/* 显示更多/收起 切换样式 */
.showMoreToggle {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: end;
  color: #5a5c76;
  user-select: none;
}
.showMoreToggle .showMoreIcon {
  margin-left: 6px;
  margin-bottom: 2px;
  width: 14px;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}
.showMoreToggle.expanded .showMoreIcon {
  transform: rotate(180deg);
}
.articlephonetag {
  position: relative;
  flex: 1;
}
.articlephonetagname {
  background-color: #fff;
  border: 1px solid #d0d3d6;
  border-radius: 10px;
  font-size: 15px;
  width: 100%;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  position: relative;
}
.jiantoua {
  width: 15px;
  height: 15px;
  position: absolute;
  transform: rotateZ(180deg);
  right: 20px;
  top: 33%;
  transition: all 0.2s;
  transition-timing-function: linear;
}
.jiantouacut {
  transform: rotateZ(360deg);
}
.articlephonetagliscontent {
  position: absolute;
  background-color: #fff;
  width: 100%;
  padding-top: 0;
  border: 1px solid #d0d3d6;
  border-radius: 10px;
  display: none;
  padding: 5px;
  transition: all 0.2s;
  transition-timing-function: linear;
  top: 46px;
}
.articlephonetaglis,
.articlephonetaglis1 {
  padding: 10px 30px;
  border-radius: 5px;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.articlephonetaglis::before,
.articlephonetaglis1::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1px solid #cfd4dc;
  border-radius: 3px;
  margin-right: 8px;
  background: #fff;
  background-image: none;
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.articlephonetaglis.articleListtagcut::before,
.articlephonetaglis1.articleListtagcut::before {
  background-image: url("../image/home/uam/check.svg");
  border-color: #007dfc;
}
.articlephonetaglis:hover,
.articlephonetaglis1:hover {
  background-color: #f3f7fa;
}
.articlephonetagimg1,
.articlephonetagimg2 {
  width: 15px;
  height: 15px;
  display: none;
}
.articlephonetagcut {
  background-color: #f7f9fc;
}
/* !-select------------------------------------------------------ */
.articleselect {
  position: relative;
  margin-top: 12px;
}
.articleselectcontent {
  position: absolute;
  background-color: #fff;
  width: 100%;
  padding-top: 0;
  border-radius: 10px;
  display: none;
  padding: 5px;
  transition: all 0.2s;
  transition-timing-function: linear;
  top: 46px;
}
.articleselectcontent {
  height: auto;
}
.articleselecttag2 {
  /* margin-bottom: 20px; */
  /* width: 120px; */
  /* text-align: center; */
  padding: 10px 30px;
  border-radius: 5px;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.articleselecttag2:hover {
  background-color: #f3f7fa;
}

.articleselectimg1 {
  width: 15px;
  height: 15px;
  display: none;
}
/* 当产品项被选中时，显示右侧勾选图标 */
.articleselecttag2.articleListtagcut .articleselectimg1 {
  display: inline-block;
}
.articleselectname {
  background-color: #fff;
  /* border: 1px solid #d0d3d6; */
  border-radius: 10px;
  font-size: 15px;
  width: 100%;
  padding: 10px;
  padding-left: 16px;
  cursor: pointer;
  position: relative;
}
.articleList {
  max-width: 100%;
  margin-top: 20px;
}

/* 加载占位画布（文章列表未返回时） */
.articleSkeleton {
  width: 100%;
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.articleSkeletonItem {
  width: 100%;
  padding-bottom: 24px;
  border-bottom: 1px solid #e9e8ea;
}

/* 加载态：让“加载中盒子”和骨架一起出现 */
.articlecontent.is-loading .articlecontentname {
  display: block;
}
.articlecontent.is-loading .articleList {
  display: block;
}
.skelTop {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 10px;
}
.skelBar {
  height: 16px;
  border-radius: 8px;
  background-color: #eef1f4;
}
.skelLine {
  height: 14px;
  margin-top: 10px;
}
.skelW45 {
  width: 45%;
}
.skelW50 {
  width: 50%;
}
.skelW70 {
  width: 50%;
}
.skelW100 {
  width: 100%;
}
/* 骨架条宽度与摘要文字宽度保持一致 */
.skelWContent {
  width: var(--courseTextWidth);
}
.articleListItem1 {
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: transform 0.3s;
  padding-bottom: 8px;
  border-bottom: 1px solid #e9e8ea;
  margin-bottom: 24px;
}
.articleListItem1:hover .articleListTitle {
  color: #007dfc;
}

.articleListTitle {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #282a30;
  text-decoration: none;
  max-width: var(--courseTextWidth);
  -webkit-line-clamp: 1;
  line-clamp: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0;
}
.articleListContent {
  font-size: 15px;
  color: #5a5c76;
  line-height: 24px;
  margin-bottom: 16px;
  display: -webkit-box;
  width: var(--courseTextWidth);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.artTagnameitembox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.artTagnameitem {
  font-size: 12px;
  color: #5a5c76;
  border: 1px solid #d0d3d6;
  border-radius: 4px;
  line-height: 22px;
  padding: 0px 10px;
  margin-right: 10px;
  margin-bottom: 16px;
}
.artTagnameitem:hover {
  color: #6f7294f3;
}
.artbag {
  font-size: 12px;
  color: #9098ab;
  margin-bottom: 16px;
}
.artpage {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}
.artpageInfo {
  font-size: 14px;
  color: #9098ab;
  white-space: nowrap;
}
.artpageNav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.artpageLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  text-decoration: none;
  color: #5a5c76;
  user-select: none;
}
.artpageLink:hover {
  text-decoration: none;
  color: #0b0c1b;
}
.artpageLinkActive {
  background-color: #f0f3f6;
  color: #0b0c1b;
}
.artpageLinkDisabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.artpageEllipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 34px;
  color: #9098ab;
  user-select: none;
}
.aLiactive {
  border-radius: 100%;
  background-color: #007dfc;
  color: #fff !important;
}
.courseheaderfilter {
  display: none;
}
/* =====================================================================
   Mobile/Tablet/Laptop Responsive Overrides (append-only, easy to tweak)
   ===================================================================== */
@media only screen and (min-width: 1096px) and (max-width: 1440px) {
  .articlecontent {
    --courseTextWidth: 80%;
  }
}
/* 平板及以下：头部改为两行（上：标题/图标，下：搜索），内容单列 */
@media only screen and (max-width: 1096px) {
  /* 页面允许滚动（桌面端可能锁住滚动） */

  html,
  body {
    height: auto;
  }
  body {
    overflow: auto;
  }
  .courseheaderfilter {
    display: block;
  }
  /* 抽屉打开时锁滚动 */
  body.courseDrawerLocked {
    overflow: hidden;
  }
  .articleclassifyGroup {
    flex-wrap: wrap;
    width: 100%;
  }
  .courseheader {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
  }
  .coursefooter {
    padding-bottom: 24px;
  }
  .courseheaderleft {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }
  .courseheaderlogo img {
    height: 24px;
    margin-left: -12px;
  }
  .courseheadertitle {
    font-size: 16px;
    line-height: 24px;
    padding-left: 10px;
    margin-left: 0;
  }
  .courseheadergoback {
    order: 2;
    flex: 0 0 auto;
  }
  .courseheadergoback img {
    width: 20px;
    height: 20px;
  }
  .courseheaderfilter {
    order: 2;
    flex: 0 0 auto;
  }
  .courseFilterToggle {
    line-height: 1;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .courseFilterIcon {
    width: 20px;
    height: 20px;
    display: block;
    margin-top: 2px;
  }
  .courseFilterIconClose {
    display: none;
  }
  .courseFilterToggle[aria-expanded="true"] .courseFilterIconOpen {
    display: none;
  }
  .courseFilterToggle[aria-expanded="true"] .courseFilterIconClose {
    display: block;
  }
  .courseheadersearch {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    padding: 0;
    justify-content: flex-start;
  }
  .courseheadersearchbox {
    max-width: none;
    width: 100%;
  }
  .articleclassifyClear {
    margin-bottom: 16px;
  }
  /* 主体：单列 */
  .Article1 {
    display: block;
    padding: 0;
  }
  .articlepcbox {
    display: none;
  }
  .articlecontent {
    padding: 20px;
    /* 平板：宽度更大一些 */
    --courseTextWidth: 90%;
  }
  .articleclassify {
    width: 100%;
  }

  .articleListItem1 {
    margin-right: 0;
  }
  .articleListTitle {
    max-width: none;
    white-space: normal;
  }
  .articleListContent {
    width: var(--courseTextWidth);
  }
  .artTagnameitembox {
    flex-wrap: wrap;
    gap: 8px;
  }
  .artTagnameitem {
    margin-right: 0;
  }
  .artpage {
    flex-wrap: wrap;
  }

  /* 移动端筛选抽屉：JS 切换 articlepcbox.is-open，并注入遮罩 courseDrawerBackdrop */
  .courseDrawerBackdrop {
    position: fixed;
    left: 0;
    right: 0;
    top: 108px;
    bottom: 0;
    background: rgba(11, 12, 27, 0.45);
    z-index: 998;
  }
  .articlepcbox.is-open {
    display: block;
    position: fixed;
    top: 108px;
    right: 0;
    width: min(86vw, 420px);
    height: calc(100dvh - 90px);
    z-index: 999;
    background-color: #f0f3f6;
    border-left: 1px solid #e6e6e6;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    padding-bottom: 24px;
  }
}

/* 手机：更紧凑的边距与字号、摘要满宽 */
@media only screen and (max-width: 768px) {
  .articlecontent {
    padding: 16px;
    --courseTextWidth: 100%;
  }
  .articleListTitle {
    font-size: 17px;
  }
  .articleListContent {
    width: var(--courseTextWidth);
  }
}

/* 超小屏：进一步压缩 */
@media only screen and (max-width: 420px) {
  .articlecontent {
    padding: 14px;
  }
}
