/* V1.0.4｜主操作欄 1100px 與選定路線版型。
   此檔於 charter.css 之後載入，保留原檔內其他自訂樣式。
   1100 + 300右欄 + 24間距 + 左右24邊界 = 1472px。 */
.ct-page .ct-layout{
 --ct-main-width:1100px;
 --ct-aside-width:300px;
 --ct-column-gap:24px;
 --ct-gutter:24px;
 display:grid;
 grid-template-columns:var(--ct-main-width) var(--ct-aside-width);
 column-gap:var(--ct-column-gap);
 width:calc(var(--ct-main-width) + var(--ct-column-gap) + var(--ct-aside-width));
 max-width:none;
 margin:0;
 margin-left:max(0px,min(calc((100% - var(--ct-main-width)) / 2),calc(100% - var(--ct-main-width) - var(--ct-column-gap) - var(--ct-aside-width) - var(--ct-gutter))));
 padding:28px 0 70px;
 align-items:start;
}
/* 主圖、簡介和每天的時間軸依序呈現，不預留半欄圖片空間。 */
.ct-selected .ct-route-overview{margin:0 0 26px}
.ct-selected .ct-route-cover{border-radius:8px;overflow:hidden;background:#edf2eb}
.ct-selected .ct-route-cover>.ct-photo{width:100%;height:300px;object-fit:cover;object-position:center}
.ct-selected .ct-route-intro{padding:16px 19px;background:#f4f8f5;border:1px solid #e0e9e3;border-radius:8px;margin-top:14px}
.ct-selected .ct-route-intro-label{display:block;font-size:12px;font-weight:600;color:#5d7f73;margin-bottom:6px}
.ct-selected .ct-route-intro p{margin:0;color:#53675b;font-size:14px;line-height:1.85;white-space:pre-line;overflow-wrap:anywhere}
.ct-selected .ct-day-content{min-width:0}
.ct-selected .ct-day-content+.ct-day-content{border-top:1px solid #dce7e1;padding-top:24px;margin-top:26px}
.ct-selected .ct-day-content-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ct-selected .ct-day-content-heading h4{margin:0;font-size:18px;line-height:1.5;color:#334e40;overflow-wrap:anywhere}
.ct-selected .ct-meta-pills{margin:12px 0 20px}
.ct-selected .ct-timeline{width:100%;margin:0;min-width:0}
.ct-selected .ct-timeline li{gap:20px;padding:0 0 22px 20px}
.ct-selected .ct-timeline li:last-child{padding-bottom:8px}
.ct-selected .ct-timeline time{min-width:48px;font-size:14px;padding-top:1px}
.ct-selected .ct-stop-content{flex:1;min-width:0;overflow-wrap:anywhere}
.ct-selected .ct-timeline strong{font-size:15px;line-height:1.6}
.ct-selected .ct-timeline p{font-size:14px;line-height:1.85;white-space:pre-line;margin-top:6px}
.ct-selected .ct-stop-photo{width:280px;max-width:100%;height:160px;object-fit:cover;border-radius:6px;margin-top:10px}
.ct-selected .ct-day-meal{margin:18px 0 0;padding:11px 14px;background:#f7f9f7;border-radius:6px;white-space:pre-line}
/* 主欄靠近左緣時先收起側邊章節按鈕，避免遮住內容。 */
@media(max-width:1527px){.ct-chapters{display:none}}
/* 不足完整兩欄時，保留主欄最大1100px，報價與找回方案移到下方。 */
@media(max-width:1471px){
 .ct-page .ct-layout{display:block;width:100%;max-width:1148px;margin:0 auto;padding:22px 24px 70px}
 .ct-page .ct-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;position:static;width:auto;max-height:none;overflow:visible;padding:0}
 .ct-page .ct-aside .ct-summary,.ct-page .ct-aside .ct-panel{margin-bottom:0}
}
@media(max-width:760px){
 .ct-page .ct-layout{padding:16px 12px 90px}
 .ct-page .ct-aside{display:block}
 .ct-page .ct-aside .ct-summary{margin:20px 0 16px;padding:18px}
 .ct-selected .ct-route-overview{margin-bottom:20px}
 .ct-selected .ct-route-cover>.ct-photo{height:200px}
 .ct-selected .ct-route-intro{padding:12px 13px;margin-top:12px}
 .ct-selected .ct-route-intro-label{font-size:11px}
 .ct-selected .ct-route-intro p{font-size:var(--ct-mobile-copy-size);line-height:1.75}
 .ct-selected .ct-day-content+.ct-day-content{padding-top:18px;margin-top:20px}
 .ct-selected .ct-day-content-heading{gap:8px}
 .ct-selected .ct-day-content-heading h4{font-size:15px}
 .ct-selected .ct-meta-pills{gap:6px;margin:10px 0 16px}
 .ct-selected .ct-timeline li{gap:12px;padding:0 0 18px 13px}
 .ct-selected .ct-timeline time{font-size:12px;min-width:40px}
 .ct-selected .ct-timeline strong{font-size:13px}
 .ct-selected .ct-timeline p{font-size:var(--ct-mobile-copy-size);line-height:1.75}
 .ct-selected .ct-stop-photo{width:240px;height:140px}
 .ct-selected .ct-day-meal{font-size:var(--ct-mobile-copy-size);padding:10px 12px;margin-top:14px}
}
@media(max-width:420px){.ct-selected .ct-route-cover>.ct-photo{height:170px}}
