/* 频道页右侧智库课堂（无人车 / 非道路 / 光储充） */
.kerui-page-channel-news .right-panel--policy {
  border-bottom: 1px solid var(--line);
}
.kerui-page-channel-news .right-panel--policy:has(+ .kerui-classroom-rail:not(.kerui-classroom-rail--hidden)) {
  border-bottom: none;
}
.kerui-page-channel-news .kerui-classroom-rail {
  --kerui-course-img-ratio: 16 / 9;
  position: relative;
  padding: 30px 1.65rem 1.15rem 0;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.kerui-page-channel-news .kerui-classroom-rail.kerui-classroom-rail--hidden {
  display: none !important;
  border-bottom: none;
}
.kerui-page-channel-news .kerui-classroom-rail-head {
  display: flex;
  align-items: flex-end;
  min-height: 1.35rem;
  margin-bottom: 20px;
  padding-left: calc(var(--channel-left-mark-w) + var(--channel-left-mark-gap));
  position: relative;
  box-sizing: border-box;
}
.kerui-page-channel-news .kerui-classroom-rail-head::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--channel-left-mark-w);
  min-width: var(--channel-left-mark-w);
  max-width: var(--channel-left-mark-w);
  height: var(--channel-left-mark-h);
  background: #123f78;
  border-radius: 0;
}
.kerui-page-channel-news .kerui-classroom-rail-title {
  color: var(--text-dark);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
  height: 1em;
  flex-shrink: 0;
}
.kerui-page-channel-news .kerui-classroom-rail-head .kerui-classroom-tabs {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-left: calc(0.5rem + 10px);
  font-size: var(--kerui-fs-body);
  color: #4d4d4d;
  font-weight: 400;
  line-height: 1;
}
.kerui-page-channel-news .kerui-classroom-rail-head .kerui-classroom-tabs span {
  color: #4d4d4d;
  cursor: pointer;
  font-weight: 400;
  line-height: 1;
  height: 1em;
}
.kerui-page-channel-news .kerui-classroom-rail-head .kerui-classroom-tabs span:hover {
  color: #0d3d86;
}
.kerui-page-channel-news .kerui-classroom-rail-head .kerui-classroom-tabs span.active {
  color: #123f8b;
  font-weight: 700;
}
.kerui-page-channel-news .kerui-classroom-rail-head > .more {
  position: static;
  right: auto;
  top: auto;
  transform: none;
  margin-left: auto;
  flex-shrink: 0;
}
.kerui-page-channel-news .kerui-classroom-cover {
  display: block;
  position: relative;
  overflow: hidden;
  margin-left: calc(var(--channel-left-mark-w) + var(--channel-left-mark-gap));
}
.kerui-page-channel-news .kerui-classroom-cover .course-img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--kerui-course-img-ratio);
  background:
    linear-gradient(180deg, rgba(24,44,78,0.05), rgba(8,21,39,0.65)),
    linear-gradient(160deg, #b2d6ef 0%, #244563 62%, #10213b 100%);
}
.kerui-page-channel-news .kerui-classroom-cover .course-img.has-cover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.kerui-page-channel-news .kerui-classroom-cover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(8, 18, 40, 0.72));
  pointer-events: none;
}
.kerui-page-channel-news .kerui-classroom-badge {
  position: absolute;
  left: 0.85rem;
  top: 0.75rem;
  z-index: 2;
  color: #ffffff;
  font-size: var(--kerui-fs-caption);
  font-weight: 700;
}
.kerui-page-channel-news .kerui-classroom-cover-title {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.75rem;
  z-index: 2;
  color: #ffffff;
  font-size: var(--kerui-fs-body);
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.kerui-page-unmanned .kerui-classroom-cover-title,
.kerui-page-offroad .kerui-classroom-cover-title,
.kerui-page-lowalt .kerui-classroom-cover-title,
.kerui-page-unmanned .kerui-classroom-badge,
.kerui-page-offroad .kerui-classroom-badge,
.kerui-page-lowalt .kerui-classroom-badge {
  display: none;
}
.kerui-page-unmanned .kerui-classroom-cover::after,
.kerui-page-offroad .kerui-classroom-cover::after,
.kerui-page-lowalt .kerui-classroom-cover::after {
  display: none;
}
.kerui-page-channel-news .kerui-classroom-rail-list {
  margin-left: calc(var(--channel-left-mark-w) + var(--channel-left-mark-gap));
  margin-top: 0.35rem;
}
.kerui-page-channel-news .kerui-classroom-rail-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid #e7eaf0;
  text-decoration: none;
  color: inherit;
}
.kerui-page-channel-news .kerui-classroom-rail-item:last-child {
  border-bottom: none;
}
.kerui-page-channel-news .kerui-classroom-rail-item .name {
  grid-column: 1;
  color: #4d4d4d;
  font-size: var(--kerui-fs-body);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kerui-page-channel-news .kerui-classroom-rail-item .time {
  grid-column: 1;
  color: #888888;
  font-size: var(--kerui-fs-caption);
  margin-top: 0.15rem;
}
.kerui-page-channel-news .kerui-classroom-rail-item .kerui-classroom-rail-tag {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: #888888;
  font-size: var(--kerui-fs-caption);
  white-space: nowrap;
}
.kerui-page-channel-news .kerui-classroom-rail-item:hover .name {
  color: #0d3d86;
  text-decoration: underline;
}
.kerui-page-channel-news .kerui-classroom-empty {
  color: #999999;
  font-size: var(--kerui-fs-body);
  padding: 0.75rem 0;
}
