/*
Theme Name: HoangRuby Harbor
Theme URI: https://example.com/qot
Author: HoangRuby Studio
Author URI: https://example.com/qot
Description: Vietnamese gaming theme (stadium-full / soft / hero-framed) — 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: qotvn
*/

:root{--qot-acc:#51e6cb;--qot-acc2:#8ccbe9;--qot-hl:#e26a46;--qot-rad:12px;--qot-grad:150deg}


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

.qot-top{position:sticky;top:0;backdrop-filter:blur(8px);background:rgba(10,12,18,.92)}
.qot-menu a{letter-spacing:.14em;font-size:14px}

.qot-hero{position:relative;display:flex;align-items:center;background-size:cover;background-position:center;background-repeat:no-repeat;background-color:#1b3631}
.qot-hero-scrim{position:absolute;inset:0;background:linear-gradient(150deg,rgba(4,6,10,.92) 14%,rgba(4,6,10,.55) 58%,rgba(4,6,10,.22) 100%)}
.qot-hero-inner{position:relative;padding:74px 20px;max-width:1440px;margin:0 auto;width:100%}
.qot-hero-kicker{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#8ccbe9;border:1px solid #51e6cb;border-radius:99px;padding:7px 16px;margin-bottom:18px;background:rgba(0,0,0,.35)}
.qot-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)}
.qot-hero-title em{font-style:normal;color:#8ccbe9}
.qot-hero-sub{max-width:560px;color:#cfd3dd;font-size:17px;margin:0 0 26px}
.qot-hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.qot-hero-slant{position:absolute;left:0;right:0;bottom:-1px;height:90px;background:#09100f;clip-path:polygon(0 62%,100% 0,100% 100%,0 100%)}
.qot-hero-side{position:relative;margin:0 20px 0 auto;max-width:300px;background:rgba(42,81,74,.82);border:1px solid #51e6cb;border-radius:14px;padding:22px;box-shadow:0 8px 24px rgba(0,0,0,.35)}
.qot-hero-side strong{font-family:'Barlow Condensed';font-size:21px;color:#8ccbe9;text-transform:uppercase;display:block;margin-bottom:8px}
.qot-hero-side p{font-size:13px;color:#93a0a8}
.qot-hero-split{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding-top:56px;padding-bottom:56px;width:100%}
.qot-hero-figure{margin:0;border:1px solid rgba(255,255,255,0.13);border-radius:14px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.35)}
.qot-hero-figure img{width:100%;display:block}
.qot-hero-frame{display:grid;grid-template-columns:.9fr 1.1fr;gap:40px;align-items:center;padding-top:56px;padding-bottom:56px;width:100%}
.qot-hero-frame-art{border:3px solid #51e6cb;border-radius:14px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.35)}
.qot-hero-frame-art img{width:100%;display:block}
.qot-hero-band{display:grid;grid-template-columns:1.2fr .8fr;gap:30px;align-items:center;padding-top:30px;padding-bottom:30px;width:100%}
.qot-hero-band .qot-hero-title{font-size:40px;margin-bottom:12px}
.qot-hero-band-art{border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,0.13)}
.qot-hero-band-art img{width:100%;display:block;max-height:180px;object-fit:cover}
.qot-hero-score{display:flex;gap:10px;margin-top:22px;flex-wrap:wrap}
.qot-hero-score span{font-family:'Barlow Condensed';font-size:15px;color:#8ccbe9;border:1px solid rgba(255,255,255,0.13);background:rgba(0,0,0,.4);border-radius:8px;padding:7px 13px}

.qot-hero{min-height:420px}.qot-hero-title{font-size:50px}

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

.qot-sec.qot-sec-wall.qot-w1{background:transparent;border-top:1px solid rgba(255,255,255,0.13);padding:40px 0}
.qot-sec.qot-sec-board.qot-lb4{background:#1b3631;border-top:1px solid rgba(255,255,255,0.13);padding:62px 0}
.qot-sec.qot-sec-catnav.qot-cn2{background:#1b3631;border-top:1px solid rgba(255,255,255,0.13);padding:46px 0}
.qot-sec.qot-g5-4{background:#1b3631;border-top:1px solid rgba(255,255,255,0.13);padding:62px 0}
.qot-sec.qot-sec-iconrail.qot-ir2{background:#1b3631;border-top:1px solid rgba(255,255,255,0.13);padding:46px 0}
.qot-sec.qot-sec-bonus.qot-bt2{background:#1b3631;border-top:1px solid rgba(255,255,255,0.13);padding:46px 0}


.qot-footer{margin-top:64px;background:rgba(5,6,10,.92);border-top:1px solid __LINE__}
.qot-footer-nav{display:flex;gap:20px;flex-wrap:wrap;padding:18px 0;border-bottom:1px solid __LINE__;font-family:'Barlow Condensed';letter-spacing:.06em;text-transform:uppercase;font-size:14px}
.qot-footer-nav a{color:#f1efe9}
.qot-footer-nav a:hover{color:#8ccbe9}
.qot-footer-grid{display:grid;gap:34px;padding-top:48px;padding-bottom:12px}
.qot-footer-grid-mega4{grid-template-columns:1.4fr 1fr 1fr 1.1fr}
.qot-footer-grid-editorial3{grid-template-columns:1.3fr 1fr 1fr}
.qot-footer-grid-duo{grid-template-columns:1.4fr 1fr}
.qot-footer-grid-strip-cta{grid-template-columns:1.4fr 1fr}
.qot-footer-grid-hall5{grid-template-columns:1.3fr .9fr .9fr 1fr 1fr}
.qot-footer-brand img{height:46px;margin-bottom:14px}
.qot-footer-brand p{font-size:13px;color:#93a0a8}
.qot-footer-title{font-size:19px;text-transform:uppercase;color:#8ccbe9;margin:0 0 14px}
.qot-footer-col ul,.qot-footer-cats{list-style:none;margin:0;padding:0}
.qot-footer-col li{margin-bottom:9px}
.qot-footer-col a{font-size:14px;color:#93a0a8}
.qot-footer-col a:hover{color:#8ccbe9}
.qot-footer-note p{font-size:13px;color:#93a0a8}
.qot-footer-cta{background:linear-gradient(150deg,#1b3631,#2a514a);border:1px solid #51e6cb;border-radius:14px;padding:20px;align-self:start}
.qot-footer-cta strong{font-family:'Barlow Condensed';font-size:21px;color:#fff;text-transform:uppercase;display:block;margin-bottom:6px}
.qot-footer-cta p{font-size:13px;color:#93a0a8}
.qot-footer-strip{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:26px;padding:22px;background:linear-gradient(150deg,#2a514a,#1b3631);border:1px solid #51e6cb;border-radius:14px}
.qot-footer-strip strong{font-family:'Barlow Condensed';font-size:24px;text-transform:uppercase;color:#fff}

.qot-poster,.qot-wall-tile,.qot-faq-item,.qot-row,.qot-btn{border-radius:calc(12px + 8px)}.qot-sec{padding:54px 0}

@media(max-width:980px){
  .qot-burger{display:block}
  .qot-mainnav{display:none}
  .qot-mainnav.open{display:block}
  .qot-menu,.menu{flex-direction:column}
  .qot-top-cta{display:none}
  .qot-top-search{display:none}
  .qot-hero-title{font-size:38px}
  .qot-hero-split,.qot-hero-frame,.qot-hero-band{grid-template-columns:1fr}
  .qot-grid{grid-template-columns:repeat(2,1fr)}
  .qot-wall{columns:2}
  .qot-feature,.qot-promo{grid-template-columns:1fr}
  .qot-promo-card{grid-template-columns:1fr}
  .qot-stats{grid-template-columns:repeat(2,1fr)}
  .qot-footer-grid-mega4,.qot-footer-grid-hall5{grid-template-columns:1fr 1fr}
  .qot-footer-grid-editorial3{grid-template-columns:1fr}
  .qot-row{grid-template-columns:40px 1fr auto}
  .qot-row .qot-btn{display:none}
}
@media(max-width:560px){
  .qot-hero-title{font-size:28px}
  .qot-grid{grid-template-columns:1fr}
  .qot-wall{columns:1}
  .qot-stats{grid-template-columns:1fr 1fr}
  .qot-footer-grid-mega4,.qot-footer-grid-hall5,.qot-footer-grid-duo,.qot-footer-grid-strip-cta{grid-template-columns:1fr}
  .qot-bonus-row{grid-template-columns:1fr auto}
  .qot-bonus-row .qot-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:#f1efe9;-webkit-font-smoothing:antialiased;background-color:#09100f;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:#8ccbe9;text-decoration:none;transition:color .2s ease}
a:hover{color:#fff}
h1,h2,h3,h4{font-family:'Barlow Condensed';font-weight:400;line-height:1.15;color:#fff;margin:0 0 .6em;letter-spacing:.02em}
.qot-wrap{max-width:1240px;margin:0 auto;padding:0 20px}
.qot-skip{position:absolute;left:-9999px;top:0;background:#51e6cb;color:#000;padding:8px 16px;z-index:999}
.qot-skip:focus{left:8px}
.qot-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 24px;border-radius:8px;font-family:'Barlow Condensed';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}
.qot-btn:hover{transform:translateY(-2px);filter:brightness(1.1);color:#fff}
.qot-btn-gold{background:linear-gradient(135deg,#51e6cb,#8ccbe9);color:#1a1000;box-shadow:0 6px 22px rgba(0,0,0,.35)}
.qot-btn-red{background:linear-gradient(135deg,#e26a46,#7f1d1d);color:#fff}
.qot-btn-ghost{border-color:rgba(255,255,255,0.13);color:#f1efe9;background:rgba(255,255,255,.04)}
.qot-btn-dark{background:#101218;color:#8ccbe9;border-color:rgba(255,255,255,0.13)}
.qot-btn-block{display:flex;width:100%;margin-top:10px}
.qot-section{padding:48px 0}
.qot-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:26px;flex-wrap:wrap}
.qot-section-title{font-size:34px;margin:0;text-transform:uppercase}
.qot-section-title em{font-style:normal;color:#8ccbe9}
.qot-section-link{font-size:14px;letter-spacing:.04em;text-transform:uppercase;color:#93a0a8}
.qot-section-link:hover{color:#8ccbe9}
.qot-card{background:linear-gradient(180deg,#1b3631,#2a514a);border:1px solid rgba(255,255,255,0.13);border-radius:12px;overflow:hidden;transition:transform .25s ease,border-color .25s ease}
.qot-card:hover{transform:translateY(-4px);border-color:#51e6cb}
.qot-card-media{display:block;aspect-ratio:16/10;overflow:hidden}
.qot-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.qot-card:hover .qot-card-media img{transform:scale(1.06)}
.qot-card-body{padding:16px}
.qot-card-cat{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8ccbe9;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,0.13);padding:3px 9px;border-radius:99px;margin-bottom:8px}
.qot-card-title{font-size:19px;margin:0 0 8px}
.qot-card-title a{color:#fff}
.qot-card-title a:hover{color:#8ccbe9}
.qot-card-excerpt{font-size:14px;color:#93a0a8;margin-bottom:10px}
.qot-card-meta{font-size:12px;color:#93a0a8;display:flex;gap:12px}
.qot-content-wrap{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:32px;padding-top:40px;padding-bottom:56px}
.qot-page-title{font-size:38px;text-transform:uppercase}
.qot-post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px}
.qot-none{color:#93a0a8}
.qot-single-cat{margin-bottom:12px}
.qot-single-title{font-size:40px}
.qot-single-meta{display:flex;gap:18px;color:#93a0a8;font-size:13px;margin-bottom:20px;text-transform:uppercase;letter-spacing:.05em}
.qot-single-media{margin:0 0 24px;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,0.13)}
.qot-single-content{font-size:17px}
.qot-single-content p{margin:0 0 1.2em}
.qot-single-content h2{font-size:28px;margin-top:1.4em}
.qot-single-content h3{font-size:22px;margin-top:1.2em}
.qot-single-content img{border-radius:10px}
.qot-single-cta{margin:36px 0;padding:26px;border-radius:14px;background:linear-gradient(120deg,#1b3631,#2a514a);border:1px solid #51e6cb;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.qot-single-cta strong{font-family:'Barlow Condensed';font-size:24px;color:#fff;letter-spacing:.03em;text-transform:uppercase}
.qot-single-cta-btns{display:flex;gap:12px;flex-wrap:wrap}
.qot-related{margin-top:44px}
.qot-related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px}
.qot-sidebar{display:flex;flex-direction:column;gap:26px;align-self:start;position:sticky;top:90px}
.qot-widget{background:linear-gradient(180deg,#1b3631,#2a514a);border:1px solid rgba(255,255,255,0.13);border-radius:14px;padding:20px}
.qot-widget-cta{border-color:#51e6cb}
.qot-widget-cta strong{font-family:'Barlow Condensed';font-size:20px;color:#8ccbe9;text-transform:uppercase;letter-spacing:.04em}
.qot-widget-cta p{font-size:13px;color:#93a0a8}
.qot-widget-title{font-size:20px;margin:0 0 14px;text-transform:uppercase;color:#8ccbe9}
.qot-widget-list{list-style:none;margin:0;padding:0}
.qot-widget-list li{border-bottom:1px dashed rgba(255,255,255,0.13)}
.qot-widget-list a{display:block;padding:9px 2px;font-size:14px;color:#f1efe9}
.qot-widget-list a:hover{color:#8ccbe9}
.qot-widget-posts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.qot-widget-posts a{display:flex;gap:10px;align-items:center;font-size:13px;color:#f1efe9}
.qot-widget-posts img{width:64px;height:44px;object-fit:cover;border-radius:6px;flex:none}
.qot-pagination .nav-links{display:flex;gap:8px;justify-content:center;margin-top:34px;flex-wrap:wrap}
.qot-pagination .page-numbers{padding:9px 15px;border:1px solid rgba(255,255,255,0.13);border-radius:8px;color:#f1efe9;font-size:14px}
.qot-pagination .page-numbers.current{background:#51e6cb;color:#000;border-color:#51e6cb}
.qot-searchform{display:flex;gap:8px}
.qot-searchform input{flex:1;min-width:0;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,0.13);color:#f1efe9;padding:10px 14px;border-radius:8px;font-family:inherit}
.qot-searchform button{background:#51e6cb;border:none;color:#000;font-family:'Barlow Condensed';letter-spacing:.05em;padding:10px 18px;border-radius:8px;cursor:pointer;text-transform:uppercase}
.qot-err{padding:80px 20px;text-align:center;max-width:640px;margin:0 auto}
.qot-err-code{font-family:'Barlow Condensed';font-size:120px;color:#51e6cb;display:block;line-height:1}
.qot-err-title{font-size:36px}
.qot-err-actions{display:flex;gap:14px;justify-content:center;margin:26px 0;flex-wrap:wrap}
.qot-legal{margin-top:44px;padding-top:26px;border-top:1px solid rgba(255,255,255,0.13)}
/* ---------- archive / search header band ---------- */
.qot-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))}
.qot-arch-kicker{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#101218;background:linear-gradient(135deg,#51e6cb,#8ccbe9);padding:5px 14px;border-radius:99px;margin-bottom:12px}
.qot-arch-title{font-size:38px;text-transform:uppercase;margin:0}
.qot-arch-title em{font-style:normal;color:#8ccbe9}
.qot-arch-rule{display:block;width:92px;height:4px;border-radius:99px;background:linear-gradient(90deg,#51e6cb,#8ccbe9);margin:14px 0 10px}
.qot-arch-desc{color:#93a0a8;max-width:720px;margin:0 0 6px}
.qot-arch-search{max-width:480px;margin-top:6px}
.qot-arch-strip{display:flex;gap:12px;margin-top:20px;overflow-x:auto;padding-bottom:4px}
.qot-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}
.qot-arch-poster:hover{border-color:#51e6cb;transform:translateY(-2px)}
.qot-arch-poster img{width:100%;display:block;aspect-ratio:3/4;object-fit:cover}
/* ---------- designed empty state (zero posts) ---------- */
.qot-empty{padding:26px 0 12px}
.qot-empty-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px}
.qot-empty-poster{display:block;border-radius:10px;overflow:hidden;border:1px solid rgba(255,255,255,0.13);transition:border-color .2s ease}
.qot-empty-poster:hover{border-color:#51e6cb}
.qot-empty-poster img{width:100%;display:block;aspect-ratio:3/4;object-fit:cover}
.qot-empty-title{font-size:27px;text-transform:uppercase}
.qot-empty-text{color:#93a0a8;max-width:640px}
.qot-empty-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
/* ---------- static-art fallback cards (no posts yet) ---------- */
.qot-static-card{display:block}
.qot-static-card .qot-card-title{display:block;font-weight:700;color:#fff}
.qot-static-banner{position:relative;display:block;margin-top:24px;border:1px solid #51e6cb;border-radius:14px;overflow:hidden}
.qot-static-banner img{width:100%;display:block;max-height:210px;object-fit:cover}
.qot-static-banner span{position:absolute;right:14px;bottom:14px;background:#e26a46;color:#fff;font-family:'Barlow Condensed';font-size:13px;letter-spacing:.06em;text-transform:uppercase;padding:7px 14px;border-radius:8px}
@media(max-width:980px){
  .qot-content-wrap{grid-template-columns:1fr}
  .qot-sidebar{position:static}
  .qot-section{padding:34px 0}
  .qot-section-title{font-size:27px}
  .qot-single-title{font-size:30px}
}
@media(max-width:560px){
  body{font-size:15px}
  .qot-wrap{padding:0 14px}
  .qot-section-title{font-size:22px}
  .qot-page-title{font-size:26px}
  .qot-single-title{font-size:24px}
  .qot-post-grid{grid-template-columns:1fr}
  .qot-btn{padding:9px 16px;font-size:14px}
  .qot-arch-title{font-size:25px}
  .qot-arch-poster{width:126px}
  .qot-empty-strip{gap:8px}
  .qot-empty-title{font-size:21px}
  .qot-err-code{font-size:76px}
  .qot-err-title{font-size:26px}
  .qot-single-cta{flex-direction:column;align-items:flex-start}
}
