/* 面包屑 */
.breadcrumb {
    padding: 20px 15px;
}

/* main */
.main {
    margin-bottom: 40px;
}
/* 目录 */
.side-box {
    box-sizing: border-box;
    background-color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

.side-box > .side-title {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    color: #fff;
    background-color: #bf5147;
}

.side-box > .side-title > .more {
    display: flex;
    align-items: center;
    padding: 0 4px;
    cursor: pointer;
    color: #d6d6d6;
    transition: .1s;
}

.side-box > .side-title > .more:hover {
    color: #fff;
    transition: .1s;
}

.side-box > .side-content {
    padding: 10px 0;
    box-sizing: border-box;
}

.side-box > .side-content > .side-item {
    position: relative;
    padding: 10px;
    display: flex;
    box-sizing: border-box;
    cursor: pointer;
    transition: .2s;
}

.side-box > .side-content > .side-item:hover {
    box-shadow: 0 2px 20px -10px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
    transition: .2s;
}

.side-item > .img-box {
    width: 100px;
    height: 70px;
    margin-right: 10px;
}

.side-item > .info {
    height: 70px;
    width: calc(100% - 110px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 14px;
}

.side-item > .info > .name {
    height: 48px;
    line-height: 24px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: #656565;
}

.side-item > .info > .date {
    color: #959595;
}

/* 热点推荐 */
.side-box-hot > .side-title {
    display: block;
    background-color: #FFB800;
}

.side-box-hot > .side-title > .title {
    text-align: center;
}

.side-content > .hot-swipe {
    padding: 0 10px;
    height: 228px;
    box-sizing: border-box;
    background-color: #fff;
}

.side-content > .hot-swipe .hot-wrapper {
    position: relative;
    box-sizing: border-box;
    background-color: #fff;
    cursor: pointer;
}

.hot-wrapper > .swipe-img {
    width: 100%;
    height: 170px;
    background-color: #e6e6e6;
}

.hot-wrapper > .swipe-img > .img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.hot-wrapper > .info {
    padding: 4px;
    box-sizing: border-box;
}

.hot-wrapper > .info > .name {
    height: 48px;
    margin-top: 4px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 24px;
    color: #656565;
}

.side-content > .hot-swipe .hot-wrapper:hover .name{
    color: #c4574d;
}


/* main-content */
.main-content {
    min-height: 400px;
    padding: 20px;
    box-sizing: border-box;
    border-top: 0.2rem solid #bf5147;

    background-color: #fff;
}

.main-content > .title {
    text-align: center;
    color: #2F4056;
    /* color: #FF5722; */
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.main-content > .content {
    padding: 20px 0;
}

/* years-opt */
.years-opt {
    position: relative;
    margin-top: 20px;
    overflow: hidden;
}

.years-opt > .prev-year {
    position: absolute;
    top: 0;
    left: 0;
    height: 44px;
    width: 44px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: linear-gradient(-90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .6));
    cursor: pointer;
    z-index: 1;
}

.years-opt > .prev-year > .layui-icon-left {
    font-size: 24px;
    color: #e6e6e6;
}

.years-opt > .prev-year:hover > .layui-icon-left {
    color: #fff;
}

.years-opt > .next-year {
    position: absolute;
    top: 0;
    right: 0;
    height: 44px;
    width: 44px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .6));
    cursor: pointer;
    z-index: 1;
}

.years-opt > .next-year > .layui-icon-right {
    font-size: 24px;
    color: #e6e6e6;
}

.years-opt > .next-year:hover > .layui-icon-right {
    color: #fff;
}

.years-opt > .years-btn-group {
    position: relative;
    display: inline-flex;
    left: 0;
    transition: .2s;
}

.years-opt > .years-btn-group > .layui-btn-primary {
    background-color: #eee;
}

.years-opt > .years-btn-group > .years-btn {
    border-radius: 0;
    border: none;
}

/* news-list */

.article-list > .item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: .2s;
}

.article-list > .item:hover {
    background-color: rgb(247,248,250);
    transition: .2s;
}

.article-list > .item > .img-box {
    width: 180px;
    height: 126px;
    margin-right: 10px;
    background-color: #eee;
}

.article-list > .item > .article-info {
    width: calc(100% - 190px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.article-info > .title {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: .3s;
}

.article-info > .title:hover {
    color: #c4574d;
    transition: .3s;
}

.article-info > .content {
    height: 48px;
    line-height: 24px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #666;
}

.article-info > .foot {
    color: #999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-info > .foot .layui-icon {
    margin-right: 4px;
}

.article-info > .foot > .tag > .note {
    margin-right: 10px;
}
/* news content /  load more */
.main-content > .content > .load-more {
    margin-top: 40px;
    text-align: center;
}

.main-content > .content >.load-more > .load-icon {
    display: inline-block;
    width: 38px;
    height: 38px;
    text-align: center;
    line-height: 38px;
}

.main-content > .content >.load-more > .load-icon > .layui-icon {
    color: #000;
    font-size: 18px;
}

/* detail 详情补充样式 */


.main-content-detail {
    padding: 20px;
    box-sizing: border-box;
    border-top: 2px solid #2F4056;
    /* border-top: 2px solid #FF5722; */
    background-color: #fff;
}

.detail-header {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.detail-header > .title {
    text-align: center;
    color: #2F4056;
    /* color: #FF5722; */
}

.detail-header > .address {
    display: inline-block;
    margin-top: 10px;
    color: #959595;
}

.detail-header > .address:hover {
    color: #009688;
}

.detail-header > .looks {
    margin-top: 10px;
    color: #959595;
}

.detail-header > .tag {
    margin-top: 10px;
    color: #959595;
    background-color: #eee;
    padding: 10px;
    font-size: 16px;
}

.detail-header > .tag > .note {
    margin-right: 12px;
}

.detail-header > .tag .layui-icon {
    margin-right: 4px;
}

.detail-header > .looks > .num {
    color: #666;
}

.detail-content {
    padding: 20px 0;
    min-height: 200px;
    color: #666;
    line-height: 24px;
    border-bottom: 1px solid #eee;
}

.detail-content > .banner-img {
    width: 100%;
    height: 528px;
    margin: 0 auto 20px;
}

.detail-content > .rich-text img {
    width: 80%;
    display: block;
    margin: 10px auto 0;
}


/* 媒体查询  media */

@media screen and (max-width:1200px) {
    .side-item > .info > .name {
        display: block;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .side-content > .hot-swipe {
        height: 174px;
    }

    .hot-wrapper > .swipe-img {
        height: 116px;
    }

    .detail-content > .banner-img {
        height: 475px;
    }
}

@media screen and (max-width: 992px) {
    .side-item > .info > .name {
        height: 48px;
        line-height: 24px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
    }

    .side-content > .hot-swipe {
        height: 478px;
    }

    .hot-wrapper > .swipe-img {
        height: 420px;
    }

    .detail-content > .banner-img {
        height: 360px;
    }
}

@media screen and (max-width: 768px) {
    .side-content > .hot-swipe {
        height: 254px;
    }

    .hot-wrapper > .swipe-img {
        height: 195px;
    }

    .article-list > .item {
        padding: 20px 0;
        flex-direction: column;
    }

    .article-list > .item > .img-box {
        width: 100%;
        height: 55vw;
    }

    .article-list > .item > .article-info {
        width: 100%;
    }

    .article-info > .title {
        margin-top: 10px;
    }

    .article-info > .content {
        margin-top: 10px;
    }

    .article-info > .foot {
        margin-top: 10px;
    }

    .detail-content > .banner-img {
        height: 50vw;
    }
}

