
/* Kheloyaar Option E - Gaming Safety Hub */
:root{--bg:#fff9f7!important;--ink:#491A2A!important;--accent:#DC786E!important;--panel:#F8E5DF!important;--glow:#DC786E!important;--maroon:#491A2A;--coral:#DC786E;--blush:#F8E5DF}
body{background:#fff9f7!important;color:#491A2A!important;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif!important}
header{background:#491A2A!important;color:#fff7f4!important;border:0!important;box-shadow:0 6px 30px #491a2a20}
header .strip{background:#35111e!important;color:#ffd9d1!important;font-size:11px;letter-spacing:.15em}
header .mast{min-height:82px}header .logo{color:white!important}header .logo span{color:#DC786E!important}
header nav a{color:#fff7f4!important}header nav a:hover{color:#ffb6a8!important}
header .search input{background:#fff!important;color:#491A2A!important;border:1px solid #e8b4ad!important}
header button,.open{background:#DC786E!important;color:#32121f!important;border-color:#DC786E!important;font-weight:800}
main{max-width:1240px!important;margin:36px auto 90px!important}
main h1,main h2,main h3{color:#491A2A;letter-spacing:-.025em}
main a:not(.cta){color:#7b293c}main a:hover{color:#c25352}
body[data-home] .hero{border-radius:26px;overflow:hidden;background:#491A2A;box-shadow:0 20px 60px #491a2a30}
body[data-home] .slide{min-height:540px!important;background:#491A2A!important}
body[data-home] .slide::after{background:linear-gradient(90deg,#491a2afa 0%,#491a2ae9 48%,#491a2a65 100%)!important}
body[data-home] .slide-copy{padding:clamp(35px,6vw,90px)!important;max-width:800px}
body[data-home] .slide h1,body[data-home] .slide h2{color:#fff!important;font-size:clamp(2.6rem,5vw,5.3rem)!important;line-height:1.05}
body[data-home] .slide p{color:#ffe4df!important;font-size:1.1rem}
body[data-home] .slide .kicker{color:#ffc4b9!important}
.cta,main .cta{background:#DC786E!important;color:#36131e!important;border:0!important;border-radius:12px!important;padding:13px 22px!important;font-weight:800}
.controls{background:#491A2A!important;border:1px solid #ffffff45;border-radius:12px!important}
.controls button{background:#DC786E!important;color:#491A2A!important}
.format-note{border-radius:18px!important;background:#F8E5DF!important;border:1px solid #efc3bb!important;margin:30px 0!important;padding:24px!important}
.directory{padding:50px 0!important}.directory .tiles{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
.directory .tiles a{display:flex!important;align-items:center;min-height:110px;background:white!important;border:1px solid #ebc5bf!important;border-radius:20px!important;padding:26px!important;box-shadow:0 10px 28px #491a2a0d;font-weight:800;text-decoration:none!important}
.directory .tiles a:before{content:'✦';font-size:24px;color:#DC786E;margin-right:18px}
.faq{background:#fff!important;padding:40px!important;border-radius:24px!important;border:1px solid #f0d0c9!important;margin-top:40px!important}
.faq details{border-bottom:1px solid #efcbc4!important;padding:17px 0!important}.faq summary{cursor:pointer;font-weight:700}
.reference-footer,footer{background:#491A2A!important;color:#fff5f2!important}
footer a{color:#fff5f2!important}footer h2,footer h3{color:#ffb7aa!important}
/* All inner pages - readable editorial knowledge layouts */
body:not([data-home]) main{background:#fff!important;border:1px solid #efd6d1;border-radius:24px;padding:clamp(22px,4vw,52px)!important;box-shadow:0 16px 40px #491a2a0c}
body:not([data-home]) main h1{font-size:clamp(2.1rem,4vw,3.4rem)!important;line-height:1.13}
body:not([data-home]) main h2{margin-top:1.5em!important;border-left:5px solid #DC786E;padding-left:16px}
body:not([data-home]) main h3{color:#762f41!important}
body:not([data-home]) main img{max-width:100%;height:auto;border-radius:16px}
article,section{scroll-margin-top:100px}
/* Pop-up, modal and forms */
[role=dialog],.modal,.popup,.pop-modal,.auth-modal{--accent:#DC786E!important;--bg:#fff9f7!important;--ink:#491A2A!important}
[role=dialog] button,.modal button,.popup button{border-radius:10px}
@media(max-width:750px){header .mast{flex-wrap:wrap!important}header nav{order:3;width:100%;justify-content:center}header .search{width:100%}header .search input{width:100%}body[data-home] .slide{min-height:480px!important}.directory .tiles{grid-template-columns:1fr 1fr!important}main{width:94%!important}.faq{padding:22px!important}}
@media(max-width:480px){.directory .tiles{grid-template-columns:1fr!important}}

/* Option E homepage-specific split hero and knowledge cards */
.hub-hero{display:grid;grid-template-columns:1.15fr .85fr;min-height:530px;border-radius:26px;overflow:hidden;background:#491A2A;color:#fff;box-shadow:0 20px 55px #491a2a24}
.hub-copy{padding:clamp(28px,5vw,76px);display:flex;flex-direction:column;justify-content:center}
.hub-eyebrow{color:#DC786E;font-weight:900;letter-spacing:.16em;font-size:12px;margin:0 0 15px}
.hub-copy h1{color:#fff!important;font-size:clamp(2.7rem,5vw,5rem);line-height:1.06;letter-spacing:-.045em;margin-bottom:22px}
.hub-copy p:not(.hub-eyebrow){color:#ffe2db;font-size:18px;max-width:570px}
.hub-copy form{display:flex;gap:8px;margin:22px 0 14px;max-width:590px}.hub-copy input{background:#fff;color:#491A2A;border:0;border-radius:12px;padding:17px;flex:1;min-width:0}.hub-copy button{background:#DC786E;color:#491A2A;border:0;border-radius:12px;padding:14px 22px;font-weight:900}
.hub-links{display:flex;gap:20px;flex-wrap:wrap}.hub-links a{color:#ffd1c7!important;font-weight:700}
.hub-visual{position:relative;overflow:hidden}.hub-visual img{width:100%;height:100%;object-fit:cover}.hub-visual-note{position:absolute;left:24px;bottom:24px;right:24px;padding:18px 22px;background:#fff7f1ed;border-radius:16px;color:#491A2A;display:flex;flex-direction:column}
.hub-section{padding:68px 0 28px}.hub-section h2,.hub-feature h2{font-size:clamp(2rem,3.5vw,3.2rem);line-height:1.12}
.hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:26px}.hub-grid a{background:#fff;border:1px solid #f0cfc7;border-radius:22px;min-height:170px;padding:28px;font-size:29px;text-decoration:none;display:flex;flex-direction:column;gap:9px;box-shadow:0 12px 30px #491a2a0b}.hub-grid strong{font-size:19px;color:#491A2A}.hub-grid span{font-size:14px;color:#78515d}
.hub-feature{margin:58px 0 10px;padding:clamp(30px,5vw,65px);background:#F8E5DF;border-radius:26px;display:grid;grid-template-columns:1.5fr .5fr;gap:30px;align-items:center}.hub-feature p{max-width:680px}.hub-feature-stats{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;align-items:center}.hub-feature-stats strong{font-size:44px;color:#491A2A}.hub-feature-stats span{font-size:13px}
.hub-faq{background:white;border-radius:20px;padding:22px 32px;border:1px solid #f0cfc7}.hub-faq details{padding:20px 0;border-bottom:1px solid #f2d8d2}.hub-faq summary{font-weight:800;cursor:pointer}
@media(max-width:850px){.hub-hero{grid-template-columns:1fr}.hub-visual{max-height:270px}.hub-grid{grid-template-columns:repeat(2,1fr)}.hub-feature{grid-template-columns:1fr}}
@media(max-width:550px){.hub-grid{grid-template-columns:1fr}.hub-copy form{flex-direction:column}.hub-feature-stats{grid-template-columns:auto 1fr}}


/* V2: banner visibility and consistent spacing */
html{scroll-padding-top:90px}
body{overflow-x:hidden}
body[data-home] main#main{width:min(94%,1280px)!important;max-width:1280px!important;margin:36px auto 90px!important;padding:0!important;display:block!important;background:transparent!important;border:0!important;box-shadow:none!important}
body[data-home] .hub-hero{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;align-items:stretch!important;min-height:480px!important;margin:0 0 64px!important;isolation:isolate}
body[data-home] .hub-copy{min-width:0;position:relative;z-index:2}
body[data-home] .hub-visual{display:block!important;position:relative!important;min-width:0!important;min-height:480px!important;background:#6e3545!important;isolation:isolate}
body[data-home] .hub-visual>img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;opacity:1!important;visibility:visible!important;object-fit:cover!important;z-index:0!important;filter:none!important}
body[data-home] .hub-visual-note{z-index:2!important}
body[data-home] .hub-section{padding:0!important;margin:0 0 72px!important;clear:both}
body[data-home] .hub-feature{margin:0 0 76px!important}
body[data-home] .hub-grid{margin-top:30px!important}
body[data-home] .hub-faq{margin-top:28px!important}
body:not([data-home]) main{margin-top:42px!important;margin-bottom:88px!important}
body:not([data-home]) main img{display:block;max-width:100%;height:auto}
@media(max-width:850px){body[data-home] .hub-hero{grid-template-columns:1fr!important;margin-bottom:44px!important}body[data-home] .hub-visual{min-height:280px!important;height:280px!important}body[data-home] .hub-section{margin-bottom:48px!important}body[data-home] .hub-feature{margin-bottom:52px!important}}
@media(max-width:550px){body[data-home] main#main{width:94%!important;margin:20px auto 54px!important}body[data-home] .hub-visual{height:240px!important;min-height:240px!important}body[data-home] .hub-copy{padding:30px 23px!important}body[data-home] .hub-copy h1{font-size:clamp(2.15rem,9vw,3.1rem)!important}body:not([data-home]) main{margin-top:24px!important;margin-bottom:54px!important}}

/* Expanded homepage educational content */
.kh-deep-content,.kh-safety-workflow,.kh-resource-band{max-width:1200px;margin:54px auto;padding:0 22px;box-sizing:border-box}
.kh-deep-head{max-width:780px;margin-bottom:24px}.kh-deep-head h2,.kh-workflow-intro h2,.kh-resource-band h2{color:#491a2a;font-size:clamp(1.6rem,3vw,2.35rem);line-height:1.16;margin:9px 0 12px}.kh-deep-head p,.kh-workflow-intro p,.kh-resource-band p{line-height:1.7}
.kh-deep-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.kh-deep-card{background:#fff;border:1px solid #efc7c0;border-radius:17px;padding:27px 25px;box-shadow:0 9px 24px rgba(73,26,42,.04);display:flex;flex-direction:column;gap:12px;min-width:0}.kh-deep-num{font-size:.74rem;font-weight:800;letter-spacing:.1em;color:#a74f48}.kh-deep-card h3{font-size:1.27rem;line-height:1.3;color:#491a2a;margin:0}.kh-deep-card p{line-height:1.65;margin:0}.kh-deep-card ul{padding-left:20px;margin:0 0 10px;line-height:1.65;flex:1}.kh-deep-card li+li{margin-top:6px}.kh-deep-card a{color:#491a2a;font-weight:800;text-underline-offset:4px}
.kh-safety-workflow{background:#f8e5df;border-radius:22px;padding:36px 34px}.kh-workflow-intro{max-width:740px;margin-bottom:23px}.kh-workflow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.kh-workflow-grid article{background:#fff;border:1px solid #ecc6be;border-radius:15px;padding:20px}.kh-workflow-grid strong{display:grid;place-items:center;background:#491a2a;color:white;border-radius:12px;width:40px;height:40px;font-size:1.2rem}.kh-workflow-grid h3{color:#491a2a;font-size:1.05rem;margin:14px 0 7px}.kh-workflow-grid p{margin:0;line-height:1.6}
.kh-resource-band{background:#491a2a;color:#fff;border-radius:20px;padding:32px 36px;display:flex;align-items:center;justify-content:space-between;gap:28px}.kh-resource-band h2{color:#fff}.kh-resource-band>div:first-child{max-width:740px}.kh-resource-band .hub-eyebrow{color:#ffb0a4}.kh-resource-actions{display:flex;flex-direction:column;gap:12px;min-width:230px}.kh-resource-actions a{display:block;text-align:center;border-radius:10px;background:#dc786e;color:#2b111a;padding:14px 18px;font-weight:800;text-decoration:none}.kh-resource-actions a:last-child{background:#fff;color:#491a2a}
@media(max-width:900px){.kh-deep-grid{grid-template-columns:1fr 1fr}.kh-workflow-grid{grid-template-columns:1fr 1fr}.kh-resource-band{flex-direction:column;align-items:stretch}.kh-resource-actions{min-width:0}}
@media(max-width:620px){.kh-deep-content,.kh-safety-workflow,.kh-resource-band{margin:34px 16px;padding:24px 18px}.kh-deep-content{padding:0}.kh-deep-grid,.kh-workflow-grid{grid-template-columns:1fr}.kh-deep-card{padding:22px}.kh-resource-band{gap:16px}}
