@charset "utf-8";
/* ==========================================================================
   新疆旅行网 · 线路列表页公共样式（slist.css）
   适用：散客跟团、包车定制等所有"线路列表"内页
   依赖：scommon.css（仅提供 body 重置与顶部/底部导航），本文件自包含内页全部样式
   色板：主色 #00807c（青） 强调色 #ff7a2e / #ff6600（橙） 价格 #cc3300
   ========================================================================== */

/* ---------- 1. 页面容器 ---------- */
/* 面包屑（.w1200 / .breadcrumb-wrap / .crumbs）已统一放到公共 scommon.css */

.ai-main-wrapper { width: 1200px; margin: 0 auto; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; }

/* 仅供 SEO 的 H1，视觉隐藏 */
.page-seo-h1 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- 2. 顶部轮播 ---------- */
.slider-container { position: relative; width: 100%; height: 375px; margin-bottom: 30px; overflow: hidden; border-radius: 12px; box-shadow: 0 4px 15px rgba(0, 0, 0, .08); background: #f0f0f0; }
.slide { position: absolute; inset: 0; width: 100%; height: 375px; opacity: 0; transition: opacity 1.2s ease-in-out; z-index: 1; overflow: hidden; }
.slide.active { opacity: 1; z-index: 2; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 2s ease; transform: scale(1.05); filter: brightness(.95); }
.slide.active .slide-img { transform: scale(1.1); }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 50%, transparent 100%); z-index: 3; }
.slide-content { position: absolute; left: 48px; top: 50%; transform: translateY(-50%); color: #fff; z-index: 4; max-width: 480px; }
.slide-title { font-size: 32px; font-weight: 700; margin: 0 0 10px; text-shadow: 0 2px 8px rgba(0, 0, 0, .35); letter-spacing: 1px; }
.slide-description { font-size: 15px; line-height: 1.7; margin: 0; opacity: .92; text-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.dots-container { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 0; }
.dots-container span { position: relative; width: 24px; height: 24px; border-radius: 50%; background: transparent; cursor: pointer; }
.dots-container span::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background .2s, transform .2s; }
.dots-container span.active::after { background: #fff; transform: scale(1.25); }
.dots-container span:focus-visible { outline: 2px solid #c2410c; outline-offset: 0; }

/* ---------- 3. 主体两栏布局 ---------- */
.ai-list-layout { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 30px; }
.ai-list-main { flex: 1; min-width: 0; }
.ai-list-side { width: 260px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }

/* ---------- 4. 条件筛选 ---------- */
.ai-list-filter { background: #fff; border: 1px solid #eef0f3; padding: 2px 18px 4px; border-radius: 10px; margin-bottom: 16px; box-shadow: 0 1px 6px rgba(0, 0, 0, .02); font-size: 13px; }
.ai-list-filter dl { display: flex; align-items: flex-start; border-bottom: 1px dashed #f2f3f5; padding: 10px 0; margin: 0; }
.ai-list-filter dl:last-child { border-bottom: none; }
.ai-list-filter dt { width: 62px; flex-shrink: 0; margin: 0; color: #5b6472; line-height: 28px; font-size: 13px; }
.ai-list-filter dt b { font-weight: normal; color: #5b6472; }
.ai-list-filter dd { flex: 1; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ai-list-filter dd a { display: inline-block; padding: 4px 12px; border-radius: 14px; background: #f5f6f8; color: #4a5058; font-size: 13px; line-height: 20px; text-decoration: none; cursor: pointer; user-select: none; transition: all .18s; }
.ai-list-filter dd a:hover { background: #fff2e8; color: #a83a00; }
.ai-list-filter dd a.changefieldandcss,
.ai-list-filter dd a.cur,
.ai-list-filter dd a.active { background: #c2410c; color: #fff; }

/* ---------- 5. 排序条 ---------- */
.ai-sort-bar { display: flex; align-items: center; background: #fff; border: 1px solid #eee; border-radius: 6px; padding: 10px 18px; margin-bottom: 16px; font-size: 13px; box-shadow: 0 1px 6px rgba(0, 0, 0, .01); }
.ai-sort-bar > span { color: #555; margin-right: 12px; }
.ai-sort-bar a { display: inline-block; padding: 3px 14px; margin-right: 8px; border: 1px solid transparent; border-radius: 3px; color: #555; text-decoration: none; cursor: pointer; user-select: none; transition: all .18s; }
.ai-sort-bar a:hover { color: #00706c; border-color: #b8e6e8; }
.ai-sort-bar a.cur { color: #00706c; border-color: #00706c; background: #fff; font-weight: bold; }
.ai-static-count { margin-left: auto; font-size: 12px; color: #5b6472; }
.ai-static-count b { color: #cc3300; font-weight: 600; }

/* ---------- 6. 线路卡片 ---------- */
.ai-list-container { min-height: 200px; }
.ai-list-card { display: flex; background: #fff; border: 1px solid #f0f0f0; border-radius: 8px; margin-bottom: 16px; overflow: hidden; box-shadow: 0 1px 6px rgba(0, 0, 0, .02); transition: transform .25s, box-shadow .25s, border-color .25s; }
.ai-list-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .07); border-color: #e8e8e8; }
.ai-list-img { position: relative; display: block; width: 230px; height: 150px; flex-shrink: 0; overflow: hidden; }
.ai-list-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ai-list-card:hover .ai-list-img img { transform: scale(1.06); }
.ai-list-tag { display: none; }
.ai-list-info { flex: 1; min-width: 0; padding: 15px; display: flex; flex-direction: column; border-right: 1px dashed #eee; }
.ai-list-title { margin: 0; }
.ai-list-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; font-weight: 600; line-height: 1.55; color: #222; text-decoration: none; transition: color .2s; }
.ai-list-title a:hover { color: #ff6600; }
.ai-list-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 8px 0; font-size: 12px; line-height: 1.7; color: #666; }
.ai-list-props { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; font-size: 12px; color: #666; }
.ai-list-buy { width: 150px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 15px; background: #fafcff; }
.ai-list-price { margin-bottom: 4px; color: #cc3300; font-size: 12px; }
.ai-list-price strong { margin: 0 1px; font-family: Arial, sans-serif; font-size: 24px; font-weight: 900; }
.ai-list-clicks { margin-bottom: 12px; font-size: 11px; color: #666; }
.ai-list-buy > a,
.ai-list-btn { display: inline-block; padding: 6px 20px; border-radius: 20px; background: #c2410c; color: #fff; font-size: 13px; text-decoration: none; transition: background .2s; }
.ai-list-buy > a:hover,
.ai-list-btn:hover { background: #a83a00; color: #fff; }

/* ---------- 7. 分页 ---------- */
.pages { padding: 16px 0; text-align: center; font-size: 13px; color: #666; }
.pages a, .pages b { display: inline-block; padding: 4px 12px; margin: 0 3px; border: 1px solid #eee; border-radius: 3px; background: #fff; color: #666; text-decoration: none; }
.pages a:hover { background: #f5f5f5; border-color: #ddd; }
.pages a.disabled { color: #767676; border-color: #f0f0f0; background: #fff; cursor: default; }
.pages b { background: #00706c; border-color: #00706c; color: #fff; }
.pages .pages-total { display: inline-block; margin-left: 10px; font-size: 12px; color: #666; }

/* ---------- 8. 侧栏通用 ---------- */
.ai-side-widget { background: #fff; border: 1px solid #eee; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 6px rgba(0, 0, 0, .01); }
.ai-side-tit { display: flex; align-items: center; justify-content: space-between; padding: 10px 15px; background: #f8f8f8; border-bottom: 1px solid #eee; font-size: 14px; font-weight: bold; color: #333; }
.ai-side-tit .tit-text { display: flex; align-items: center; }
.ai-side-tit .tit-text svg { width: 18px; height: 18px; margin-right: 8px; color: #00807c; stroke-width: 2px; flex-shrink: 0; }
.ai-side-tit > span a { font-size: 12px; font-weight: normal; color: #666; text-decoration: none; }
.ai-side-tit > span a:hover { color: #a83a00; }
.ai-side-con { padding: 12px; }
.ai-side-con dl { margin: 0; }
.ai-side-map { padding: 12px; }
.ai-side-map img { display: block; width: 100%; border-radius: 4px; }

/* ---------- 9. 侧栏 · 联系我们 ---------- */
.my-contact-list { list-style: none; padding: 0; margin: 0; }
.my-contact-list li { margin-bottom: 8px; font-size: 13px; line-height: 1.8; color: #555; }
.my-contact-list li:last-child { margin-bottom: 0; }
.my-contact-list li:empty { display: none; }
.my-contact-list .company-name-seo { padding: 2px 0 8px; font-size: 14px; font-weight: bold; color: #333; text-align: center; }
.my-contact-list li span { display: inline; font-family: Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 1.6; color: #cc3300; }
.my-contact-list li span + span { margin-left: 20px; }
.my-contact-list li img { display: block; width: 200px; margin: 6px auto 4px; border: none; }

/* ---------- 10. 侧栏 · 目的地 ---------- */
.ai-side-dest .dest-group { padding: 14px 0; border-bottom: 1px dashed #eef0f3; }
.ai-side-dest .dest-group:first-child { padding-top: 0; }
.ai-side-dest .dest-group:last-child { padding-bottom: 0; border-bottom: none; }
.ai-side-dest .dest-tit { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: #2c3e50; }
.ai-side-dest .dest-tit svg { width: 16px; height: 16px; padding: 3px; box-sizing: content-box; border-radius: 6px; background: #fff3ea; color: #ff7a2e; stroke-width: 2px; flex-shrink: 0; }
.ai-side-dest .dest-links { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.ai-side-dest .dest-links a { display: flex; align-items: center; justify-content: center; height: 34px; padding: 0 8px; border: 1px solid transparent; border-radius: 8px; background: #f3f5f8; color: #56637a; font-size: 13px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: all .2s ease; }
.ai-side-dest .dest-links a:hover { background: #c2410c; border-color: #c2410c; color: #fff; transform: translateY(-1px); box-shadow: 0 3px 8px rgba(194, 65, 12, .25); }

/* ---------- 11. 侧栏 · 酒店 / 租车条目 ---------- */
.side-item-h4 { margin: 0; font-size: 13px; font-weight: normal; line-height: 1.4; }
.side-item-h4 a { display: block; color: #333; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-item-h4 a:hover { color: #00807c; }

.htl-item, .car-widget .ai-side-con dl { display: flex; gap: 10px; margin: 0 0 14px; padding: 0 0 14px; border-bottom: 1px solid #f3f3f3; }
.htl-item:last-child, .car-widget .ai-side-con dl:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.htl-item > a, .car-widget .ai-side-con dl dt { flex: none; width: 110px; margin: 0; }
.htl-item img, .car-widget .ai-side-con dl dt img { display: block; width: 110px; height: 74px; object-fit: cover; border: 1px solid #f0f0f0; border-radius: 3px; }
.car-widget .ai-side-con dl dt img { height: 88px; }
.htl-item .htl-body, .car-widget .ai-side-con dl dd { flex: 1; min-width: 0; margin: 0; display: flex; flex-direction: column; justify-content: space-between; }
.car-widget .ai-side-con dl dd > a:last-child { margin-top: 6px; align-self: flex-start; color: #a83a00; font-size: 12px; text-decoration: none; }
.car-widget .ai-side-con dl dd > a:last-child:hover { text-decoration: underline; }
.htl-item em.star { font-style: normal; color: #ff9944; font-size: 12px; }
.htl-item p, .car-widget .ai-side-con dl dd p { margin: 0; color: #666; font-size: 12px; }

/* ---------- 12. 空状态 ---------- */
#listEmpty { margin: 0 0 12px; padding: 18px 0; background: #fff; border: 1px dashed #e3e8e6; border-radius: 8px; text-align: center; color: #5b6472; font-size: 13px; line-height: 1.9; }
#listEmpty a { color: #00706c; font-weight: 600; text-decoration: none; margin: 0 4px; }
#listEmpty a:hover { text-decoration: underline; }

/* ---------- 13. 出疆侧栏（按省市景点查找 / 景点介绍） ---------- */
.ai-side-dest .dest-sub-tit { margin: 14px 0 8px; padding-left: 9px; border-left: 3px solid #c2410c; font-size: 13px; font-weight: 600; line-height: 1.6; color: #2c3e50; }
.ai-side-dest .dest-tit + .dest-sub-tit { margin-top: 4px; }
.ai-side-dest .dest-sub-tit + .dest-sub-tit { margin-top: 8px; }
.ai-side-dest .dest-sub-tit a { display: inline-block; height: 24px; padding: 0 9px; border-radius: 12px; background: #fff3ea; color: #a8400e; font-weight: 600; line-height: 24px; text-decoration: none; transition: background .18s ease, color .18s ease; }
.ai-side-dest .dest-sub-tit a + a { margin-left: 5px; }
.ai-side-dest .dest-sub-tit a:hover { background: #c2410c; color: #fff; }

.scenic_content_box { padding: 0 12px; }
.scenic_content_box dl { margin: 0 0 9px; padding: 0 0 9px; border-bottom: 1px dashed #eee; }
.scenic_content_box dl:last-child { border-bottom: none; }
.scenic_content_box dl:first-child { padding-top: 4px; }
.scenic_content_box dt { display: none; }
.scenic_content_box dd { margin: 0; padding: 0; }
.scenic_content_box h4 { margin: 0 0 4px; font-size: 14px; font-weight: normal; line-height: 1.5; }
.scenic_content_box h4 a { display: block; color: #333; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scenic_content_box h4 a:hover { color: #c2410c; text-decoration: underline; }
.scenic_content_box dd i { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-style: normal; font-size: 12px; color: #555; line-height: 1.8; }

/* ---------- 14. 打印时隐藏装饰 ---------- */
@media print {
  .pc-header, .pc-footer, .slider-container, .ai-list-filter, .ai-sort-bar, .ai-list-side { display: none !important; }
  .ai-main-wrapper { width: auto; }
}
