:root{--qtm-primary:#400763;--qtm-secondary:#715284;--qtm-surface:#fbf9f8;--qtm-text:#1b1c1c;--qtm-muted:#4c4450;--qtm-outline:#cfc3d1;--qtm-container:1200px;--qtm-font:'Work Sans',Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--qtm-surface);color:var(--qtm-text);font-family:var(--qtm-font);font-size:14px;line-height:1.55}a{color:inherit;text-decoration:none}a:hover{color:var(--qtm-primary)}img{max-width:100%;height:auto}.qtm-container{max-width:var(--qtm-container);margin:auto;padding:0 20px}.qtm-header{background:var(--qtm-primary);color:#fff;position:sticky;top:0;z-index:50}.qtm-nav-wrap{height:60px;display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0}.qtm-logo{font-size:22px;font-weight:800;white-space:nowrap}.qtm-logo img{max-height:42px;width:auto}.qtm-menu{display:flex;gap:18px;align-items:center;height:100%;list-style:none;margin:0;padding:0;min-width:0;flex-wrap:nowrap}.qtm-menu a{color:rgba(255,255,255,.82);font-weight:600;display:flex;align-items:center;height:100%;white-space:nowrap;border-bottom:0;padding-top:4px;padding-bottom:4px}.qtm-menu .current-menu-item>a,.qtm-menu a:hover{color:#fff;border-bottom:0}.qtm-search{display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:4px 10px}.qtm-search input{width:150px;background:transparent;border:0;color:#fff;outline:0}.qtm-search input::placeholder{color:rgba(255,255,255,.7)}.qtm-ad{background:#f5f3f3;border:1px solid rgba(207,195,209,.55);border-radius:8px;text-align:center;padding:10px;margin:16px 0}.qtm-ad-label{font-size:10px;text-transform:uppercase;color:#7e7481;margin-bottom:4px}.qtm-ad-box{border:1px dashed #7e7481;background:#dbdad9;color:#4c4450;min-height:90px;display:flex;align-items:center;justify-content:center}.qtm-ad img{display:block;margin:auto;max-width:100%}.qtm-layout{display:flex;gap:20px;margin-top:24px;margin-bottom:40px}.qtm-main{flex:1;min-width:0}.qtm-sidebar{width:300px;flex-shrink:0}.hero-grid{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-bottom:40px}.hero-stack{display:grid;gap:16px}.hero-card{position:relative;overflow:hidden;border-radius:8px;min-height:192px;background:#ddd;box-shadow:0 4px 12px rgba(0,0,0,.08)}.hero-card.large{min-height:400px}.hero-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:.45s}.hero-card:hover img{transform:scale(1.05)}.hero-card:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.88),rgba(0,0,0,.25),transparent)}.hero-content{position:absolute;z-index:2;left:0;bottom:0;padding:22px;color:#fff}.badge{display:inline-block;background:var(--qtm-primary);color:#fff;border-radius:3px;padding:3px 7px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.hero-card h2{font-size:28px;line-height:1.18;margin:10px 0 8px}.hero-card h3{font-size:18px;line-height:1.25;margin:8px 0}.meta{font-size:12px;color:#7e7481}.hero-card .meta{color:rgba(255,255,255,.68)}.section-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--qtm-outline);padding-bottom:8px;margin-bottom:24px}.section-head h2{font-size:22px;border-left:4px solid var(--qtm-primary);padding-left:12px;margin:0}.latest-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px 34px;margin-bottom:38px}.mini-post{display:flex;gap:14px}.mini-post img{width:120px;height:80px;object-fit:cover;border-radius:7px;flex-shrink:0}.mini-post h3{font-size:15px;line-height:1.35;margin:0 0 8px}.post-list{display:grid;gap:30px}.list-post{display:flex;gap:22px}.list-post img{width:280px;aspect-ratio:16/9;object-fit:cover;border-radius:8px;flex-shrink:0}.list-post h3{font-size:20px;line-height:1.25;margin:0 0 8px}.list-post p{color:var(--qtm-muted);margin:8px 0 0}.widget{background:#fff;border:1px solid rgba(207,195,209,.55);border-radius:8px;padding:18px;margin-bottom:24px}.widget-title{font-size:16px;font-weight:800;border-bottom:2px solid var(--qtm-primary);padding-bottom:8px;margin:0 0 14px}.newsletter{background:linear-gradient(135deg,#58257b,#400763);color:#fff}.newsletter input{width:100%;padding:10px;border:1px solid rgba(255,255,255,.28);border-radius:5px;background:rgba(255,255,255,.15);color:#fff;margin:8px 0}.newsletter button,.btn{display:inline-block;background:var(--qtm-primary);color:#fff;border:0;border-radius:5px;padding:10px 16px;font-weight:800;cursor:pointer}.newsletter button{background:#fff;color:var(--qtm-primary);width:100%}.rank-list{counter-reset:item;list-style:none;padding:0;margin:0}.rank-list li{counter-increment:item;display:flex;gap:10px;margin:0 0 14px}.rank-list li:before{content:counter(item,decimal-leading-zero);font-weight:800;color:#7e7481}.side-post{display:flex;gap:10px;margin-bottom:14px}.side-post img{width:64px;height:64px;object-fit:cover;border-radius:5px}.utility-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.utility-grid a{background:#fff;border:1px solid rgba(207,195,209,.55);border-radius:5px;text-align:center;padding:10px 6px;font-size:13px;font-weight:700}.utility-grid a:hover{background:var(--qtm-primary);color:#fff}.qtm-pagination{display:flex;gap:8px;justify-content:center;margin-top:28px}.qtm-pagination ul{display:flex;gap:8px;list-style:none;margin:0;padding:0}.qtm-pagination .page-numbers{border:1px solid var(--qtm-outline);padding:6px 10px;border-radius:4px}.qtm-pagination .current{background:#efeded;font-weight:800}.qtm-footer{background:#303031;color:#f2f0f0;margin-top:45px;padding:45px 0}.qtm-footer-grid{display:flex;justify-content:space-between;gap:40px}.qtm-footer p{opacity:.75}.qtm-footer-links{display:grid;grid-template-columns:repeat(2,1fr);gap:40px}.qtm-footer a{display:block;margin:8px 0;opacity:.82}.content-card{background:#fff;border-radius:8px;border:1px solid rgba(207,195,209,.55);padding:28px}.entry-title{font-size:32px;line-height:1.2;margin:0 0 10px}.entry-content{font-size:16px;line-height:1.75}.entry-content img{border-radius:8px}.mobile-menu-toggle{display:none;background:transparent;border:0;color:#fff;font-size:24px}@media(max-width:900px){.qtm-layout{flex-direction:column}.qtm-sidebar{width:100%}.hero-grid,.latest-grid{grid-template-columns:1fr}.qtm-menu{display:none;position:absolute;left:0;right:0;top:60px;background:var(--qtm-primary);height:auto;padding:12px 20px;flex-direction:column;align-items:flex-start}.qtm-menu.is-open{display:flex}.mobile-menu-toggle{display:block}.qtm-search{display:none}.list-post{flex-direction:column}.list-post img{width:100%}.hero-card.large{min-height:330px}.qtm-footer-grid{flex-direction:column}}@media(max-width:520px){.mini-post{align-items:flex-start}.hero-card h2{font-size:24px}.qtm-logo{font-size:18px}}

/* v1.0.4: bỏ viền bao quanh navigation/pagination wrapper */
.qtm-pagination,.qtm-pagination ul,.navigation.pagination,.pagination,.nav-links{border:0!important;box-shadow:none!important;background:transparent!important;}
.qtm-menu a,.qtm-menu .current-menu-item>a,.qtm-menu a:hover{border:0!important;text-decoration:none;}

/* v1.0.5: top advertisement aligns with main content container */
.qtm-top-ad-container{margin-top:16px;margin-bottom:16px;}
.qtm-top-ad-container .qtm-ad{margin:0;}

/* v1.0.9: image ads display as the banner itself, without label/border wrapper */
.qtm-ad.qtm-ad-has-image{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.qtm-ad.qtm-ad-has-image img{display:block;margin:0 auto;width:auto;height:auto;}
.qtm-ad.qtm-ad-has-image .qtm-ad-label{display:none!important;}
.qtm-ad.qtm-ad-has-image.qtm-ad-auto-resize{max-width:100%;}
.qtm-ad.qtm-ad-has-image.qtm-ad-auto-resize.qtm-ad-ad_top{width:728px;height:90px;margin-left:auto;margin-right:auto;}
.qtm-ad.qtm-ad-has-image.qtm-ad-auto-resize.qtm-ad-ad_mid,.qtm-ad.qtm-ad-has-image.qtm-ad-auto-resize.qtm-ad-ad_bottom{width:780px;height:96px;margin-left:auto;margin-right:auto;}
.qtm-ad.qtm-ad-has-image.qtm-ad-auto-resize.qtm-ad-ad_sidebar_1,.qtm-ad.qtm-ad-has-image.qtm-ad-auto-resize.qtm-ad-ad_sidebar_2{width:300px;height:250px;margin-left:auto;margin-right:auto;}

/* v1.0.8: auto resize advertisement images to each suggested placement size */
.qtm-ad-auto-resize img{display:block;margin-left:auto;margin-right:auto;object-fit:cover;max-width:100%;}
.qtm-ad-auto-resize.qtm-ad-ad_top img{width:728px;height:90px;}
.qtm-ad-auto-resize.qtm-ad-ad_mid img,.qtm-ad-auto-resize.qtm-ad-ad_bottom img{width:780px;height:96px;}
.qtm-ad-auto-resize.qtm-ad-ad_sidebar_1 img,.qtm-ad-auto-resize.qtm-ad-ad_sidebar_2 img{width:300px;height:250px;}
@media(max-width:820px){.qtm-ad-auto-resize.qtm-ad-ad_top img,.qtm-ad-auto-resize.qtm-ad-ad_mid img,.qtm-ad-auto-resize.qtm-ad-ad_bottom img{width:100%;height:auto;aspect-ratio:728/90;}}


/* v1.0.9 overrides: when an ad image exists, the visual size is the banner size itself */
.qtm-ad-has-image.qtm-ad-auto-resize img{width:100%!important;height:100%!important;object-fit:cover;}
@media(max-width:820px){
  .qtm-ad.qtm-ad-has-image.qtm-ad-auto-resize.qtm-ad-ad_top,
  .qtm-ad.qtm-ad-has-image.qtm-ad-auto-resize.qtm-ad-ad_mid,
  .qtm-ad.qtm-ad-has-image.qtm-ad-auto-resize.qtm-ad-ad_bottom{width:100%;height:auto;aspect-ratio:728/90;}
  .qtm-ad.qtm-ad-has-image.qtm-ad-auto-resize.qtm-ad-ad_sidebar_1,
  .qtm-ad.qtm-ad-has-image.qtm-ad-auto-resize.qtm-ad-ad_sidebar_2{max-width:300px;width:100%;height:auto;aspect-ratio:300/250;}
}
