/*
Theme Name: SlotsBoost Editorial
Theme URI: https://slotsboost.com/
Author: SlotsBoost
Description: Responsive editorial gaming portal theme for SlotsBoost.
Version: 4.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: slotsboost
*/
:root{--bg:#0c1220;--panel:#151e30;--line:#29354b;--text:#f3f5fa;--muted:#aab6ca;--gold:#f5c45b;--orange:#f47d48}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.7 system-ui,-apple-system,Segoe UI,sans-serif}a{color:var(--gold);text-decoration:none}a:hover{text-decoration:underline}.wrap{max-width:1180px;margin:auto;padding:0 22px}.site-header{background:#10192a;border-bottom:1px solid var(--line)}.header-inner{display:flex;justify-content:space-between;align-items:center;gap:22px;min-height:88px}.brand{font-weight:900;font-size:29px;letter-spacing:-1.5px;color:#fff}.brand span{color:var(--orange)}.nav ul{display:flex;gap:23px;list-style:none;padding:0;margin:0;flex-wrap:wrap}.nav a{color:#dce4ef;font-size:14px;font-weight:650}.hero{padding:76px 0;background:radial-gradient(circle at 80% 20%,#25355a 0,transparent 45%),linear-gradient(130deg,#111c30,#0c1220)}.eyebrow{color:var(--gold);text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:800}.hero h1{font-size:clamp(38px,5vw,65px);line-height:1.12;max-width:760px;margin:14px 0 22px;letter-spacing:-2px}.hero p{max-width:640px;color:var(--muted);font-size:18px}.btn{display:inline-block;background:var(--gold);color:#161a24;padding:13px 22px;border-radius:8px;font-weight:800;margin-top:12px}.section{padding:48px 0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.section h2{font-size:28px;margin:0}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.card{background:var(--panel);border:1px solid var(--line);border-radius:13px;overflow:hidden}.card-media{height:190px;background:linear-gradient(140deg,#283a60,#1d2840);display:flex;align-items:center;justify-content:center;color:var(--gold);font-weight:900;font-size:36px}.card-media img{width:100%;height:100%;object-fit:cover}.card-body{padding:22px}.card h3{font-size:19px;line-height:1.4;margin:8px 0}.card h3 a{color:#fff}.meta{color:var(--muted);font-size:12px}.pill{display:inline-block;color:var(--gold);font-size:12px;font-weight:750;text-transform:uppercase;letter-spacing:1px}.page-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:44px;padding:50px 0}.article{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:32px;overflow-wrap:anywhere}.article h1{font-size:clamp(30px,4vw,45px);line-height:1.2}.article img{max-width:100%;height:auto}.article p,.article li{color:#d7dfec}.sidebar-box{background:var(--panel);padding:23px;border-radius:12px;border:1px solid var(--line);margin-bottom:20px}.sidebar-box ul{padding-left:20px}.footer{border-top:1px solid var(--line);padding:40px 0;color:var(--muted);font-size:14px}.footer-inner{display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap}.footer a{color:#c7d2e5}.pagination{margin-top:30px}.pagination .page-numbers{display:inline-block;padding:7px 13px;background:var(--panel);border-radius:6px;margin:3px}.screen-reader-text{position:absolute;left:-9999px}.wp-block-image img{height:auto}.search-form{display:flex;gap:7px}.search-field{min-width:0;width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;background:#0c1220;color:white}.search-submit{background:var(--gold);border:0;border-radius:6px;padding:10px;cursor:pointer}@media(max-width:850px){.header-inner{align-items:flex-start;flex-direction:column;padding-top:20px;padding-bottom:20px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.page-grid{grid-template-columns:1fr}.hero{padding:55px 0}}@media(max-width:580px){.cards{grid-template-columns:1fr}.hero h1{letter-spacing:-1px}.article{padding:21px}.nav ul{gap:12px}}

/* V2: denser homepage and featured game cards */
.hero-v2{padding:43px 0 46px}
.hero-v2-inner{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.85fr);align-items:center;gap:42px}
.hero-v2 h1{font-size:clamp(35px,4.3vw,56px);max-width:680px;margin:10px 0 13px}
.hero-v2 h1 span{color:var(--gold)}
.hero-v2 p{font-size:16px;line-height:1.65;margin:0 0 13px}
.hero-v2 .btn{margin-top:8px}
.hero-secondary{display:inline-block;margin-left:18px;font-size:14px;font-weight:700}
.hero-highlight{border:1px solid #3b4a68;border-radius:16px;background:linear-gradient(140deg,#253658,#18243b);padding:25px}
.hero-highlight-label{font-size:11px;letter-spacing:2px;font-weight:800;color:var(--gold);margin-bottom:11px}
.hero-highlight strong{display:block;font-size:25px;line-height:1.2}
.hero-highlight p{font-size:13px;margin:12px 0 18px}
.hero-highlight-tags{display:flex;flex-wrap:wrap;gap:7px}
.hero-highlight-tags span{border:1px solid #51617e;border-radius:30px;padding:4px 9px;color:#dce5f4;font-size:11px}
.featured-section,.latest-section,.topics-section{padding:37px 0}
.featured-section{background:#10192a}
.section-head{margin-bottom:18px}
.section-head h2{font-size:27px;line-height:1.25;margin-top:5px}
.section-head>a{font-size:14px;white-space:nowrap}
.featured-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.featured-game{display:block;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#18243a;color:#fff;transition:transform .2s,border-color .2s}
.featured-game:hover{transform:translateY(-3px);border-color:var(--gold);text-decoration:none}
.featured-art{height:152px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 45% 35%,#9b5439,#392039 70%)}
.game-2 .featured-art{background:radial-gradient(circle at 45% 35%,#b58837,#50345b 75%)}
.game-3 .featured-art{background:radial-gradient(circle at 45% 35%,#397d9a,#20365e 75%)}
.game-4 .featured-art{background:radial-gradient(circle at 45% 35%,#7b4fbc,#302052 75%)}
.featured-art img{width:100%;height:100%;object-fit:cover}
.game-symbol{font-size:53px;line-height:1.2;color:#ffda7c;text-shadow:0 5px 20px #0008}
.game-art-title{font-size:17px;font-weight:900;text-align:center;text-shadow:0 2px 8px #0009}
.featured-game-body{position:relative;padding:12px 30px 14px 14px}
.featured-game-body strong{display:block;font-size:16px;line-height:1.35}
.featured-game-body small{display:block;color:var(--muted);font-size:12px;margin-top:3px}
.game-arrow{position:absolute;right:13px;top:13px;color:var(--gold)}
.section-note{font-size:12px;color:var(--muted);margin:12px 0 0}
.latest-section .card-media{height:155px}
.latest-section .card-body{padding:17px}
.latest-section .card h3{font-size:18px}
.empty-stories{grid-column:1/-1;padding:22px;background:var(--panel);border:1px dashed var(--line);border-radius:12px}
.empty-stories p{color:var(--muted);margin:5px 0 0}
.topics-section{background:#111a2a}
.topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.topic-tile{position:relative;display:flex;flex-direction:column;gap:5px;background:#1a263c;border:1px solid var(--line);border-radius:11px;padding:19px 28px 19px 17px;color:#fff}
.topic-tile strong{font-size:16px}.topic-tile small{font-size:12px;color:var(--muted)}.topic-tile span{position:absolute;right:12px;top:16px;color:var(--gold)}
@media(max-width:950px){.hero-v2-inner{grid-template-columns:1fr}.hero-highlight{display:none}.featured-grid,.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.hero-v2{padding:36px 0}.hero-v2 h1{font-size:38px}.hero-secondary{margin-left:12px}.featured-grid{gap:10px}.featured-art{height:120px}.game-symbol{font-size:37px}.game-art-title{font-size:14px}.featured-game-body{padding:10px 20px 12px 10px}.featured-game-body strong{font-size:14px}.featured-game-body small{font-size:11px}.topic-grid{grid-template-columns:1fr}.section-head h2{font-size:23px}}

/* V3 refinements: tighter editorial homepage, better card rhythm, accessibility */
.hero-v2{padding:32px 0 34px}.hero-v2 h1{font-size:clamp(34px,4vw,52px);letter-spacing:-1.8px}.hero-highlight{padding:20px}.hero-highlight strong{font-size:23px}
.featured-section,.latest-section,.topics-section{padding:30px 0}.featured-art{height:145px}.latest-section .card-media{height:160px}.card-body p{font-size:14px;color:var(--muted);line-height:1.65}
.editorial-strip{background:linear-gradient(120deg,#18253e,#111a2c);border-top:1px solid var(--line)}.editorial-strip-inner{display:flex;align-items:center;justify-content:space-between;gap:35px}.editorial-strip h2{font-size:25px;margin:5px 0}.editorial-strip p{color:var(--muted);max-width:720px;margin:0}.editorial-strip .btn{flex-shrink:0;margin:0}
a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:4px}.featured-art img{display:block}.site-header{position:relative;z-index:2}
@media(max-width:850px){.header-inner{gap:12px}.nav{width:100%;overflow-x:auto}.nav ul{flex-wrap:nowrap;white-space:nowrap;padding-bottom:6px}.editorial-strip-inner{align-items:flex-start;flex-direction:column}}
@media(max-width:580px){.hero-v2{padding:28px 0 30px}.hero-v2 h1{font-size:36px}.featured-art{height:118px}.section-head{align-items:flex-start}.section-head>a{font-size:12px}.hero-secondary{display:block;margin:12px 0 0}.brand{font-size:27px}}

/* V4: content-first landing page */
.sb-library-intro{max-width:850px;margin:0 0 28px;color:#b5c4df;font-size:1.08rem;line-height:1.75}
.sb-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:28px 0 38px}
.sb-library-item{padding:25px;background:#1b2942;border:1px solid #34425e;border-radius:16px;display:block;color:#f3f5ff;text-decoration:none}
.sb-library-item:hover{border-color:#f6c45b;transform:translateY(-2px)}
.sb-library-item strong{display:block;font-size:1.35rem;margin-bottom:10px}.sb-library-item span{color:#b5c4df;line-height:1.6}
.sb-reading-note{padding:22px 26px;border-left:4px solid #f6c45b;background:#1b2942;border-radius:8px;margin:30px 0}
.sb-page-wrap{max-width:1080px;margin:0 auto;padding:55px 28px 85px}.sb-page-wrap h1{font-size:clamp(2.2rem,4vw,3.6rem);margin-bottom:18px}.sb-page-wrap h2{margin-top:36px}.sb-page-wrap p{line-height:1.8;color:#b5c4df}
@media(max-width:700px){.sb-library-grid{grid-template-columns:1fr}.sb-page-wrap{padding:34px 20px 60px}}
