.swiper-button-next , .swiper-button-prev{
    opacity: 0.6 !important;
}

/* 最新消息 */
#section-news{
    position: relative;
    background-color: #006738;
    padding:90px 0 90px 0;
    background-image: url('/images/farm/news_bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}

#section-news-bg{
    width: 100%;
    height: 190px;
    position: absolute;
    bottom: 0;
    z-index: -1;
}

#section-news .title{
    color:white;
}
#section-news .break-line{
    border-color:white;
    opacity: 0.6;
}

#section-news .card{
    background: transparent;
    border: none;
    margin-bottom: 20px;
}
#section-news .card-body{
    padding: 0;
}
#section-news .card-title{
    color:white;
    font-size: 24px;
    letter-spacing: 1px;
    margin-left: -8px;
}
#section-news .card-text{
    color:white;
    opacity: 0.8;
    font-size: 16px;
}

.more.btn{
    float: right;
    padding: 5px 10px;
}
.more > img{
    margin-right: 10px;
}

/* 產品櫥窗 */
#section-product{
    position: relative;
    padding:70px 0 90px 0;
}
#section-product .title{
    color:#006738;
}
#section-product .break-line{
    border-color:#006738;
    opacity: 0.6;
}
#section-product .card-text{
    color: red;
    font-weight: bold;
    font-size: 24px;
}

#section-product .card-text3{
    color: red;
    font-weight: bold;
    font-size: 18px;
}

.all_product{
    position: absolute;
    right: 0;
    top:3.6px;
    font-size: 20px;
    float: right;
    font-weight: bold;
    color: black;
}
.all_product > img{
    margin-right: 10px;
}
.product-name{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; max-width: 100%;
}
.product-item{
    font-size: 20px;
    font-weight: bold;
    color: black;
}
.product-item .product-img{
    position: relative;
    border:2px solid rgba(255,255,255,1);
    margin-bottom: 15px;
    transition: .5s;
}
.product-item:hover .product-img{
    border:2px solid rgba(96,56,19,1);
}
.product-item .product-img::after{
    content:'';
    position: absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background-color: rgba(255,255,255,0);
    transition: .5s;
}
.product-item:hover .product-img::after{
    background-color: rgba(255,255,255,.4);
}
.product-name{
    transition: .5s;
}
.product-price{
    margin-bottom: 20px;
    transition: .5s;
}
.product-item:hover .product-name,
.product-item:hover .product-price{
    color:#4B6435;
}
.product-price > span:nth-child(1){
    margin-right: 10px;
}
.add-shopping-cart{
    display: inline-block;
    font-size: 16px;
    width:127px;
    height:30px;
    line-height: 26px;
    border:2px solid rgba(96,56,19,1);
    color:rgba(225,225,225,1);
    font-weight: bold;
    transition: .5s;
    background-color:rgba(96,56,19,1);
    cursor: pointer;
}
.add-shopping-cart:hover{
    background-color:rgba(225,225,225,1);
    color:rgba(96,56,19,1);
}
.introduction{
    position: relative;
    width:100%;
    padding:80px 0;
    background-size: cover;
    background-image: url('../images/farm/test_img/introduction_bg.png');
    background-color: rgba(44,47,49,0.54);
}
.introduction h1{
    color:white;
    letter-spacing : 1.5px;
}
.separate-lines{
    border-color: white;
    opacity: 0.6;
}
.introduction .intro-text{
    font-size: 20px;
    color:white;
    text-align: justify;
}
.intro-btn{
    display: inline-block;
    width:160px;
    height:40px;
    line-height: 36px;
    text-align: center;
    border:2px solid white;
    color:white;
    font-size: 20px;
    font-weight: bold;
    letter-spacing : 1px;
    transition: .5s;
}
.intro-btn.understand{
    margin-right: 30px;
}
.intro-btn:hover{
    background-color: white;
    color:rgba(96,56,19,1);
}

/*好農故事*/
#section-story{
    position: relative;
    padding:70px 0 90px 0;
}
#section-story .title{
    color:#006738;
}
#section-story .break-line{
    border-color:#006738;
    opacity: 0.6;
}

#section-story .card-body{
    padding: 10px;
    background-color: #006738;
    color: #fff;
}

