/*
Theme Name:     B2子主题
Theme URI:      http: //7b2.com/
Description:    Child theme for the B2 PRO
Author:         子主题模版
Author URI:     http: //7b2.com/
Template:       b2
Version:        0.1.5
*/
.circle-topic-list-row{
    width: 100%;
}
.circle-topic-list-row .archive-list {
  display: flex;
  flex-wrap: wrap;       /* 超过宽度自动换行 */
  gap: 20px;            /* 卡片之间的间距 */
  margin: 20px auto;     /* 上下外边距 可自调 */
}

/* 每个article是一个卡片 */
.circle-topic-list-row .archive-item {
  flex: 0 0 calc(50% -0); /* 3列布局。想2列就50%，4列就25% */
  background-color: #fff;
  border-radius: 8px;   
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* 阴影 */
  display: flex;       /* 让内部可自定义结构 */
}

/* 内部再包一层，留出padding */
.circle-topic-list-row .archive-item-inner {
  display: flex;  
  align-items: center;
  padding: 15px;
  width: 100%; /* 保证撑满卡片 */
}

/* 头像区域 */
.circle-topic-list-row .archive-item-avatar {
  margin-right: 10px;
}
.circle-topic-list-row .archive-item-avatar img {
  border-radius: 50%; /* 圆形头像 */
  width: 50px;
  height: 50px;
  object-fit: cover;
}

/* 标题、作者、日期 */
.circle-topic-list-row .archive-item-content {
  flex: 1;
}
.circle-topic-list-row .archive-item-title {
  margin: 0 0 5px; 
  font-size: 16px;
}
.circle-topic-list-row .archive-item-meta {
  margin: 0;
  color: #999;
  font-size: 14px;
}
.circle-topic-list-row .archive-item-author {
  margin-right: 10px;
}

/*帖子详情标签*/
.circle-topic-tags{
    padding:15px 20px 20px;
    display: flex;
    flex-flow: wrap;
    position: relative;
    margin: 0;
}
/*相关帖子*/
.related-posts{
    padding:15px 20px;
}
.related-posts h3 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}
.circle_meta_box{
    border: 1px solid #f1f1f1;
}
.related-posts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related-post-item a span {
  position: relative;
  padding-left: 10px;
  /* 添加省略号 */
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.related-post-item a :hover {
  color: #0e78f9;
}
.related-post-item a span::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: #0e78f9;
}
.related-post-item {
  flex: 0 0 calc(50% - 10px); /* PC端两列 */
  background: #fff;
  /* 防止内容超出导致布局错乱 */
  box-sizing: border-box;
  overflow: hidden;
}
.related-post-item a {
  color: #545454;
  text-decoration: none;
  font-size: 13px;
  /* 保证省略号生效 */
  display: block;
  width: 100%;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .related-post-item {
    flex: 0 0 100%; /* 移动端单列 */
  }
  
  .related-post-item a span {
    max-width: calc(100vw - 80px); /* 留出边距空间 */
  }
}
.shop-filter-form {
    margin-top: 10px;
}
.shop-filter-form {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}
.shop-filter-form select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}
.shop-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.shop-post {
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
}
.shop-post img {
    max-width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    .shop-filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    .shop-filter-form select {
        width: 100%;
    }
}
/*商城排序/
/* 排序按钮样式-https://www.dzw6.com/33516.html */
.topic-type-menu ul {
display: flex;
gap: 15px;
margin: 20px 0 0;
padding: 0;
list-style: none;
}
.topic-type-menu ul li {
margin: 0;
}
.topic-type-menu ul li a {
display: block;
padding: 8px 15px;
border-radius: 4px;
background: var(--b2-background-light);
color: var(--b2-text-color);
text-decoration: none;
transition: all 0.3s ease;
border: 1px solid var(--b2-border-color);
}
.topic-type-menu ul li a:hover {
background: var(--b2-main-hover);
border-color: transparent;
}


/*动态滚动*/
/*网站动态开始*/
/*网站动态开始*/@media screen and (max-width: 768px){
    .owl-dynamic .scroll-dynamic ul li {
        width: 280px!important; /* 设置容器宽度 */        overflow: hidden; /* 当内容超出容器宽度时进行隐藏 */        white-space: nowrap; /* 不换行 */         
}
 .float-left,.float-right{
     display:none!important;
 }   
    .owl-dynamic .scroll-dynamic{
        max-width:unset!important;
    }
     
}
.mr-2, .mx-2 {
    margin-right: 0.5rem!important;
}
 
.badge-danger {
    color: #f46;
    background-color: rgba(255, 68, 102, 0.15);
}
.badge {
    display: inline-block;
    padding: 0.2em 0.6em;
    font-size: 75%;
    font-weight: 700;
    line-height: 2;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.float-left {
    float: left;
}
 
.d-lg-block {
    display: block;
}
#rizhuti_v2_module_dynamic-5{
    margin-bottom:20px;
}
#rizhuti_v2_module_dynamic-5 .owl-dynamic {
    color: #000;
   background: #fff;
     
}
#rizhuti_v2_module_dynamic-5 .owl-dynamic {
    position: relative;
    padding: 10px 15px;
    border-radius: 0.5rem;
}
.ml-1, .mx-1 {
    margin-left: 0.25rem!important;
}
.spinner-grow-sm {
    width: 1rem;
    height: 1rem;
}
.spinner-grow {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    background-color: currentColor;
    border-radius: 50%;
    opacity: 0;
    -webkit-animation: .75s linear infinite spinner-grow;
    animation: .75s linear infinite spinner-grow;
}
.small, small {
    font-size: 96%;
    font-weight: 400;
    color: #000;
    line-height: 2;
}
sup {
    top: -0.5em;
}
sub, sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}
 .spinner-border,
  .spinner-grow {
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
  }
 
.owl-dynamic .scroll-dynamic {
    height: 25px;
    line-height: 25px;
    overflow: hidden;
    display: inline-block;
    max-width: 64%;
}
 
.owl-dynamic .scroll-dynamic ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.owl-dynamic .scroll-dynamic ul li {
    font-size:16px;
    font-weight: 600;
    height: 25px;
    padding-left: 0;
    line-height: 30px;
    white-space: nowrap; /* 防止换行 */        overflow: hidden; /* 超过部分隐藏 */        width:500px;
}
.owl-dynamic .scroll-dynamic ul li a{
    color:#f46;
   text-decoration:underline;
}
.dark-open a {
    color: #fff;
}
.float-right {
    float: right;
}
 
 
.d-lg-block {
    display: block;
}
.mr-2, .mx-2 {
    margin-right: 0.5rem!important;
}
.small, small {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 2;
}
small {
    font-size: 80% !important;
}
.badge-primary-lighten {
    color: #f46;
    background-color: rgba(255, 68, 102, 0.15);
    margin-bottom: 10px;
}
.ml-1, .mx-1 {
    margin-left: 0.25rem!important;
}
 
.badge {
    display: inline-block;
    padding: 0.2em 0.6em;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
/*网站动态结束*/

