﻿.list-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.list-item {
    width: calc((100% - 60px) / 4);
    position: relative;
    transition: all .3s ease;
    border: solid 1px #eaeaea;
    border-radius: 10px;
}

    .list-item:hover {
        box-shadow: 0 1px 2px -2px rgba(0,0,0,.15),0 3px 6px rgba(0,0,0,.12),0 5px 12px 4px rgba(0,0,0,.1);
        transform: translate3d(0,-5px,0);
        -webkit-transform: translate3d(0,-5px,0);
    }

    .list-item a {
        display: block;
    }

    .list-item .img {
        position: relative;
    }

        .list-item .img img {
            width: 100%;
            display: block;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }

        .list-item .img .tag {
            position: absolute;
            right: 10px;
            bottom: 10px;
            background: linear-gradient(300deg, #0F2D49 0%, #246CAF 100%);
            color: #fff;
            font-size: 12px;
            padding: 1px 15px;
            border-radius: 10px;
            display: flex;
            align-items: center;
        }

            .list-item .img .tag i {
                margin-right: 5px;
            }

    .list-item .txt {
        padding: 15px;
        border-top: solid 1px #eaeaea;
    }

        .list-item .txt .date {
            color: gray;
            font-size: 14px;
        }

        .list-item .txt .title {
            margin-top: 5px;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            font-size: 16px;
            font-weight: 500;
            line-height: 2;
            color: #000;
        }


.detail {
    width: 1230px;
    margin: 0 auto;
    overflow: hidden;
    padding: 50px 0px 60px 0px;
}

    .detail .detail_box {
        font-size: 16px;
        color: #181C25;
        display: flex;
        width: 900px;
    }

        .detail .detail_box .title {
            font-size: 28px;
            font-weight: 500;
            line-height: 2;
            color: #000;
        }

        .detail .detail_box .date {
            font-size: 16px;
            font-weight: 500;
            line-height: 2;
            color: #333;
            border-bottom: solid 1px #eaeaea;
            padding-bottom: 20px;
        }

        .detail .detail_box .content {
            padding: 20px 0;
            line-height: 28px;
            min-height: 300px;
            word-break: break-all;
            font-size: 14px;
            text-align: justify;
            padding-top: 20px;
            margin-top: 20px;
            width: 100%;
        }

        .detail .detail_box .content_box .content .detailsTxt {
            margin-top: 10px;
            font-size: 16px;
            line-height: 2;
            color: #333;
            text-align: justify;
        }

            .detail .detail_box .content_box .content .detailsTxt p {
                margin-bottom: 15px;
            }

            .detail .detail_box .content_box .content .detailsTxt img {
                max-width: 100%;
                height: auto;
            }

    .detail .recommend_box {
        width: 300px;
        overflow: hidden;
        padding: 15px 0 8px;
        background: white;
        border: 1px solid #eaeaea;
        border-radius: 10px;
    }

        .detail .recommend_box .title {
            font-size: 18px;
            color: #3E464C;
            font-weight: 500;
            padding: 0 15px 6px;
        }

        .detail .recommend_box .line {
            height: 2px;
            background: linear-gradient(to right, var(--accent-bg), transparent);
            margin-left: 15px;
        }

        .detail .recommend_box ul {
            padding: 0 15px;
        }

            .detail .recommend_box ul li {
                border-bottom: 1px solid #eaeaea;
                padding-bottom: 8px;
            }

                .detail .recommend_box ul li:last-child {
                    border-bottom: none;
                }

            .detail .recommend_box ul .recommend_title {
                margin: 8px 0 6px;
                color: #3E464C;
                overflow: hidden;
                position: relative;
                padding-left: 10px;
            }

                .detail .recommend_box ul .recommend_title i {
                    position: absolute;
                    left: 0;
                    top: 6px;
                    border: 4px solid transparent;
                    border-left-color: var(--accent-bg);
                    width: 0;
                    height: 0;
                    margin-top: 3px;
                }

                .detail .recommend_box ul .recommend_title span {
                    font-weight: 500;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                }

            .detail .recommend_box ul .date {
                color: #A1A6AB;
                padding-left: 10px;
            }




    .detail figure figcaption {
        text-align: center;
        font-size: 14px;
        line-height: 2;
        color: #999;
    }



@media only screen and (max-width: 1500px) {

    .detail {
        width: 1100px;
    }

        .detail .detail_box {
            width: 800px;
        }

        .detail .recommend_box {
            width: 270px;
        }
}
