ul,li{padding:0;margin:0;}
a{text-decoration:none;}

:root{
    --theme-black-color:#262626;
    --theme-light-color:#26262699;
}

.container{max-width:1200px;}

.bg-coffee{background:linear-gradient(to right, #3c2012, #864e1f);}

.header-search{}
.header-search input{background:rgba(255,255,255,0.2);border-radius:20px 0 0 20px;color:white;border-color:rgba(0,0,0,0);
border-right:unset;font-size:14px;}
.header-search input::-webkit-input-placeholder { /* WebKit browsers */color:white;}
.header-search input:focus{background:rgba(255,255,255,0.2);box-shadow:0px 0px 1px #502c1c;border-color:rgba(0,0,0,0);
color:white;}
.header-search input::placeholder{color:#c1a48d;}
.header-search button{border-color:rgba(0,0,0,0);border-left:unset;border-radius:0 20px 20px 0;background:rgba(255,255,255,0.2);}
.header-search button i{color:white;}


.pfitem a{display:block;position:relative;text-decoration:none;}
.pfitem a img{width:100%;height:100%;position:absolute;left:0;top:0;object-fit:cover;}
.pfitem a .pfitem_detail{position:absolute;left:0;bottom:0;color:white;z-index:99;width:100%;}
.pfitem a .pfitem_detail h3{font-size: 17px;    font-weight: normal;    padding: 10px;margin-bottom:5px;}
.pfitem_detail_bottom{padding:5px 10px 10px;font-size:13px;}
.pfitem_detail_bottom em{font-style:normal;}
.pfitem_detail_bottom span{float:right;}
.pfitem_detail_bottom:after{content:"";clear:both;display:block;}

.pfitem_big a{height:400px;}
.pfitem_small a{height:200px;}

.pfitem a:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.3),rgba(0,0,0,0.5));
    z-index: 5;
}
.photoframe .col-lg-6,.photoframe .col-6{padding:0;}
.photoframe .col-lg-6:nth-child(1){padding-right:calc(var(--bs-gutter-x) * .5);}


.article_list{}
.article_list .item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #f5f5f5;
    overflow: hidden;
    transition: all .3s ease 0s;
}
.article_list .item-img {
    position: relative;
    width: 30%;
    overflow: hidden;
    border-radius: 4px;
    flex-shrink: 0;
    flex-grow: 0;
    transition: box-shadow .3s ease 0s;
}
.article_list .item-content {
    position: relative;
    width: 100%;
    padding-left: 20px;
    overflow:hidden;
}

.article_list .item-img .item-img-inner {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.article_list .item-category {
    position: absolute;
    left: 10px;
    top: 15px;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 14px;
    color: #fff;
    background-color: #000;
    filter: alpha(opacity=60);
    background: rgba(0,0,0,.6);
    border-radius: 3px;
    text-decoration: none;
}
.article_list .item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .3s ease-out 0s;
}
.article_list .item-category {
    position: absolute;
    left: 10px;
    top: 15px;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 14px;
    color: #fff;
    background-color: #000;
    filter: alpha(opacity=60);
    background: rgba(0,0,0,.6);
    border-radius: 3px;
    text-decoration: none;
}

.article_list .item-title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 28px;
    height:28px;
    font-weight: 500;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.article_list .item-title a {
    color: var(--theme-black-color);
    text-decoration: none;
}
.article_list .item-excerpt {
    height: 52px;
    margin-bottom: 34px;
    line-height: 26px;
    color: var(--theme-gray-color);
    font-size: 16px;
    overflow:hidden;
}
.article_list .item-excerpt p {
    margin-bottom: 0;
    line-height: 1.625;
}
.article_list .item-meta {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding-right: 20px;
    color: var(--theme-light-color);
    font-size: 12px;
}

.article_list .item-meta .item-meta-li {
    display: inline-block;
    margin-right: 15px;
    vertical-align: top;
    line-height: 24px;
}

.article_list .item-meta .item-meta-right {
    float: right;
}
.article_list .item-meta .item-meta-li:last-child {
    margin-right: 0;
}




.banner{}
.banner a{}
.banner a img{width:100%;height:auto;border-radius:10px;}




.articles_box{margin:0 calc(var(--bs-gutter-x) * -1) 0  calc(var(--bs-gutter-x) * -.5); }
.imagesbox{margin:0 calc(var(--bs-gutter-x) * -1) 0  calc(var(--bs-gutter-x) * -.5); }
.textsbox{margin:0 calc(var(--bs-gutter-x) * -1) 0  calc(var(--bs-gutter-x) * -.5); }


