/* KoriNavi unified public shell and discovery layout.
   This layer is injected server-side on every public HTML response. */
:root{--kori-deal:#cd2e3a;--kori-deal-dark:#a91f2a;--kori-shell-gap:18px}
html{scroll-padding-top:88px}
body.kori-unified-shell{overflow-x:hidden}
body.kori-unified-shell :focus-visible{outline:3px solid #8fc1ff;outline-offset:3px}

/* One header hierarchy for zh / en / ja / th. */
.kori-unified-shell .site-header .nav{min-height:78px;gap:var(--kori-shell-gap)}
.kori-unified-shell .site-header .nav-links{gap:18px}
.kori-unified-shell .site-header .nav-links a{white-space:nowrap}
.kori-unified-shell .site-header .nav-utility{display:inline-flex;min-height:42px;align-items:center;justify-content:center;padding:0 13px;white-space:nowrap}
.kori-unified-shell .site-header .nav-deals{position:relative;display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:8px;margin-left:0;padding:0 17px;overflow:hidden;clip-path:polygon(0 0,calc(100% - 11px) 0,100% 11px,100% 100%,0 100%);background:var(--kori-deal);color:#fff;font-size:13px;font-weight:950;letter-spacing:.02em;white-space:nowrap;box-shadow:0 10px 22px rgba(205,46,58,.25);transition:transform .18s ease,background .18s ease,box-shadow .18s ease}
.kori-unified-shell .site-header .nav-deals::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:rgba(255,255,255,.38)}
.kori-unified-shell .site-header .nav-deals span{font-size:9px;transform:rotate(45deg);opacity:.9}
.kori-unified-shell .site-header .nav-deals:hover,.kori-unified-shell .site-header .nav-deals[aria-current="page"]{background:var(--kori-deal-dark);color:#fff;transform:translateY(-1px);box-shadow:0 14px 26px rgba(205,46,58,.32)}
.kori-unified-shell .site-header .nav-quick a{color:#fff;border-color:rgba(255,255,255,.32);background:rgba(255,255,255,.06)}
.kori-unified-shell .site-header .nav-quick a:hover,.kori-unified-shell .site-header .nav-quick a[aria-current="page"]{border-color:#fff;background:#fff;color:#071f46}

/* One footer map across all public languages. */
.kori-unified-shell .site-footer .footer-grid{align-items:start}
.kori-unified-shell .site-footer .footer-col a{display:block;margin:7px 0}
.kori-unified-shell .site-footer .footer-note>span:nth-child(n+2){display:none!important}

/* Destination and category choice cards use one visual language everywhere. */
.kori-unified-shell .guide-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;margin-top:24px!important;padding:0!important;border:0!important}
.kori-unified-shell .guide-grid::before{display:none!important}
.kori-unified-shell .guide-grid .guide-link{display:flex!important;min-width:0;min-height:100%;flex-direction:column;align-items:stretch;overflow:hidden;padding:0!important;border:1px solid var(--k-line,#d7e0ec)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 22px rgba(7,31,70,.06)!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.kori-unified-shell .guide-grid .guide-link::before{display:none!important}
.kori-unified-shell .guide-grid .guide-link::after{right:14px!important;bottom:13px!important;width:31px!important;height:31px!important;background:var(--k-red,#cd2e3a)!important;color:#fff!important}
.kori-unified-shell .guide-grid .guide-link:hover{transform:translateY(-3px)!important;border-color:#91acd0!important;background:#fff!important;box-shadow:0 15px 30px rgba(7,31,70,.12)!important}
.kori-unified-shell .kori-guide-preview,.kori-unified-shell .kori-guide-thumb{display:block;width:100%;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(135deg,#e8eff8,#d8e4f3)}
.kori-unified-shell .kori-guide-preview img,.kori-unified-shell .kori-guide-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.kori-unified-shell .guide-link:hover .kori-guide-preview img,.kori-unified-shell .guide-link:hover .kori-guide-thumb img{transform:scale(1.035)}
.kori-unified-shell .guide-link .kori-guide-copy{display:flex;min-width:0;flex:1;flex-direction:column;padding:16px 17px 18px}
.kori-unified-shell .guide-link>.kori-guide-preview+strong,.kori-unified-shell .guide-link>.kori-guide-thumb+strong{padding:16px 17px 0}
.kori-unified-shell .guide-link>.kori-guide-preview+strong~span:not(.kori-guide-copy),.kori-unified-shell .guide-link>.kori-guide-thumb+strong~span:not(.kori-guide-copy){padding:7px 52px 18px 17px}
.kori-unified-shell .guide-link strong{display:block;margin:0;color:#101828;font-size:18px;line-height:1.35}
.kori-unified-shell .guide-link strong+span,.kori-unified-shell .kori-guide-copy>span{display:block;margin-top:8px;padding-right:34px;color:#667085;font-size:13px;line-height:1.58}

/* Consistent article previews on city hubs, category hubs and guide indexes. */
.kori-unified-shell .preview-list.article-list,.kori-unified-shell .hub-main .article-list,.kori-unified-shell .guides-index .article-list,.kori-unified-shell .kori-unified-article-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;border:0!important}
.kori-unified-shell .preview-list .article-row,.kori-unified-shell .hub-main .article-row,.kori-unified-shell .guides-index .article-row,.kori-unified-shell .kori-unified-article-list .article-row{position:relative;display:flex!important;min-width:0;min-height:100%;flex-direction:column;align-items:stretch;gap:0!important;overflow:hidden;padding:0!important;border:1px solid var(--k-line,#d7e0ec)!important;border-radius:15px!important;background:#fff!important;box-shadow:0 8px 22px rgba(7,31,70,.06);transition:transform .18s ease,box-shadow .18s ease}
.kori-unified-shell .preview-list .article-row:hover,.kori-unified-shell .hub-main .article-row:hover,.kori-unified-shell .guides-index .article-row:hover,.kori-unified-shell .kori-unified-article-list .article-row:hover{transform:translateY(-3px);box-shadow:0 15px 30px rgba(7,31,70,.12)}
.kori-unified-shell .article-row-thumb{display:block;width:100%;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(135deg,#e8eff8,#d8e4f3)}
.kori-unified-shell .article-row-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.kori-unified-shell .article-row>div{display:flex;min-width:0;flex:1;flex-direction:column;padding:16px 17px 19px!important}
.kori-unified-shell .article-row h3{margin:6px 0 0!important;font-size:18px!important;line-height:1.36!important}
.kori-unified-shell .article-row p{margin:8px 0 0!important;color:#667085!important;font-size:13px!important;line-height:1.58!important}
.kori-unified-shell .article-row .row-arrow{position:absolute;right:13px;bottom:12px}

/* Progressive destination chooser; every card remains in the HTML for SEO. */
.kori-unified-shell .destination-choice-controls{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 26px;padding:12px;border:1px solid var(--k-line,#d7e0ec);border-radius:14px;background:#f7f9fc}
.kori-unified-shell .destination-choice-controls button{min-height:42px;padding:0 15px;border:1px solid #c6d3e4;border-radius:999px;background:#fff;color:#344054;font-size:13px;font-weight:850;cursor:pointer}
.kori-unified-shell .destination-choice-controls button:hover,.kori-unified-shell .destination-choice-controls button[aria-pressed="true"]{border-color:var(--k-red,#cd2e3a);background:var(--k-red,#cd2e3a);color:#fff}
.kori-unified-shell [data-destination-choice][hidden]{display:none!important}

/* Chinese travel-deals hub. */
.kori-unified-shell .deals-hero-badge{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;padding:7px 11px;background:var(--k-red,#cd2e3a);color:#fff;font-size:11px;font-weight:900;letter-spacing:.08em}
.kori-unified-shell .deals-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.kori-unified-shell .deal-card{position:relative;display:flex;min-height:220px;flex-direction:column;padding:22px;border:1px solid var(--k-line,#d7e0ec);border-top:5px solid var(--k-red,#cd2e3a);background:#fff;box-shadow:0 10px 25px rgba(7,31,70,.07)}
.kori-unified-shell .deal-card h2,.kori-unified-shell .deal-card h3{margin:0 0 9px;color:#071f46;font-size:23px;line-height:1.25}
.kori-unified-shell .deal-card p{margin:0 0 18px;color:#667085;font-size:14px;line-height:1.65}
.kori-unified-shell .deal-card a{margin-top:auto;color:#0047a0;font-weight:850}
.kori-unified-shell .deal-card a::after{content:' →';color:#cd2e3a}

@media(max-width:1120px){
  .kori-unified-shell .site-header .nav{gap:12px}
  .kori-unified-shell .site-header .nav-links{gap:13px;font-size:13px}
  .kori-unified-shell .site-header .nav-utility{padding-inline:10px;font-size:12px}
  .kori-unified-shell .site-header .nav-deals{padding-inline:13px;font-size:12px}
}
@media(max-width:980px){
  .kori-unified-shell .site-header .nav-links{display:none!important}
  .kori-unified-shell .site-header .nav-quick{display:flex!important;margin-left:auto}
  .kori-unified-shell .site-header .nav-utility{display:none!important}
  .kori-unified-shell .guide-grid,.kori-unified-shell .preview-list.article-list,.kori-unified-shell .hub-main .article-list,.kori-unified-shell .guides-index .article-list,.kori-unified-shell .kori-unified-article-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .kori-unified-shell .deals-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .kori-unified-shell .site-header .nav{gap:6px}
  .kori-unified-shell .site-header .nav-deals{min-height:40px;padding:0 10px;font-size:11px;clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,0 100%)}
  .kori-unified-shell .site-header .nav-deals span{display:none}
  .kori-unified-shell .guide-grid,.kori-unified-shell .preview-list.article-list,.kori-unified-shell .hub-main .article-list,.kori-unified-shell .guides-index .article-list,.kori-unified-shell .kori-unified-article-list,.kori-unified-shell .deals-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  .kori-unified-shell .guide-grid .guide-link,.kori-unified-shell .preview-list .article-row,.kori-unified-shell .hub-main .article-row,.kori-unified-shell .guides-index .article-row,.kori-unified-shell .kori-unified-article-list .article-row{display:grid!important;grid-template-columns:112px minmax(0,1fr);min-height:112px}
  .kori-unified-shell .kori-guide-preview,.kori-unified-shell .kori-guide-thumb,.kori-unified-shell .article-row-thumb{height:100%;min-height:112px;aspect-ratio:auto}
  .kori-unified-shell .guide-link .kori-guide-copy,.kori-unified-shell .article-row>div{justify-content:center;padding:13px 14px!important}
  .kori-unified-shell .guide-link strong,.kori-unified-shell .article-row h3{font-size:16px!important}
  .kori-unified-shell .guide-link strong+span,.kori-unified-shell .kori-guide-copy>span,.kori-unified-shell .article-row p{display:none!important}
  .kori-unified-shell .deal-card{min-height:0}
}
@media(max-width:430px){
  .kori-unified-shell .site-header .brand-word{display:none}
  .kori-unified-shell .site-header .brand{gap:0}
  .kori-unified-shell .site-header .nav-quick a{padding-inline:7px}
}
