/* 视图外层容器：仅作用于整个讲座列表，隔离样式 */
.lecture-list-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.lecture-list-wrapper .block-title {
  font-size: 18px;
  font-weight: 400;
  color: #333;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.lecture-list-wrapper .block-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: #0158d9;
  border-radius: 2px;
}

/* 替换浮动为Flex布局：实现两行两列，兼容效果 */
.lecture-list-wrapper .views-element-container > div {
  /* 移除overflow: hidden，改用flex容器 */
  display: flex;
  flex-wrap: wrap; /* 自动换行，实现两行两列 */
  margin: 0 -10px; /* 抵消子元素的左右padding，保持整体宽度一致 */
}

.lecture-list-wrapper .views-row {
  width: 50%;
  /* 移除float: left */
  padding: 0 10px;
  margin-bottom: 12px;
  box-sizing: border-box;
  min-height: 200px;
}

.lecture-list-wrapper .views-field,
.lecture-list-wrapper .lecture-container {
  width: 100%;
  background:rgb(245, 245, 245);
}

/* 卡片：高度200px，背景图样式 */
.lecture-list-wrapper .lecture-card {
  width: 100%;
  height: 200px;
  border-radius: 4px;
  background-image: url('https://dpcms.sysu.edu.cn/sai-prod/sites/default/files/lectuer_bg@2x.png');
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: auto 60%;
  overflow: hidden;
  position: relative;
}

/* 蓝色日期栏：缩小宽度从100px到80px，其余样式不变 */
.lecture-list-wrapper .lecture-date {
  width: 80px; /* 核心修改：大盒子宽度从100px缩到80px */
  height: 200px;
  float: left;
  color: #000;
  text-align: center;
  padding-top: 20px !important;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* 顶部直线+箭头：同步缩小宽度，颜色 rgb(62, 198, 255) */
.lecture-list-wrapper .lecture-date::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 15%; /* 核心修改：左右间距从10%调至15%，缩小下划线宽度 */
  right: 15%;
  height: 2px;
  background-color: rgb(62, 198, 255);
}
.lecture-list-wrapper .lecture-date::after {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent; /* 核心修改：箭头尺寸从6px缩到5px，比例协调 */
  border-right: 5px solid transparent;
  border-top: 5px solid rgb(62, 198, 255);
}

/* date-month：和箭头同宽，白色背景，居中，左右留空 */
.lecture-list-wrapper .date-month {
  font-size: 16px;
  font-weight: normal !important;
  color: #000 !important;
  margin: 0 auto; /* 水平居中 */
  padding: 8px 0; /* 上下内边距，让块更高 */
  background-color: #ffffff; /* 白色背景 */
  border-radius: 0; /* 去掉圆角 */
  display: block;
  width: 70%; /* 和箭头宽度一致（100% - 15%*2 = 70%） */
  box-sizing: border-box;
}

/* date-year：和箭头同宽，蓝色背景，居中，无缝衔接上面的白色块 */
.lecture-list-wrapper .date-year {
  font-size: 14px;
  font-weight: normal;
  background-color: rgb(24, 102, 225) !important;
  color: #fff !important;
  padding: 10px 0; /* 左右内边距去掉，让背景铺满 */
  border-radius: 0 !important;
  display: block;
  margin: 0 auto; /* 水平居中 */
  width: 70%; /* 和箭头宽度一致，无缝衔接 */
}

/* 内容区域：同步修改margin-left，适配缩小后的date盒子 */
.lecture-list-wrapper .lecture-content {
  width: auto;
  height: 200px;
  display:flex;
	flex-direction:column;
	justify-content:space-between;
  margin-left: 80px; /* 核心修改：从100px改为80px，和date盒子宽度一致 */
	padding:15px 20px 10px 5px;
  box-sizing: border-box;
  overflow: hidden;
  /*background-color: rgba(255, 255, 255, 0.95);*/
  z-index: 1;
  position: relative;
}

/* 标题：最多两行，无省略号 */
.lecture-list-wrapper .lecture-title {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  line-height: 1.4;
  max-height: 44px;
  margin-bottom: 8px;
  overflow: hidden !important;
  position: relative;
  display: block;
}
.lecture-list-wrapper .lecture-title::after {
  content: none !important;
}

/* 信息行：字体黑色，无省略号，仅标签加粗 */
.lecture-list-wrapper .lecture-info {
  font-size: 12px;
  color: #6b7280 !important;
  line-height: 1.5;
  font-weight: normal !important;
  max-height: 36px;
  margin-bottom: 6px;
  overflow: hidden !important;
  position: relative;
  display: block;
}

.lecture-list-wrapper .lecture-info span:first-child,
.lecture-list-wrapper .lecture-info strong,
.lecture-list-wrapper .lecture-info b {
  font-weight: bold !important;
  color: #000 !important;
}
.lecture-list-wrapper .lecture-info a {
	color: #6b7280 !important; /* 仅修改这一行，固定颜色为#6b7280并添加!important确保优先级 */
}
.lecture-list-wrapper .lecture-info a,
.lecture-list-wrapper .lecture-info time,
.lecture-list-wrapper .lecture-info span:not(:first-child) {
  font-weight: normal !important;
  color: #6b7280 !important;
}

.lecture-list-wrapper .lecture-info::after {
  content: none !important;
}

/* 链接样式 */
.lecture-list-wrapper .lecture-content a {
  color: #000;
  text-decoration: none;
}

.lecture-list-wrapper .lecture-content a:hover {
  color: rgb(115, 138, 181) !important;
}

/* 响应式：小屏单列（适配Flex布局） */
@media screen and (max-width: 768px) {
  .lecture-list-wrapper .views-element-container > div {
    margin: 0; /* 抵消外层margin */
  }
  .lecture-list-wrapper .views-row {
    width: 100%;
    /* 移除float: none */
    min-height: auto;
    background-size: auto 60%;
    background-position: left bottom;
    padding: 0; /* 抵消padding，保持布局一致 */
    margin-bottom: 20px;
  }
  .lecture-list-wrapper .lecture-card {
    height: auto;
  }
  .lecture-list-wrapper .lecture-date {
    width: 70px; /* 响应式同步缩小，从80px缩到70px */
    height: auto;
    padding-top: 20px;
    padding-bottom: 10px;
  }
  .lecture-list-wrapper .lecture-content {
    margin-left: 70px; /* 响应式同步修改margin-left */
    height: auto;
  }
}