/* 课程卡片列表 */
.listCont {
  padding: 0.4rem 0.2rem;
}
.course-list {
  display: grid;
  /* grid-template-columns: repeat(3, 1fr); */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
  min-width:0;
}
.course-list  li{
   min-width: 0;
}
.course-card {
  background: #fff;
  border: 1px solid #eef2f8;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
    min-width: 0;
  
}
.course-card:hover {
  box-shadow: 0 8px 24px rgba(0, 51, 136, 0.1);
  transform: translateY(-4px);
  border-color: #0047ab;
}
.course-card-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.course-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.course-card:hover .course-card-img img {
  transform: scale(1.05);
}
.course-card-body {
  padding: 0.2rem;
}
.course-card-title {
  color: #222;
  margin-bottom: 0.1rem;
  line-height: 1.4em;
  position: relative;
  padding-left: 0.14rem;
  width: 100%;
  height: 2.8em

  
/*    white-space: nowrap;      
    overflow: hidden;     
    text-overflow: ellipsis;  */
}
.course-card-title:before {
  content: "";
  position: absolute;
  left: 0.02rem;
  top: 0.04rem;
  width: 0.04rem;
  height: 0.22rem;
  background: #185fca;
  z-index: 1;
}
.course-card:hover .course-card-title {
  color: #0047ab;
}
.course-card-date {
  background: url(../images/dateIcon.png) no-repeat left center;
  background-size: 0.2rem 0.2rem;
  padding-left: 0.3rem;
  color: #999;
  margin-bottom: 0.1rem;
}
.course-card-body p {
  color: #999;
}
.course-card-more {
  display: table;
  color: #666;
  border: 1px solid #d8d8d8;
  padding: 0.1rem 0.3rem;
  border-radius: 0.06rem;
  transition: all 0.3s;
  margin-top: 0.2rem;
}
.course-card:hover .course-card-more {
  background: #ff7a00;
  color: #fff;
}



/* 详情 */
.article-header {
  margin-bottom: 0.2rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid #eef2f8;
}
.article-header h1 {
  color: #222;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.15rem;
}
.article-meta {
  color: #999;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.article-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 合易期刊列表 */
/* ========== 最新期刊推荐 ========== */
        .journal-new {
            display: flex;
            gap: 30px;
            padding: 0.3rem;
            background: #f8fafd;
            border-radius: 0.08rem;
            margin-bottom: 0.4rem;
            align-items: center;
        }
        .journal-cover {
            flex-shrink: 0;
            width: 2.4rem;
            height:3rem;
            border-radius: 0.06rem;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,51,136,0.1);
        }
        .journal-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .journal-info {
            flex: 1;
            min-width: 0;
        }
        .journal-info h2 {
            color: #003388;
            font-weight: 600;
            margin-bottom: 0.2rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .journal-date {
            color: #999;
            margin-bottom: 0.3rem;
        }
        .journal-desc {
            color: #666;
            line-height: 1.8;
            margin-bottom: 0.35rem;
        }
        .btn-download {
            display: block;
            padding: 0.1rem 0.3rem;
            background: #ff7a00;
            color: #fff;
            border-radius: 0.06rem;
            transition: background 0.3s;
            width:1.6rem;
            text-align: center;
        }
        .btn-download:hover {
            background: #e66f00;
        }

        /* ========== 期刊列表 ========== */
        .journal-list {
            margin-bottom: 40px;
        }
        .journal-list li {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 0;
            border-bottom: 1px solid #eef2f8;
            min-width: 0;
        }
        .journal-list-left {
            display: flex;
            align-items: center;
            gap: 20px;
            min-width: 0;
            flex: 1;
        }
        .journal-list-date {
            flex-shrink: 0;
           
            color: #999;
            width: 120px;
        }
        .journal-list-title {
            color: #333;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            min-width: 0;
            flex: 1;
        }
        .journal-list li:hover .journal-list-title {
            color: #0047ab;
        }
        .journal-icon {
            flex-shrink: 0;
            width:0.26rem;
            height: 0.26rem;;
            color: #999;
            margin-left: 0.2rem;
            transition: color 0.3s;
        }
        .journal-list li:hover .journal-icon {
            color: #ff7a00;
        }




/* ========== 移动端适配 ========== */
@media (max-width: 992px) {
    .main-content {
        min-width: 0;
        width: 100%;
        overflow: hidden;
    }


    .listCont{
        padding:0.3rem 0rem;
    }
    .course-list{
        grid-template-columns: 1fr;
    }
    .course-card-body {
        padding: 0.3rem;
    }

    .journal-new{
        flex-direction: column;
        gap: 0.2rem;
        padding: 0.3rem;
    }
    /* .journal-list li{
        flex-direction: column;
        align-items: flex-start;
    }
    .journal-list-left{
        flex-direction: column;
        gap: 0.2rem;
        flex: 1;
        min-width: 0;
        align-items: flex-start;
    }
    .journal-list-title{
        margin-bottom:0.2rem;
        min-width: 0;
    } */


   .journal-list li {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* 强制子元素占满整行宽度 */
    gap: 8px;
    padding: 16px 0;
    width: 100%;
    min-width: 0; /* 第1层锁：Grid子项允许压缩 */
    list-style: none;
}

.journal-list-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    min-width: 0; /* 第2层锁：a标签允许压缩，最关键的一层 */
    /* 双重保险：强制宽度可收缩 */
    flex: 1;
}

.journal-list-date {
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: flex-start;
}

.journal-list-title {
    font-size:0.28rem;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    /* 第3层锁：标题占满宽度 + 单行省略 */
    width: 100%;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.journal-icon {
    margin-left: 0;
    width:0.36rem;
     height: 0.36rem;
    flex-shrink: 0;
}



    .btn-download{
        width:3rem;
    }
    



}
@media (max-width: 768px) {
}
@media (max-width: 600px) {
}
@media (max-width: 480px) {
}
