/* 知识学习列表页样式 - 图片右侧布局 */

/* 列表项 flex 布局 */
.zhisdl {
    display: flex;
    flex-direction: column;
}

.zhisdldiv {
    display: flex;
    flex-direction: column;
}

/* 文字区域 flex 布局 */
.zhisdl .text {
    display: flex;
    order: 2;
    margin-top: 15px;
}

/* 左侧文字区域 */
.zhisdl .text .txt {
    width: 65%;
    padding-right: 15px;
}

.zhisdl .text .img {
    width: 35%;
    order: 1;
    /* 图片容器固定尺寸 300*225 */
    width: 300px;
    height: 225px;
    overflow: hidden;
}

.zhisdl .text .img a {
    display: block;
    width: 100%;
    height: 100%;
}

.zhisdl .text .img img {
    width: 100%;
    height: 100%;
    /* 自动缩放图片以适应容器 */
    object-fit: cover;
    display: block;
}

.zhisdl .text .img img {
    width: 100%;
    height: 100%;
    /* 自动缩放图片以适应容器 */
    object-fit: cover;
    display: block;
}

/* 文章摘要样式 */
.zhisdl .summary-text {
    color: #333;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 立即咨询按钮样式 */
.zhisdl .consult-btn {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(90deg, #f39800, #f5a623);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.zhisdl .consult-btn:hover {
    background: linear-gradient(90deg, #e08600, #e5940e);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(243, 152, 0, 0.3);
}

/* 元信息样式 */
.zhisdl .meta-info {
    margin-bottom: 10px;
    color: #999;
    font-size: 12px;
}

/* 移动端响应式布局 */
@media screen and (max-width: 767px) {
    .zhisdl .text {
        flex-direction: column;
    }
    
    .zhisdl .text .txt,
    .zhisdl .text .img {
        width: 100%;
    }
    
    .zhisdl .text .img {
        order: -1;
        margin-bottom: 10px;
    }
    
    .zhisdl .text .txt {
        padding-right: 0;
    }
}
