.index-container {
    padding: 0 15vw;
    position: relative;
    min-height: 700px;
}


.block-box-title {
    color: #573434;
    font-size: 32px;
    font-weight: bold;
    position: relative;
    margin: 40px 0;
    width: 100%;
}

.block-box-title::before {
    content: "";
    position: absolute;
    background-image: url(/static/images/index-title-bg.png);
    width: 215px;
    height: 48px;
}

.nav-box {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    margin: 20px 0;
}

.nav-box-title-active,
.nav-box-title {
    color: #000;
    height: 70px;
    line-height: 70px;
    width: 100px;
    text-align: center;
    cursor: pointer;
}

.nav-box-title-active {
    color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(/static/images/nav-bg.png);
}

.nav-box-title:hover {
    color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(/static/images/nav-bg.png);
}

.block-box-container {
    display: flex;
    align-items: self-start;
}

.block-box-container__right,
.block-box-container__left {
    position: relative;
}

.block-box-container__left {
    width: 70%;
    cursor: pointer;
}



.block-box-container__left-cover {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.block-box-container__left-cover img {
    max-width: 100%;
    height: 100%;
}


.block-box-container__left-cover img:hover {
    transform: scale(1.1);
    transition: transform 2s;
}

.block-box-container__left-content {
    color: #fff;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height:60px;
    padding: 0 20px;
    background-color: rgba(87,52,52,.79);
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.block-box-container__left-content-title {
    font-size: 28px;
    color: #fff;
    font-weight: bold;
    line-height: 60px;
}

.block-box-container__left-content-description {
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
}

.block-box-container__left-content-more {
    text-align: right;
    cursor: pointer;
    margin-top: 10px;
    font-size: 14px;
}

.block-box-container__left-content-more:hover {
    color: #ddd;
}

.block-box-container__right {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
    margin-left: 20px;
    color: #fff;
}

.block-box-container__right-item {
    flex: 1;
    position: relative;
}

.block-box-container__right-item-cover {
    width: 100%;
    min-height: 100px;
    overflow: hidden;
}

.block-box-container__right-item-cover img {
    width: 100%;
    height: 100%;
}

.block-box-container__right-item-cover img:hover {
    transform: scale(1.1);
    transition: transform 2s;
}

.block-box-container__right-item-content {
    position: absolute;
    bottom: 0;
    background-color: rgba(87,52,52,.79);
    width: 100%;
    padding: 10px;
}

.block-box-container__right-item:not(:last-child) {
    margin-bottom: 20px;
}

.block-box-container__right-item-title {
    font-size: 22px;
    font-weight: bold;

}


.flex1-box {
    margin-top: 60px;
    display: flex;
    position: relative;
}

.flex1-box-left {
    width: 60%;
    z-index: 1;
}

.flex1-box-left img {
    width: 100%;
    height: 100%;

}

.flex1-box-right {
    position: absolute;
    width: 60%;
    height: 100%;
    background-color: #fff;
    right: 0;
    bottom: -40px;
    z-index: 0;
    padding: 20px 40px 40px calc(20% + 20px);
}

.flex1-box-right::before {
    content: "";
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 208px;
    height: 300px;
    background-image: url(/static/images/flex-content-right.png);
}

.flex1-box-right-title {
    font-size: 20px;
    color: #573434;
    font-weight: 700;
}



.flex2-box {
    margin-top: 60px;
    display: flex;
    position: relative;
}

.flex2-box-left {
    width: 60%;
    height: 100%;
    background-color: #fff;
    bottom: -40px;
    z-index: 0;
    position: absolute;
    left: 0;
    padding: 20px calc(20% + 20px) 40px 40px ;
}



.flex2-box-right {
    margin-left: auto;
    width: 60%;
    right: 0;
    z-index: 1;
}


.flex2-box-right img {
    width: 100%;
    height: 100%;
}


.flex2-box-left-title {
    font-size: 20px;
    color: #573434;
    font-weight: 700;
}

.card-box {
    margin-top: -80px;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #fff;
    background-image:  url(/static/images/card-box-bg.png);
    background-position: -40px -40px;
    background-size: calc(100% + 80px)  auto;
    background-repeat: repeat-y;
    z-index: 1;
}

.card-box-item {
    width: calc( 25% - 20px );
    min-height: 450px;
    margin: 10px;
    border: 3px solid #ebebeb;
    background-color: #fff;
    background-size: cover;
    cursor: pointer;
    position: relative;
}

.card-box-item::before {
    content: "";
    position: absolute;
    width: calc( 100% - 6px );
    min-height: 100px;
    top: 3px;
    left: 3px;
    background-image: url(/static/images/card-bg-top.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
}

.card-box-item::after {
    content: "";
    position: absolute;
    width: calc( 100% - 6px );
    min-height: 100px;
    bottom: 3px;
    left: 3px;
    background-image: url(/static/images/card-bg-bottom.png);
    background-size: 100% auto;
    background-position-y: bottom;
    background-repeat: no-repeat;
}


.card-box-item:hover {
    box-shadow: 0 0 8px rgba(0,0,0,.1);
}

.card-box-item:hover .card-box-item-cover img {
    transform: scale(1.1);
    transition: transform 1s ease-in-out;
}

.card-box-item-title {
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    margin: 30px 10% 0;
    text-align: center;
    color: #383838;
    font-size: 18px;
    font-weight: 700;
    width: 80%;
    position: relative;
}

.card-box-item-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 2px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(87,52,52,1);
    transition: width 2s ease-in-out;
}
.card-box-item-title:hover {
    color: rgba(87,52,52,1);
}
.card-box-item-title:hover::after {
    width: 100%;
}

.card-box-item-cover {
    margin: 20px;
    overflow: hidden;
    line-height: 450px;

}

.card-box-item-cover img {
    width: 100%;
    height: 100%;
}
