/*
Theme Name: Hero11 Red White
Theme URI: https://hero11ipls.com/
Author: Hero11
Description: A bold, modern red-and-white gaming directory theme with editable game listings, responsive layouts and custom homepage sections.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hero11
*/
:root{--red:#f20d18;--red-dark:#c90012;--ink:#17191f;--muted:#68707c;--paper:#fff;--soft:#f4f5f7;--line:#e5e7eb;--radius:20px;--shadow:0 14px 40px rgba(20,24,35,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:#fff;color:var(--ink);font:16px/1.7 Inter,system-ui,-apple-system,"Segoe UI",sans-serif}img{max-width:100%;height:auto;display:block}a{color:var(--red-dark);text-decoration:none}a:hover{color:var(--red)}button,input,textarea{font:inherit}.container{max-width:1200px;margin:auto;padding:0 24px}.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.header-inner{max-width:1200px;margin:auto;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand-wrap{display:flex;align-items:center;gap:12px;min-width:0}.brand-wrap .custom-logo{width:auto;max-width:150px;max-height:58px;object-fit:contain}.site-title{font-weight:1000;font-size:1.3rem;letter-spacing:-.06em;color:#151515;line-height:1}.site-description{font-size:.72rem;color:#777;margin-top:5px}.site-nav ul{display:flex;gap:6px;align-items:center;list-style:none;margin:0;padding:0}.site-nav a{display:block;padding:10px 13px;border-radius:10px;color:#282b32;font-size:.9rem;font-weight:750}.site-nav a:hover,.site-nav .current-menu-item>a{background:#fff0f1;color:var(--red)}.site-nav li:last-child>a{background:var(--red);color:white;padding-inline:19px}.menu-toggle{display:none;background:#17191f;color:white;border:0;border-radius:10px;padding:10px 14px;font-weight:800}.hero{position:relative;overflow:hidden;background:var(--red);color:#fff}.hero:before{content:"";position:absolute;width:560px;height:560px;border:1px solid rgba(255,255,255,.22);border-radius:50%;right:-130px;top:-280px;box-shadow:0 0 0 55px rgba(255,255,255,.06),0 0 0 115px rgba(255,255,255,.04)}.hero:after{content:"11";position:absolute;right:7%;bottom:-100px;font-size:clamp(15rem,30vw,28rem);font-weight:1000;line-height:1;color:rgba(255,255,255,.07);letter-spacing:-.1em;pointer-events:none}.hero-inner{max-width:1200px;margin:auto;padding:78px 24px 82px;display:grid;grid-template-columns:1.2fr .8fr;gap:48px;align-items:center;position:relative;z-index:1}.eyebrow{display:inline-flex;padding:7px 12px;border:1px solid rgba(255,255,255,.5);border-radius:999px;background:rgba(255,255,255,.12);font-size:.76rem;font-weight:850;text-transform:uppercase;letter-spacing:.1em}.hero h1{font-size:clamp(2.5rem,5.8vw,5rem);line-height:.99;letter-spacing:-.065em;margin:20px 0 18px;max-width:760px}.hero p{font-size:1.08rem;max-width:620px;color:#fff0f0;margin:0 0 27px}.hero-art{justify-self:center;width:min(100%,390px);aspect-ratio:1;background:#fff;border-radius:34px;padding:15px;box-shadow:0 25px 65px rgba(90,0,10,.25);transform:rotate(3deg)}.hero-art img{width:100%;height:100%;object-fit:contain;border-radius:23px}.art-placeholder{height:100%;display:grid;place-items:center;background:#fff;color:var(--red);font-size:6rem;font-weight:1000;letter-spacing:-.1em}.button-row{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 21px;border-radius:12px;font-weight:850;transition:.2s transform,.2s box-shadow}.btn:hover{transform:translateY(-2px)}.btn-primary{background:#fff;color:var(--red-dark);box-shadow:0 8px 20px rgba(90,0,10,.15)}.btn-primary:hover{background:#fff0f1;color:var(--red-dark)}.btn-dark{background:#17191f;color:#fff}.btn-outline{border:1px solid rgba(255,255,255,.65);color:#fff}.section{padding:66px 0}.section.soft{background:var(--soft)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:27px}.section-kicker{font-size:.73rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase;color:var(--red)}.section-heading h2{font-size:clamp(1.8rem,3vw,2.65rem);letter-spacing:-.055em;line-height:1.1;margin:6px 0 0}.section-heading p{margin:8px 0 0;color:var(--muted)}.section-link{font-weight:850}.feature-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.feature-card{padding:23px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:var(--shadow)}.feature-icon{width:43px;height:43px;border-radius:13px;background:#fff0f1;color:var(--red);display:grid;place-items:center;font-size:1.25rem;font-weight:950}.feature-card h3{margin:14px 0 5px;font-size:1.08rem}.feature-card p{margin:0;color:var(--muted);font-size:.92rem}.directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.directory-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.22s transform,.22s box-shadow;box-shadow:0 5px 20px rgba(20,24,35,.045)}.directory-card:hover{transform:translateY(-5px);box-shadow:0 18px 36px rgba(20,24,35,.12)}.directory-media{height:190px;background:linear-gradient(145deg,#fff0f1,#f1f2f4);display:grid;place-items:center;padding:18px;position:relative}.directory-media img{height:100%;width:100%;object-fit:contain}.directory-placeholder{width:104px;height:104px;border-radius:26px;background:var(--red);color:#fff;display:grid;place-items:center;font-size:2rem;font-weight:1000;letter-spacing:-.08em}.directory-body{padding:17px}.directory-body h3{margin:0 0 7px;font-size:1.08rem;letter-spacing:-.025em}.directory-body p{margin:0 0 15px;color:var(--muted);font-size:.9rem;line-height:1.55;min-height:4.2em}.game-visit{display:flex;align-items:center;justify-content:space-between;padding-top:12px;border-top:1px solid var(--line);font-size:.86rem;font-weight:900;color:var(--red)}.game-visit span:last-child{font-size:1.15rem}.directory-more{text-align:center;margin-top:30px}.panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:var(--shadow)}.info-layout{display:grid;grid-template-columns:180px 1fr;gap:25px;align-items:center}.info-logo{background:#fff0f1;border-radius:18px;padding:10px}.info-logo img{width:100%;border-radius:12px}.info-table{width:100%;border-collapse:collapse}.info-table th,.info-table td{text-align:left;padding:11px 13px;border-bottom:1px solid var(--line);font-size:.93rem}.info-table th{width:36%;color:#555;font-weight:800}.info-table td{color:#30343b}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:25px}.entry-content{color:#343943}.entry-content h2,.entry-content h3{color:#17191f;line-height:1.2}.entry-content img{border-radius:14px}.sidebar-card{padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--soft)}.sidebar-card h3{margin-top:0}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.post-card{border:1px solid var(--line);border-radius:17px;overflow:hidden;background:#fff}.post-card .thumb img,.post-card .thumb-placeholder{width:100%;aspect-ratio:16/9;object-fit:cover}.thumb-placeholder{display:grid;place-items:center;background:#fff0f1;color:var(--red);font-weight:950}.post-card-body{padding:17px}.post-card h3{margin:0 0 8px;font-size:1.05rem}.post-card p{margin:0;color:var(--muted);font-size:.9rem}.page-header{background:#f5f6f8;border-bottom:1px solid var(--line);padding:35px 0}.page-header h1{font-size:clamp(2rem,4vw,3.1rem);letter-spacing:-.06em;margin:0}.breadcrumbs{font-size:.84rem;color:var(--muted);margin-bottom:8px}.site-footer{background:#17191f;color:#fff;padding:48px 0 25px}.footer-inner{max-width:1200px;margin:auto;padding:0 24px;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:35px}.footer-title{font-size:1.4rem;font-weight:1000;letter-spacing:-.05em}.site-footer p{color:#bfc3cc;max-width:400px}.site-footer strong{display:block;margin-bottom:10px}.site-footer a{color:#e5e7eb}.site-footer a:hover{color:#ff6b72}.site-footer .menu{list-style:none;margin:0;padding:0;display:grid;gap:7px}.footer-bottom{max-width:1200px;margin:30px auto 0;padding:18px 24px 0;border-top:1px solid #343740;color:#aeb3bd;font-size:.84rem}.mobile-cta{display:none}.screenreader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:980px){.directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-inner{gap:28px}.site-nav a{padding:9px}.directory-media{height:165px}}
@media(max-width:720px){body{font-size:15px}.container{padding:0 16px}.header-inner{padding:10px 16px}.menu-toggle{display:block}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:12px 16px 18px;border-bottom:2px solid var(--red);box-shadow:0 15px 28px rgba(0,0,0,.1)}.site-nav.is-open{display:block}.site-nav ul{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}.site-nav a{background:#f5f6f8}.site-nav li:last-child>a{background:var(--red)}.hero-inner{grid-template-columns:1fr;padding:52px 18px 48px;gap:32px}.hero h1{font-size:clamp(2.6rem,11vw,4rem)}.hero-art{width:min(75vw,290px);grid-row:1}.hero:after{font-size:15rem;right:-15px}.section{padding:46px 0}.section-heading{display:block}.feature-strip{grid-template-columns:1fr}.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.directory-media{height:145px;padding:12px}.directory-body{padding:13px}.directory-body p{font-size:.84rem;min-height:5.1em}.directory-body h3{font-size:.98rem}.game-visit{font-size:.8rem}.info-layout{grid-template-columns:1fr}.info-logo{max-width:125px}.info-table th,.info-table td{padding:9px 7px;font-size:.85rem}.content-grid{grid-template-columns:1fr}.post-grid{grid-template-columns:1fr 1fr;gap:12px}.post-card-body{padding:12px}.footer-inner{grid-template-columns:1fr;gap:22px;padding:0 18px}.site-footer{padding-bottom:95px}.mobile-cta{display:block;position:fixed;bottom:0;left:0;right:0;z-index:90;background:rgba(255,255,255,.97);border-top:1px solid var(--line);padding:10px 15px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -8px 25px rgba(0,0,0,.08)}.mobile-cta .btn{width:100%;background:var(--red);color:#fff;min-height:46px}.panel{padding:18px}}
@media(max-width:380px){.directory-grid{grid-template-columns:1fr}.directory-media{height:180px}.post-grid{grid-template-columns:1fr}}
