﻿/* banner */

.cont_banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.cont_banner img {
    display: block;
    width: 100%;
    height: 642px;
    object-fit: cover;
}

.cont_banner .tit {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    max-width: 1200px;
    transform: translateX(-50%);
    color: #fff;
    text-align: right;
}

.cont_banner .tit p:first-child {
    margin-bottom: 0.5rem;
}

.cont_banner .tit p {
    font-size: 30px;
    letter-spacing: 0.2em;
    margin-bottom: 1em;
}

.cont_banner .tit span {
    font-size: 12px;
    display: block;
    letter-spacing: 0.8em;
    line-height: 1.5em;
    text-transform: uppercase;
}

/* 内容 */

.trends_main {
    width: 100%;
    font-size: 100px;
}

.trends_main_main {
    width: 1200px;
    margin: 0 auto;
}

.trends_main_ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.trends_main_li {
    flex: 1;
    max-width: 50%;
    line-height: 2;
    padding: 5% 0;
    border-bottom: 2px solid #e6e6e6;
}

.trends_main_li_float {
    width: 5.5em;
}

.trends_main_li_time {
    font-size: 0.18em;
    color: #999999;
    margin-bottom: 2%;
}

.trends_main_li_title {
    color: #2b2b2b;
    font-size: 0.24em;
}

.trends_main_li_cont {
    font-size: 0.14em;
    color: #606060;
    letter-spacing: 1px;
}

.trends_main_li_img {
    width: 0;
    height: 0.4em;
    background-color: transparent;
    display: flex;
    align-items: center;
    transition: 1s;
    margin-top: 2%;
    position: relative;
    background-color: #f41c3b;
}

.trends_main_li_img img:first-of-type {
    opacity: 0;
    transition: 1s;
    position: absolute;
    left: 10px;
}

.trends_main_li_img img:last-of-type {
    opacity: 1;
    transition: 1s;
    position: absolute;
    left: 10px;
}

.trends_main_li:hover .trends_main_li_img img:first-of-type {
    opacity: 1;
    left: 50%;
    transform: translateX(-50%);
}

.trends_main_li:hover .trends_main_li_img {
    width: 1.1em;
}

.trends_main_li:hover .trends_main_li_img img:last-of-type {
    opacity: 0;
}

.trends_main_li:hover .trends_main_li_title {
    color: #f41c3b;
}

@media screen and (max-width: 1200px) {
    .cont_banner img {
        height: 500px;
    }
    .cont_banner .tit {
        padding-left: 3%;
        padding-right: 3%;
        left: auto;
        transform: translateX(0);
        right: 0;
    }
    .cont_banner .tit p {
        font-size: 20px;
    }
    .trends_main {
        font-size: 80px;
    }
    .trends_main_main {
        width: 90%;
    }
}

@media screen and (max-width: 800px) {
    .cont_banner img {
        height: 200px;
    }
    .cont_banner .tit {
        top: 20%;
    }
    .cont_banner .tit p {
        font-size: 16px;
    }
    .cont_banner .tit span {
        letter-spacing: 0.2em;
    }
    .trends_main_main {
        width: 100%;
    }
    .trends_main_li {
        padding: 5% 3%;
    }
    .trends_main_li_float {
        width: 100%;
    }
    .trends_wall_slogan {
        font-size: 24px;
        width: 100%;
        text-align: center;
        right: 0;
    }
    .trends_wall_slogan_text {
        letter-spacing: 0.2em;
    }
    .trends_wall_tab {
        display: none;
    }
    .trends_main_li {
        flex: 1;
        min-width: 100%;
        max-width: 100%;
    }
    .trends_main_li_img {
        display: none;
    }
    .trends_wall_tabs {
        display: flex;
    }
}

/*  */

.text-cut {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.text-cut-one {
    text-overflow: ellipsis;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.text-cut-two {
    text-overflow: ellipsis;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.text-cut-four {
    text-overflow: ellipsis;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

p {
    word-break: break-all;
}

/*  */

.trends_main_li_tags {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 13px 0 20px 0;
}

.trends_main_li_tags div {
    padding: 2px 13px;
    background-color: #fcfcfc;
    border-radius: 3px;
    border: 1px solid #c4c4c4;
    font-size: 12px;
    margin-right: 10px;
    transition: 1s;
}

.trends_main_li_tags div:hover {
    background-color: #ff4229;
}

.trends_main_li_tags div:hover a {
    color: white;
}

.trends_main_li_tags a {
    transition: 1s;
    color: #606060;
    display: block;
    width: 100%;
    height: 100%;
}