﻿

/*news*/

.my-news {
    background-image: url(/Design/img/home-bg-2.png);
    background-size: cover;
    background-color: #8f8f8f24;
}

    .my-news .container {
        padding: 30px 0;
    }

    .my-news .grid.wide {
        /* max-width: 1110px; */
    }


.my-news-top {
    display: flex;
    margin-top: 46px;
}

    .my-news-top .top-left {
        width: 100%;
    }

        .my-news-top .top-left .item:hover img {
            transform: scale(1.04);
        }

        .my-news-top .top-left .item {
            height: 300px;
            display: block;
            position: relative;
            width: 100%;
            border-radius: 10px;
            overflow: hidden;
            display: flex;
            align-items: center;
        }

            .my-news-top .top-left .item .img {
                width: 45%;
                height: 100%;
                overflow: hidden;
                border-radius: 15px;
            }

            .my-news-top .top-left .item:hover .title {
                color: var(--default-color-2);
            }

            .my-news-top .top-left .item::before {
                content: '';
                width: 100%;
                height: 100%;
                z-index: 3;
                background: linear-gradient(180deg,rgba(44,44,44,0) 0,#2c2c2c 100%);
                position: absolute;
                top: 0;
                opacity: 0;
            }

        .my-news-top .top-left img {
            transition: all linear .2s;
        }

        .my-news-top .top-left .content {
            position: relative;
            bottom: 0;
            width: 100%;
            padding: 30px;
            z-index: 3;
            flex: 1;
        }

        .my-news-top .top-left .date-cate {
            font-size: 14px;
            color: #333;
        }

        .my-news-top .top-left .date {
            color: #333;
            font-size: 14px;
            padding: 0;
            background-image: unset;
        }

        .my-news-top .top-left .cate {
            position: relative;
            margin-left: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

            .my-news-top .top-left .cate::before {
                content: '';
                position: absolute;
                width: 2px;
                height: 2px;
                background-color: var(--default-color-2);
                border-radius: 50%;
                left: -7px;
            }

        .my-news-top .top-left .title {
            color: var(--default-color-1);
            margin: 0;
            font-family: geoM;
            font-size: 24px;
            font-weight: 100;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            display: -webkit-box;
            margin-top: 10px;
            margin-bottom: 13px;
            transition: all linear .2s;
            line-height: 158%;
        }

        .my-news-top .top-left .descript {
            color: #333;
            font-size: 17px;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            display: -webkit-box;
            line-height: 164%;
        }

    .my-news-top .top-right {
        flex: 1;
        padding-left: 24px;
    }

        .my-news-top .top-right .item:first-child {
            margin-top: 5px;
        }

        .my-news-top .top-right .item {
            max-height: calc(100% / 4);
            border-bottom: 2px dashed #00469742;
            padding-bottom: 9px;
            margin-top: 12px;
            display: block;
        }

        .my-news-top .top-right img {
            display: none;
        }

        .my-news-top .top-right .contnet {
        }

        .my-news-top .top-right .date-cate {
            font-size: 13px !important;
            color: #999;
        }

        .my-news-top .top-right .date {
        }

        .my-news-top .top-right .cate {
            margin-left: 8px;
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

            .my-news-top .top-right .cate::before {
                content: '';
                position: absolute;
                width: 2px;
                height: 2px;
                background-color: #999;
                border-radius: 50%;
                left: -5px;
            }

        .my-news-top .top-right .item:hover .title {
            color: var(--default-color-1);
        }

        .my-news-top .top-right .title {
            margin: 0;
            color: #2c2c2c;
            font-size: 17px;
            font-family: 'geoM';
            font-weight: 100;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            display: -webkit-box;
            margin-top: 6px;
            transition: all linear .2s;
            line-height: 152%;
        }

.my-news-bottom {
    margin-top: 36px;
}

    .my-news-bottom .bottom-left {
        width: 370px;
    }


.news-add-more {
    color: var(--default-color-3);
    border: 1px solid var(--default-color-3);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 14px;
    display: block;
    width: fit-content;
    margin: 0 auto;
    margin-top: 28px;
    transition: all ease .2s;
}

    .news-add-more:hover {
        background-color: var(--default-color-3);
        color: #fff;
    }

.p-news-list__type2 {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 20px;
}

.p-design-content {
    background-color: rgb(5 27 49 / 32%);
    position: relative;
    bottom: 0;
    width: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    justify-content: center;
    transition: all .3s;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 27px;
    opacity: 0;
    border-radius: 9px;
    height: 100%;
}

.img > img {
    width: 72px;
    height: auto;
    margin: auto;
}

.kjfs {
    font-size: 16px;
    color: #F4F4F4;
    margin: 0;
    margin-bottom: 7px;
    transition-delay: .1s;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    font-family: 'QSANDB';
    display: -webkit-box;
    font-weight: 100;
    line-height: 158%;
    margin: 0;
    transition: all .3s;
    text-transform: capitalize;
    text-align: center;
    font-size: 20px;
    transform: translateY(15px);
    opacity: 0;
    transition: 0.6s cubic-bezier(.3,2.2,.3,1);
    text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.5);
}

.kjfs {
    -webkit-line-clamp: 2;
    font-size: 18px;
    line-height: 146%;
    margin-bottom: 18px;
}

.kxcjv {
    color: #4D4D4D;
    font-family: 'QsandM';
    font-size: 16px;
    width: 100%;
    transition: all .3s;
    line-height: 150%;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    text-align: center;
    color: #ffffff;
    text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.5);
}

.xjchvjx {
    position: relative;
    margin-top: -3px;
    transform: translateY(15px);
    opacity: 0;
    margin-top: 5px;
    transition: 0.6s cubic-bezier(.3,2.2,.3,1);
}

.p-news-item__type2:hover .xjchvjx {
    transform: translateY(0);
    opacity: 1;
    transition-delay: .4s;
}

.p-news-item__type2:hover .kjfs {
    transform: translateY(0);
    opacity: 1;
    transition-delay: .3s;
}

.p-news-item__type2:hover .content-top .img {
    transform: translateY(0);
    opacity: 1;
    transition-delay: .2s;
}

.content-top .img {
    margin-bottom: 17px;
    transition-delay: .1s;
    text-align: center;
    transform: translateY(15px);
    opacity: 0;
    transition: 0.6s cubic-bezier(.3,2.2,.3,1);
}

.content-top {
    width: 100%
}
.p-news-img__type2{
    display:flex;
}
.p-news-img__type2 img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: contain;
}

