/* 202103 */

.food01-template-20 {
    position: relative;
    display: block;
    padding-top: 150px;
    padding-bottom: 155px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    isolation: isolate;
}

.food01-template-20 .this_container {
    width: 85%;
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.food01-template-20 .this_container.two {
    justify-content: space-evenly;
}

.food01-template-20 .news_box {
    display: block;
    position: relative;
    width: 100%;
}

.food01-template-20 .news_box.show {
}

.food01-template-20 .news_box .imgs {
    display: block;
    position: relative;
    margin-bottom: 95px;
    overflow: hidden;
}

.food01-template-20 .news_box .imgs img {
    width: 100%;
    transition: all 0.8s ease;
    /* min-height: 636px; */
}
.food01-template-20 .news_box .imgs .img {
    width: 100%;
    display: block;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    transition: transform 0.8s ease;

    /* min-height: 636px; */
}
.food01-template-20 .news_box .imgs .img:before {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 100%;
}
.food01-template-20 .news_box .date {
    padding-left: 50px;
    position: relative;
    font-size: 24px;
    font-weight: 600;
}

/*202103*/

.food01-template-20 .news_box .title {
    font-size: 36px;
    font-family: "Noto Serif TC", sans-serif;
    line-height: 47px;
    padding-right: 50px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 96px;
    transition: all 0.6s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    cursor: initial;
}

.food01-template-20 .news_box .text {
    position: relative;
    padding-left: 50px;
}

.food01-template-20 .news_box .text::before {
    content: "";
    background-color: #91715f;
    position: absolute;
    left: 0;
    width: 4px;
    height: calc(100% - 11px);
    top: 9px;
}

.food01-template-20 .news_box .type {
    font-size: 16px;
    color: #91715f;
    position: relative;
    margin-top: 45px;
}

@media (max-width: 1600px) {
    .food01-template-20 .news_box .title {
        font-size: 30px;
        line-height: 40px;
        height: 82px;
    }
    .food01-template-20 .news_box .date {
        font-size: 20px;
    }
}

@media (max-width: 1350px) {
    .food01-template-20 .news_box .title {
        padding-right: 0;
    }
    .food01-template-20 .news_box .imgs {
        margin-bottom: 60px;
    }
}

@media (min-width: 1200px) {
    .food01-template-20 .news_box:hover .imgs img,
    .food01-template-20 .news_box:hover .imgs .img {
        transform: scale(1.1);
    }
}

@media (max-width: 1199px) {
    .food01-template-20 .news_box .date {
        font-size: 18px;
        padding-left: 25px;
    }
    .food01-template-20 .news_box .text {
        padding-left: 25px;
    }
    .food01-template-20 .news_box .title {
        font-size: 22px;
        line-height: 30px;
        height: 62px;
    }
    .food01-template-20 .news_box .imgs {
        margin-bottom: 40px;
    }
    .food01-template-20 .news_box .text::before {
        content: "";
        background-color: #91715f;
        position: absolute;
        left: 0;
        width: 3px;
        height: calc(100% - 9px);
        top: 5px;
    }
    .food01-template-20 .news_box .type {
        margin-top: 25px;
    }
    .food01-template-20 {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}
@media (min-width: 980px) {
    .food01-template-20 .news_box:hover .imgs img {
        transform: scale(1.1);
    }
    .food01-template-20 .swiper-pagination {
        display: none;
    }
}
@media (max-width: 650px) {
    .food01-template-20 {
        padding-bottom: 30px;
    }
    .food01-template-20 .this_container {
        display: block;
        width: 90%;
    }
    .food01-template-20 .news_box {
        width: 100%;
        margin-bottom: 70px;
    }
    .food01-template-20 .news_box .title {
        font-size: 18px;
        line-height: 28px;
        height: auto;
        -webkit-line-clamp: 10;
        overflow: visible;
    }
    .food01-template-20 .news_box .type {
        margin-top: 20px;
        font-size: 14px;
    }
    .food01-template-20 .news_box .imgs {
        margin-bottom: 25px;
    }
}

.food01-template-20 .bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.food01-template-20 .swiper-pagination {
    position: absolute;
    bottom: 20px;
    width: 100%;
    justify-content: center;
    display: flex;
}
.food01-template-20 .swiper-pagination .swiper-pagination-bullet {
    width: 30px;
    height: 30px;
    display: flex;
    background: none;
    align-items: center;
    justify-content: center;
    opacity: 1;
}
.food01-template-20 .swiper-pagination .swiper-pagination-bullet:after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--color-main);
    flex-shrink: 0;
    background-color: rgba(0, 0, 0, 0);
}
.food01-template-20 .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active:after {
    background-color: var(--color-main);
    border-color: var(--color-main);
}
@media (min-width: 0) and (max-width: 739px) {
    .food01-template-20 .bg.desktop {
        display: none !important;
    }
}
@media (min-width: 740px) {
    .food01-template-20 .bg.mobile {
        display: none !important;
    }
}