/* 媒體報導 */
.media-report-wrap{
    text-align: center;
    position: relative;
    margin-bottom: 115px;
}
.media-report{
    display: inline-block;
    font-size: 25px;
    font-weight: bold;
    color:black;
    letter-spacing : 1.25px;
    margin-bottom: 60px;
}
.media-report::before{
    content:'';
    display: inline-block;
    width:112.5px;
    height:2px;
    background-color: black;
    vertical-align: middle;
    margin-right: 20px;
}
.media-report::after{
    content:'';
    display: inline-block;
    width:112.5px;
    height:2px;
    background-color: black;
    vertical-align: middle;
    margin-left: 20px;
}
.media-report-item .video-miniature{
    position: relative;
    border:2px solid rgba(255,255,255,1);
    margin-bottom: 16px;
    transition: .5s;
}
.media-report-item .video-miniature::before{
    content:'';
    position: absolute;
    width:90px;
    height:90px;
    background: url('../images/index/play-icon.svg') no-repeat center;
    top:50%;
    left:50%;
    margin-top: -45px;
    margin-left: -45px;
    opacity: 0;
    z-index: 2;
    transition: .5s;
}
.media-report-item:hover .video-miniature::before{
    opacity: 1;
}
.media-report-item .video-miniature::after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0);
    transition: .5s;
}
.media-report-item:hover .video-miniature::after{
    background-color: rgba(255,255,255,.4);
}
.media-report-item:hover .video-miniature{
    border:2px solid rgba(96,56,19,1);
}
.media-report-item .video-title{
    padding: 0 15px;
    font-weight : bold;
    font-size : 20px;
    letter-spacing : 1px;
    color:black;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: .5s;
}
.media-report-item:hover .video-title{
    color:#4B6435;
}
.media-report-item hr{
    border-top: 1px solid #4B6435;
    margin-bottom:20px;
}
.media-report-item .video-info > img{
    margin-right: 6px;
}
.media-report-item .video-info > span{
    vertical-align: middle;
    color:#4B6435;
}

#swiper-button-ClickBlock{
    position: absolute;
    height: 1000px;
    width: 80px;
    background-color: rgba(255,255,255,0.3);
    top: -500px;
}



/* 當螢幕寬度小於992px，套用此CSS */
@media screen and (max-width: 992px){

    .banner{
        margin-top: 70px;
    }
    .more{
        float: none;
        display: block;
        padding :10px 0;
    }
    #section-news .card-title{
        width:100%;
        overflow:hidden;
        text-overflow:ellipsis;
        margin-left: 0px;
    }

    #section-news .card-text{  
    margin-bottom: 10px;
    }
    .introduction h1{
        text-align: -webkit-center;
    }
    .row >.col-12.col-lg-4  > .card >a {
        margin-bottom: 1rem;
        
    }
    .card-title{
        margin-bottom: 10px;
    }
    #section-news-bg{
        display: none;
    }
    #section-news{
        padding: 25px 0 50px 0;
    }
    
    .menu-wrap > ul{
        display: none;
    }
    .news::before,.news::after{
        width:10px;
    }
    .product-item{
        margin-bottom: 15px;
    }
}

/* 當螢幕寬度小於767px，套用此CSS */
@media screen and (max-width:767px){

    /* 最新消息 */
   
    .all_product{
        display: none;
    }
    .all_product > img{
        width:15px;
        height:15px;
        margin-right: 5px;
    }
    .product::before,.product::after{
        width:65px;
    }
    .media-report::before,.media-report::after{
        width:65px;
    }

    /*關於好農*/

    .introduction{
        padding: 60px  0;
    }
    /* 產品櫥窗 */
    #section-product{
        padding:25px 0 25px 0;
    }
    #section-product .card-title{
        font-size:20px;
    }
    #section-product >.container> h2.title.mb-0 {
        padding-bottom: 6px;
    }
    /*好農故事*/
    #section-story > .container> h2.title.mb-0{
        padding-bottom: 6px;
    }
    #section-story {
        padding: 25px 0 25px 0;
    }


}

/* 當螢幕寬度小於576px，套用此CSS */
@media screen and (max-width: 576px){
    .banner{
        margin-top: 90px;
    }
    #swiper-button-ClickBlock{
        width: 50px;
        background-color: rgba(255,255,255,0.5);
    }
    .news::before,.news::after{
        width:40px;
    }
    .news-type{
        display: none;
    }
    .news-link{
        width: 100%;
    }
    .news-date{
        display: none;
    }
    .news-title{
        width:100%;
    }
    .product::before,.product::after{
        width:40px;
        margin:0;
    }
    .introduction-wrap{
        width:100%;
    }
    .introduction-wrap h4{
        font-size: 24px;
    }
    .separate-lines{
        width:100%;
    }
    .introduction-wrap .intro-text{
        font-size: 16px;
        line-height:24px;
        margin-bottom: 30px;
        padding: 0 30px;
    }
    .intro-btn{
        width:100px;
        font-size: 16px;
    }
    .media-report::before,.media-report::after{
        width:40px;
        margin:0;
    }
}