/* 加载状态样式 */
.loading-container {
  text-align: center;
  padding: 60px 0;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #1890ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.error-container {
  text-align: center;
  padding: 60px 0;
  color: #666;
}

.empty-container {
  text-align: center;
  padding: 60px 0;
  color: #666;
}

.empty-container p {
  margin-bottom: 20px;
  font-size: 16px;
}

/* 静态轮播图样式 */
.hero-static {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.static-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.static-slide:first-child {
  opacity: 1;
}

/* NuxtLink样式 */
.news-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-link:hover {
    text-decoration: none;
    color: inherit;
}

#tf-dynamic{
    padding:60px 0;
}
.dynamic-item{
    margin-bottom: 40px;
    cursor: pointer;
}
.dynamic-item .item-inner{
    overflow: hidden;
    display: flex;
    display: -webkit-flex;
}
.dynamic-ul {
    overflow: hidden;
}
.dynamic-ul li{
    width:100%;font-size:15px;color:#333;line-height:28px;
    margin-bottom: 36px;
    padding-left: 15px;
    text-align: left;
    cursor: pointer;
}
.dynamic-active{
    font-size:18px!important;
    border-left: 4px solid #20BBB9;
    color:#20BBB9!important;
}
.tips{
    border-radius: 3px;
    color: #fff;
    padding: 4px 5px;
    font-size: 12px;
}
.firm-tips{
    background: rgba(255,67,67,1);
}
.product-tips{
    background:rgba(84,189,73,1);
}
.dynamic-type{
    overflow: hidden;
}
.dynamic-title{
    font-weight: bold;
    font-size: 16px;
    overflow: hidden;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    width: 100%;
    color: #333;
}
.dynamic-time{
    color: #999999;
    font-size: 13px;
    display: none;
}
.dynamic-msg{
    color: #666!important;
    line-height: 36px!important;
    margin:20px 0 0 0!important;
}
.dynamic-content{
    flex: 1;
    -webkit-box-flex: 1;
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 40px;
    margin-left: 22px;
}
.dynamic-day{
    width: 10%;
    text-align: center;
}
.dynamic-day .dynamic-day-num{
    display: block;
    font-size: 62px;
    font-weight: bold;
    color: #999999;
    line-height: normal;
}
.dynamic-day .dynamic-mouth{
    font-size: 16px;
    color: #999;
    font-weight: bold;
}
.dynamic-img{
    width:24%;
    height: 158px;
    overflow: hidden;
}
.dynamic-img img{
    width:94%;
}
.dynamic-news{
    width: 88%;
}
.dynamic-list{
    margin: 30px auto;
}
.pagi-area{
    display: flex;
    justify-content: center;
    align-items: center;
}
.el-pager li.is-active, .el-pager li:hover{
    color: var(--color-primary);;
}
.el-pagination.is-background .btn-next.is-active, .el-pagination.is-background .btn-prev.is-active, .el-pagination.is-background .el-pager li.is-active{
    background-color: var(--color-primary);
}

.search-form {
    display: flex;
    gap: 10px;
}
.search-input-wrapper {
    position: relative;
    flex: 1;
}
.clear-btn {
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    font-size: 20px;
    line-height: 1;
    padding: 0 5px;
}
.clear-btn:hover {
    color: #666;
}
@media screen and (max-width: 768px) {
    #tf-dynamic{
        padding: 40px 0;
    }
    .dynamic-content{
        margin-left: 10px;
        padding-bottom: 8px;
    }
    .mobile-only{
        display:block;
    }
    .dynamic-img {
        width: 30%;
        height: 75px;
    }
    .dynamic-img img {
        width: 94%;
        height: 100%;
    }
    .dynamic-news {
        width: 100%;
    }
    .dynamic-title {
        font-size: 14px;
    }
    .dynamic-msg {
        line-height: 22px!important;
        margin: 0px 0 0 0!important;
        font-size: 12px!important;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }
    .dynamic-item {
        margin-bottom: 26px;
    }
    .dynamic-time{
        display: block;
    }
}