.swiper-left {
    animation: move_left 1s;
}

.swiper-right {
    animation: move_right 1s;
}

@keyframes move_left {
    from {
        right: 0;
    }
    to {
        right: 100%;
    }
}

@keyframes move_right {
    from {
        left: -100%;
    }
    to {
        left: 0;
    }
}

.navbar-item {
    position: relative;
}

.navbar-item-child {
    position: absolute;
    background-color: #fff;
    display: none;
}

.navbar-item-child a {
    border: 1px solid #ddd;
}

.inner-tag {
    font-weight: bold;
}

.hidden-content {
    display: none !important;
}

.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 72px;
    background-color: var(--theme-color);
    mix-blend-mode: normal;
    opacity: 0.9;
    z-index: 9999;
}

.fixed-footer-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fixed-footer-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10000;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    cursor: pointer;
}

.fixed-footer-close:hover {
    color: #007aff;
}

.use-text {
    cursor: pointer;
    font-size: 24px;
    color: #fff;
    line-height: 1;
    letter-spacing: 1.9px;
    transition: 0.3s;
}

.use-text:hover {
    color: #007aff;
}

h2,h3 {
    margin-top: 24px;
}

/* ===== 手机端列表卡片铺满修复（2026-09-16）=====
   问题：≤768px 时卡片图片只有 40%、文字只有 56% 宽，右侧大片空白。
   原因：@media(max-width:1200px) 的规则选择器更长、优先级更高，
         覆盖了 @media(max-width:768px) 的 width:100%（平板规则压过手机规则）。
   处理：用更高优先级 + !important 明确手机端竖排并铺满。仅 ≤768px 生效。 */
@media (max-width: 768px) {
  .index_cont .main_cont .article-list .post_part,
  .index_cont .main_cont .article-list > li {
    flex-direction: column !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .index_cont .main_cont .article-list .post_part .pic {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 0 12px 0 !important;
  }
  .index_cont .main_cont .article-list .post_part .pic img {
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .index_cont .main_cont .article-list .post_part .cont {
    width: 100% !important;
    max-width: 100% !important;
  }
}