.p-news-content__type22 {
    padding-top: 12px;
    display: flex;
    flex-direction: column;
}

.p-news-img__type22 img {
    display: block;
    width: 388px;
    height: 261px;
}

.p-news-content__type2 {
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0px;
    left: 0px;
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 100;
    background-color: var(--default-color-2);
    max-width: 94%;
    padding: 11px 17px;
    z-index: 3;
    transition: all .3s;
    border-radius: 0 12px 0 4px;
    border-bottom-left-radius: 9px;
}

.p-news-options__type2 {
    display: none
}

.p-news-list__type22 {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 20px;
}

.p-news-item__type2:hover .p-news-content__type2 {
    opacity: 0;
    transform: translateY(10px);
}

.p-news-item__type2:hover .p-design-content {
    opacity: 1;
}

.p-news-content__type2 .title {
    margin: 0;
    font-weight: 100;
    font-family: 'interM';
    line-height: 150%;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    font-size: 18px;
    color: #FFFF;
}

.p-news-item__type2 {
    background: #FFFF;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--default-color-1);
}

    .p-news-item__type2:hover .title {
        color: var(--default-color-2)
    }

    .p-news-item__type2:hover {
        transform: translateY(-5px);
    }

.my-news-bottom .bottom-right {
    float: right;
    /* width: 100%; */
    padding-right: 40px;
    width: calc(100% - 370px);
}

