/* Add here all your CSS customizations */

@font-face { 
    font-family: lixukemaobixingshu; 
    src: url('../fonts/LiXuKeMaoBiXingShu-1.ttf' ) 
    format("truetype"); /* 非IE */ 
}

@font-face { 
    font-family: HanYiLingXinTiJian; 
    src: url('../fonts/HanYiLingXinTiJian-1.ttf' ) 
    format("truetype"); /* 非IE */ 
}

body {
    font-size: 16px;
}

p {
    color: #333;
    line-height: 24px;
    margin: 0 0 20px;
}
section.section.section-with-mockup {
    margin-top: 20px;
}

.bg {
    background: url(../img/bg.jpg) repeat-y center bottom 100%;
    background-size: cover;
    padding: 30px 0;
}

.bg2 {
    background: url(../img/bg2.jpg) repeat-y center 100%;
    background-size: cover;
    padding: 30px 0;
}

.word-rotator-title {
    margin: 50px 0 20px 0;
    font-size: 36px;
    padding: 16px 0;
}

.word-rotator-title span {
    color: #d40000;
}

.vertical-text {
    margin: 30px 0 10px 0;
    width: 100%;
    text-align: left;
    position: relative;
}

.vertical-text a {
    position: absolute;
    bottom: 0;
}

.nav_li {
    padding: 0 10px;
}

.vertical-text p {
    color: #691b18;
    margin: 0;
}

.about_us_video {
    width: 340px;
    float: left;
    margin-right: 20px;
}

.about_us_btn {
    display: block;
    padding: 10px 30px;
    background-color: #1a6900;
    color: #FFF;
}

.products-title {
    margin: 30px 0 20px 0;
    font-size: 36px;
    padding: 16px 0;
    line-height: 26px;
    color: #86BF23;
}

.products-title span {
    color: #000;
    font-weight: bold;
}

.bg2 .products-title {
    margin: 30px 0 20px 0;
    font-size: 36px;
    padding: 16px 0;
    line-height: 26px;
    color: #ffffff;
}

.thumbnail {
    padding: 0px;
    border: 0px; 
    border-radius: 0px;
}

.img_rect {
    height: 252px;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center;     /* 垂直居中 */
}
.img_rect img {
  max-width: 100%; /* 保持图片的原始宽高比 */
  max-height: 100%; /* 根据容器大小调整高度 */
}

.pro_title {
    text-align: center;
    margin: 5px 0;
}

.p_title {
    background-image: url('../img/title.png');
    background-position: center bottom; /* 或者使用 bottom */
    background-repeat: no-repeat;
    padding-bottom: 15px;
}

.lead {
    font-size: 18px;
}

.tea_bg {
    background: url(../img/tea_bg.jpg) repeat-x center;
    text-align: center;
}
.tea-title {
    font-family: lixukemaobixingshu, verdana, helvetica, sans-serif;
    color: #FFFFFF;
    padding: 30px 0;
    font-size: 56px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 0px !important;
}

.tea-introduce {
    padding-bottom: 50px;
    background: url(../img/tea.png) no-repeat right bottom;
    background-size: 154px 100px;
}

.tea {
    display: grid;
    grid-template-columns: 170px 1fr;
}

.tea-int {
    padding: 25px 0;
}

.tea span {
    color: #d40000;
    font-weight: bold;
}


.agricultural-title {
    font-family: HanYiLingXinTiJian, verdana, helvetica, sans-serif;
    font-size: 36px;
}

.gricultural-sub-title {
    font-size: 20px;
    color: #666;
}

.agricultural {
    display: grid;
    grid-template-columns: 100px 1fr;
    max-width: 430px;
    margin: auto;
}

.agr_img {
    padding-top: 20px;
}

.agricultural-content p {
    text-indent: 2em;
    line-height: 35px;
}

#footer .products {
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer .products a {
    color: #666;
    font-size: 15px;
    line-height: 32px;
}

.banner {
    height: 228px;
}

.article-box {
    padding: 20px 0;
}

.article-box h2 {
    text-align: center;
    font-weight: normal;
}

.article-box hr {
    background-color: #DBDBDB;
    border: 2;
}

.list_content {
    display: flex;
    margin-bottom: 30px;
}

.list_content .left {
    flex: 0 0 220px; /* 固定宽度 */
}

.list_content .right {
    flex: 1; /* 占据剩余空间 */
}
.list_content .right p {
    color: #999;
}

.post_title {
    font-size: 20px;
    padding-bottom: 10px;
    overflow: hidden;
    max-height: 60px;
}

.published_time {
    color: #999;
    font-size: 14px;
}

.article-infobox {
    text-align: center;
    color: #999;
}

td {
    text-align: center;
}

.detail_title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}


@media (max-width: 990px) {
    .vertical-text {
        writing-mode:unset;
        min-height: 210px;
    }
    #header .header-search {
        margin-top: 50px;
    }
    #header .header-btn-collapse-nav {
        margin-top: 30px;
    }

    .tea {
        margin: 0;
    }
    
}


@media (max-width: 660px) {
    
    .vertical-text a {
        position:unset;
        float: right;
    }
    .agricultural-img img {
        width: 100%;
    }

    .agricultural-img {
        float:none;
    }

    .tea {
        margin: 0;
    }
    
}

@media (min-width: 660px) {
    .vertical-text {
        writing-mode:unset;
        min-height: 210px;
    }
    .vertical-text a {
        position:unset;
        float: right;
    }
    .agricultural-img img {
        width: 100%;
    }
    .agricultural-img {
        float:none;
    }
    .tea {
        margin: 0;
    }
}

@media (min-width: 750px) {
    .vertical-text {
        height: 210px;
    }
    .vertical-text p {
        line-height: 27px;
    }
    
    .agricultural-img img {
        width: 500px;
    }

    .agricultural-img {
        float: left;
        padding-right: 20px;
    }
    .tea {
        margin: 0;
    }
}

@media (min-width: 992px) {
    .vertical-text {
        height: 210px;
    }
    .vertical-text p {
        line-height: 36px;
    }

    .vertical-text a {
        bottom: 0;
    }
    .tea {
        margin: 25px 0;
    }
}

@media (min-width: 1200px) {
    .vertical-text {
        height: 210px;
    }
    .vertical-text p {
        line-height: 36px;
    }
    .vertical-text a {
        left: 0;
        bottom: 0;
    }
    .tea {
        margin: 25px 0;
    }
}

