/**
 * Blog Sidebar Styles
 * 博客侧边栏样式
 */

/* 隐藏搜索框 */
.btSidebar .widget_search {
    display: none !important;
}

/* ========================================
   侧边栏置顶文章样式
   ======================================== */
.btSidebar .widget_sidebar_sticky {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    cursor: pointer;
}

.btSidebar .widget_sidebar_sticky h4 {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 0 15px 0 !important;
    padding: 0 0 15px 0 !important;
    border-bottom: 1px solid #eee;
}

.btSidebar .widget_sidebar_sticky h4::before,
.btSidebar .widget_sidebar_sticky h4::after {
    display: none !important;
}

.btSidebar .widget_sidebar_sticky h4 .widget-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #FEE9E5;
    border-radius: 6px;
}

.btSidebar .widget_sidebar_sticky h4 > span:last-child {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.btSidebar .sidebar-sticky-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.btSidebar .sidebar-sticky-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    row-gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.btSidebar .sidebar-sticky-item::after{
  content: none;
}

.btSidebar .sidebar-sticky-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.btSidebar .sidebar-sticky-item:first-child {
    padding-top: 0;
}

.btSidebar .sidebar-sticky-thumb {
    flex-shrink: 0;
    width: 249px;
    height: 146px;
    border-radius: 8px;
    overflow: hidden;
}

.btSidebar .sidebar-sticky-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.btSidebar .sidebar-sticky-title {
    flex: 1;
    font-size: 16px;
    font-weight: bold;
    line-height: 21px;
    width: 100%;
    color: #2B2726;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.btSidebar .widget_sidebar_sticky:hover .sidebar-sticky-item .sidebar-sticky-title{
    color: #E13312;
}
.btSidebar .widget_sidebar_sticky:hover .sidebar-sticky-thumb img{
    transform: scale(1.1);
}

/* ========================================
   文章分类折叠样式
   ======================================== */
.btSidebar .widget_categories_accordion {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.btSidebar .widget_categories_accordion .btBox-blog{
  background-color: #F6F6F6;
  border-radius: 8px;
  margin-bottom: 8px;
}

.btSidebar .widget_categories_accordion .btBox-blog:last-child{
  margin-bottom: 0;
}

.btSidebar .widget_categories_accordion .btBox-blog-title{
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #F1F1F1;
  padding: 16px 17px;
  user-select: none;
  cursor: pointer;
  border-radius: 8px;
}

.btSidebar .widget_categories_accordion .btBox-blog.expanded .btBox-blog-title,
.btSidebar .widget_categories_accordion .btBox-blog-title.active{
  border-radius: 8px 8px 0 0;
}

.btSidebar .widget_categories_accordion .btBox-blog-title .bbt-icon{
  font-size: 20px;
  color: #979797;
  line-height: 20px;
}

.btSidebar .widget_categories_accordion .btBox-blog-title .bbt-icon::after{
  content: '\e698';
}

.btSidebar .widget_categories_accordion .btBox-blog-title.active .bbt-icon::after{
  content: '\e697';
  color: #E13312;
}

.btSidebar .widget_categories_accordion .btBox-blog-title .bbt-text{
  font-weight: bold;
  font-size: 16px;
  color: #22262A;
  line-height: 21px;
  flex: 1;
  text-decoration: none;
}

.btSidebar .widget_categories_accordion .btBox-blog-title .bbt-text:hover,
.btSidebar .widget_categories_accordion .btBox-blog-title .bbt-text.current{
  color: #E13312;
}

.btSidebar .widget_categories_accordion .btBox-blog-title .cat-toggle{
  width: 20px;
  height: 20px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.btSidebar .widget_categories_accordion .btBox-blog-title .cat-toggle::before{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: translate(-60%, -50%) rotate(-45deg);
  transition: transform 0.2s ease;
}

.btSidebar .widget_categories_accordion .btBox-blog-title.active .cat-toggle::before{
  transform: translate(-50%, -60%) rotate(45deg);
}

.btSidebar .widget_categories_accordion .btBox-blog-content{
  overflow: hidden;
  background-color: #F6F6F6;
  border-radius: 0 0 8px 8px;
}

.btSidebar .widget_categories_accordion h4 {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 0 15px 0 !important;
    padding: 0 0 15px 0 !important;
    border-bottom: 1px solid #eee;
}

.btSidebar .widget_categories_accordion h4::before,
.btSidebar .widget_categories_accordion h4::after {
    display: none !important;
}

.btSidebar .widget_categories_accordion h4 .widget-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #FEE9E5;
    border-radius: 6px;
}

.btSidebar .widget_categories_accordion h4 > span:last-child {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.btSidebar .category-accordion {
    list-style: none !important;
    margin: 0 !important;
    max-height: 100%;
    width: 100%;
    padding: 10px !important;
    padding-left: 40px !important;
}

.btSidebar .category-accordion > .cat-item {
    border-bottom: 1px solid #D9DCDE;
    padding: 0 !important;
    margin: 0 !important;
}

.btSidebar .category-accordion > .cat-item:last-child {
    border-bottom: none;
}

.btSidebar .category-accordion > li.cat-item a {
  padding: 11px 0;
}

.btSidebar .category-accordion .cat-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
}

.btSidebar .category-accordion .cat-item-header a {
    color: #575555;
    text-decoration: none;
    font-size: 16px;
    line-height: 21px;
    transition: color 0.2s ease;
    flex: 1;
}

.btSidebar .category-accordion .cat-item-header:hover a,
.btSidebar .category-accordion .cat-item-header a.current {
    color: #E13312;
}

.btSidebar .category-accordion .cat-toggle {
    width: 16px;
    height: 16px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.btSidebar .category-accordion .cat-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: translate(-60%, -50%) rotate(-45deg);
    transition: transform 0.2s ease;
}

.btSidebar .category-accordion .cat-item.active > .cat-item-header .cat-toggle::before {
    transform: translate(-50%, -60%) rotate(45deg);
}

.btSidebar .category-accordion .children {
    display: none;
    list-style: none !important;
    padding: 0 0 10px 15px !important;
    margin: 0 !important;
}

.btSidebar .category-accordion .children .cat-item {
    padding: 8px 0 !important;
    border-bottom: 1px solid #f5f5f5;
}

.btSidebar .category-accordion .children .cat-item:last-child {
    border-bottom: none;
}

.btSidebar .category-accordion .children a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.btSidebar .category-accordion .children a:hover,
.btSidebar .category-accordion .children a.current {
    color: #E13312;
}
.mainHeader .btLogoArea {
  padding: 10px 0;
}
/* ========================================
   置顶文章样式
   ======================================== */
.btContentWrap{
  background-color: #F6F6F6;
}
.btContentWrap .btContentHolder .btContent{
  padding-left: 0;
  padding-right: 0;
}
.btContentWrap .btContentHolder .btContent .btBlogColumnView{
  border-bottom: none;
  margin-bottom: 0;
}
.btWithSidebar .btContentWrap .btContentHolder{
  max-width: 1229px;
}
.btContentWrap .btContentHolder .bt_bb_wrapper p{
  word-break: break-word;
}

.btFeaturedPost {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
    background-color: #ffffff;
    padding: 55px 0;
}

.btFeaturedPost-inner {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    max-width: 1229px;
    margin: 0 auto;
}

.btFeaturedPost-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.btFeaturedPost-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.btFeaturedPost-image:hover img {
    transform: scale(1.05);
}

.btFeaturedPost-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.btFeaturedPost-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 50px;
    color: #fff;
    z-index: 2;
    padding-bottom: 18px;
}

.btFeaturedPost-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    padding-bottom: 0;
    margin: 0 0 16px 0;
}