.my-news-bottom .bottom-right2 {
    float: right;
    width: 100%;
}

.my-side-news {
}

    .my-side-news .side-news-item {
        padding: 15px;
        margin-bottom: 30px;
        border: 1px solid #F2F2F2;
        border-radius: 10px;
    }

        .my-side-news .side-news-item .title {
            margin: 0;
            font-family: 'lexenM';
            font-weight: 100;
            font-size: 18px;
            color: #2c2c2c;
            padding-bottom: 15px;
            border-bottom: 1px solid #F2F2F2;
        }

        .my-side-news .side-news-item .content {
        }

.side-news-link:first-child {
}

.side-news-link:hover h3 {
    opacity: .8;
}

.side-news-link {
    display: flex;
    padding: 18px 0;
    border-bottom: 1px solid #F2F2F2;
}

    .side-news-link .index {
        background-color: #ffeceb;
        height: fit-content;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        color: #961b12;
        font-size: 14px;
    }

    .side-news-link:last-child {
        border: none;
        padding-bottom: 0;
    }

    .side-news-link h3 {
        margin: 0;
        font-size: 14px;
        flex: 1;
        color: #2c2c2c;
        font-weight: 100;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        padding-left: 11px;
    }

.side-news-bds {
    display: flex;
    align-items: center;
}

    .side-news-bds:hover h3 {
        opacity: .8;
    }

    .side-news-bds .img {
        width: 100px;
        height: 70px;
        background-color: #33333330;
        display: block;
        margin: 12px 0;
        border-radius: 10px;
        overflow: hidden;
    }

        .side-news-bds .img img {
            display: block;
            width: 100%;
            height: 100%;
        }

    .side-news-bds .content {
        flex: 1;
    }

        .side-news-bds .content h3 {
            margin: 0;
            margin-left: 10px;
            color: #2c2c2c;
            font-size: 17px;
            font-weight: 100;
        }
/*RS*/
@media(max-width:1023px) {
}

@media(min-width:740px) and (max-width:1023px) {
    .my-news-bottom {
        margin-top: 25px;
    }
}

@media(max-width:739px) {
    .my-news h1 {
        font-size: 24px;
        line-height: 28px;
    }

    .my-news .container {
        padding: 20px 0;
    }

    .my-news-bottom {
        margin-top: 20px;
    }

    .my-news h2 {
        font-size: 15px;
        width: 100%;
        /* margin-top: 12px; */
    }

    .my-news-top {
        flex-direction: column;
    }

        .my-news-top .top-left {
            width: 100%;
        }

        .my-news-top .top-right {
            flex: unset;
            width: 100%;
            padding: 0;
            margin-top: 20px;
        }

        .my-news-top .top-left .content {
            padding: 15px 10px;
        }

        .my-news-top .top-left .date {
            font-size: 12px;
        }

        .my-news-top .top-left .title {
            font-size: 20px;
        }

        .my-news-top .top-left .descript {
            font-size: 14px;
        }

        .my-news-top .top-left .item {
            flex-direction: column;
            height: auto;
        }

        .my-news-top .top-left img {
            width: 100%;
        }

        .my-news-top .top-left .item .img {
            height: 250px;
            width: 100%;
        }

    .my-news-bottom .bottom-left {
        margin-top: 18px;
    }

    .my-news-bottom .bottom-right2 {
        padding-right: 0
    }

    .p-news-img__type2 img {
        /* width: 373px !important; */
        height: 196px !important;
    }

    .p-news-img__type22 img {
        width: 100%;
        height: 132px;
    }
    .p-news-list__type2{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .p-news-img__type2{
        height: 202px !important;
    }
    .kjfs{
        font-size: 15px;
        margin-bottom: 4px;
    }
    .kxcjv{
        font-size: 14px;
    }
    .p-design-content{
        padding: 0 9px;
    }
}
