/* ============================================================
   Chengdu-Holiday 景点/文化详情页（destination/shownews.aspx）新版两栏布局
   左：图片自动轮播 + 正文折叠（Read more）
   右：包含该景点的 itinerary 列表 + Book now
   ============================================================ */

.wn { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; margin: 8px 0 40px; }
.wn-col { min-width: 0; }

/* ---------- 左上：轮播 ---------- */
.wn-gallery { position: relative; background: #e6e2d9; border-radius: 3px; overflow: hidden; box-shadow: 0 1px 6px rgba(0,0,0,.14); }
.wn-slides { position: relative; margin: 0; padding: 0; list-style: none; aspect-ratio: 4 / 3; }
.wn-slides li { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.wn-slides li.on { opacity: 1; }
.wn-slides img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wn-dots { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: flex; gap: 7px; }
.wn-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.55);
                box-shadow: 0 0 0 1px rgba(0,0,0,.18); cursor: pointer; transition: .3s; }
.wn-dots span.on { background: #efcc00; transform: scale(1.15); }
.wn-noimg { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; color: #9a958a; font-size: 14px; }

/* ---------- 左下：正文折叠 ---------- */
.wn-textwrap { position: relative; margin-top: 18px; }
.wn-text { font-size: 16px; line-height: 1.85; color: #333; overflow: hidden;
           display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; }
.wn-text p { margin: 0 0 12px; }
.wn-text p:last-child { margin-bottom: 0; }
.wn-textwrap.open .wn-text { display: block; -webkit-line-clamp: none; overflow: visible; }
.wn-mask { position: absolute; left: 0; right: 0; bottom: 34px; height: 46px; pointer-events: none; opacity: 1; transition: opacity .2s;
           background: linear-gradient(to top, rgba(237,234,227,0), rgba(237,234,227,.97)); }
.wn-textwrap.open .wn-mask { opacity: 0; }
.wn-actions { text-align: right; margin-top: 6px; }
.wn-more { display: inline-block; padding: 6px 0; background: none; border: 0; font-size: 15px; font-weight: bold;
           line-height: 1.2; letter-spacing: .02em; }
/* 站点全局 a:link{color:#333} 优先级更高，必须用 :link/:visited 才能盖住 */
.wn-more:link, .wn-more:visited { color: #006600; text-decoration: none; }
.wn-more:hover { color: #004d00; text-decoration: underline; }

/* ---------- 右栏：行程列表 ---------- */
.wn-h2 { margin: 0 0 14px; padding: 0 0 10px; font-family: "Scrappers", "Calibri", sans-serif; font-size: 22px;
         font-weight: lighter; color: #006600; border-bottom: 1px dashed #c9c4b8; }
.wn-card { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px dashed #ded9cd; }
.wn-card:last-child { border-bottom: 0; }
.wn-card-main { min-width: 0; }
.wn-card-t { display: block; font-size: 17px; font-weight: bold; line-height: 1.4; color: #222; }
.wn-card-d { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: #7a7a72; max-height: 3em; overflow: hidden; }
.wn-price { color: #ff6600; font-weight: bold; }
.wn-book { flex: 0 0 auto; padding: 11px 20px; background: #006600; color: #fff; border-radius: 3px; font-size: 14px; white-space: nowrap; }
.wn-book:hover { background: #004d00; color: #fff; text-decoration: none; }
.wn-book:link, .wn-book:visited, .wn-book:hover { color: #fff; text-decoration: none; }
.wn-card-t:link, .wn-card-t:visited { color: #222; }
.wn-card-t:hover { color: #006600; }
.wn-empty { font-size: 14px; line-height: 1.75; color: #7a7a72; }

/* ---------- 窄屏：上下堆叠 ---------- */
@media (max-width: 900px) {
  .wn { grid-template-columns: 1fr; gap: 26px; }
  .wn-text { -webkit-line-clamp: 7; font-size: 15px; }
  .wn-h2 { font-size: 19px; }
  .wn-card { flex-direction: column; align-items: flex-start; gap: 10px; }
  .wn-book { align-self: flex-end; }
}


/* ============================================================
   行程详情页（itinerary/show.aspx）：左上大图轮播
   ============================================================ */
.itn-gal { float: left; width: 500px; position: relative; background: #e6e2d9; border-radius: 3px;
           overflow: hidden; box-shadow: 0 1px 6px rgba(0,0,0,.14); }
.itn-slides { position: relative; margin: 0; padding: 0; list-style: none; aspect-ratio: 3 / 2; }
.itn-slides li { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.itn-slides li.on { opacity: 1; }
.itn-slides img { display: block; width: 100%; height: 100%; object-fit: cover; }
.itn-dots { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: flex; gap: 7px; }
.itn-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.55);
                 box-shadow: 0 0 0 1px rgba(0,0,0,.18); cursor: pointer; transition: .3s; }
.itn-dots span.on { background: #efcc00; transform: scale(1.15); }
.itn-noimg { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; color: #9a958a; font-size: 14px; }

/* 右侧属性块：图片变宽后，Tour Code 等文字整体右移 */
.itinerary .it_head .it_attr { width: 396px; padding: 40px 0 0 52px; text-align: left; }

@media (max-width: 960px) {
  .itn-gal { float: none; width: 100% !important; margin: 0 0 16px; }
  .itinerary .it_head .it_attr { float: none; width: 100% !important; padding: 0 !important; }
}


/* ---------- 行程页：正文两栏 + 右侧评论 + 悬浮价格框 ---------- */
.itn-body { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; margin-top: 4px; }
.itn-main { min-width: 0; }
.itn-side { position: relative; }
.itn-side-t { margin: 0 0 12px; padding: 0 0 8px; font-family: "Scrappers", "Calibri", sans-serif;
             font-size: 18px; color: #006600; border-bottom: 1px dashed #c9c4b8; }

.itn-rv { background: rgba(255,255,255,.62);
          -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
          border: 1px solid rgba(255,255,255,.75); border-radius: 4px; padding: 12px 14px;
          margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.itn-rv-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
            margin-bottom: 6px; font-size: 12px; color: #8d8d84; }
.itn-rv-h b { font-size: 14px; color: #333; }
.itn-rv p { margin: 0; font-size: 14px; line-height: 1.65; color: #333; }
.itn-rv-stars { margin: 0 0 6px; font-size: 14px; line-height: 1; }
.itn-rv-stars .itn-star { color: #f0a500; letter-spacing: 1px; }
.itn-rv-stars em { margin-left: 8px; font-size: 12px; font-style: normal; color: #8d8d84; }
.itn-rv-empty { border-style: dashed; background: rgba(255,255,255,.35); box-shadow: none; }
.itn-rv-empty p { color: #8d8d84; }

.itn-pricebox { position: sticky; top: 16px; margin-top: 6px; padding: 16px 16px 18px;
                background: #006600; border-radius: 4px; box-shadow: 0 2px 12px rgba(0,0,0,.18); }
.itn-from { font-size: 12px; letter-spacing: .08em; color: #cfe3cf; }
.itn-from b { display: block; margin: 2px 0 0; font-size: 36px; line-height: 1.05; letter-spacing: 0; color: #fff; }
.itn-from span { font-size: 12px; color: #cfe3cf; }
.itn-q { margin: 14px 0 10px; font-size: 15px; color: #fff; }
.itn-chat { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
            background: #25d366; border-radius: 24px; font-size: 15px; font-weight: bold; }
.itn-chat:link, .itn-chat:visited { color: #06301a; text-decoration: none; }
.itn-chat:hover { background: #1ebe5a; color: #06301a; text-decoration: none; }
.itn-ico { width: 22px; height: 22px; flex: 0 0 auto; }

@media (max-width: 960px) {
  .itn-body { grid-template-columns: 1fr; gap: 18px; }
  .itn-pricebox { position: static; }
}
