/* Checkin Huế | Single Toplist editorial v2 - isolated to single toplist */
body.single-toplist .dsv-toplist-detail{--ch-purple:#482E59;--ch-copper:#96633E;--ch-paper:#faf7f4;--ch-line:#eae1e8;padding-top:24px;background:linear-gradient(180deg,#fbf7fa 0,#fff 390px)}
body.single-toplist .dsv-toplist-detail .ranking-header{max-width:100%;position:relative;overflow:hidden;padding:34px 38px 32px;margin:18px 0 36px;border:1px solid #e9dfe9;border-radius:24px;background:radial-gradient(circle at 96% -10%,rgba(150,99,62,.14),transparent 39%),linear-gradient(130deg,#fff,#f8f2fa);box-shadow:0 16px 48px rgba(72,46,89,.055)}
body.single-toplist .ranking-header:after{content:'✦';position:absolute;right:25px;top:7px;font-size:96px;opacity:.075;color:var(--ch-purple);pointer-events:none}
body.single-toplist .ranking-header .detail-kicker{font-size:11px;letter-spacing:1.3px;color:var(--ch-copper);font-weight:850}
body.single-toplist .ranking-header h1{max-width:930px;margin:13px 0 18px;color:var(--ch-purple);font-size:clamp(29px,3.5vw,43px);line-height:1.22;letter-spacing:-.55px}
body.single-toplist .ranking-header .detail-meta a{border:1px solid #e4d7e5;border-radius:999px;background:white;padding:5px 12px;color:#60466e;font-size:13px;font-weight:650}
body.single-toplist .ranking-header .ranking-lead{max-width:880px;font-size:16px;line-height:1.85;color:#61596a;margin:20px 0 0}
.ch-toplist-hero-tools{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:24px}
.ch-explore-btn{display:inline-flex;align-items:center;gap:17px;padding:12px 19px;border-radius:12px;color:#fff!important;background:#482E59;font-weight:750;font-size:14px;text-decoration:none!important;transition:transform .2s,background .2s}
.ch-explore-btn:hover{background:#6c4779;transform:translateY(-2px)}
.ch-hero-location{color:#89758b;font-size:13px}
body.single-toplist .dsv-toplist-detail .toplist-layout{grid-template-columns:minmax(0,1fr) 288px;gap:32px;align-items:start}
body.single-toplist .dsv-toplist-detail .detail-main{min-width:0}
body.single-toplist .dsv-toplist-detail .ranking-content{font-size:16.5px;line-height:1.9;color:#35323a}
body.single-toplist .dsv-toplist-detail .ranking-content>h2{color:#482E59;font-size:clamp(23px,2.4vw,29px);line-height:1.35;margin:30px 0 15px;scroll-margin-top:112px}
body.single-toplist .dsv-toplist-detail .ranking-content>h3{counter-increment:chrank;position:relative;display:flex;align-items:center;min-height:84px;margin:46px 0 18px;padding:20px 22px 20px 94px;border:1px solid #e9dfe8;border-left:4px solid #96633E;border-radius:17px;background:linear-gradient(105deg,#faf6fa,#fff 80%);box-shadow:0 6px 23px rgba(72,46,89,.045);font-size:clamp(19px,2.2vw,24px);line-height:1.35;color:#482E59;scroll-margin-top:110px}
body.single-toplist .dsv-toplist-detail .ranking-content{counter-reset:chrank}
body.single-toplist .dsv-toplist-detail .ranking-content>h3:before{content:counter(chrank,decimal-leading-zero);counter-increment:none;position:absolute;left:20px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:57px;height:54px;border:0;border-radius:12px;background:#482E59;color:#fff;font-size:20px;font-weight:850;box-shadow:0 7px 17px rgba(72,46,89,.15)}
body.single-toplist .ranking-content figure,body.single-toplist .ranking-content .wp-block-image{margin:24px auto}
body.single-toplist .ranking-content img{border-radius:18px}
/* Contact cards: original UL/OL untouched for editors and crawlers */
body.single-toplist .ranking-contact-box{margin:16px 0 30px;padding:0!important;border:1px solid #e8dfe7!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 29px rgba(72,46,89,.065)!important;overflow:hidden!important}
body.single-toplist .ranking-contact-box:before{content:'THÔNG TIN ĐỊA ĐIỂM';display:flex;align-items:center;min-height:50px;margin:0!important;padding:12px 21px;background:#f5eef5;color:#482E59;font-size:12px;font-weight:850;letter-spacing:1px}
body.single-toplist .ranking-contact-box ul,body.single-toplist .ranking-contact-box ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin:0!important;padding:10px 21px 8px!important;list-style:none!important}
body.single-toplist .ranking-contact-box li{display:flex;align-items:flex-start;gap:10px;min-width:0;margin:0;padding:11px 0!important;border-bottom:1px solid #f1edf1!important;font-size:14px;line-height:1.6;color:#5b5660;overflow-wrap:anywhere}
body.single-toplist .ranking-contact-box li:before{display:none!important}
body.single-toplist .ranking-contact-box li .ch-contact-icon{flex:0 0 29px;width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:#f3edf3;color:#6d4979;font-size:15px;font-weight:800}
body.single-toplist .ranking-contact-box li strong{color:#482E59}
body.single-toplist .ranking-contact-box a{color:#6e477c;text-underline-offset:3px}
body.single-toplist .ranking-contact-box a:hover{color:#96633E}
.ch-contact-actions{display:flex;gap:9px;flex-wrap:wrap;padding:14px 20px 17px;background:#fcfafb}
.ch-contact-actions a{display:inline-flex;justify-content:center;align-items:center;gap:8px;flex:1;min-width:138px;border:1px solid #d9c9dc;border-radius:10px;padding:10px 14px;text-decoration:none!important;font-size:13px;font-weight:750}
.ch-contact-actions a.ch-contact-primary{background:#482E59;color:#fff!important;border-color:#482E59}
.ch-contact-actions a.ch-contact-secondary{background:#fff;color:#482E59!important}
/* Elegant navigation - desktop */
body.single-toplist .dsv-toplist-detail .detail-side{position:sticky;top:106px;min-width:0}
body.single-toplist .dsv-toplist-detail .ranking-toc{display:flex;flex-direction:column;max-height:calc(100vh - 130px);margin:0;padding:0;border:1px solid #e8dce8;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 12px 33px rgba(72,46,89,.06)}
body.single-toplist .dsv-toplist-detail .ranking-toc>strong{display:flex;margin:0;padding:18px;background:#482E59;color:white;font-size:15px;line-height:1.35}
.ch-toc-title{display:flex;gap:12px;align-items:center}.ch-toc-icon{display:grid;place-items:center;min-width:35px;height:35px;border:1px solid #ffffff55;border-radius:10px;font-size:19px}.ch-toc-count{display:block;margin-top:3px;color:#dccbde;font-size:11px;font-weight:500}
body.single-toplist .dsv-toplist-detail .ranking-toc #dsv-toc{display:block;flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;padding:8px 10px}
body.single-toplist .dsv-toplist-detail .ranking-toc #dsv-toc>a{counter-increment:ch-toc;display:flex;align-items:flex-start;gap:10px;padding:11px 10px;border:0;border-radius:10px;color:#625968;font-size:13.5px;font-weight:580;line-height:1.45;transition:background .2s,color .2s}
body.single-toplist .dsv-toplist-detail .ranking-toc #dsv-toc{counter-reset:ch-toc}
body.single-toplist .dsv-toplist-detail .ranking-toc #dsv-toc>a:before{content:counter(ch-toc,decimal-leading-zero);position:static;transform:none;flex:0 0 25px;width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#f4ebf3;color:#81578a;font-size:11px;font-weight:800;box-shadow:none}
body.single-toplist .dsv-toplist-detail .ranking-toc #dsv-toc>a:hover,body.single-toplist .dsv-toplist-detail .ranking-toc #dsv-toc>a.is-active{background:#f6eff6;color:#482E59}
body.single-toplist .dsv-toplist-detail .ranking-toc #dsv-toc>a.is-active:before{background:#482E59;color:#fff}
.ch-toc-foot{padding:13px 17px;border-top:1px solid #eee7ef;color:#9a869d;font-size:10px;font-weight:700;letter-spacing:.5px;text-align:center}
.ch-reading-progress{height:3px;background:#eee7ef;border-radius:5px;margin:-18px 0 30px;overflow:hidden}.ch-reading-progress>span{display:block;width:0;height:100%;background:linear-gradient(90deg,#482E59,#96633E);transition:width .15s linear}
@media(max-width:1000px){
 body.single-toplist .dsv-toplist-detail .toplist-layout{grid-template-columns:minmax(0,1fr)}
 body.single-toplist .dsv-toplist-detail .detail-side{position:fixed!important;inset:auto 14px 14px auto!important;z-index:9998;width:min(340px,calc(100vw - 28px));margin:0!important;pointer-events:none}
 body.single-toplist .dsv-toplist-detail .ranking-toc{display:flex!important;flex-direction:column-reverse!important;max-height:none;width:100%;overflow:visible;margin:0!important;border:0;border-radius:0;background:transparent;box-shadow:none;pointer-events:auto}
 body.single-toplist .dsv-toplist-detail .ranking-toc>strong{display:flex;align-self:flex-end;width:auto;max-width:100%;margin:0;padding:12px 16px;border-radius:999px;background:#482E59;box-shadow:0 9px 28px #30203644;cursor:pointer}
 body.single-toplist .dsv-toplist-detail .ranking-toc>strong:after{content:'⌃';font-size:18px;font-weight:500;margin-left:10px}
 body.single-toplist .dsv-toplist-detail .ranking-toc.is-open>strong:after{content:'×'}
 body.single-toplist .dsv-toplist-detail .ranking-toc #dsv-toc{display:none!important;order:0;flex:none;max-height:min(56vh,440px);margin:0 0 9px!important;padding:10px;border:1px solid #e7d8e8;border-radius:17px;background:white;box-shadow:0 14px 42px #30203630;overflow-y:auto}
 body.single-toplist .dsv-toplist-detail .ranking-toc.is-open #dsv-toc{display:block!important}
 body.single-toplist .dsv-toplist-detail .ranking-toc .ch-toc-foot{display:none}
 body.single-toplist .dsv-toplist-detail .ranking-toc>strong .ch-toc-icon{width:25px;min-width:25px;height:25px;border:0;font-size:17px}
 body.single-toplist .dsv-toplist-detail .ranking-toc>strong .ch-toc-count{display:none}
 body.single-toplist .dsv-toplist-detail .ranking-toc #dsv-toc>a:before{content:counter(ch-toc,decimal-leading-zero)!important;background:#f4ebf3!important;color:#81578a!important;border-radius:8px!important}
 body.single-toplist .dsv-toplist-detail .ranking-toc #dsv-toc>a.is-active:before{background:#482E59!important;color:#fff!important}
}
@media(max-width:680px){
 body.single-toplist .dsv-toplist-detail .ranking-header{padding:25px 20px 24px;border-radius:18px;margin:12px 0 27px}
 body.single-toplist .ranking-header h1{font-size:30px}
 body.single-toplist .ch-hero-location{font-size:12px}
 body.single-toplist .ranking-content{font-size:16px}
 body.single-toplist .dsv-toplist-detail .ranking-content>h3{margin-top:34px;padding:16px 14px 16px 70px;min-height:70px;font-size:20px}
 body.single-toplist .dsv-toplist-detail .ranking-content>h3:before{left:13px;width:43px;height:43px;font-size:16px}
 body.single-toplist .ranking-contact-box ul,body.single-toplist .ranking-contact-box ol{grid-template-columns:1fr;gap:0;padding:9px 16px!important}
 body.single-toplist .ranking-contact-box:before{padding:12px 16px}
 .ch-contact-actions{padding:12px 16px 16px}
 .ch-contact-actions a{min-width:120px}
 body.single-toplist .ch-reading-progress{margin:-12px 0 23px}
}
@media(prefers-reduced-motion:reduce){.ch-explore-btn,.ch-reading-progress>span{transition:none}}