.btFeaturedPost-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.btFeaturedPost-title a:hover {
    color: var(--accent-color, #f7a600);
}

.btFeaturedPost-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    display: none;
}

.btFeaturedPost-meta span::before {
    margin-right: 5px;
}

.btFeaturedPost-excerpt {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btFeaturedPost-readmore {
    display: inline-block;
    padding: 10px 25px;
    background: var(--accent-color, #f7a600);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: none;
}

.btFeaturedPost-readmore:hover {
    background: #fff;
    color: #333;
}

.btContentWrap section.boldSection{
  display: none;
}

/* 响应式设计 - 置顶文章 */
@media (max-width: 991px) {
    .btFeaturedPost-image {
        height: 400px;
    }

    .btFeaturedPost-content {
        padding: 30px;
    }

    .btFeaturedPost-title {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .btFeaturedPost-image {
        height: 300px;
    }

    .btFeaturedPost-content {
        padding: 20px;
    }

    .btFeaturedPost-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .btFeaturedPost-meta {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 10px;
        font-size: 12px;
    }

    .btFeaturedPost-excerpt {
        font-size: 14px;
        -webkit-line-clamp: 2;
        margin-bottom: 15px;
    }

    .btFeaturedPost-readmore {
        padding: 8px 20px;
        font-size: 12px;
    }
}

/* ========================================
   文章列表样式
   ======================================== */

.btArticleListItem .btArticleListBody{
  display: flex;
  align-items: center;
  gap: 48px;
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
}
.btArticleListItem .btArticleListBody:hover{
  box-shadow: 2px 2px 16px 0px #D9DCDE;
}
.btArticleListItem .btArticleListBody:hover .listbody-left img{
  transform: scale(1.1);
}
.btArticleListItem .btArticleListBody:hover .listbody-right .btArticleListBodyContent p{
  color: #E13312;
}
.btArticleListItem .btArticleListBody:hover .listbody-right .btArticleListBodyAuthorViewMore{
  background-color: #E13312;
  color: #ffffff;
  border-color: #E13312;
}
.btArticleListItem .btArticleListBody .listbody-left{
  flex-shrink: 0;
  height: 343px;
  width: 407px;
  overflow: hidden;
}
.btArticleListItem .btArticleListBody .listbody-left img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}
.btArticleListItem .btArticleListBody .listbody-right{
  padding-right: 20px;
  word-break: break-word;
}
.btArticleListItem .btArticleListBody .listbody-right h1{
  font-size: 20px;
  color: #22262A;
  line-height: 26px;
  text-shadow: 2px 2px 16px #D9DCDE;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 16px;
  padding-bottom: 0;
}
.btArticleListItem .listbody-right .btArticleListBodyContent p{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  color: #575555;
  line-height: 21px;
  text-shadow: 2px 2px 16px #D9DCDE;
  margin-bottom: 36px;
}
.btArticleListItem .listbody-right .btArticleListBodyAuthor{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.btArticleListItem .listbody-right .btArticleListBodyAuthor img{
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
}
.btArticleListItem .listbody-right .btArticleListBodyAuthor .btArticleListBodyAuthorName{
  font-size: 14px;
  color: #989BA1;
  line-height: 19px;
}
.btArticleListItem .listbody-right .btArticleListBodyAuthorViewMore{
  font-size: 16px;
  color: #989BA1;
  line-height: 21px;
  border: 1px solid #D9DCDE;
  width: 152px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 23px;
  user-select: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

/* ========================================
   文章分类样式
   ======================================== */
.btSidebar .widget_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.btSidebar .widget_categories ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btSidebar .widget_categories ul li:last-child {
    border-bottom: none;
}

.btSidebar .widget_categories ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.btSidebar .widget_categories ul li a:hover {
    color: var(--accent-color, #f7a600);
}

.btSidebar .widget_categories ul li.current-cat a {
    color: var(--accent-color, #f7a600);
    font-weight: 600;
}

.btSidebar .widget_categories ul li .post-count {
    color: #999;
    font-size: 12px;
}

/* 相关文章/最新文章样式 */
.btSidebar .widget_related_posts,
.btSidebar .widget_recent_posts {
    margin-bottom: 30px;
}

.btSidebar .widget_related_posts{
  border-radius: 12px;
  background-color: #ffffff;
  padding: 20px;
}

.btSidebar .related-posts-list,
.btSidebar .recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.btSidebar .related-post-item,
.btSidebar .recent-post-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.btSidebar .related-post-item:last-child,
.btSidebar .recent-post-item:last-child {
    border-bottom: none;
}

.btSidebar .related-post-thumb,
.btSidebar .recent-post-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    overflow: hidden;
    border-radius: 4px;
}

.btSidebar .related-post-thumb img,
.btSidebar .recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.btSidebar .related-post-thumb:hover img,
.btSidebar .recent-post-thumb:hover img {
    transform: scale(1.1);
}

.btSidebar .related-post-content,
.btSidebar .recent-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btSidebar .related-post-content{
  overflow: hidden;
  user-select: none;
  cursor: pointer;
}

.btSidebar .related-post-title,
.btSidebar .recent-post-title {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.btSidebar .related-post-title{
  font-weight: bold;
  font-size: 16px;
  color: #2B2726;
  line-height: 21px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btSidebar .related-post-title:hover,
.btSidebar .recent-post-title:hover {
    color: var(--accent-color, #f7a600);
}

.btSidebar .related-post-date,
.btSidebar .recent-post-date {
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

.btSidebar .related-post-date{
  font-size: 16px;
  color: #575555;
  line-height: 21px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btSidebar .widget_related_posts .related-post-content:hover .related-post-date,
.btSidebar .widget_related_posts .related-post-content:hover .related-post-title{
  color: #E13312;
}

/* 响应式设计 */
@media (max-width: 767px) {
    .btSidebar .related-post-thumb,
    .btSidebar .recent-post-thumb {
        width: 60px;
        height: 60px;
    }

    .btSidebar .related-post-title,
    .btSidebar .recent-post-title {
        font-size: 13px;
    }
}

/* ========================================
   分页样式
   ======================================== */
.btPaginationNumbers {
    padding: 40px 0 60px;
    background: #f5f5f5;
}

.btPaginationNumbers .pagination-nav {
    display: flex;
    justify-content: center;
}

.btPaginationNumbers .page-numbers {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.btPaginationNumbers .page-numbers li {
    margin: 0;
}

.btPaginationNumbers .page-numbers li a,
.btPaginationNumbers .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.2s ease;
    border: 1px solid #cccccc;
    background-color: transparent;
    border-radius: 8px;
    color: #2B2726;
}

.btPaginationNumbers .page-numbers li a:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.btPaginationNumbers .page-numbers li span.current {
    background: #2196F3;
    border-color: #2196F3;
    color: #fff;
}

.btPaginationNumbers .page-numbers li span.dots {
    border: none;
    background: transparent;
    min-width: 44px;
    padding: 0;
    color: #666;
    font-size: 18px;
    letter-spacing: 2px;
}

.btPaginationNumbers .page-numbers li .prev,
.btPaginationNumbers .page-numbers li .next {
    font-size: 18px;
    font-weight: 300;
}

.btPaginationNumbers .page-numbers li .page-numbers.current{
  background-color: #E13312;
  color: #ffffff;
  border-color: #E13312;
}

@media (max-width: 767px) {
    .btPaginationNumbers .page-numbers li a,
    .btPaginationNumbers .page-numbers li span {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
        font-size: 14px;
    }

    .btPaginationNumbers .page-numbers {
        gap: 6px;
    }

    .btPaginationNumbers .page-numbers li span.dots {
        min-width: 38px;
    }
}



/* ===== 文章目录组件样式 - 折叠展开版本 ===== */
.wp-singular .btTableOfContents{
  border: 1px solid #D9DCDE;
  border-radius: 8px;
  margin: 36px auto;
  width: 497px;
  padding-left: 44px;
  padding-right: 52px;
  margin-bottom: 0;
}

.wp-singular .btTableOfContents .toc-list{
  padding: 0;
  margin: 0;
}

.wp-singular .btTableOfContents .toc-item{
  margin: 0;
  padding: 0;
  text-align: left;
}

.wp-singular .btTableOfContents .toc-icon{
  font-size: 20px;
  color: #979797;
  line-height: 20px;
  margin-right: 12px;
}

.wp-singular .btTableOfContents .toc-item .toc-icon::after{
  content: '\e698';
}

.wp-singular .btTableOfContents .toc-expanded .toc-icon::after{
  content: '\e697';
  color: #E13312;
}

.wp-singular .btTableOfContents .toc-level-1{
  padding-left: 20px;
}

.wp-singular .btTableOfContents .toc-level-2{
  margin-bottom: 4px;
  padding-left: 20px; /* 一级标题的缩进 */
  border-bottom: 1px solid #EBECED;
}

.wp-singular .btTableOfContents .toc-level-2:last-child{
  border-bottom: none;
}

.wp-singular .btTableOfContents .tcc-level-2:last-child{
  border-bottom: none;
}

/* 子级容器样式 */
.wp-singular .btTableOfContents .toc-children{
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 默认隐藏所有子级 */
.wp-singular .btTableOfContents .toc-children{
  display: none;
}

/* 展开状态显示子级 */
.wp-singular .btTableOfContents .toc-expanded > .toc-children{
  display: block;
}

.wp-singular .btTableOfContents .toc-expandable.toc-expanded{
  padding-bottom: 0;
}

/* 可展开的一级标题容器 */
.wp-singular .btTableOfContents .toc-expandable{
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 8px 0;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  transform: translateX(-32px);
}

/* 链接样式 */
.wp-singular .btTableOfContents .toc-link{
  text-decoration: none;
  color: #2B2726;
  font-weight: 500;
  transition: color 0.2s ease;
  flex: 1;
  display: flex;
  width: 100%;
}

.wp-singular .btTableOfContents .toc-expandable .toc-link{
  font-size: 18px;
  font-weight: 600;
}

.wp-singular .btTableOfContents .toc-level-2 .toc-link{
  font-size: 16px;
  line-height: 21px;
  padding-top: 12px;
  padding-bottom: 10px;
}

/* 当前章节高亮 */
.wp-singular .btTableOfContents .toc-level-2 .toc-link:hover,
.wp-singular .btTableOfContents .toc-level-1 .toc-link:hover,
.wp-singular .btTableOfContents .toc-level-2 .toc-link.active,
.wp-singular .btTableOfContents .toc-level-1 .toc-link.active{
  color: #E13312 !important;
}

/* 响应式设计 */
@media (max-width: 767px) {
  .btTableOfContents {
    margin: 15px 0;
    padding: 15px;
  }
  
  .toc-level-2 {
    padding-left: 15px;
  }
}

/* 展开/收起动画 */
.toc-children {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.toc-expanded > .toc-children {
  opacity: 1;
  max-height: 500px; /* 足够大的值确保内容完全显示 */
}

/* ========================================
   blog底部分享图标样式
   ======================================== */

.blog-content-bottom-icon{}

.blog-content-bottom-icon .bcbi-item{
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-content-bottom-icon .bcbi-item .bcbii-icon{
  font-size: 36px;
  transition: all 0.3s ease-in-out;
}

.blog-content-bottom-icon .bcbi-item .bcbii-icon:hover{
  transform: translateY(-10px);
}

.blog-content-bottom-icon .bcbi-item .bcbii-icon:nth-child(1){
  color: #1DA1F2;
}

.blog-content-bottom-icon .bcbi-item .bcbii-icon:nth-child(2){
  color: #3B5998;
}

.blog-content-bottom-icon .bcbi-item .bcbii-icon:nth-child(3){
  color: #07AF33;
}

.blog-content-bottom-icon .bcbi-item .bcbii-icon:nth-child(4){
  color: #FE0000;
}