 :root{--j888-primary:#8e182b;--j888-accent:#e6b85c;--j888-ink:#24171a;--j888-bg:#3f1919;--j888-line:#e5d7d8;--j888-blue:#681629}
*{box-sizing:border-box}body.j888-site{margin:0;background:var(--j888-bg);color:#f2e7df;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.65}.j888-wrap{width:min(1210px,calc(100% - 30px));margin:0 auto}
.j888-header{background:#fff;border-bottom:1px solid #e7d8d9}.j888-head-main{background:linear-gradient(90deg,#fff,#fff9f3);border-bottom:1px solid #eadfe0}.j888-head-inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px}.j888-brand img{display:block;width:auto;max-width:190px;max-height:66px;object-fit:contain}.j888-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.j888-btn{position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;min-width:120px;padding:11px 18px;border:1px solid var(--j888-accent);border-radius:5px;background:linear-gradient(110deg,#651222,#a32339,#651222);color:#fff!important;font-size:12px;font-weight:800;letter-spacing:.04em;text-decoration:none!important;box-shadow:0 3px 12px #64162630;transition:.2s}.j888-btn:before{content:"";position:absolute;z-index:-1;top:-80%;left:-70%;width:38%;height:260%;transform:rotate(25deg);background:linear-gradient(90deg,transparent,#fff9c9,transparent);animation:j888-shine 3.1s ease-in-out infinite}.j888-btn-register{background:linear-gradient(110deg,#9b6b19,#e6b85c,#9b6b19);color:#25170b!important}.j888-btn:hover{transform:translateY(-2px);box-shadow:0 0 18px #d7a94d8c}.j888-nav-bar{background:linear-gradient(#fbf1e7,#f5e3d4);border-bottom:2px solid #e2bf87}.j888-nav-inner{display:flex;align-items:center;gap:22px;min-height:55px}.j888-main-nav{flex:0 0 auto}.j888-nav-list{display:flex;align-items:center;gap:0;list-style:none;margin:0;padding:0}.j888-nav-list li{margin:0}.j888-nav-list a{display:block;padding:16px 12px;color:#4a252b;font-size:13px;font-weight:700;text-decoration:none}.j888-nav-list a:hover{background:#f0d8c0;color:var(--j888-primary)}.j888-mobile-toggle{display:none}
.j888-main{padding-top:18px;padding-bottom:40px}.j888-breadcrumb{display:flex;justify-content:space-between;gap:10px;padding:10px 13px;margin-bottom:16px;background:#fff;border:1px solid var(--j888-line);font-size:12px;color:#72565b}.j888-breadcrumb a{color:var(--j888-primary);text-decoration:none}
.j888-category-strip{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:8px;margin-bottom:18px}.j888-category{min-height:84px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:8px 4px;background:#fff;border:1px solid #e7d6d4;border-bottom:3px solid var(--j888-primary);border-radius:7px;color:#47242a;text-align:center;text-decoration:none;box-shadow:0 2px 6px #2710180a}.j888-category span{font-size:25px}.j888-category strong{font-size:10px;line-height:1.25;text-transform:uppercase}.j888-category:hover{transform:translateY(-2px);border-color:var(--j888-accent)}
.j888-hero-row{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:12px;margin-bottom:16px}.j888-hero-banner img{display:block;width:100%;height:100%;max-height:450px;object-fit:cover;border:1px solid #c9a56a;border-radius:5px}.j888-quick{display:flex;flex-direction:column;justify-content:center;align-items:stretch;padding:18px;background:#fff;border:1px solid var(--j888-line);border-radius:8px}.j888-quick>img{display:block;max-width:160px;max-height:90px;object-fit:contain;align-self:center;margin:0 auto 12px}.j888-quick h3{margin:0 0 10px;color:var(--j888-primary);font-size:14px}.j888-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:14px}.j888-quick-grid a{padding:9px 5px;border:1px solid var(--j888-line);background:#fffaf5;color:#543039;text-align:center;text-decoration:none;font-size:12px}.j888-quick .j888-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.j888-quick .j888-btn{min-width:0;padding:10px 5px;font-size:10px}
.j888-payment{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px;margin-bottom:16px;padding:7px;background:#28151b;border:2px solid #b78a43;border-radius:7px}.j888-pay-item{min-height:50px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:4px;background:#fff;border-radius:4px;color:#3d2529;text-align:center}.j888-pay-item b{font-size:11px}.j888-pay-item small{font-size:9px;color:#8b7775}
.j888-notice{display:grid;grid-template-columns:130px 1fr 190px;align-items:center;gap:10px;margin-bottom:18px;padding:12px 15px;background:#f1e7df;border:1px solid #ddc6b5;border-radius:5px;color:#704323}.j888-notice>b{color:var(--j888-primary)}.j888-ticker{overflow:hidden;white-space:nowrap}.j888-ticker span{display:inline-block;animation:j888-marquee 22s linear infinite}.j888-clock{text-align:right;font-weight:700;font-size:12px;color:var(--j888-primary)}
.j888-panel{margin-bottom:18px;background:#fffaf6;border:1px solid var(--j888-line);border-radius:7px;overflow:hidden;box-shadow:0 2px 8px #32151b08}.j888-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 15px;background:linear-gradient(90deg,#f3e4d9,#ead4c5);border-bottom:1px solid var(--j888-line)}.j888-panel-head h1,.j888-panel-head h2{margin:0;color:var(--j888-primary);font-size:20px;line-height:1.35}.j888-panel-head h2{font-size:16px}.j888-panel-head>a,.j888-panel-head>span{font-size:11px;color:#795b4c;text-decoration:none}.j888-panel-body{padding:20px 22px}.j888-panel-body h2,.j888-panel-body h3{color:var(--j888-primary)}.j888-panel-body a{color:var(--j888-primary);text-decoration:underline;text-underline-offset:3px}.j888-panel-body p{margin:0 0 15px}.j888-shortcode{margin-bottom:18px}.j888-shortcode>div{max-width:100%}
.j888-provider-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px}.j888-provider-tile{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:10px;background:linear-gradient(145deg,#10264b,#07162f);border:1px solid #b88a3e;border-radius:7px;color:#fff2cf;text-align:center;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.j888-provider-tile:hover{transform:translateY(-2px);border-color:#f4c65b;box-shadow:0 7px 18px rgba(0,0,0,.22)}.j888-provider-tile img{display:block;width:min(100%,250px);height:82px;object-fit:contain;object-position:center;margin:0 auto}.j888-provider-tile strong{font-size:14px}.j888-provider-tile small{font-size:10px;color:#e3d5bd}@media(max-width:800px){.j888-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.j888-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:14px}.j888-info-grid>a{padding:15px;border:1px solid var(--j888-line);color:#57333a;text-decoration:none}.j888-info-grid h3{margin:0 0 6px;color:var(--j888-primary);font-size:14px}.j888-info-grid p{margin:0;font-size:12px;color:#78666a}
.j888-post-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px}.j888-post-card{border:1px solid var(--j888-line);padding:10px;background:#fff}.j888-post-card img{width:100%;height:125px;object-fit:cover}.j888-post-card h3{font-size:14px;margin:8px 0;color:var(--j888-primary)}.j888-post-card a{text-decoration:none}.j888-post-card p{font-size:12px;color:#77676b}.j888-empty{padding:12px}.j888-article{margin-top:16px}.j888-article .j888-panel-body{font-size:15px;line-height:1.85}.j888-article img{max-width:100%;height:auto}.j888-entry h2,.j888-entry h3{color:var(--j888-primary)}.j888-meta{color:#89777a;font-size:12px}.j888-post-nav{display:flex;justify-content:space-between;margin-top:25px;padding-top:15px;border-top:1px solid var(--j888-line)}
.j888-footer{background:#2a151b;border-top:3px solid var(--j888-accent);color:#eadbd0;padding:28px 0 12px}.j888-footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1.2fr;gap:35px}.j888-footer h3{margin:0 0 10px;color:var(--j888-accent);font-size:14px}.j888-footer p,.j888-footer a{font-size:12px;color:#e4d1c5}.j888-footer ul{list-style:none;margin:0;padding:0}.j888-copy{margin-top:20px;padding-top:12px;border-top:1px solid #67424a;text-align:center;font-size:11px;color:#c5aaa1}
@keyframes j888-shine{0%,52%{left:-70%}88%,100%{left:145%}}@keyframes j888-marquee{0%{transform:translateX(100%)}100%{transform:translateX(-100%)}}
@media(max-width:1050px){.j888-category-strip{grid-template-columns:repeat(6,1fr)}.j888-nav-inner{flex-wrap:wrap;padding:8px 0}.j888-nav-list a{padding:12px 8px}.j888-payment{grid-template-columns:repeat(5,1fr)}}
@media(max-width:720px){.j888-wrap{width:min(100% - 20px,600px)}.j888-head-inner{min-height:72px}.j888-brand img{max-width:125px;max-height:54px}.j888-head-right .j888-btn{min-width:0;padding:9px 10px;font-size:10px}.j888-mobile-toggle{display:block;border:1px solid var(--j888-line);background:#fff;padding:8px 12px;color:var(--j888-primary)}.j888-nav-inner{gap:8px}.j888-main-nav{display:none;width:100%;order:2}.j888-main-nav.is-open{display:block}.j888-nav-list{display:block}.j888-nav-list a{padding:10px;border-bottom:1px solid #eadbd4}.j888-category-strip{grid-template-columns:repeat(3,1fr);gap:6px}.j888-category{min-height:76px}.j888-hero-row{grid-template-columns:1fr}.j888-hero-banner img{height:auto}.j888-quick{padding:12px}.j888-quick>img{max-height:65px}.j888-payment{grid-template-columns:repeat(2,1fr)}.j888-notice{grid-template-columns:1fr;gap:5px}.j888-clock{text-align:left}.j888-provider-grid{grid-template-columns:repeat(2,1fr)}.j888-info-grid{grid-template-columns:repeat(2,1fr)}.j888-post-grid{grid-template-columns:repeat(2,1fr)}.j888-panel-head{align-items:flex-start}.j888-panel-head h1{font-size:18px}.j888-footer-grid{grid-template-columns:1fr;gap:18px}.j888-panel-body{padding:15px}}
@media(prefers-reduced-motion:reduce){.j888-btn:before,.j888-ticker span{animation:none}.j888-btn{transition:none}}

/* Visual identity refinement: darker warm neutral canvas and editable image logo tiles */
.j888-pay-item{gap:2px;padding:5px 3px}
.j888-pay-item img{display:block;width:auto;max-width:92px;height:24px;object-fit:contain}
.j888-pay-mark,.j888-provider-mark{display:flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:6px;background:linear-gradient(135deg,#8e182b,#d5a04d);color:#fff;font-size:11px;font-weight:900}
.j888-pay-item strong{font-size:10px;line-height:1.15}
.j888-provider-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
.j888-provider-tile{min-height:94px;position:relative;overflow:hidden;background:linear-gradient(145deg,#201015,#3b1821);border-color:#8d633c}
.j888-provider-tile img{width:100%;height:55px;object-fit:contain;display:block}
.j888-provider-mark{width:38px;height:38px;border-radius:50%;font-size:14px;background:linear-gradient(135deg,#b57b2b,#6d1829)}
.j888-provider-tile strong{color:#f7e6ca}
.j888-provider-tile small{color:#d8c0aa}
@media(max-width:720px){.j888-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 888J dark burgundy background sampled from the supplied reference swatch */
html,body.j888-site{background-color:#3f1919!important}
body.j888-site{background-image:radial-gradient(ellipse at 50% 0%,#552426 0%,#3f1919 58%,#2e1114 100%);background-attachment:fixed;color:#f2e7df}
.j888-main{background:transparent}
.j888-footer{background:#2b1115;color:#eadbd0;border-top:2px solid #b88745}
.j888-footer a{color:#f0c779}
.j888-breadcrumb{background:#f7f0e9}

/* Readability fix: article typography uses near-black text on light content cards. */
.j888-panel-body,.j888-panel-body p,.j888-panel-body li,.j888-entry,.j888-entry p,.j888-entry li,
.j888-entry blockquote,.j888-panel-body blockquote{color:#171313!important}
.j888-panel-body h1,.j888-panel-body h2,.j888-panel-body h3,.j888-entry h1,.j888-entry h2,.j888-entry h3{color:#261b1b!important}
.j888-panel-body a,.j888-entry a{color:#7a1827!important}
.j888-payment{grid-template-columns:repeat(10,minmax(0,1fr));align-items:stretch}
.j888-pay-item{gap:3px;min-width:0;padding:4px 2px}
.j888-pay-item img{display:block;width:100%;max-width:145px;height:48px;object-fit:contain}
.j888-pay-item small{font-size:9px;line-height:1.15}
.j888-provider-tile{min-height:105px}
.j888-provider-tile img{display:block;width:100%;height:58px;object-fit:contain}
.j888-provider-mark{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#9b2438,#d2a04d);color:#fff;font-weight:900;font-size:14px}
@media(max-width:720px){.j888-payment{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Payment strip: exact artwork supplied by the user */
.j888-payment.j888-payment-reference{display:block;width:100%;margin:0 0 16px;padding:0;background:#071b39;border:2px solid #0a2346;border-radius:8px;overflow:hidden;line-height:0;box-shadow:0 2px 8px rgba(0,0,0,.16)}
.j888-payment.j888-payment-reference img{display:block;width:100%;height:auto;max-width:none;object-fit:contain;margin:0}
@media(max-width:720px){.j888-payment.j888-payment-reference{border-width:1px;border-radius:6px}.j888-payment.j888-payment-reference img{width:100%;height:auto}}

/* 888J vivid burgundy + electric blue/gold accents; readable article text */
:root{--j888-primary:#9b1635;--j888-accent:#ffc247;--j888-line:#e4c99e}
body.j888-site{background:radial-gradient(ellipse at 50% 0%,#762039 0%,#481322 52%,#24101a 100%) fixed!important;color:#171313}
.j888-header{background:linear-gradient(100deg,#fff,#fff6e7);border-bottom:2px solid #f2bf55}
.j888-head-main{background:linear-gradient(100deg,#fffaf1,#fff0d9)}
.j888-nav-bar{background:linear-gradient(90deg,#ffe0a2,#fff4db 45%,#ffd27b);border-bottom:3px solid #d99b30}
.j888-btn{background:linear-gradient(110deg,#a40d34,#ed3c57,#a40d34);border-color:#ffd26a;box-shadow:0 4px 15px #b31c3b55}
.j888-btn-register{background:linear-gradient(110deg,#f6b52e,#ffe18a,#d68a12);color:#271305!important}
.j888-category{background:linear-gradient(145deg,#fff8eb,#ffe5b6);border-color:#efc16a;box-shadow:0 4px 12px #180b1020}
.j888-panel{background:#fffdf9;border:1px solid #e6c48b;box-shadow:0 8px 24px #16090d22}
.j888-panel-head{background:linear-gradient(90deg,#fff0cf,#ffe1a1);border-bottom:1px solid #e7bf72}
.j888-panel-head h1,.j888-panel-head h2{color:#8e1632}
.j888-panel-body,.j888-panel-body p,.j888-panel-body li,.j888-entry,.j888-entry p,.j888-entry li{color:#171313!important}
.j888-panel-body h1,.j888-panel-body h2,.j888-panel-body h3,.j888-entry h1,.j888-entry h2,.j888-entry h3{color:#29151a!important}
.j888-panel-body a,.j888-entry a{color:#075fc5!important}
.j888-payment{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px;padding:7px;background:#071c3b;border:3px solid #d7a33e;border-radius:10px;box-shadow:0 5px 18px #050d1c55}
.j888-payment-tile{min-width:0;background:#fff;border-radius:7px;overflow:hidden;display:flex;align-items:center}
.j888-payment-tile img{display:block;width:100%;height:auto;aspect-ratio:360/112;object-fit:contain}
.j888-provider-tile{background:linear-gradient(145deg,#14284d,#09162f);border:1px solid #e6bd65;color:#fff;min-height:110px}
.j888-provider-tile strong{color:#fff1ce}
.j888-provider-tile small{color:#d7c5a2}
.j888-post-card{background:#fffdf9;border-color:#e6c48b}
.j888-post-card h3,.j888-post-card p{color:#171313}
@media(max-width:980px){.j888-payment{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:560px){.j888-payment{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}}

.j888-payment-reference{display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px;padding:7px;background:linear-gradient(90deg,#061b3d,#0c2e59);border:3px solid #e6b94f;border-radius:10px}.j888-payment-reference img{width:100%;height:auto;display:block}.j888-payment-tile{min-width:0}.j888-payment-tile img{width:100%;height:auto;display:block;object-fit:contain;border-radius:7px}@media(max-width:980px){.j888-payment-reference{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:560px){.j888-payment-reference{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 15 individually rendered, transparent payment logo assets */
.j888-payment-reference{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:12px;background:linear-gradient(90deg,#061b3d,#0c2e59);border:3px solid #e6b94f;border-radius:12px}
.j888-payment-tile{min-width:0;background:#fff;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:7px;min-height:76px;box-shadow:0 2px 8px #0002}
.j888-payment-tile img{display:block;width:100%;height:auto;max-height:68px;object-fit:contain}
@media(min-width:1100px){.j888-payment-reference{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:700px){.j888-payment-reference{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:8px}}
@media(max-width:420px){.j888-payment-reference{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* User-provided Vietnam payment logos: one aligned horizontal auto-scrolling rail */
.j888-payment-reference{
  display:block!important;overflow:hidden!important;position:relative;
  padding:10px 0!important;background:linear-gradient(90deg,#071b3b,#123c70,#071b3b)!important;
  border:3px solid #e4b84d!important;border-radius:12px!important;
}
.j888-payment-track{
  display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
  gap:12px;width:max-content;animation:j888-payment-marquee 34s linear infinite;
  will-change:transform;
}
.j888-payment-reference:hover .j888-payment-track{animation-play-state:paused}
.j888-payment-tile{
  box-sizing:border-box;flex:0 0 190px;width:190px;height:82px;
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  gap:3px;padding:6px 9px;background:#fff;border:1px solid #d9e2ed;
  border-radius:9px;box-shadow:0 3px 9px #0002;overflow:hidden;
}
.j888-payment-tile img{
  display:block;width:100%;height:53px;max-height:53px;object-fit:contain;
}
.j888-payment-tile span{
  display:block;font-size:10px;line-height:1.15;color:#31445a;
  text-align:center;white-space:nowrap;font-weight:600;
}
@keyframes j888-payment-marquee{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
@media(prefers-reduced-motion:reduce){
 .j888-payment-track{animation:none;flex-wrap:wrap!important;width:100%;justify-content:center}
}
@media(max-width:600px){
 .j888-payment-tile{flex-basis:155px;width:155px;height:72px}
 .j888-payment-tile img{height:43px;max-height:43px}
 .j888-payment-track{gap:8px;animation-duration:28s}
}

/* FIX 2.7.1: hard-scope payment rail layout to prevent theme/global img rules
   from expanding each logo to full width and stacking the images vertically. */
body.j888-site section.j888-payment.j888-payment-reference{
  display:block!important; width:100%!important; max-width:100%!important;
  height:104px!important; min-height:104px!important; max-height:104px!important;
  box-sizing:border-box!important; overflow:hidden!important; position:relative!important;
  padding:9px 0!important; margin:16px 0!important;
}
body.j888-site section.j888-payment.j888-payment-reference .j888-payment-track{
  display:flex!important; flex-direction:row!important; flex-wrap:nowrap!important;
  align-items:center!important; justify-content:flex-start!important;
  width:max-content!important; min-width:max-content!important; height:100%!important;
  gap:12px!important; animation:j888-payment-marquee-fix 38s linear infinite!important;
}
body.j888-site section.j888-payment.j888-payment-reference .j888-payment-tile{
  display:flex!important; flex:0 0 190px!important; width:190px!important;
  min-width:190px!important; max-width:190px!important; height:78px!important;
  min-height:78px!important; max-height:78px!important; box-sizing:border-box!important;
  flex-direction:column!important; justify-content:center!important; align-items:center!important;
  padding:5px 8px!important; margin:0!important; overflow:hidden!important;
  background:#fff!important; border:1px solid #d9e2ed!important; border-radius:9px!important;
}
body.j888-site section.j888-payment.j888-payment-reference .j888-payment-tile img{
  display:block!important; position:static!important; float:none!important;
  flex:0 0 auto!important; width:100%!important; max-width:172px!important;
  height:49px!important; min-height:0!important; max-height:49px!important;
  object-fit:contain!important; object-position:center!important;
  margin:0 auto!important; padding:0!important;
}
body.j888-site section.j888-payment.j888-payment-reference .j888-payment-tile span{
  display:block!important; width:100%!important; height:13px!important;
  line-height:13px!important; margin:0!important; padding:0!important;
  text-align:center!important; white-space:nowrap!important;
  font-size:10px!important; color:#31445a!important;
}
body.j888-site section.j888-payment.j888-payment-reference:hover .j888-payment-track{
  animation-play-state:paused!important;
}
@keyframes j888-payment-marquee-fix{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-50%,0,0)}
}
@media(max-width:700px){
 body.j888-site section.j888-payment.j888-payment-reference{height:91px!important;min-height:91px!important;max-height:91px!important}
 body.j888-site section.j888-payment.j888-payment-reference .j888-payment-tile{
   flex-basis:155px!important;width:155px!important;min-width:155px!important;max-width:155px!important;
   height:67px!important;min-height:67px!important;max-height:67px!important;
 }
 body.j888-site section.j888-payment.j888-payment-reference .j888-payment-tile img{
   max-width:139px!important;height:41px!important;max-height:41px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body.j888-site section.j888-payment.j888-payment-reference .j888-payment-track{
  animation:none!important; transform:none!important; flex-wrap:wrap!important;
 }
}

/* v2.7.2: search bar removed from desktop and mobile header */
.j888-nav-inner{justify-content:flex-start}
.j888-main-nav{flex:1 1 auto}
.j888-nav-list{flex-wrap:wrap}

/* v2.8: long-form editorial readability */
body.j888-site .j888-long-home-article .j888-panel-body,
body.j888-site .entry-content,
body.j888-site .page-content{color:#211b1a!important}
body.j888-site .j888-long-home-article .j888-panel-body p,
body.j888-site .entry-content p{color:#211b1a!important;line-height:1.85;margin:0 0 16px}
body.j888-site .j888-long-home-article .j888-panel-body h2{font-size:clamp(21px,2.2vw,27px);line-height:1.35;margin:30px 0 12px;color:#7c2438}
body.j888-site .j888-long-home-article .j888-panel-body h3{font-size:18px;line-height:1.45;margin:21px 0 8px;color:#39201f}
body.j888-site .j888-long-home-article .j888-panel-body a,
body.j888-site .entry-content a{ text-decoration:underline;text-underline-offset:3px }
body.j888-site .j888-long-home-article .j888-panel-body{max-width:100%;font-size:16px}


/* v2.9 – editorial tables and FAQ accordion */
.j888-article-table-wrap{margin:28px 0;padding:22px;background:#fffaf2;border:1px solid #e2cda9;border-radius:14px;overflow:hidden}
.j888-article-table-wrap h2{margin:0 0 16px;color:#8e182b;font-size:clamp(20px,2vw,26px)}
.j888-article-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;color:#241b1a;background:#fff;border:1px solid #e4d5c3;border-radius:10px;overflow:hidden}
.j888-article-table th,.j888-article-table td{padding:13px 15px;text-align:left;vertical-align:top;border-bottom:1px solid #eadfD2;overflow-wrap:anywhere}
.j888-article-table th{background:#f5e4c7;color:#70192b;font-weight:800}
.j888-article-table tr:last-child td{border-bottom:0}
.j888-article-table tbody tr:nth-child(even){background:#fffaf4}
.j888-table-note{margin:12px 0 0;font-size:13px;color:#665650}
.j888-faq{max-width:100%;margin:22px auto;padding:28px 26px 30px;background:#071a35;color:#f4f8ff;border:1px solid #163c5b;border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.j888-faq-eyebrow{margin:0 0 7px;color:#6ed8f2;font-size:11px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.j888-faq h1{margin:0 0 16px;color:#f5f8ff;font-size:clamp(25px,3vw,34px);line-height:1.2}
.j888-faq details{margin:8px 0;border:1px solid #1a405d;border-radius:13px;background:#091a32;overflow:hidden;transition:border-color .2s,background .2s}
.j888-faq details[open]{border-color:#2d7697;background:#0b203b}
.j888-faq summary{position:relative;display:flex;align-items:center;gap:12px;padding:16px 18px;cursor:pointer;list-style:none;color:#f1f6fc;font-size:16px;font-weight:800;line-height:1.45}
.j888-faq summary::-webkit-details-marker{display:none}
.j888-faq summary:before{content:"▸";color:#8ce5f5;font-size:18px;transition:transform .2s}
.j888-faq details[open] summary:before{transform:rotate(90deg)}
.j888-faq summary:hover{color:#8ce5f5}
.j888-faq-answer{padding:0 20px 16px 48px;color:#d3e0ed;font-size:14px;line-height:1.8}
.j888-faq-answer p{margin:0}
.j888-faq-answer a{color:#75dff3;text-decoration:underline;text-underline-offset:3px}
@media(max-width:640px){.j888-article-table-wrap{padding:14px;margin:20px 0}.j888-article-table th,.j888-article-table td{padding:10px 9px;font-size:13px}.j888-faq{padding:21px 14px;border-radius:14px}.j888-faq summary{padding:14px 12px;font-size:14px}.j888-faq-answer{padding:0 13px 14px 37px;font-size:13px}}

/* v3.0 provider logos: individual image assets */
.j888-provider-tile{min-height:118px;padding:10px 12px;gap:7px;background:linear-gradient(145deg,#14284d,#09162f);border:1px solid #e6bd65;border-radius:7px}
.j888-provider-tile img{display:block;width:100%;height:58px;max-width:190px;object-fit:contain;margin:0 auto}
.j888-provider-tile strong{font-size:14px;line-height:1.2;color:#fff1ce}
.j888-provider-tile small{font-size:10px;color:#d7c5a2}
@media(max-width:720px){.j888-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.j888-provider-tile{min-height:105px}.j888-provider-tile img{height:52px}}

/* v3.1 clean provider wordmarks */
.j888-provider-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px}
.j888-provider-tile{min-height:145px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:13px 12px;background:linear-gradient(145deg,#10284b 0%,#071a35 100%);border:1px solid #caa85f;border-radius:8px;color:#fff;text-align:center;text-decoration:none;overflow:hidden;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.j888-provider-tile img{display:block;width:min(100%,220px);height:72px;object-fit:contain;object-position:center;background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin:0}
.j888-provider-tile strong{font-size:14px;line-height:1.25;color:#fff;font-weight:800}
.j888-provider-tile small{font-size:11px;line-height:1.25;color:#d9e3f1}
.j888-provider-tile:hover{transform:translateY(-3px);border-color:#f3d58b;box-shadow:0 8px 20px rgba(0,0,0,.22)}
@media(max-width:900px){.j888-provider-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.j888-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px}.j888-provider-tile{min-height:130px;padding:10px 8px}.j888-provider-tile img{height:62px;width:100%}.j888-provider-tile strong{font-size:13px}}


/* v3.2 provider badges: individually isolated with transparent outer canvas */
.j888-provider-tile{
  min-height:132px;
  padding:10px 12px 12px;
  gap:6px;
  background:linear-gradient(145deg,#14284d,#09162f);
  border:1px solid #d8ad55;
  border-radius:8px;
  overflow:hidden;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.j888-provider-tile img{
  display:block;
  width:min(100%,230px);
  height:76px;
  object-fit:contain;
  object-position:center;
  margin:0 auto;
  background:transparent;
}
.j888-provider-tile:hover{
  transform:translateY(-3px);
  border-color:#ffe09a;
  box-shadow:0 8px 22px rgba(0,0,0,.22),0 0 12px rgba(230,185,89,.18);
}
.j888-provider-tile strong{color:#fff1ce}
.j888-provider-tile small{color:#d8c7ae}
@media(max-width:720px){
 .j888-provider-tile{min-height:116px;padding:8px}
 .j888-provider-tile img{height:66px;width:100%}
}

/* v3.3 provider badge assets: individually rendered transparent PNGs */
.j888-provider-tile{min-height:142px;gap:7px;padding:10px 8px;background:linear-gradient(145deg,#10264a,#08162f);border:1px solid #c99a45;box-shadow:0 3px 10px rgba(4,13,29,.16);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.j888-provider-tile img{display:block;width:min(100%,150px);height:60px;object-fit:contain;object-position:center;margin:0 auto 1px;background:transparent;border:0;box-shadow:none}
.j888-provider-tile:hover{transform:translateY(-3px);border-color:#ffd36a;box-shadow:0 7px 18px rgba(4,13,29,.24)}
@media(max-width:760px){.j888-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.j888-provider-tile img{width:min(100%,145px);height:56px}}


/* v3.6 typography refinement — compact hierarchy inspired by mulu.win */
body.j888-site{font-size:14px;line-height:1.65}
/* Main page and article title bars */
.j888-panel-head h1{font-size:21px;line-height:1.3;font-weight:750;letter-spacing:0}
.j888-panel-head h2{font-size:16px;line-height:1.35;font-weight:750}
/* Article body: readable but less oversized */
.j888-article .j888-panel-body,
.j888-long-home-article .j888-panel-body{font-size:14px;line-height:1.75}
.j888-panel-body p,.j888-entry p{font-size:14px;line-height:1.75;margin:0 0 13px}
.j888-panel-body li,.j888-entry li{font-size:14px;line-height:1.7;margin-bottom:5px}
.j888-panel-body h1,.j888-entry h1{font-size:23px;line-height:1.3;margin:22px 0 11px;font-weight:750}
.j888-panel-body h2,.j888-entry h2,
body.j888-site .j888-long-home-article .j888-panel-body h2{font-size:19px;line-height:1.4;margin:24px 0 10px;font-weight:750}
.j888-panel-body h3,.j888-entry h3{font-size:16px;line-height:1.45;margin:19px 0 8px;font-weight:700}
.j888-panel-body h4,.j888-entry h4{font-size:15px;line-height:1.45;margin:16px 0 7px;font-weight:700}
.j888-panel-body blockquote,.j888-entry blockquote{font-size:14px;line-height:1.7}
/* Homepage long-form title and sections */
.j888-long-home-article .j888-panel-body>h1:first-child{font-size:23px;line-height:1.3;margin:0 0 14px}
.j888-article-table-wrap{padding:18px;margin:22px 0}
.j888-article-table-wrap h2{font-size:19px;line-height:1.4;margin:0 0 12px}
.j888-article-table th,.j888-article-table td{font-size:13px;line-height:1.55;padding:11px 13px}
/* FAQ hierarchy */
.j888-faq h1{font-size:clamp(22px,2.4vw,27px);line-height:1.25;margin-bottom:13px}
.j888-faq summary{font-size:14px;line-height:1.45;padding:14px 16px}
.j888-faq-answer{font-size:13px;line-height:1.7}
/* Keep card/provider labels compact and visually unchanged */
.j888-post-card h3,.j888-info-grid h3{font-size:14px}
@media(max-width:720px){
 .j888-panel-head h1{font-size:19px}
 .j888-article .j888-panel-body,.j888-long-home-article .j888-panel-body{font-size:13.5px;line-height:1.72}
 .j888-panel-body p,.j888-entry p,.j888-panel-body li,.j888-entry li{font-size:13.5px;line-height:1.72}
 .j888-panel-body h1,.j888-entry h1{font-size:20px;margin:19px 0 9px}
 .j888-panel-body h2,.j888-entry h2,body.j888-site .j888-long-home-article .j888-panel-body h2{font-size:18px;margin:21px 0 9px}
 .j888-panel-body h3,.j888-entry h3{font-size:15px;margin:17px 0 7px}
 .j888-long-home-article .j888-panel-body>h1:first-child{font-size:21px}
 .j888-article-table-wrap h2{font-size:18px}
 .j888-faq h1{font-size:22px}
}


/* Unique banner above each managed article; homepage template remains untouched. */
.j888-page-banner{margin:0 auto 22px;max-width:1200px;overflow:hidden;border-radius:14px;line-height:0;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.j888-page-banner img{display:block;width:100%;height:auto;aspect-ratio:2.78/1;object-fit:cover}
@media(max-width:640px){.j888-page-banner{margin:0 0 16px;border-radius:9px}.j888-page-banner img{aspect-ratio:2.4/1}}
