﻿

/*news*/

.my-news {
    background-color: #f2f2f2;
}

.my-news-bottom .p-side-right {
    padding-top: 10px;
}

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

.my-news h1 {
    margin: 0;
    font-family: interB;
    font-weight: 100;
    color: var(--default-color-1);
    text-align: center;
    display: block;
    width: 100%;
    font-size: 28px;
    text-transform: uppercase;
    width: fit-content;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 55px;
    padding: 11px 42px;
    position: relative;
    display: flex;
    align-items: center;
}

.my-news h1::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--default-color-4);
    left: -5px;
}


.my-news h1::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--default-color-1);
    right: -10px;
}

.my-news h2 {
    font-weight: 100;
    font-size: 17px;
    color: #2c2c2c;
    display: block;
    text-align: center;
    width: 65%;
    margin: 0 auto;
    line-height: 28px;
    margin-top: 15px;
}

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

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

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

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

.my-news-top .top-left .item:hover .title {
    opacity: .9;
}

.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;
}

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

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

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

.my-news-top .top-left .date {
    color: #f2f2f2;
    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: #f2f2f2;
    border-radius: 50%;
    left: -7px;
}

.my-news-top .top-left .title {
    color: #fff;
    margin: 0;
    font-family: 'InterM';
    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;
}

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

.my-news-top .top-right {
    flex: 1;
    padding-right: 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: 1px solid #F2F2F2;
    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: 'InterM';
    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: 24px;
}

.my-news-bottom {
    overflow: hidden;
    margin-top: 36px;
    padding: 0 13px;
}

.my-news-bottom .bottom-left {
}


.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;
}

.my-news-bottom .bottom-right {
    float: right;
    width: 37%;
    padding-left: 25px;
}


.my-side-news {
}

.my-side-news .side-news-item {
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid #34863a59;
}

.my-side-news .side-news-item .title {
    margin: 0;
    font-family: 'InterM';
    font-weight: 100;
    font-size: 18px;
    color: var(--default-color-1);
    padding-bottom: 12px;
    border-bottom: 1px solid #09496d2e;
}

.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-side-news .side-news-item {
        width: 100%;
        height: fit-content;
    }
}

@media(max-width:739px) {
    .my-news h1 {
        font-size: 17px;
        line-height: 22px;
        padding: 12px 23px;
    }

    .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;
    }

    .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;
    }
}
