.yc-channel {
  background: #f4f6f8;
  color: #1c1c1c;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Muli, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  padding: 28px 0 48px;
}

.yc-channel h1,
.yc-channel h2,
.yc-channel p {
  margin: 0;
}

.yc-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #98a2b3;
  font-size: 13px;
}

.yc-crumb a {
  color: #667085;
  text-decoration: none;
}

.yc-crumb a:hover {
  color: #e23b3b;
}

.yc-channel-head {
  margin-bottom: 20px;
}

.yc-channel-head h1,
.yc-article h1 {
  color: #171717;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
}

.yc-channel-head h1::before,
.yc-article h1::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: #e23b3b;
  vertical-align: 0.12em;
}

.yc-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.yc-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  background: #fff;
  border: 1px solid #e7ebf0;
  border-radius: 12px;
  overflow: hidden;
  color: #1c1c1c;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.yc-item:hover {
  color: #1c1c1c;
  border-color: #f0c7c7;
  box-shadow: 0 10px 24px rgba(20, 24, 32, 0.06);
  transform: translateY(-2px);
  text-decoration: none;
}

.yc-item-cover {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  background: #eef1f4 url(/images/nophoto.png) center / cover no-repeat;
}

.yc-item-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yc-item-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 16px;
}

.yc-item h2 {
  color: #1c1c1c;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.9em;
}

.yc-item:hover h2 {
  color: #e23b3b;
}

.yc-item-desc {
  margin-top: 10px;
  color: #667085;
  font-size: 15px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.yc-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  color: #98a2b3;
  font-size: 12px;
}

.yc-item-meta em {
  min-width: 0;
  flex: 1;
  font-style: normal;
  color: #475467;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yc-item-meta span {
  flex: none;
}

.yc-pages {
  margin-top: 28px;
}

.yc-pages .dede_pages,
.yc-pages .pagelist {
  width: auto !important;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.yc-pages .pagelist li {
  float: none !important;
  max-width: none !important;
  margin: 0 !important;
  list-style: none;
}

.yc-pages .pagelist a,
.yc-pages .pagelist .pageinfo,
.yc-pages .pagelist li.thisclass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
  background: #fff;
  color: #1c1c1c;
  font-size: 14px;
  text-decoration: none;
}

.yc-pages .pagelist a:hover {
  border-color: #1c1c1c;
  color: #1c1c1c;
  text-decoration: none;
}

.yc-pages .pagelist li.thisclass,
.yc-pages .pagelist li.thisclass a {
  background: #1c1c1c;
  border-color: #1c1c1c;
  color: #fff;
}

.yc-article {
  background: #fff;
  border: 1px solid #e7ebf0;
  border-top: 3px solid #e23b3b;
  border-radius: 16px;
  padding: 28px 32px 36px;
  box-shadow: 0 16px 40px rgba(20, 24, 32, 0.06);
}

.yc-article-sub {
  margin-top: 10px;
  color: #667085;
  font-size: 15px;
}

.yc-article-sub:empty {
  display: none;
}

.yc-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eef1f4;
  color: #667085;
  font-size: 13px;
}

.yc-article-meta strong {
  color: #475467;
  font-weight: 700;
}

.yc-article-cover {
  margin: 20px 0 4px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef1f4;
}

.yc-article-cover img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.yc-body {
  margin-top: 20px;
  color: #1c1c1c;
  font-size: 16px;
  line-height: 1.9;
  word-break: break-word;
}

.yc-body p {
  margin: 0 0 1em;
}

.yc-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.yc-body a {
  color: #e23b3b;
}

.yc-body table {
  width: 100%;
  margin: 0 0 1em;
  border-collapse: collapse;
}

.yc-body td,
.yc-body th {
  border: 1px solid #e7ebf0;
  padding: 8px 10px;
}

@media (max-width: 991px) {
  .yc-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yc-article {
    padding: 22px 18px 28px;
  }

  .yc-channel-head h1,
  .yc-article h1 {
    font-size: 22px;
  }
}

@media (max-width: 575px) {
  .yc-list-grid {
    grid-template-columns: 1fr;
  }
}
