 /* =========================================
           1. 基础设置与变量
           ========================================= */
        :root {
            --primary-color: #009688;
            --text-dark: #333;
            --text-light: #666;
            --bg-gray: #f5f5f5;
            --white: #ffffff;
            --max-width: 640px; 
            --header-height: 50px;
        }
        
        * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; margin: 0; padding: 0; }
        body { 
            font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; 
            background-color: #f8fafc; 
            font-size: 16px; 
            color: #333; 
            overflow-x: hidden; 
            width: 100%;
            /* 底部留白增加，适应上移后的导航栏 */
            padding-bottom: calc(80px + env(safe-area-inset-bottom));
        }
        a { text-decoration: none; color: inherit; }
        ul, li { list-style: none; }
        .hide { display: none !important; }
        img { max-width: 100%; display: block; border: none; }
        
        /* 布局容器 */
        .app-container { max-width: var(--max-width); margin: 0 auto; position: relative; min-height: 100vh; background: #fff; }
        .content-padding { padding: 15px; }
        .gap-20 { height: 20px; }
        
        /* =========================================
           2. Header & 底部导航
           ========================================= */
        .header { position: fixed; top: 0; z-index: 5100; height: var(--header-height); width: 100%; max-width: var(--max-width); left: 0; right: 0; margin: 0 auto; background: var(--primary-color); padding: 0 10px; display: flex; align-items: center; justify-content: space-between; }
        .header-spacer { height: var(--header-height); width: 100%; }
        .header-left { display: flex; align-items: center; z-index: 20; }
        .header-icon-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: #fff; cursor: pointer; }
        .header-title { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 18px; color: #fff; font-weight: bold; z-index: 10; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }

        /* --- 7. 底部导航 --- */
        .bottom-nav {
            position: fixed; 
            bottom: 0; 
            width: 100%; 
            max-width: var(--max-width); 
            left: 0; 
            right: 0; 
            margin: 0 auto; 
            background: var(--white); 
            height: 60px; 
            border-top: 1px solid #eee; 
            display: flex; 
            align-items: center; 
            justify-content: space-around; 
            /* 底部导航层级是 9999 */
            z-index: 9999;
            padding-bottom: constant(safe-area-inset-bottom);
            padding-bottom: env(safe-area-inset-bottom);
            box-sizing: content-box;
            
            transform: translateZ(0);
            -webkit-transform: translateZ(0);
            backface-visibility: hidden;
        }
        
        .tab-item { flex: 1; display: flex; flex-direction: column; align-items: center; color: var(--text-light); font-size: 12px; height: 100%; justify-content: center; user-select: none; }
        .tab-item.active { color: var(--primary-color); }

        .tab-icon { height: 24px; width: 24px; display: flex; align-items: center; justify-content: center; margin-bottom: 2px; }
        .tab-icon svg { width: 22px; height: 22px; }

        /* =========================================
           3. 搜索页核心样式
           ========================================= */
        .m_header_search { top: 0; max-width: var(--max-width); background-color: #f7f8fa; z-index: 6000; display: none; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; border-top: 1px solid #eee; right: 0; margin: 0 auto; position: fixed; bottom: 0; left: 0; width: 100%; height: 100%; }
        .m_header_search .search_bar { position: sticky; top: 0; z-index: 10; width: 100%; display: flex; align-items: center; padding: 8px 15px; background-color: #fff; border-bottom: 1px solid #f0f0f0; height: var(--header-height); flex-shrink: 0; }
        .m_header_search .search_cancel { font-size: 15px; color: #666; margin-right: 12px; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
        .m_header_search .search_main { flex: 1; display: flex; align-items: center; background-color: #f0f2f5; border-radius: 20px; padding: 0 12px; height: 36px; position: relative; width: 0; }
        .m_header_search .search_lanmu { font-size: 14px; color: #333; padding-right: 10px; border-right: 1px solid #ddd; margin-right: 10px; white-space: nowrap; font-weight: 500; flex-shrink: 0; }
        .m_header_search #search_form { flex: 1; display: flex; align-items: center; border: none; background: none; margin: 0; padding: 0; width: 100%; min-width: 0; }
        .m_header_search .J_hs-input { flex: 1; width: 100%; border: none; background: transparent; outline: none; font-size: 14px; color: #333; height: 24px; min-width: 0; padding: 0; margin: 0; }
        .m_header_search .search_button button { border: none; background: none; font-size: 18px; color: var(--primary-color); padding: 0; margin-left: 5px; display: flex; align-items: center; flex-shrink: 0; }

        .search_lanmu_area { background: #fff; padding: 15px; margin-bottom: 10px; }
        .search_lanmu_area .title { font-size: 15px; font-weight: bold; color: #333; margin-top: 5px; margin-bottom: 12px; padding-left: 8px; border-left: 4px solid var(--primary-color); line-height: 1; }
        .search_lanmu_list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 5px; }
        .search_lanmu_list li { background: #fff; text-align: center; padding: 8px 0; border-radius: 6px; font-size: 13px; color: #555; cursor: pointer; border: 1px solid #f0f0f0; transition: all 0.2s; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .search_lanmu_list li.active { background: rgba(0, 150, 136, 0.08); color: var(--primary-color); border-color: var(--primary-color); font-weight: bold; }
        .m_header_search .gundong { padding-bottom: 90px; }
        .search-result .list { padding: 0 10px; }
        
        .search-suggestions { position: fixed; top: 50px; left: 0; right: 0; bottom: 0; background: #ffffff; z-index: 6100; padding: 0; display: block; overflow-y: auto; max-width: 640px; margin: 0 auto; border-top: 1px solid #eee; }
        .suggestion-item { width: 100%; height: 48px; margin: 0; padding: 0 15px; background: #fff; border-radius: 0; border-bottom: 1px solid #f5f5f5; font-size: 15px; color: #333; text-align: left; cursor: pointer; display: flex; align-items: center; justify-content: space-between; transition: background-color 0.2s; }
        .suggestion-item:active { background-color: #f2f2f2; }
        .sugg-left { display: flex; align-items: center; overflow: hidden; flex: 1; }
        .sugg-icon { margin-right: 12px; color: #999; display: flex; align-items: center; }
        .sugg-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
        .search-load-btn { display: none; margin: 15px 10px 25px 10px; padding: 10px; background-color: #fff; color: #666; text-align: center; border-radius: 6px; font-size: 14px; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }

        /* 搜索结果卡片 */
        .m-product-item { background: #fff; border-radius: 8px; overflow: hidden; margin-bottom: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); display: flex; flex-direction: column; position: relative; }
        .m-product-item > a { display: block; width: 100%; text-decoration: none; }
        .item-top { position: relative; width: 100%; height: 0; padding-bottom: 56.25%; overflow: hidden; }
        .item-top img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
        .item-top::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 40%; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); pointer-events: none; z-index: 1; }
        .sati-peo { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; gap: 5px; }
        .sati-peo div { background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px; backdrop-filter: blur(2px); }
        .product-price { position: absolute; bottom: 8px; left: 10px; z-index: 2; }
        .product-price-now { font-size: 12px; color: #fff; font-weight: bold; background: #ff5722; padding: 2px 10px; border-radius: 12px; display: inline-block; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
        .product-price-now em { font-size: 18px; font-style: normal; margin: 0 2px; }
        .product-extra { position: absolute; bottom: 45px; left: 10px; z-index: 2; color: #fff; font-size: 11px; display: flex; align-items: center; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
        .product-extra .separator { margin: 0 5px; }
        .icon-tours { display: inline-block; width: 12px; height: 12px; background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="white" xmlns="http://www.w3.org/2000/svg"><path d="M2 9c0 5 10 13 10 13s10-8 10-13a10 10 0 00-20 0z"/></svg>') no-repeat center/contain; margin-right: 2px; }
        .item-bottom { padding: 12px; background: #fff; }
        .m-product-item .product-title { font-size: 16px; color: #333; font-weight: normal; line-height: 1.4; margin: 0 0 6px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .product-describe { font-size: 12px; color: #666; line-height: 1.5; margin: 0 0 8px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .m-product-item .product-tags .label { font-size: 10px; color: #009688; border: 1px solid rgba(0, 150, 136, 0.3); padding: 1px 5px; border-radius: 3px; margin-right: 4px; display: inline-block; }

        /* =========================================
           4. 推荐线路样式
           ========================================= */
        .rec-section { background: #fff; margin-bottom: 10px; padding-bottom: 15px; margin-top: 15px; border-radius: 8px; }
        .channel_title { padding: 15px 15px 10px; font-size: 18px; font-weight: 800; color: #333; display: flex; align-items: center; line-height: 1; }
        .channel_title::before { content: ''; display: inline-block; width: 4px; height: 18px; background: #ffd000; margin-right: 8px; border-radius: 2px; }
        .special ul { display: flex; flex-wrap: wrap; padding: 0 5px; }
        .special a.clearfix { display: block; width: 50% !important; padding: 5px; box-sizing: border-box; float: none !important; text-decoration: none; }
        .special li { width: 100%; height: 100%; display: flex; flex-direction: column; transition: opacity 0.2s; }
        .special a.clearfix:active { opacity: 0.8; }
        .special .img { position: relative; width: 100%; height: 0; padding-bottom: 60%; overflow: hidden; border-radius: 6px; background: #f5f5f5; }
        .special .img img { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
        .special .p_title { font-size: 14px; color: #333; line-height: 1.4; height: 20px; margin-top: 8px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
        .special .tip { font-size: 11px; color: #999; margin: 4px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .special .infos { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 4px; }
        .special .type { font-size: 10px; color: #009688; border: 1px solid rgba(0,150,136,0.3); padding: 0 3px; border-radius: 2px; }
        .special .price { color: #ff5722; font-size: 12px; }
        .special .price strong { font-size: 16px; font-weight: bold; margin-right: 1px; }

        /* =========================================
           5. 轮播图样式
           ========================================= */
        .hero-banner { position: relative; width: 100%; height: 0; padding-bottom: 50%; background: #ddd; overflow: hidden; margin-bottom: 10px; }
        .hero-slides-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
        .hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease-in-out; z-index: 1; }
        .hero-slide.active { opacity: 1; z-index: 2; }
        .hero-slide img { width: 100%; height: 100%; object-fit: cover; }
        .hero-indicators { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); z-index: 11; display: flex; gap: 6px; }
        .indicator { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.6); cursor: pointer; transition: all 0.3s; }
        .indicator.active { background: var(--primary-color); width: 14px; border-radius: 4px; }

        /* =========================================
           6. 统一栏目样式
           ========================================= */
        .section-title {
            display: flex; justify-content: space-between; align-items: center;
            padding: 12px 15px; margin-top: 15px; margin-bottom: 15px;
            background: linear-gradient(90deg, rgba(0, 150, 136, 0.12) 0%, rgba(255, 255, 255, 1) 80%);
            border-left: 5px solid var(--primary-color); border-radius: 4px 0 0 4px;
        }
        /* H2 标题控制 */
        .section-title h2 { font-size: 17px; font-weight: bold; color: #333; text-shadow: 1px 1px 0 rgba(255,255,255,0.8); margin: 0; display: inline-block; }
        .section-title .more { font-size: 12px; font-weight: normal; color: #666; display: flex; align-items: center; text-decoration: none; }
        
        .xj-youji-grid { display: flex; justify-content: space-between; padding: 0 10px 0px 10px; }
        .xj-card { display: block; width: 32%; text-decoration: none; overflow: hidden; display: flex; flex-direction: column; }
        .xj-img-box {
            position: relative; width: 100%; padding-bottom: 75%;
            background: #f0f0f0; border-radius: 6px; overflow: hidden; margin-bottom: 6px; flex-shrink: 0;
        }
        .xj-img-box img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
        .xj-title {
            font-size: 14px; color: #333; font-weight: bold; line-height: 1.4;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px;
        }
        
        /* 简介固定像素高度 */
        .xj-intro {
            font-size: 11px;
            color: #666;
            line-height: 18px;      /* 固定行高 16px */
            height: 40px;           /* 固定高度 32px */
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            margin-bottom: 7px;
        }
        
        .xj-meta { display: flex; justify-content: flex-start; align-items: center; height: 20px; margin-top: auto; }
        .xj-hot {
            font-size: 11px; color: #009688; border: 1px solid #009688;
            border-radius: 4px; padding: 0 4px; line-height: 14px; display: inline-block; box-sizing: border-box;
        }

        /* =========================================
           7. 全国酒店 (城市网格 - 纯CSS)
           ========================================= */
        .city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
        @media (min-width: 500px) { .city-grid { grid-template-columns: repeat(5, 1fr); } }
        
        /* 使用 a 标签作为 grid-item */
        .city-item {
            background: #fff; padding: 8px 0; text-align: center; border-radius: 4px;
            border: 1px solid #f3f4f6; font-size: 14px; color: #374151; cursor: pointer;
            transition: background-color 0.2s; user-select: none; display: block; text-decoration: none;
        }
        .city-item:active { background-color: #eff6ff; border-color: #bfdbfe; color: #2563eb; }
 @media (max-width: 499px) {
            .city-grid .city-item:nth-last-child(1),
            .city-grid .city-item:nth-last-child(2) {
                grid-column: span 2;
            }
        }
@media (max-width: 499px) {
    /* 1. 强制新疆区域容器：使用 Flex 布局并允许换行 */
    .xj-special {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important; /* 调整间距 */
        padding: 5px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 2. 前面 8 个城市：每行 4 个 (每个占 25%，减去 gap) */
    .xj-special .city-item {
        flex: 0 0 calc(25% - 8px) !important;
        width: calc(25% - 8px) !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        min-height: 45px !important; /* 增加高度，防止文字挤压 */
        box-sizing: border-box !important;
        grid-column: auto !important; /* 彻底清除之前的 grid 干扰 */
    }

    /* 3. 最后 3 个城市：每行 3 个平分布局 (每个占 33.3%，减去 gap) */
    .xj-special .city-item:nth-last-child(1),
    .xj-special .city-item:nth-last-child(2),
    .xj-special .city-item:nth-last-child(3) {
        flex: 0 0 calc(33.33% - 8px) !important;
        width: calc(33.33% - 8px) !important;
    }
}
        /* =========================================
           8. 弹窗与页脚
           ========================================= */
        .chat-mask { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 2000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(2px); }
        .chat-card { background: #ffffff; width: 85%; max-width: 360px; border-radius: 16px; overflow: hidden; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding-bottom: 20px; animation: popIn 0.3s ease forwards; z-index: 2001; }
        .chat-header { text-align: center; padding: 15px 5px 10px 5px; background: #fff; }
        .chat-logo { max-width: 100%; height: auto; display: block; margin: 0 auto; }
        .popup-company-name { font-size: 16px; font-weight: bold; color: #333; margin-top: 10px; text-align: center; letter-spacing: 1px; }
        .chat-body { padding: 0 15px; max-height: 70vh; overflow-y: auto; }
        .group-label { font-size: 12px; color: #999; margin: 10px 0 8px 5px; font-weight: 600; letter-spacing: 0.5px; }
        .contact-btn { display: flex; justify-content: space-between; align-items: center; background-color: #f7f8fa; padding: 5px 5px; border-radius: 10px; margin-bottom: 10px; text-decoration: none; color: #333; transition: all 0.2s; border: 1px solid transparent; }
        .contact-btn:active { background-color: #eef0f4; transform: scale(0.98); }
        .contact-btn.highlight { background-color: #ebf5ff; border: 1px solid #d1e9ff; }
        .contact-btn.highlight .phone-num { color: #0066cc; font-weight: bold; }
        .btn-left { display: flex; align-items: center; font-size: 14px; color: #555; }
        .btn-left svg { margin-right: 8px; color: #666; }
        .phone-num { font-size: 15px; font-weight: 600; color: #333; }
        #action-sheet-mask { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 12000; display: none; }
        .action-sheet { position: absolute; bottom: 0; left: 0; width: 100%; background: #f0f0f0; border-top-left-radius: 12px; border-top-right-radius: 12px; overflow: hidden; animation: slideUp 0.3s; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
        .action-title { padding: 15px; text-align: center; font-size: 14px; color: #999; background: #fff; border-bottom: 1px solid #eee; }
        .action-btn { display: block; width: 100%; padding: 15px; text-align: center; background: #fff; font-size: 18px; border: none; border-bottom: 1px solid #eee; color: #333; }
        .action-btn:active { background: #f9f9f9; }
        .action-cancel { margin-top: 6px; border-bottom: none; }
        #category-popup { position: fixed; top: var(--header-height); left: 50%; transform: translateX(-50%) translateY(-150%); width: 100%; max-width: 640px; background: #fff; z-index: 99; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.4s ease-in-out; max-height: 80vh; overflow-y: auto; }
        #category-popup.show { transform: translateX(-50%) translateY(0); }
        #category-mask { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 98; display: none; }
        .menu-list { padding: 15px 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: center; }
        .menu-list li a { display: block; background: #f8f8f8; border-radius: 4px; padding: 8px 0; color: #333; }
        .menu-list li a h3 { margin: 0; font-size: 14px; font-weight: normal; }
        #toast { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(0,0,0,0.8); color: white; padding: 15px 25px; border-radius: 8px; font-size: 16px; z-index: 13000; display: none; text-align: center; line-height: 1.5; }
        
        .back-to-top-btn {
            position: fixed; bottom: 150px; right: 15px; width: 45px; height: 45px;
            background-color: rgba(255, 255, 255, 0.95); border-radius: 50%; 
            box-shadow: 0 4px 15px rgba(0,0,0,0.25);
            display: none; align-items: center; justify-content: center;
            z-index: 2147483647; cursor: pointer; border: 1px solid #ddd; 
        }

        .site-footer { text-align: center; font-size: 12px; color: #999; line-height: 1.8; background-color: #f8f8f8; }
        .site-footer p { margin: 0; }
        .gongan-link { display: inline-flex; align-items: center; justify-content: center; color: #999; text-decoration: none; }
        .gongan-link img { width: 20px; height: 20px; margin-right: 5px; }
        
        @keyframes popIn { from { transform: translate(-50%, -40%); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
        @keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
        .line-clamp-2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis; }
		 #lim_mobile_chat { display: none !important; }
        #InviteWindow { display: none !important; }
		/* =========================================
   9. 提取自 xllb.css 的列表项模板样式 (左图右文)
   ========================================= */

/* 列表容器：通常包裹在 a 标签外部 */
.product-list {

    background-color: #f5f5f5;
}

/* 列表条目核心布局：Flex 布局实现左右分布 */
.list-item {
    display: flex;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 12px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: transform 0.1s linear;
    overflow: hidden;
    position: relative;
    color: inherit; /* 继承 body 颜色 */
}

/* 移动端点击反馈效果 */
.list-item:active {
    transform: scale(0.98);
    background-color: #fafafa;
}

/* 左侧图片容器：固定比例缩放 */
.item-img-box {
    width: 110px;
    height: 82px;
    flex-shrink: 0;
    margin-right: 12px;
    border-radius: 6px;
    background-color: #f0f0f0;
    overflow: hidden;
    position: relative;
}

/* 右侧信息区域：垂直等间距分布 */
.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* 防止标题过长撑破布局 */
    padding-bottom: 2px;
}
/* 底部价格与关注度行 */
.item-bottoma {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* 价格包裹层 */
.price-wrap {
    color: #ff5722;
    line-height: 1;
    display: flex;
    align-items: baseline;
}

.price-wrap small {
    font-size: 12px;
    font-weight: bold;
}

.price-wrap .price-num {
    font-size: 18px;
    font-weight: 700;
    margin: 0 1px;
    font-family: DINAlternate-Bold, "Helvetica Neue", Helvetica, sans-serif;
}

.price-wrap .unit {
    color: #999;
    font-weight: normal;
    font-size: 11px;
    margin-left: 1px;
}

/* 阅读/关注度统计 */
.item-meta {
    font-size: 11px;
    color: #999;
    display: flex;
    align-items: center;
}

/* 统计图标 */
.item-meta .icon {
    margin-right: 3px;
    fill: #ccc;
}
/* 标题：强制单行省略 */
.item-title {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    line-height: 1.4; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* 合并后的图片样式 */
.item-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: #f0f0f0; /* 图片加载前的灰色占位 */
    transition: opacity 0.3s;
}

/* 确保简介两行隐藏的补丁 */
.item-tags {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 限制两行 */
    overflow: hidden;
    line-height: 1.0;
    height: auto;
    max-height: 40px;
}

.tag-pill {
    font-size: 12px;
    color: #666;
    white-space: normal; /* 必须允许换行才能实现两行隐藏 */
    background: none;
    padding: 0;
    display: inline;
}
