/*
Theme Name: Qasim Simple
Author: OpenAI
Description: Clean, lightweight apps and games blog theme inspired by the simple Qasim 786 layout.
Version: 1.0
Requires at least: 6.0
*/
*{box-sizing:border-box}body{margin:0;background:#fff;color:#222;font:16px/1.7 Arial,Helvetica,sans-serif}a{color:#1769aa;text-decoration:none}a:hover{text-decoration:underline;color:#0d4778}.site-header{border-bottom:1px solid #e5e5e5;background:#fff}.head-wrap{max-width:1080px;margin:auto;padding:22px 18px;display:flex;align-items:center;justify-content:space-between;gap:20px}.site-title{font-size:27px;font-weight:700;color:#222}.site-description{font-size:13px;color:#777;margin-top:2px}.menu-toggle{display:none;border:1px solid #ddd;background:#fff;padding:7px 11px;border-radius:4px;font-size:20px}.main-nav{border-top:1px solid #eee}.nav-wrap{max-width:1080px;margin:auto;padding:0 18px;display:flex;align-items:center;gap:23px;min-height:43px}.nav-wrap a{font-size:14px;color:#333}.search-form{display:flex;gap:5px}.search-form input{width:180px;padding:8px 10px;border:1px solid #ddd;border-radius:3px}.search-form button{padding:8px 12px;border:0;background:#333;color:white;border-radius:3px;cursor:pointer}.container{max-width:1080px;margin:30px auto;padding:0 18px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:45px}.post{padding:0 0 25px;margin:0 0 25px;border-bottom:1px solid #e8e8e8;display:flex;gap:18px}.post-thumb{width:155px;height:125px;object-fit:cover;flex:none;background:#f2f2f2}.post-body{min-width:0}.post h2{font-size:23px;line-height:1.35;margin:0 0 7px;font-weight:600}.post-meta{font-size:12px;color:#888;margin-bottom:8px}.post-excerpt{font-size:14px;color:#555;line-height:1.65}.read-more{font-size:13px}.sidebar section{margin-bottom:28px}.sidebar h3{font-size:17px;margin:0 0 12px;padding-bottom:7px;border-bottom:1px solid #e5e5e5}.sidebar ul{list-style:none;margin:0;padding:0}.sidebar li{padding:5px 0;border-bottom:1px solid #f0f0f0;font-size:14px}.page-title{font-size:25px;margin:0 0 22px;padding-bottom:10px;border-bottom:1px solid #eee}.single-post{max-width:850px}.single-post h1{font-size:32px;line-height:1.3;margin:0 0 8px}.featured-image{max-width:100%;height:auto;margin:20px 0}.entry-content{font-size:16px;line-height:1.85}.entry-content h2,.entry-content h3{line-height:1.35;margin-top:28px}.download-box{padding:18px;background:#f7f7f7;border:1px solid #e5e5e5;margin:25px 0}.download-box a{display:inline-block;background:#222;color:#fff;padding:10px 20px;border-radius:3px}.pagination{display:flex;gap:8px;margin:25px 0}.page-numbers{padding:7px 11px;border:1px solid #ddd}.page-numbers.current{background:#333;color:#fff}.site-footer{border-top:1px solid #e5e5e5;margin-top:40px;padding:22px 18px;color:#888;font-size:13px}.footer-wrap{max-width:1080px;margin:auto}.screen-reader-text{position:absolute;left:-9999px}
@media(max-width:760px){.head-wrap{padding:16px}.site-title{font-size:23px}.menu-toggle{display:block}.nav-wrap{display:none;flex-direction:column;align-items:stretch;padding:10px 16px;gap:0}.nav-wrap.open{display:flex}.nav-wrap a{padding:9px 0;border-bottom:1px solid #eee}.search-form{padding:10px 0}.search-form input{width:100%}.container{margin:22px auto;padding:0 15px}.layout{grid-template-columns:1fr}.sidebar{border-top:1px solid #eee;padding-top:22px}.post{gap:12px}.post-thumb{width:105px;height:95px}.post h2{font-size:18px}.post-excerpt{font-size:13px}.single-post h1{font-size:26px}}
@media(max-width:420px){.post{display:block}.post-thumb{width:100%;height:180px;margin-bottom:12px}}


/* Adsterra ad spacing and responsive alignment */
.qasim-ad{clear:both;display:flex;justify-content:center;align-items:center;max-width:100%;overflow:hidden;margin:22px auto;padding:8px 0;text-align:center}
.qasim-ad iframe{max-width:100%}
.qasim-ad-native{display:block}
.qasim-ad-300{min-height:250px}
.qasim-ad-320{min-height:50px}
