/* Blog detail only — progress bar, TOC, prose, sidebar */
/* ---------- Reading progress ---------- */
.progress{position:fixed;top:0;left:0;height:3px;width:100%;transform:scaleX(0);transform-origin:0 50%;
  background:linear-gradient(90deg,var(--tide),var(--gold));z-index:1001;will-change:transform}

/* ---------- Article head ---------- */
.art-head{padding:22px 0 30px;border-bottom:1px solid var(--line);margin-bottom:30px}
.art-head h1{font-size:clamp(1.6rem,3.6vw,2.6rem);margin:0 0 16px;text-wrap:balance}
.byline{display:flex;flex-wrap:wrap;align-items:center;gap:9px 20px;font-size:.86rem;color:var(--muted)}
.byline span{display:inline-flex;align-items:center;gap:7px}
.byline .ico{color:var(--tide);flex:none}
.byline .upd{color:var(--brass);font-weight:650}

/* ---------- Layout ---------- */
.art-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:46px;align-items:start}
@media(max-width:1100px){.art-grid{grid-template-columns:minmax(0,1fr) 300px;gap:32px}}
@media(max-width:940px){.art-grid{grid-template-columns:minmax(0,1fr);gap:0}}

/* ---------- Hero image ---------- */
.art-hero{margin:0 0 30px;border-radius:var(--rad);overflow:hidden;box-shadow:var(--sh-md);background:var(--mist)}
.art-hero img{width:100%;aspect-ratio:16/9;object-fit:cover}

