/*
Theme Name: NganCrown Portal
Theme URI: https://example.com/qex
Author: NganCrown Studio
Author URI: https://example.com/qex
Description: Vietnamese gaming theme (editorial-box / flat / hero-band) — independent spec-driven design with dark palette and dynamic accents.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.0
License: GNU General Public License v2 or later
Text Domain: qexvn
*/

:root{--qex-acc:#e9c62f;--qex-acc2:#dbe86e;--qex-hl:#36ade2;--qex-rad:12px;--qex-grad:135deg}


.qex-top{position:relative;z-index:120;background:#3a2b18;border-bottom:1px dashed __LINE__}
.qex-top-inner{max-width:1140px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.qex-burger{display:none;background:none;border:1px solid rgba(255,255,255,0.13);border-radius:10px;padding:10px 9px;cursor:pointer}
.qex-burger span{display:block;width:20px;height:2px;background:#dbe86e;margin:4px 0}
.qex-brand{display:flex;align-items:center;gap:12px}
.qex-brand img{height:44px;width:auto}
.qex-brand-name{font-family:'Teko';font-size:26px;color:#dbe86e;letter-spacing:.05em;text-transform:uppercase}
.qex-top-search{margin-left:auto;width:230px}
.qex-top-search .qex-searchform input{padding:8px 12px;font-size:13px}
.qex-top-cta{display:flex;gap:10px}
.qex-top-tagline{width:100%;text-align:center;font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:#a49fae}
.qex-mainnav{background:#3a2b18;border-bottom:1px dashed __LINE__}
.qex-nav-inner{max-width:1140px;margin:0 auto;padding:0 20px}
.qex-menu,.menu{list-style:none;display:flex;gap:4px;margin:0;padding:0;flex-wrap:wrap}
.qex-menu a,.menu a{display:block;padding:13px 16px;font-family:'Teko';font-size:16px;letter-spacing:.06em;text-transform:uppercase;color:#e9eef2}
.qex-menu a:hover,.menu a:hover{color:#dbe86e;background:rgba(255,255,255,.04)}
.qex-chipnav,.qex-catnav{background:rgba(255,255,255,.02);border-bottom:1px dashed __LINE__}
.qex-chipnav-inner,.qex-catnav-inner{max-width:1140px;margin:0 auto;padding:9px 20px;display:flex;gap:10px;overflow-x:auto}
.qex-chip,.qex-catlink{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:#a49fae;border:1px solid rgba(255,255,255,0.13);border-radius:99px;padding:5px 13px;white-space:nowrap}
.qex-chip img,.qex-catlink img{width:18px;height:18px;object-fit:contain}
.qex-chip:hover,.qex-catlink:hover{color:#dbe86e;border-color:#e9c62f}
.qex-utility{background:#4d3b23;border-bottom:1px dashed __LINE__;display:flex;align-items:center;justify-content:space-between;gap:14px;max-width:1140px;margin:0 auto;padding:7px 20px;flex-wrap:wrap}
.qex-utility-note{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#a49fae}
.qex-utility-links{display:flex;gap:8px}
.qex-utility-links .qex-btn{padding:6px 12px;font-size:12px}

.qex-top{position:sticky;top:0;backdrop-filter:blur(8px);background:rgba(10,12,18,.92)}
.qex-menu a{border-radius:99px}.qex-menu a:hover{background:rgba(255,255,255,.07)}

.qex-hero{position:relative;display:flex;align-items:center;background-size:cover;background-position:center;background-repeat:no-repeat;background-color:#3a2b18}
.qex-hero-scrim{position:absolute;inset:0;background:linear-gradient(135deg,rgba(4,6,10,.92) 14%,rgba(4,6,10,.55) 58%,rgba(4,6,10,.22) 100%)}
.qex-hero-inner{position:relative;padding:74px 20px;max-width:1140px;margin:0 auto;width:100%}
.qex-hero-kicker{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#dbe86e;border:1px solid #e9c62f;border-radius:99px;padding:7px 16px;margin-bottom:18px;background:rgba(0,0,0,.35)}
.qex-hero-title{font-size:58px;line-height:1.04;margin:0 0 16px;text-transform:uppercase;text-shadow:0 4px 24px rgba(0,0,0,.55)}
.qex-hero-title em{font-style:normal;color:#dbe86e}
.qex-hero-sub{max-width:560px;color:#cfd3dd;font-size:17px;margin:0 0 26px}
.qex-hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.qex-hero-slant{position:absolute;left:0;right:0;bottom:-1px;height:90px;background:#1e1810;clip-path:polygon(0 62%,100% 0,100% 100%,0 100%)}
.qex-hero-side{position:relative;margin:0 20px 0 auto;max-width:300px;background:rgba(77,59,35,.82);border:1px solid #e9c62f;border-radius:14px;padding:22px;box-shadow:none}
.qex-hero-side strong{font-family:'Teko';font-size:21px;color:#dbe86e;text-transform:uppercase;display:block;margin-bottom:8px}
.qex-hero-side p{font-size:13px;color:#a49fae}
.qex-hero-split{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding-top:56px;padding-bottom:56px;width:100%}
.qex-hero-figure{margin:0;border:1px solid rgba(255,255,255,0.13);border-radius:14px;overflow:hidden;box-shadow:none}
.qex-hero-figure img{width:100%;display:block}
.qex-hero-frame{display:grid;grid-template-columns:.9fr 1.1fr;gap:40px;align-items:center;padding-top:56px;padding-bottom:56px;width:100%}
.qex-hero-frame-art{border:3px solid #e9c62f;border-radius:14px;overflow:hidden;box-shadow:none}
.qex-hero-frame-art img{width:100%;display:block}
.qex-hero-band{display:grid;grid-template-columns:1.2fr .8fr;gap:30px;align-items:center;padding-top:30px;padding-bottom:30px;width:100%}
.qex-hero-band .qex-hero-title{font-size:40px;margin-bottom:12px}
.qex-hero-band-art{border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,0.13)}
.qex-hero-band-art img{width:100%;display:block;max-height:180px;object-fit:cover}
.qex-hero-score{display:flex;gap:10px;margin-top:22px;flex-wrap:wrap}
.qex-hero-score span{font-family:'Teko';font-size:15px;color:#dbe86e;border:1px solid rgba(255,255,255,0.13);background:rgba(0,0,0,.4);border-radius:8px;padding:7px 13px}

.qex-hero{min-height:500px}.qex-hero-title{letter-spacing:.03em}

.qex-sec{padding:46px 0;position:relative}
.qex-rail{display:flex;gap:12px;overflow-x:auto;padding:4px 0}
.qex-rail-item{flex:none;display:inline-flex;flex-direction:column;align-items:center;gap:8px;min-width:104px;padding:14px 10px;background:linear-gradient(135deg,#3a2b18,#4d3b23);border:1px solid rgba(255,255,255,0.13);border-radius:14px;color:#e9eef2;font-size:13px}
.qex-rail-item img{width:38px;height:38px;object-fit:contain}
.qex-rail-item:hover{border-color:#e9c62f;color:#dbe86e}
.qex-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.qex-poster{position:relative;background:#3a2b18;border:1px solid rgba(255,255,255,0.13);border-radius:14px;overflow:hidden;box-shadow:none}
.qex-poster-link{display:block;aspect-ratio:16/10;overflow:hidden}
.qex-poster-link img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.qex-poster:hover .qex-poster-link img{transform:scale(1.06)}
.qex-poster-cap{display:block;padding:10px 12px;font-family:'Teko';font-size:14px;letter-spacing:.05em;text-transform:uppercase;color:#e9eef2}
.qex-wall{columns:3;column-gap:18px}
.qex-wall-tile{position:relative;margin:0 0 18px;break-inside:avoid;border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,0.13);box-shadow:none}
.qex-wall-link{display:block}
.qex-wall-link img{width:100%;display:block;transition:transform .45s ease}
.qex-wall-tile:hover img{transform:scale(1.07)}
.qex-wall-flag{position:absolute;top:10px;left:10px;background:linear-gradient(135deg,#36ade2,#7f1d1d);color:#fff;font-size:11px;font-weight:800;letter-spacing:.1em;padding:4px 10px;border-radius:6px}
.qex-sec-marquee{padding:22px 0;overflow:hidden;background:#3a2b18;border-top:1px dashed __LINE__;border-bottom:1px dashed __LINE__}
.qex-track{display:flex;gap:16px;width:max-content;animation:qex-mq 28s linear infinite}
.qex-mq-item{flex:none;width:180px;border-radius:10px;overflow:hidden;border:1px solid rgba(255,255,255,0.13)}
.qex-mq-item img{width:100%;display:block;aspect-ratio:3/4;object-fit:cover}
@keyframes qex-mq{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.qex-board{display:flex;flex-direction:column;gap:10px}
.qex-row{display:grid;grid-template-columns:52px 1fr auto auto;align-items:center;gap:16px;background:linear-gradient(135deg,#3a2b18,#4d3b23);border:1px solid rgba(255,255,255,0.13);border-radius:10px;padding:13px 18px}
.qex-row-rank{font-family:'Teko';font-size:24px;color:#dbe86e}
.qex-row-name{font-size:16px;color:#e9eef2}
.qex-row-odds{font-family:'Teko';font-size:17px;color:#e9c62f}
.qex-board-promo{margin-top:16px;background:linear-gradient(135deg,#4d3b23,#3a2b18);border:1px solid #e9c62f;border-radius:14px;padding:20px;box-shadow:none}
.qex-board-promo strong{font-family:'Teko';font-size:20px;color:#dbe86e;text-transform:uppercase;display:block;margin-bottom:6px}
.qex-board-promo p{font-size:13px;color:#a49fae}
.qex-feature{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center}
.qex-feature-title{font-size:28px;margin:0 0 12px}
.qex-feature-text{color:#a49fae;margin:0 0 20px}
.qex-feature-cta{display:flex;gap:12px;flex-wrap:wrap}
.qex-feature-art{margin:0;border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,0.13);box-shadow:none}
.qex-feature-art img{width:100%;display:block}
.qex-feature-facts{display:flex;flex-direction:column;gap:10px}
.qex-feature-facts span{display:flex;align-items:baseline;gap:10px;background:#3a2b18;border:1px solid rgba(255,255,255,0.13);border-radius:10px;padding:11px 16px;font-size:13px;color:#a49fae}
.qex-feature-facts b{font-family:'Teko';font-size:20px;color:#dbe86e}
.qex-bonus{display:flex;flex-direction:column;gap:8px}
.qex-bonus-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:16px;border:1px solid rgba(255,255,255,0.13);border-radius:10px;padding:12px 18px;background:rgba(255,255,255,.02)}
.qex-bonus-name{font-size:15px;color:#e9eef2}
.qex-bonus-val{font-family:'Teko';font-size:22px;color:#e9c62f}
.qex-faq{display:grid;gap:12px;max-width:860px}
.qex-faq-item{background:#3a2b18;border:1px solid rgba(255,255,255,0.13);border-radius:10px;padding:18px 22px}
.qex-faq-q{font-size:19px;margin:0 0 8px}
.qex-faq-a{color:#a49fae;margin:0;font-size:14px}
.qex-sec-band{background:linear-gradient(135deg,#3a2b18 20%,#4d3b23);border-top:1px solid #e9c62f;border-bottom:1px solid #e9c62f}
.qex-band-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.qex-band-copy strong{display:block;font-family:'Teko';font-size:26px;color:#fff;text-transform:uppercase;letter-spacing:.04em}
.qex-band-copy span{font-size:14px;color:#a49fae}
.qex-band-links{display:flex;gap:10px;flex-wrap:wrap}
.qex-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.qex-stat{display:flex;flex-direction:column;align-items:center;gap:4px;background:linear-gradient(135deg,#3a2b18,#4d3b23);border:1px solid rgba(255,255,255,0.13);border-radius:14px;padding:20px 10px;text-align:center}
.qex-stat b{font-family:'Teko';font-size:30px;color:#dbe86e}
.qex-stat i{font-style:normal;font-size:12px;color:#a49fae;letter-spacing:.06em;text-transform:uppercase}
.qex-catbar{display:flex;gap:12px;flex-wrap:wrap}
.qex-catlink{padding:10px 18px;font-size:14px;border-radius:10px}
.qex-promo{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.qex-promo-card{display:grid;grid-template-columns:200px 1fr;background:linear-gradient(135deg,#3a2b18,#4d3b23);border:1px solid rgba(255,255,255,0.13);border-radius:14px;overflow:hidden;box-shadow:none}
.qex-promo-media{display:block;overflow:hidden}
.qex-promo-media img{width:100%;height:100%;object-fit:cover}
.qex-promo-body{padding:18px}
.qex-promo-title{font-size:21px;margin:0 0 8px}
.qex-promo-text{font-size:13px;color:#a49fae;margin:0 0 14px}

.qex-sec.qex-sec-stats.qex-st1{background:transparent;border-top:1px dashed rgba(255,255,255,0.13);padding:40px 0}
.qex-sec.qex-sec-iconrail.qex-ir3{background:transparent;border-top:1px dashed rgba(255,255,255,0.13);padding:54px 0}
.qex-sec.qex-sec-bonus.qex-bt3{background:transparent;border-top:1px dashed rgba(255,255,255,0.13);padding:54px 0}
.qex-sec.qex-sec-faq.qex-fq3{background:transparent;border-top:1px dashed rgba(255,255,255,0.13);padding:54px 0}
.qex-sec.qex-sec-marquee.qex-mq2{background:#3a2b18;border-top:1px dashed rgba(255,255,255,0.13);padding:46px 0}
.qex-sec.qex-sec-feature.qex-sf2{background:#3a2b18;border-top:1px dashed rgba(255,255,255,0.13);padding:46px 0}


.qex-footer{margin-top:64px;background:rgba(5,6,10,.92);border-top:1px dashed __LINE__}
.qex-footer-nav{display:flex;gap:20px;flex-wrap:wrap;padding:18px 0;border-bottom:1px dashed __LINE__;font-family:'Teko';letter-spacing:.06em;text-transform:uppercase;font-size:14px}
.qex-footer-nav a{color:#e9eef2}
.qex-footer-nav a:hover{color:#dbe86e}
.qex-footer-grid{display:grid;gap:34px;padding-top:48px;padding-bottom:12px}
.qex-footer-grid-mega4{grid-template-columns:1.4fr 1fr 1fr 1.1fr}
.qex-footer-grid-editorial3{grid-template-columns:1.3fr 1fr 1fr}
.qex-footer-grid-duo{grid-template-columns:1.4fr 1fr}
.qex-footer-grid-strip-cta{grid-template-columns:1.4fr 1fr}
.qex-footer-grid-hall5{grid-template-columns:1.3fr .9fr .9fr 1fr 1fr}
.qex-footer-brand img{height:46px;margin-bottom:14px}
.qex-footer-brand p{font-size:13px;color:#a49fae}
.qex-footer-title{font-size:19px;text-transform:uppercase;color:#dbe86e;margin:0 0 14px}
.qex-footer-col ul,.qex-footer-cats{list-style:none;margin:0;padding:0}
.qex-footer-col li{margin-bottom:9px}
.qex-footer-col a{font-size:14px;color:#a49fae}
.qex-footer-col a:hover{color:#dbe86e}
.qex-footer-note p{font-size:13px;color:#a49fae}
.qex-footer-cta{background:linear-gradient(135deg,#3a2b18,#4d3b23);border:1px solid #e9c62f;border-radius:14px;padding:20px;align-self:start}
.qex-footer-cta strong{font-family:'Teko';font-size:21px;color:#fff;text-transform:uppercase;display:block;margin-bottom:6px}
.qex-footer-cta p{font-size:13px;color:#a49fae}
.qex-footer-strip{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:26px;padding:22px;background:linear-gradient(135deg,#4d3b23,#3a2b18);border:1px solid #e9c62f;border-radius:14px}
.qex-footer-strip strong{font-family:'Teko';font-size:24px;text-transform:uppercase;color:#fff}

.qex-poster,.qex-wall-tile,.qex-promo-card,.qex-hero-side,.qex-footer-cta{box-shadow:none}

@media(max-width:980px){
  .qex-burger{display:block}
  .qex-mainnav{display:none}
  .qex-mainnav.open{display:block}
  .qex-menu,.menu{flex-direction:column}
  .qex-top-cta{display:none}
  .qex-top-search{display:none}
  .qex-hero-title{font-size:38px}
  .qex-hero-split,.qex-hero-frame,.qex-hero-band{grid-template-columns:1fr}
  .qex-grid{grid-template-columns:repeat(2,1fr)}
  .qex-wall{columns:2}
  .qex-feature,.qex-promo{grid-template-columns:1fr}
  .qex-promo-card{grid-template-columns:1fr}
  .qex-stats{grid-template-columns:repeat(2,1fr)}
  .qex-footer-grid-mega4,.qex-footer-grid-hall5{grid-template-columns:1fr 1fr}
  .qex-footer-grid-editorial3{grid-template-columns:1fr}
  .qex-row{grid-template-columns:40px 1fr auto}
  .qex-row .qex-btn{display:none}
}
@media(max-width:560px){
  .qex-hero-title{font-size:28px}
  .qex-grid{grid-template-columns:1fr}
  .qex-wall{columns:1}
  .qex-stats{grid-template-columns:1fr 1fr}
  .qex-footer-grid-mega4,.qex-footer-grid-hall5,.qex-footer-grid-duo,.qex-footer-grid-strip-cta{grid-template-columns:1fr}
  .qex-bonus-row{grid-template-columns:1fr auto}
  .qex-bonus-row .qex-btn{display:none}
}

/* ---------- shared foundation ---------- */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Sora';font-size:16px;line-height:1.65;color:#e9eef2;-webkit-font-smoothing:antialiased;background-color:#1e1810;background-image:url('assets/images/bg-main.png');background-size:cover;background-position:center top;background-repeat:no-repeat}
/* NOTE: intentionally NO full-page scrim pseudo-element here (Template-828
   parity) — bg-main.png must stay clearly visible; hero-level tints live
   inside each blueprint's own hero component only. */
img{max-width:100%;height:auto}
a{color:#dbe86e;text-decoration:none;transition:color .2s ease}
a:hover{color:#fff}
h1,h2,h3,h4{font-family:'Teko';font-weight:400;line-height:1.15;color:#fff;margin:0 0 .6em;letter-spacing:.02em}
.qex-wrap{max-width:1240px;margin:0 auto;padding:0 20px}
.qex-skip{position:absolute;left:-9999px;top:0;background:#e9c62f;color:#000;padding:8px 16px;z-index:999}
.qex-skip:focus{left:8px}
.qex-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 24px;border-radius:8px;font-family:'Teko';font-size:17px;letter-spacing:.05em;text-transform:uppercase;line-height:1;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;white-space:nowrap;border:1px solid transparent}
.qex-btn:hover{transform:translateY(-2px);filter:brightness(1.1);color:#fff}
.qex-btn-gold{background:linear-gradient(135deg,#e9c62f,#dbe86e);color:#1a1000;box-shadow:0 6px 22px rgba(0,0,0,.35)}
.qex-btn-red{background:linear-gradient(135deg,#36ade2,#7f1d1d);color:#fff}
.qex-btn-ghost{border-color:rgba(255,255,255,0.13);color:#e9eef2;background:rgba(255,255,255,.04)}
.qex-btn-dark{background:#101218;color:#dbe86e;border-color:rgba(255,255,255,0.13)}
.qex-btn-block{display:flex;width:100%;margin-top:10px}
.qex-section{padding:48px 0}
.qex-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:26px;flex-wrap:wrap}
.qex-section-title{font-size:34px;margin:0;text-transform:uppercase}
.qex-section-title em{font-style:normal;color:#dbe86e}
.qex-section-link{font-size:14px;letter-spacing:.04em;text-transform:uppercase;color:#a49fae}
.qex-section-link:hover{color:#dbe86e}
.qex-card{background:linear-gradient(180deg,#3a2b18,#4d3b23);border:1px solid rgba(255,255,255,0.13);border-radius:12px;overflow:hidden;transition:transform .25s ease,border-color .25s ease}
.qex-card:hover{transform:translateY(-4px);border-color:#e9c62f}
.qex-card-media{display:block;aspect-ratio:16/10;overflow:hidden}
.qex-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.qex-card:hover .qex-card-media img{transform:scale(1.06)}
.qex-card-body{padding:16px}
.qex-card-cat{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#dbe86e;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,0.13);padding:3px 9px;border-radius:99px;margin-bottom:8px}
.qex-card-title{font-size:19px;margin:0 0 8px}
.qex-card-title a{color:#fff}
.qex-card-title a:hover{color:#dbe86e}
.qex-card-excerpt{font-size:14px;color:#a49fae;margin-bottom:10px}
.qex-card-meta{font-size:12px;color:#a49fae;display:flex;gap:12px}
.qex-content-wrap{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:32px;padding-top:40px;padding-bottom:56px}
.qex-page-title{font-size:38px;text-transform:uppercase}
.qex-post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px}
.qex-none{color:#a49fae}
.qex-single-cat{margin-bottom:12px}
.qex-single-title{font-size:40px}
.qex-single-meta{display:flex;gap:18px;color:#a49fae;font-size:13px;margin-bottom:20px;text-transform:uppercase;letter-spacing:.05em}
.qex-single-media{margin:0 0 24px;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,0.13)}
.qex-single-content{font-size:17px}
.qex-single-content p{margin:0 0 1.2em}
.qex-single-content h2{font-size:28px;margin-top:1.4em}
.qex-single-content h3{font-size:22px;margin-top:1.2em}
.qex-single-content img{border-radius:10px}
.qex-single-cta{margin:36px 0;padding:26px;border-radius:14px;background:linear-gradient(120deg,#3a2b18,#4d3b23);border:1px solid #e9c62f;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.qex-single-cta strong{font-family:'Teko';font-size:24px;color:#fff;letter-spacing:.03em;text-transform:uppercase}
.qex-single-cta-btns{display:flex;gap:12px;flex-wrap:wrap}
.qex-related{margin-top:44px}
.qex-related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px}
.qex-sidebar{display:flex;flex-direction:column;gap:26px;align-self:start;position:sticky;top:90px}
.qex-widget{background:linear-gradient(180deg,#3a2b18,#4d3b23);border:1px solid rgba(255,255,255,0.13);border-radius:14px;padding:20px}
.qex-widget-cta{border-color:#e9c62f}
.qex-widget-cta strong{font-family:'Teko';font-size:20px;color:#dbe86e;text-transform:uppercase;letter-spacing:.04em}
.qex-widget-cta p{font-size:13px;color:#a49fae}
.qex-widget-title{font-size:20px;margin:0 0 14px;text-transform:uppercase;color:#dbe86e}
.qex-widget-list{list-style:none;margin:0;padding:0}
.qex-widget-list li{border-bottom:1px dashed rgba(255,255,255,0.13)}
.qex-widget-list a{display:block;padding:9px 2px;font-size:14px;color:#e9eef2}
.qex-widget-list a:hover{color:#dbe86e}
.qex-widget-posts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.qex-widget-posts a{display:flex;gap:10px;align-items:center;font-size:13px;color:#e9eef2}
.qex-widget-posts img{width:64px;height:44px;object-fit:cover;border-radius:6px;flex:none}
.qex-pagination .nav-links{display:flex;gap:8px;justify-content:center;margin-top:34px;flex-wrap:wrap}
.qex-pagination .page-numbers{padding:9px 15px;border:1px solid rgba(255,255,255,0.13);border-radius:8px;color:#e9eef2;font-size:14px}
.qex-pagination .page-numbers.current{background:#e9c62f;color:#000;border-color:#e9c62f}
.qex-searchform{display:flex;gap:8px}
.qex-searchform input{flex:1;min-width:0;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,0.13);color:#e9eef2;padding:10px 14px;border-radius:8px;font-family:inherit}
.qex-searchform button{background:#e9c62f;border:none;color:#000;font-family:'Teko';letter-spacing:.05em;padding:10px 18px;border-radius:8px;cursor:pointer;text-transform:uppercase}
.qex-err{padding:80px 20px;text-align:center;max-width:640px;margin:0 auto}
.qex-err-code{font-family:'Teko';font-size:120px;color:#e9c62f;display:block;line-height:1}
.qex-err-title{font-size:36px}
.qex-err-actions{display:flex;gap:14px;justify-content:center;margin:26px 0;flex-wrap:wrap}
.qex-legal{margin-top:44px;padding-top:26px;border-top:1px solid rgba(255,255,255,0.13)}
/* ---------- archive / search header band ---------- */
.qex-arch-head{padding:42px 0 26px;border-bottom:1px solid rgba(255,255,255,0.13);background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,0))}
.qex-arch-kicker{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#101218;background:linear-gradient(135deg,#e9c62f,#dbe86e);padding:5px 14px;border-radius:99px;margin-bottom:12px}
.qex-arch-title{font-size:38px;text-transform:uppercase;margin:0}
.qex-arch-title em{font-style:normal;color:#dbe86e}
.qex-arch-rule{display:block;width:92px;height:4px;border-radius:99px;background:linear-gradient(90deg,#e9c62f,#dbe86e);margin:14px 0 10px}
.qex-arch-desc{color:#a49fae;max-width:720px;margin:0 0 6px}
.qex-arch-search{max-width:480px;margin-top:6px}
.qex-arch-strip{display:flex;gap:12px;margin-top:20px;overflow-x:auto;padding-bottom:4px}
.qex-arch-poster{flex:none;width:170px;border-radius:10px;overflow:hidden;border:1px solid rgba(255,255,255,0.13);transition:border-color .2s ease,transform .2s ease}
.qex-arch-poster:hover{border-color:#e9c62f;transform:translateY(-2px)}
.qex-arch-poster img{width:100%;display:block;aspect-ratio:3/4;object-fit:cover}
/* ---------- designed empty state (zero posts) ---------- */
.qex-empty{padding:26px 0 12px}
.qex-empty-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px}
.qex-empty-poster{display:block;border-radius:10px;overflow:hidden;border:1px solid rgba(255,255,255,0.13);transition:border-color .2s ease}
.qex-empty-poster:hover{border-color:#e9c62f}
.qex-empty-poster img{width:100%;display:block;aspect-ratio:3/4;object-fit:cover}
.qex-empty-title{font-size:27px;text-transform:uppercase}
.qex-empty-text{color:#a49fae;max-width:640px}
.qex-empty-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
/* ---------- static-art fallback cards (no posts yet) ---------- */
.qex-static-card{display:block}
.qex-static-card .qex-card-title{display:block;font-weight:700;color:#fff}
.qex-static-banner{position:relative;display:block;margin-top:24px;border:1px solid #e9c62f;border-radius:14px;overflow:hidden}
.qex-static-banner img{width:100%;display:block;max-height:210px;object-fit:cover}
.qex-static-banner span{position:absolute;right:14px;bottom:14px;background:#36ade2;color:#fff;font-family:'Teko';font-size:13px;letter-spacing:.06em;text-transform:uppercase;padding:7px 14px;border-radius:8px}
@media(max-width:980px){
  .qex-content-wrap{grid-template-columns:1fr}
  .qex-sidebar{position:static}
  .qex-section{padding:34px 0}
  .qex-section-title{font-size:27px}
  .qex-single-title{font-size:30px}
}
@media(max-width:560px){
  body{font-size:15px}
  .qex-wrap{padding:0 14px}
  .qex-section-title{font-size:22px}
  .qex-page-title{font-size:26px}
  .qex-single-title{font-size:24px}
  .qex-post-grid{grid-template-columns:1fr}
  .qex-btn{padding:9px 16px;font-size:14px}
  .qex-arch-title{font-size:25px}
  .qex-arch-poster{width:126px}
  .qex-empty-strip{gap:8px}
  .qex-empty-title{font-size:21px}
  .qex-err-code{font-size:76px}
  .qex-err-title{font-size:26px}
  .qex-single-cta{flex-direction:column;align-items:flex-start}
}