.side_article_list .item {
    margin: 0;
    padding: 15px 0;
    display: flex;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px dashed var(--theme-line-color);
}

.side_article_list .item-img {
    width: 100px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.side_article_list .item-img-inner {
    display: block;
}

.side_article_list .item-img img {
    display: block;
    width: 100%;
    /* height: auto; */
    height: 90px;
    transition: all .3s ease-out 0s;
}

.side_article_list .item-content {
    position: relative;
    margin-left: 10px;
    width: calc(100% - 110px);
    flex-shrink: 1;
}
.side_article_list .item-title {
    height: 42px;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-height: 1.4;
}
.side_article_list .item-title a {
    color: var(--theme-black-color);
    text-decoration:none;
}
.side_article_list .item-date {
    position: absolute;
    bottom: 0;
    margin: 0;
    font-size: 12px;
    color: var(--theme-light-color);
    line-height: 14px;
}


.index_title{text-align:center;margin:20px 0;padding-bottom:10px;border-bottom:1px solid #f5f5f5;}
.index_title h3{display:inline-block;}
.index_title h3 i{font-size:15px;color:#3c2012;}
.index_title a{float:right;font-size:13px;color:#b5b5b5;}
.index_title:after{content:"";display:block;clear:both;}

.index_title_sm h3{font-size:18px;}


.text_list .item {
    display: flex;
    margin: 0;
    padding: 15px 0;
    line-height: 32px;
    align-items: center;
    justify-content: space-between;
}

.text_list .item a {
    display: block;
    width: calc(100% - 120px);
    font-size: 16px;
    color: var(--theme-black-color);
    align-items: center;
}
.text_list .item a:before {
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 5px;
    margin-top: 12px;
    font-size: 0;
    line-height: 0;
    border: 4px solid transparent;
    border-left: 6px solid #ccc;
    content: "";
    vertical-align: top;
}

.text_list .item .date {
    width: 110px;
    font-size: 14px;
    text-align: right;
    flex-shrink: 0;
}

footer{background:#2e3235;text-align:center;padding:20px 0;}
.footer-nav{}
.footer-nav li{display:inline-block;font-size:14px;margin-right:10px;padding-right:10px;border-right:1px solid rgba(255,255,255,0.7);
height:20px;line-height:20px;}
.footer-nav li a{color:rgba(255,255,255,0.7);}
.footer-nav li:nth-last-child(1){border-right:unset;padding-right:0;margin-right:0;}

.footer-desc{text-align:center;color:rgba(255,255,255,0.7);}
.footer-desc a{color:rgba(255,255,255,0.7);}


.friendlinks{margin-bottom:25px;text-align:center;}
.friendlinks a{color:#858585;font-size:15px;margin:0 5px;}



article{}

article .cont_details{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #f5f5f5;}
article .cont_details span{font-size:14px;color:#b5b5b5;}
article h1{font-size:25px;}
article h2{font-size:23px;}
article h3{font-size:21px;}
article ul{padding-left:20px;}
article .content{}
article .content img{max-width:100%;height:auto!important;margin-bottom:10px;margin-top:10px;}
article .content p{line-height:30px;margin-bottom:20px;}
article .content div{line-height:30px;margin-bottom:20px;}



.part_title{margin:20px 0;padding-bottom:10px;border-bottom:1px solid #f5f5f5;font-size:18px;}
.part_title {display:inline-block;font-size:18px;}
.part_title i{font-size:15px;color:#3c2012;}

.bk_card_top{border-color:#f5f5f5;box-shadow:2px 4px 10px rgba(106, 60, 26, 0.1);}
.bk_card_top .card-header h1{margin:0;font-size:35px;color:#3c2012;font-weight:bold;}
.bk_card_top .card-header{background:white;border-color:#f5f5f5;padding-top:15px;padding-bottom:15px;}
.bk_card_top .card-body{}

.bk_card_top .card-header h3{margin:0;font-size:20px;color:black;font-weight:bold;position:relative;
padding-left:10px;}
.bk_card_top .card-header h3:before{content:"";display:block;position:absolute;
height:18px;width:5px;left:0;top:3px;border-radius:3px;background:#3c2012;}
.bk_card_details{}
.bk_card_details p{}
.bk_card_details p span{color:#3c2012;margin-right:5px;font-weight:bold;}

.bk_card_details .nav-link {color:#3c2012;font-size:14px;padding-left:10px;padding-right:10px;}
.bk_card_details .tab-content{min-height:min-height: 100px;padding:10px;}

.pager{margin-top:10px;}
.pager a{display:inline-block;padding:5px 10px;text-decoration:none;border:1px solid #f5f5f5;box-shadow:3px 3px 5px #edf3f7;margin-right:10px;margin-bottom:10px;
color:#502c1c;}
.pager .a1{}
.pager span{margin-right:5px;margin-bottom:5px;display:inline-block;padding:5px 10px;}

.breadcrumb-item a{font-size:14px;color:#858585;}


@media (max-width:992px){
    .photoframe .col-lg-6{
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5)
    }
    
    
    .photoframe .col-6:nth-child(1),.photoframe .col-6:nth-child(3){
        padding-left: calc(var(--bs-gutter-x) * .5)
    }
    .photoframe .col-6:nth-child(2),.photoframe .col-6:nth-child(4){
        padding-right: calc(var(--bs-gutter-x) * .5)
    }
    
}

@media (max-width:575px){
    .pfitem_big a{height:250px;}
    .pfitem_small a{height:150px;}
    .pfitem_detail h3{height:40px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
    
    .articles_box{margin:0;}
    .imagesbox{margin:0;}
    .textsbox{margin:0;}
    
    .article_list .item-title{font-size:17px;}
    .article_list .item-excerpt{line-height:25px;height:25px;font-size:13px;}
}


.index-mid-box{width:calc(100% + 35px);margin:0 -10px 0;}
.bg-coffee-2{background:linear-gradient(to right, #3c2012, #623f21);}
.coffee-toutiao{}
.coffee-toutiao ul{padding:0;list-style:none; border-bottom:2px dashed #623f21;}
.coffee-toutiao ul li{/*border:1px solid #f7f7f7;*/margin-bottom:9px;/*box-shadow:0px 1px 5px rgb(62 26 5 / 8%); */border-radius:10px;
background:linear-gradient(89deg, #fdf5ee, transparent);}
    .coffee-toutiao ul li:nth-child(3){margin-bottom:0;}
.coffee-toutiao ul li a{display:block;padding:10px;}
.coffee-toutiao ul li a h3{font-size:16px;height:25px;line-height:25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#3c2012;padding-bottom:30px;margin-bottom:5px;
border-bottom:1px dashed #e9e2dc;}
.coffee-toutiao ul li a span{font-size:13px;display:block;height:16px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#adaaa9;}
.coffee-toutiao ul li a p{font-size:14px;height:50px;line-height:25px;overflow:hidden;text-overflow:ellipsis;color:#b1aaa8;margin-bottom:0;}

.coffee-index-card .card-title{line-height:28px;height:28px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;}
.coffee-index-card .card-text{line-height:23px;height:92px;overflow:hidden;font-size:14px;}

.coffee-func .grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.coffee-func .grid-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.2s;
}

.coffee-func .grid-item:hover {
    transform: scale(1.05);
}

.coffee-func .grid-item img {
    width: 100%;
    height: auto;
    display: block;
}

.index-part-title{
    font-size: 20px;
    border-top: 1px dashed #d5c0ae;
    border-bottom: 1px dashed #d5c0ae;
    padding: 8px 5px;
    color: #4b2c18;
}                

.index-super-title{text-align:center;height:50px;line-height:50px;margin-bottom:10px;border-bottom:1px solid black;}
.index-super-title span{padding:0 10px 11px;border-bottom:3px solid black;font-size:20px;font-weight:bold;margin-bottom:-1px;}
.index-super-title span strong{color:#844d1f;}

@media(max-width:1250px){
    .index-mid-box{width:100%;margin:20px 0;}
}

@media(max-width:750px){
    .index-mid-box .col-md-4{padding-bottom:10px;}
}





.right-float-bottoms{
    position: fixed;
    bottom: 150px;
    left:calc(50% + 600px + 20px);
    display: none;
    z-index: 9999;
}

.right-float-bottom-item{
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    margin: 10px;
    cursor: pointer;
    
}
.right-float-bottom-item:hover{
    color:white;
}
@media screen and (max-width: 1250px) {
    .right-float-bottoms{
        left:auto;
        right:20px;
    }

    .right-float-bottom-item{
        background: rgba(0,0,0,0.5);
    }
}

@media screen and (max-width: 768px) {
    .right-float-bottoms{
        left:auto;
        right:10px;
        bottom:10px;
    }
}



.card-mid{
    position:relative;
    overflow: hidden;
}

.card-mid::after{
    display: block;
position: absolute;
color: rgba(255,255,255,0.07);
content: "COFFEE";
font-size: 121px;
font-weight: bold;
right: 2px;
transform: rotate(
345deg);
top: 10px;
z-index:0;
}

.card-mid .card-body{z-index:1;}
.card-mid .card-title{z-index:1;}

.toutiao-backtxt{
    position:relative;
    overflow: hidden;
}

.toutiao-backtxt a{
    z-index:1;
}
.toutiao-backtxt::after{
    display: block;
    position: absolute;
    color: rgb(215 166 116 / 7%);
    content: "咖啡";
    font-size: 101px;
    font-weight: bold;
    right: 14px;
    top: -15px;
    z-index: 0;
}



/* 自定义移动端固定定位 */
@media (max-width: 991.98px) { /* 对应 Bootstrap 的 lg 断点 */
  .mobile-fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030; /* 与 fixed-top 相同层级 */
  }

  /* 防止内容被遮挡 */
  body {
    padding-top: 83px; /* 根据导航栏实际高度调整 */
  }
}

/* PC端恢复默认定位 */
@media (min-width: 992px) {
  .mobile-fixed-top {
    position: static !important; /* 覆盖 fixed 定位 */
  }

  body {
    padding-top: 0 !important;
  }
}



/*头部标签相关样式*/
.nav_tags{background:#f5f5f5;overflow:hidden;width:100%;max-width:992px;display:block;margin:0 auto;
position:fixed;top:3.5rem;left:calc(50% - 496px);z-index:999;display: none;}
@media screen and (max-width: 992px){
    .nav_tags {
        left: 0;
        display:block;
    }
}

.nav_tags ul{white-space:nowrap;overflow-x:scroll;height:40px;padding-right:60px;}
.nav_tags ul li{display:inline-block;width:14.2857%;text-align:center;height:35px;line-height:35px;
font-size:15px;color:#616161;}
.nav_tags ul li a{color:#616161;}
.nav_tags ul li.active{font-weight:bold;font-size:16px;color:black;}

.nav_tags ul::-webkit-scrollbar {
height:3px;
}

/* 滚动槽 */
.nav_tags ul::-webkit-scrollbar-track {
-webkit-box-shadow:inset006pxrgba(0,0,0,0.3);
border-radius:10px;
}

/* 滚动条滑块 */
.nav_tags ul::-webkit-scrollbar-thumb {
border-radius:10px;
background:rgba(0,0,0,0.1);
-webkit-box-shadow:inset006pxrgba(0,0,0,0.5);
}
.nav_tags ul::-webkit-scrollbar-thumb:window-inactive {
background:rgba(0,0,0,0.1);
}

.nav_tags_more{position:absolute;height:40px;width:40px;text-align:center;line-height:40px;
top:0;right:0;background:#f5f5f5;color:#616161;box-shadow:-5px 0px 9px rgba(0, 0, 0, 0.2);}
.nav_tags_more img{width:22px;margin-top:10px;}

.nav_tag_modal_part_tit{font-size:16px;font-weight:bold;height:30px;line-height:30px;border-bottom:1px solid #f5f5f5;
color:#4e4e4e;}
.nav_tag_modal_part_tit a{font-size:13px;float:right;font-weight: normal;color: #127acc;}
.nav_tag_modal_part_tit:after{content:"";clear:both;display:block;}
.nav_tag_modal_part_tit span{color:#b5b5b5;font-size:13px;font-weight:normal;}

.nav_tag_selects{margin-bottom:15px;}
.nav_tag_selects ul{padding-top:5px;}
.nav_tag_selects ul li{display:inline-block;width:25%;float:left;padding:3px;}
.nav_tag_selects ul li span{display:block;background:#f5f5f5;color:#424242;text-align:center;height:35px;line-height:35px;
font-size:14px;}
.nav_tag_selects ul li.selected span{background:#f7f7f7;color:#b5b5b5;}
.nav_tag_selects ul:after{content:"";clear:both;display:block;}
.not_index ul li{width:calc(25% - 6px);}


.tags_editing ul li{position:relative;pointer-events:none;}

.tags_editing ul li:after{
    display:block;
    content:"×";
    position:absolute;
    right:1px;
    top:-5px;
    background:#cccccc;
    border-radius:8px;
    width:15px;
    height:15px;
    line-height:15px;
    text-align:center;
    font-size:13px;
    color:white;
    pointer-events: auto;
}
/*头部标签相关样式 end*/