/* ---------- Table of contents ---------- */
.toc{background:var(--foam);border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:var(--rad);padding:20px 24px;margin:0 0 34px}
.toc>summary{list-style:none;cursor:pointer;font-family:var(--disp);font-weight:650;font-size:1.05rem;color:var(--ink);display:flex;align-items:center;justify-content:space-between;gap:12px}
.toc>summary::-webkit-details-marker{display:none}
.toc>summary::after{content:"";width:9px;height:9px;border-right:2px solid var(--tide);border-bottom:2px solid var(--tide);transform:translateY(-2px) rotate(45deg);transition:transform .25s;flex:none}
.toc[open]>summary::after{transform:translateY(2px) rotate(-135deg)}
.toc ol{list-style:none;counter-reset:toc;margin:16px 0 0;padding:0;columns:2;column-gap:30px}
@media(max-width:700px){.toc ol{columns:1}}
.toc li{break-inside:avoid;margin-bottom:2px;line-height:1.45}
.toc a{font-size:.9rem;color:var(--slate);display:block;padding:5px 8px 5px 22px;border-radius:7px;position:relative}
.toc a::before{content:"";position:absolute;left:8px;top:.95em;width:5px;height:5px;border-radius:50%;background:var(--gold)}
.toc a:hover{color:var(--tide);background:#fff;text-decoration:none}

/* ---------- Article prose ---------- */
.art{font-size:17px;line-height:1.78;color:var(--slate);max-width:85ch}
@media(max-width:940px){.art{max-width:none}}
.art>*{margin-inline:0}
.art h2{font-size:clamp(1.35rem,2.5vw,1.75rem);margin:2em 0 .6em;padding-top:.2em;scroll-margin-top:92px}
.art h3{font-size:clamp(1.1rem,1.9vw,1.32rem);margin:1.7em 0 .5em;color:var(--sea);scroll-margin-top:92px}
.art h4{font-size:1.05rem;margin:1.5em 0 .45em}
.art h2:first-child,.art h3:first-child{margin-top:0}
.art p{margin:0 0 1.15em}
.art a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;text-decoration-color:rgba(27,123,184,.35)}
.art a:hover{text-decoration-color:var(--tide)}
.art strong{color:var(--ink);font-weight:550}
.art ul,.art ol{margin:0 0 1.3em;padding-left:0}
.art ul{list-style:none}
.art ul li{position:relative;padding-left:26px;margin-bottom:9px}
.art ul li::before{content:"";position:absolute;left:5px;top:.68em;width:6px;height:6px;border-radius:50%;background:var(--tide)}
.art ol{list-style:none;counter-reset:n}
.art ol li{position:relative;padding-left:34px;margin-bottom:9px;counter-increment:n}
.art ol li::before{content:counter(n);position:absolute;left:0;top:.15em;width:23px;height:23px;border-radius:50%;background:var(--foam);border:1px solid var(--line);color:var(--sea);font-size:.76rem;font-weight:700;display:grid;place-items:center}
.art img{border-radius:10px;margin:0 auto}
.art figure{margin:1.9em 0}
.art figure img{width:100%}
.art figcaption{font-size:.84rem;color:var(--muted);text-align:center;margin-top:10px;line-height:1.55;font-style:italic}
.art hr{border:0;height:1px;background:var(--line);margin:2.4em 0}
.art blockquote{margin:1.9em 0;padding:20px 26px;background:var(--foam);border-left:4px solid var(--gold);border-radius:0 var(--rad) var(--rad) 0;font-size:1.03rem;color:var(--ink)}
.art blockquote p:last-child{margin-bottom:0}
.art .tablewrap{margin:1.8em 0}
.art table{width:100%;border-collapse:collapse;min-width:520px;font-size:.92rem;background:#fff}
.art table th{background:var(--sea);color:#fff;font-weight:650;font-size:.8rem;letter-spacing:.04em;text-transform:uppercase;padding:12px 15px;text-align:left}
.art table td{padding:12px 15px;border-bottom:1px solid var(--mist);vertical-align:top}
.art table tr:last-child td{border-bottom:0}
.art table tbody tr:nth-child(even){background:#FAFCFE}
@media(max-width:680px){
  .art{font-size:16px}
  .art table{min-width:0;table-layout:fixed;font-size:12px}
  .art table th{padding:8px 7px;font-size:10px;white-space:normal}
  .art table td{padding:8px 7px;font-size:11.5px;line-height:1.45;overflow-wrap:break-word}
  .art .tablewrap{overflow-x:visible}
}

/* ---------- Editor's pick callout ---------- */
.pick{display:grid;grid-template-columns:230px minmax(0,1fr);gap:0;background:var(--ink);border-radius:var(--rad);overflow:hidden;margin:2.2em 0;box-shadow:var(--sh-md)}
@media(max-width:640px){.pick{grid-template-columns:1fr}}
.pick-img{position:relative;min-height:170px}
.pick-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0;margin:0}
.pick-b{padding:22px 26px;color:#A8BCD1}
.pick-b h2{color:#fff;font-size:1.2rem!important;margin:8px 0 .5em!important}
.pick-b h2 span{color:var(--gold)}
.pick-b p{font-size:.9rem;line-height:1.65;margin:0}
.pick-b a{color:var(--gold);font-weight:700}

/* ---------- Share ---------- */
.share{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:24px 0;margin-top:30px;border-top:1px solid var(--line)}
.share b{font-family:var(--disp);font-size:.95rem;color:var(--ink);margin-right:4px}
.share button,.share a.sh{display:inline-flex;align-items:center;gap:7px;font:inherit;font-size:.84rem;font-weight:600;padding:8px 15px;border-radius:100px;border:1px solid var(--line);background:#fff;color:var(--slate);cursor:pointer;transition:.2s}
.share button:hover,.share a.sh:hover{border-color:var(--tide);color:var(--tide);text-decoration:none}

/* ---------- Prev / next ---------- */
.pn{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:8px 0 34px}
@media(max-width:640px){.pn{grid-template-columns:1fr}}
.pn a{display:block;padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:var(--rad);box-shadow:var(--sh-sm);transition:.22s}
.pn a:hover{transform:translateY(-3px);box-shadow:var(--sh-md);text-decoration:none;border-color:var(--mist)}
.pn small{display:block;font-size:.68rem;letter-spacing:.13em;text-transform:uppercase;color:var(--brass);font-weight:700;margin-bottom:6px}
.pn strong{display:block;font-family:var(--disp);font-size:.98rem;color:var(--ink);font-weight:600;line-height:1.4}
.pn .nx{text-align:right}

/* ---------- Disclaimer ---------- */
.art-note{font-size:.82rem;color:var(--muted);font-style:italic;line-height:1.65;background:var(--foam);border-radius:var(--rad);padding:16px 20px;margin:0 0 10px}

/* ---------- Sidebar ---------- */
.side{position:sticky;top:88px;max-height:calc(100vh - 108px);overflow-y:auto;overscroll-behavior:contain;padding-right:4px;scrollbar-width:thin}
.side::-webkit-scrollbar{width:5px}
.side::-webkit-scrollbar-thumb{background:var(--line);border-radius:100px}
@media(max-width:940px){.side{position:static;max-height:none;overflow:visible;margin-top:44px;padding-top:34px;border-top:1px solid var(--line)}}
.sbox{background:#fff;border:1px solid var(--line);border-radius:var(--rad);padding:20px 22px;margin-bottom:22px;box-shadow:var(--sh-sm)}
.sbox>h2{font-family:var(--disp);font-size:1.05rem;color:var(--ink);margin:0 0 15px;padding-bottom:11px;border-bottom:1px solid var(--mist);display:flex;align-items:center;gap:9px}
.sbox>h2 .ico{color:var(--gold);flex:none}
/* Titles here run long (some are bilingual), so they're clamped to three
   lines. That makes every row the same height as its thumbnail instead of
   leaving a small image stranded beside a four-line block of text. */
.rel{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid var(--mist)}
.rel:last-child{border-bottom:0;padding-bottom:2px}
.rel:first-of-type{padding-top:0}
.rel .thumb{flex:none;display:block;width:88px;border-radius:8px;overflow:hidden;background:var(--mist);line-height:0}
.rel .thumb img{width:88px;height:66px;object-fit:cover;display:block;transition:transform .35s}
.rel:hover .thumb img{transform:scale(1.06)}
.rel h3{font-family:var(--sans);font-size:.855rem;font-weight:600;line-height:1.4;margin:0;min-width:0}
.rel h3 a{color:var(--slate);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.rel h3 a:hover{color:var(--tide);text-decoration:none}

/* Prefer a clean text list instead? Add class="sbox--textonly" to the
   Related Posts .sbox in blog-detail.php and the thumbnails disappear. */
.sbox--textonly .rel .thumb{display:none}
.sbox--textonly .rel{padding:10px 0 10px 20px;position:relative}
.sbox--textonly .rel::before{content:"";position:absolute;left:4px;top:1.15em;width:6px;height:6px;border-radius:50%;background:var(--tide)}
.sbox--textonly .rel h3 a{-webkit-line-clamp:2}
.attr{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.attr figure{margin:0;border-radius:9px;overflow:hidden;position:relative;background:var(--ink)}
.attr img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .35s}
.attr a:hover img{transform:scale(1.06)}
.attr figcaption{position:absolute;inset:auto 0 0 0;padding:16px 9px 8px;
  background:linear-gradient(180deg,transparent,rgba(7,26,47,.88));color:#fff;font-size:.72rem;font-weight:600;line-height:1.35}
.sbox--cta{background:linear-gradient(168deg,#0B2947,#0E3A63);border-color:#16324f;text-align:center}
.sbox--cta h2{color:#fff;border-bottom-color:rgba(255,255,255,.12);justify-content:center}
.sbox--cta p{color:#A8BCD1;font-size:.88rem;margin:0 0 16px}
.sbox--cta .fare{display:block;font-family:var(--mono);font-size:1.7rem;font-weight:700;color:var(--gold);margin-bottom:2px}
.sbox--cta small{display:block;font-size:.74rem;color:#8FA6BE;margin-bottom:16px}


.widget-package { border: 1px solid #ddd; border-radius: 12px; overflow: hidden; display: flex; flex-direction: row; background-color: #fff; box-shadow: 0 2px 8px rgb(14 14 14 / 20%); }
.widget-list-img { flex: 0 0 320px; max-width: 320px; position: relative; } 
.widget-list-img img { width: 100%; height: 100%; object-fit: cover; } 
.heart-icon { position: absolute; top: 10px; right: 10px; background: rgba(0, 0, 0, 0.4); color: #fff; padding: 6px; border-radius: 50%; } 
.widget-content { flex: 1; padding: 22px; } 
.widget-location { color: #6c757d; font-size: 17px; margin-bottom: 4px; } 
.widget-title { font-weight: 600; font-size: 20px; color: #002d74; margin-bottom: 6px; }
.widget-title a { color: #212529; } 
.widget-title a:hover { color: #ed1b24; } 
.instant-confirm { font-size: 15px; color: #6c757d; margin-bottom: 8px; } 
.rating-stars { color: #f6a623; font-size: 14px; margin-bottom: 8px; } 
.rating-stars .text-muted { color: #6c757d !important; font-weight: 400; font-size: 14px; }
.price-box { font-weight: 600; font-size: 16px; color: #000; } 
.price-box del { font-weight: 400; font-size: 16px; color: #999; margin-left: 6px; }
.book-btn {margin-top: 12px;}
.btn-book {display: inline-block; background: #ed1b24; color: #fff; font-weight: 600; font-size: 0.95rem; padding: 10px 18px; border-radius: 6px; text-decoration: none!important; transition: background 0.3s ease;}
.btn-book:hover {background: #c8101a; color: #fff; }

@media (max-width: 576px) {.widget-package { flex-direction: column; } .widget-list-img { width: 100%; max-width: 100%; flex: 0 0 180px; } .widget-content{padding: 15px;} }

.related-post { background: #f2f2f2; padding: 15px; border-left: #ffc107 4px solid; margin: 16px 0 16px 0; }
.quick-overview { background-color: #d6f8d64d; border-top: 4px solid #b0e7c0; padding: 25px; margin: 15px 0; border-radius: 25px; }
.heading-feel { padding-top: 20px; line-height: 22px; font-size: 20px; color: var(--disney-color); margin-bottom: 5px; }
