/* ---- GameHub polish (both themes) ---- */
.single-post .entry-content p,.single-post .entry-content li{font-size:17px;line-height:1.8}
.single-post .entry-content h2{margin-top:2.2em;margin-bottom:.6em}
.single-post .entry-content h3{margin-top:1.6em}
.single-post .entry-content p{color:#d2cbbd}
.single-post .entry-content a{color:#dab04e;text-decoration:underline;text-underline-offset:3px}
.single-post .entry-content table{border-collapse:collapse;width:100%;border-radius:10px;overflow:hidden;font-size:15px}
.single-post .entry-content th{background:rgba(218,176,78,.14);color:#f1e3c0;text-align:left}
.single-post .entry-content th,.single-post .entry-content td{padding:10px 14px;border:1px solid #393222}
.single-post .entry-content tbody tr:nth-child(even) td{background:rgba(255,255,255,.025)}
.single-post .entry-content img{border-radius:12px}
.ast-author-box,.ast-single-author-box{border:1px solid #393222;border-radius:14px;padding:22px;margin-top:40px}
:focus-visible{outline:2px solid #dab04e;outline-offset:2px}
body:not(.page-id-1461) .grecaptcha-badge{visibility:hidden}
/* theme toggle */
.gh-theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;margin-left:10px;border-radius:50%;border:1px solid #393222;background:transparent;color:#dab04e;cursor:pointer;flex:0 0 auto;transition:background .2s,border-color .2s;padding:0}
.gh-theme-toggle:hover{border-color:#dab04e;background:rgba(218,176,78,.08)}
.gh-theme-toggle svg{width:18px;height:18px}
.gh-theme-toggle .gh-sun{display:none}
html[data-theme="light"] .gh-theme-toggle .gh-sun{display:block}
html[data-theme="light"] .gh-theme-toggle .gh-moon{display:none}
.gh-theme-toggle.gh-fixed{position:fixed;right:18px;bottom:18px;z-index:9999;background:#121212;box-shadow:0 4px 14px rgba(0,0,0,.35)}
.games-search-wrap{display:inline-block}
/* ---- light theme polish ---- */
html[data-theme="light"] .single-post .entry-content p,html[data-theme="light"] .single-post .entry-content li{color:#3d372d}
html[data-theme="light"] .single-post .entry-content a{color:#8a6510}
html[data-theme="light"] .single-post .entry-content th{background:#f3e9d2;color:#3a2f16}
html[data-theme="light"] .single-post .entry-content th,html[data-theme="light"] .single-post .entry-content td{border-color:#e3d8c2}
html[data-theme="light"] .single-post .entry-content tbody tr:nth-child(even) td{background:#faf6ee}
html[data-theme="light"] .ast-author-box,html[data-theme="light"] .ast-single-author-box{border-color:#e3d8c2;background:#fff}
html[data-theme="light"] .gh-theme-toggle{border-color:#e3d8c2;color:#8a6510}
html[data-theme="light"] .gh-theme-toggle.gh-fixed{background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.12)}
html[data-theme="light"] #games-search-input{background:#fff;color:#1b1813;border-color:#e3d8c2}
html[data-theme="light"] :focus-visible{outline-color:#8a6510}
/* light: keep image cards dark so covers stay vivid */
html[data-theme="light"] .game-card .game-card-overlay{background:linear-gradient(to top,rgb(10,10,10) 0%,rgba(10,10,10,.6) 26%,transparent 100%)!important}
html[data-theme="light"] .game-card .game-card-content-holder h3,html[data-theme="light"] .game-card .game-card-content-holder h3 a{color:#fff!important}
html[data-theme="light"] .game-card .game-card-content-holder .game-categories a{color:#f4d371!important}
html[data-theme="light"] .game-tab.active{background:linear-gradient(135deg,#b8852e,#f4d371,#b8852e)!important;color:#0f0f0f!important;border-color:transparent!important}
/* plain (non-Elementor) posts: Astra boxed layout defaults to light - match site theme */
.ast-separate-container,.ast-separate-container .ast-article-single,.ast-separate-container .ast-author-box,.ast-separate-container .post-navigation,.ast-separate-container .comments-area{background-color:#0a0a0a!important}
.single-post .entry-title,.single-post .entry-content h2,.single-post .entry-content h3,.single-post .entry-content strong{color:#f5f0e6}
.single-post .entry-meta,.single-post .entry-meta a{color:#afa99d}
.single-post .entry-content td{color:#d2cbbd}
html[data-theme="light"] .ast-separate-container{background-color:#f6f2ea!important}
html[data-theme="light"] .ast-separate-container .ast-article-single,html[data-theme="light"] .ast-separate-container .ast-author-box,html[data-theme="light"] .ast-separate-container .post-navigation{background-color:#fff!important}
html[data-theme="light"] .single-post .entry-title,html[data-theme="light"] .single-post .entry-content h2,html[data-theme="light"] .single-post .entry-content h3,html[data-theme="light"] .single-post .entry-content strong{color:#1b1813}
html[data-theme="light"] .single-post .entry-meta,html[data-theme="light"] .single-post .entry-meta a{color:#574f42}
html[data-theme="light"] .single-post .entry-content td{color:#3d372d}
.single-post .entry-content li{color:#d2cbbd}
html[data-theme="light"] .single-post .entry-content li{color:#3d372d}
.single-post.ast-separate-container .site-content>.ast-container{padding-left:24px;padding-right:24px}
.gh-inline-fig{margin:1.4em 0 1.8em}.gh-inline-fig img{width:100%;height:auto;border-radius:12px;border:1px solid rgba(218,176,78,.25)}
