/*
Theme Name: CyberSingham — Homepage D
Theme URI: https://cybersingham.com/
Author: CyberSingham
Description: Light-blue CyberSingham cybercrime awareness WordPress theme based on the approved Homepage D layout.
Version: 3.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: cybersingham
*/
:root{
--navy:#071b35;--blue:#1268e8;--blue2:#2aa7ff;--cyan:#39c8ff;--sky:#eaf5ff;
--bg:#f3f8ff;--card:#ffffff;--line:#cfe2f5;--muted:#5f7690;--text:#10233f;
--red:#ef3038;--green:#0cae78;--shadow:0 12px 35px rgba(25,91,150,.10)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}.cs-wrap{width:min(1320px,calc(100% - 42px));margin:auto}

.cs-header{height:76px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:100;backdrop-filter:blur(12px)}
.cs-header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:30px}
.cs-brand{display:flex;align-items:center}.cs-brand img{width:195px;height:auto;display:block}
.cs-nav ul{display:flex;align-items:center;gap:25px;list-style:none;margin:0;padding:0}.cs-nav li{position:relative}
.cs-nav a{font-size:13px;font-weight:800;color:var(--navy);padding:29px 0;display:block}.cs-nav a:hover{color:var(--blue)}
.cs-nav .sub-menu{display:none;position:absolute;top:66px;left:-15px;width:250px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px;box-shadow:var(--shadow);z-index:200}
.cs-nav li:hover>.sub-menu{display:block}.cs-nav .sub-menu a{padding:10px 12px;border-radius:7px;white-space:normal}.cs-nav .sub-menu a:hover{background:#edf6ff}
.cs-report-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--red);margin-left:6px;box-shadow:0 0 10px rgba(239,48,56,.5);animation:pulse 1.7s infinite}@keyframes pulse{50%{opacity:.45}}
.cs-report-link{background:var(--blue)!important;color:#fff!important;padding:10px 15px!important;border-radius:8px!important;box-shadow:0 5px 15px rgba(18,104,232,.18)}

.cs-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#f8fcff 0%,#e6f3ff 52%,#d5ebff 100%);border-bottom:1px solid var(--line)}
.cs-hero:before{content:"";position:absolute;inset:0;opacity:.34;background-image:linear-gradient(rgba(36,132,214,.10) 1px,transparent 1px),linear-gradient(90deg,rgba(36,132,214,.10) 1px,transparent 1px);background-size:80px 80px}
.cs-hero-inner{position:relative;display:grid;grid-template-columns:1fr 1.05fr .78fr;align-items:center;gap:28px;min-height:470px;padding:42px 0}
.eyebrow{color:#0871e6;font-size:10px;font-weight:950;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:15px}
.cs-hero h1{font-size:clamp(43px,5vw,63px);line-height:.99;letter-spacing:-2.8px;margin:0 0 20px;font-weight:950;color:var(--navy)}
.cs-hero h1 .blue{color:var(--blue)}
.cs-hero-copy{color:#405b75;font-size:13px;line-height:1.65;max-width:510px}
.cs-actions{display:flex;gap:10px;margin-top:20px}.cs-btn{display:inline-flex;align-items:center;gap:8px;border-radius:7px;padding:11px 17px;font-size:12px;font-weight:900;border:1px solid var(--line)}
.cs-btn-blue{background:var(--blue);color:#fff;border-color:var(--blue)}.cs-btn-blue:hover{background:#0a56c8}
.cs-btn-light{background:#fff;color:var(--navy)}.cs-btn-light:hover{border-color:#77b8ee}
.cs-pills{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}.cs-pill{padding:6px 11px;border-radius:18px;background:#fff;border:1px solid #c9e0f6;color:#294968;font-size:10px;font-weight:800}

.cs-hero-art-wrap{position:relative;display:grid;place-items:center;min-height:370px}
.cs-hero-art{width:min(520px,100%);border-radius:28px;filter:drop-shadow(0 15px 28px rgba(27,111,180,.18));animation:float 5s ease-in-out infinite}
@keyframes float{50%{transform:translateY(-5px)}}
.cs-ring{position:absolute;width:82%;aspect-ratio:1;border:1px solid rgba(27,130,220,.18);border-radius:50%;animation:spin 18s linear infinite}.cs-ring:after{content:"";position:absolute;top:6%;right:22%;width:7px;height:7px;background:var(--cyan);border-radius:50%;box-shadow:0 0 12px var(--cyan)}@keyframes spin{to{transform:rotate(360deg)}}

.cs-awareness{background:rgba(255,255,255,.92);border:1px solid #c7def2;border-radius:15px;padding:20px 21px;box-shadow:var(--shadow)}
.cs-awareness .small{color:#0b72e9;font-size:9px;font-weight:950;letter-spacing:1.3px}.cs-awareness h2{font-size:20px;margin:7px 0 10px;color:var(--navy)}
.aware-row{display:grid;grid-template-columns:38px 1fr;gap:10px;padding:12px 0;border-top:1px solid #e1edf7}.aware-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#eef7ff;border:1px solid #c9e3f8;font-weight:900;color:var(--blue)}
.aware-row:first-of-type .aware-icon{color:#f23c44}.aware-row strong{display:block;font-size:11px}.aware-row span{display:block;font-size:9px;color:var(--muted);line-height:1.4;margin-top:3px}

.cs-feature-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:0;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 4px 20px rgba(30,93,145,.04)}
.feature{min-height:124px;padding:19px 16px;border-right:1px solid var(--line)}.feature:last-child{border-right:0}
.feature-icon{width:39px;height:39px;border-radius:11px;background:#eef7ff;border:1px solid #c8e2f7;display:grid;place-items:center;color:var(--blue);font-size:18px;margin-bottom:10px}
.feature:nth-child(2) .feature-icon{color:#08a978}.feature:nth-child(3) .feature-icon{color:#705be8}.feature:nth-child(4) .feature-icon{color:#d49a00}.feature:nth-child(5) .feature-icon{color:#0caeaa}.feature:nth-child(6) .feature-icon{color:#ef3d46}
.feature h3{font-size:12px;margin:0 0 6px;color:var(--navy)}.feature p{font-size:10px;line-height:1.4;color:var(--muted);margin:0}.explore{color:#0878ec;font-size:10px;font-weight:900;margin-top:8px;display:inline-block}

.cs-main{padding:18px 0 48px;background:#f4f9ff}.dashboard-grid{display:grid;grid-template-columns:1.15fr 1.05fr .78fr;gap:14px}
.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 5px 20px rgba(35,100,150,.05)}
.panel-head{display:flex;justify-content:space-between;align-items:center;padding:15px 17px;border-bottom:1px solid #e1edf7}.panel-head h2{font-size:14px;margin:0;color:var(--navy)}.panel-head .view{color:#0878ec;font-size:9px;font-weight:800}
.alert{display:grid;grid-template-columns:52px 1fr auto;gap:9px;padding:10px 14px;border-bottom:1px solid #edf3f8;align-items:start}.alert:last-child{border-bottom:0}
.badge{width:max-content;border-radius:5px;padding:4px 7px;font-size:8px;font-weight:950;color:#fff}.new{background:#ef3139}.alerted{background:#ff7b17}.caution{background:#f4c126;color:#13243b}
.alert strong{font-size:10px;display:block}.alert p{font-size:9px;color:var(--muted);margin:2px 0 0}.alert time{font-size:8px;color:#8297aa;white-space:nowrap}
.topic-list{padding:11px;display:flex;flex-wrap:wrap;gap:7px}.topic{padding:7px 10px;border-radius:17px;background:#f4f9ff;border:1px solid #d5e7f7;font-size:9px;font-weight:800;color:#294664}.topic:hover{border-color:#79b8ee;color:var(--blue)}.topic .dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--blue);margin-right:6px}
.report{padding:16px 17px}.report .redtitle{color:#ed3038;font-size:12px;font-weight:950}.report p{font-size:10px;color:var(--muted);line-height:1.5}.report-btn{display:flex;align-items:center;justify-content:space-between;background:#ef3038;border-radius:7px;padding:11px 12px;color:#fff;font-size:10px;font-weight:950;margin:12px 0}.report .phone{color:#ed3038;font-size:15px;font-weight:950}.report .phone small{color:#657c93;font-size:9px;margin-right:6px}
.stats{display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border:1px solid var(--line);border-radius:10px;margin-top:14px;overflow:hidden}.stat{text-align:center;padding:14px 8px;border-right:1px solid var(--line)}.stat:last-child{border-right:0}.stat b{display:block;font-size:17px;color:var(--navy)}.stat span{font-size:8px;color:var(--muted)}
.lower-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:14px;margin-top:14px}.articles{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;padding:12px}.article{border:1px solid #dbe9f6;border-radius:9px;overflow:hidden;background:#fbfdff}.article-thumb{height:66px;background:linear-gradient(135deg,#b8ddff,#2e89ed);display:grid;place-items:center;color:#fff;font-size:22px}.article-body{padding:9px}.article .tag{font-size:7px;color:#0878ec;font-weight:900}.article h3{font-size:10px;line-height:1.35;margin:5px 0;color:var(--navy)}.article p{font-size:8px;color:var(--muted);margin:0;line-height:1.4}
.subscribe{padding:15px}.subscribe h3{font-size:13px;margin:0 0 5px}.subscribe p{font-size:9px;color:var(--muted);line-height:1.5}.subscribe input{width:100%;background:#f7fbff;border:1px solid #cfe2f4;border-radius:6px;padding:9px;color:var(--navy);margin:7px 0;font-size:10px}.subscribe button{background:var(--blue);color:#fff;border:0;border-radius:6px;padding:9px 13px;font-weight:900;font-size:9px}
.cs-floating{position:fixed;right:16px;bottom:15px;width:62px;height:62px;z-index:999;pointer-events:none;filter:drop-shadow(0 7px 14px rgba(20,112,190,.28))}.cs-floating img{width:100%;height:100%;object-fit:contain}
.cs-footer{background:#071b35;border-top:1px solid #cfe2f5;padding:23px 0;color:#b9cbe0}.footer-row{display:flex;justify-content:space-between;align-items:center;gap:20px}.footer-brand{font-weight:900;color:#fff}.footer-brand span{color:#4cc8ff}.footer-links{display:flex;gap:18px;font-size:9px}.footer-links a:hover{color:#53caff}.copyright{font-size:8px;margin-top:15px;padding-top:12px;border-top:1px solid #1c3854}

@media(max-width:1120px){.cs-hero-inner{grid-template-columns:1fr .9fr}.cs-awareness{display:none}.cs-feature-strip{grid-template-columns:repeat(3,1fr)}.dashboard-grid{grid-template-columns:1fr 1fr}.dashboard-grid>.panel:last-child{grid-column:1/-1}.cs-nav ul{gap:15px}.cs-nav a{font-size:11px}.lower-grid{grid-template-columns:1fr}}
@media(max-width:760px){.cs-wrap{width:calc(100% - 28px)}.cs-header{height:auto}.cs-header-inner{padding:12px 0;align-items:flex-start;flex-direction:column}.cs-nav ul{flex-wrap:wrap;gap:3px 13px}.cs-nav a{padding:4px 0}.cs-nav .sub-menu{position:static;margin-top:4px}.cs-hero-inner{grid-template-columns:1fr;padding:30px 0}.cs-hero-art-wrap{order:-1;min-height:250px}.cs-hero-art{width:360px}.cs-hero h1{font-size:46px;letter-spacing:-2px}.cs-feature-strip{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.dashboard-grid>.panel:last-child{grid-column:auto}.stats{grid-template-columns:repeat(3,1fr)}.stat:nth-child(3){border-right:0}.stat:nth-child(n+4){border-top:1px solid var(--line)}.articles{grid-template-columns:repeat(2,1fr)}.footer-row{display:block}.footer-links{margin-top:12px;flex-wrap:wrap}}
@media(max-width:480px){.cs-hero h1{font-size:39px}.cs-feature-strip{grid-template-columns:1fr}.articles{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}}

/* Tools directory */
.cs-tools-page{background:var(--bg);min-height:70vh}.tools-hero{background:linear-gradient(135deg,#071f3d 0%,#0d4f83 55%,#1b91ce 100%);color:#fff;position:relative;overflow:hidden;border-bottom:1px solid #8dcff3}.tools-hero:before{content:"";position:absolute;inset:0;opacity:.18;background-image:linear-gradient(rgba(255,255,255,.22) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.22) 1px,transparent 1px);background-size:55px 55px}.tools-hero-grid{position:relative;display:grid;grid-template-columns:1fr 300px;gap:40px;align-items:center;padding:58px 0}.tools-hero h1{font-size:clamp(40px,5vw,62px);line-height:1;letter-spacing:-2.5px;margin:0 0 18px;color:#fff}.tools-hero h1 span{color:#56d1ff}.tools-hero p{max-width:690px;color:#d8edff;line-height:1.7;font-size:14px}.tools-search-wrap{margin-top:24px;display:flex;align-items:center;gap:10px;max-width:650px;background:#fff;border:1px solid rgba(255,255,255,.5);border-radius:10px;padding:0 14px;box-shadow:0 10px 30px rgba(0,0,0,.16)}.tools-search-wrap span{font-size:22px;color:#1676bd}.tools-search-wrap input{width:100%;border:0;outline:0;padding:14px 4px;font-size:13px;color:#12263f;background:transparent}.tools-hero-badge{width:240px;height:240px;border:1px solid rgba(127,221,255,.45);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle,#0d6098,#09233e 68%);box-shadow:0 0 50px rgba(49,197,255,.22),inset 0 0 35px rgba(49,197,255,.10);text-align:center;justify-self:center}.tools-hero-badge .tool-orbit{width:82px;height:82px;border-radius:24px;display:grid;place-items:center;background:#32c6ff;color:#05213e;font-size:34px;font-weight:950;box-shadow:0 0 28px rgba(50,198,255,.55);margin-bottom:15px}.tools-hero-badge strong{font-size:15px}.tools-hero-badge small{color:#bfeaff;margin-top:5px;font-size:9px;letter-spacing:.6px}.tools-content{padding:28px 0 55px}.tools-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.tools-toolbar>div:first-child{font-size:13px;color:var(--muted)}.tools-toolbar>div:first-child strong{font-size:22px;color:var(--navy);margin-right:5px}.tool-filters{display:flex;gap:7px;flex-wrap:wrap}.tool-filter{border:1px solid #c7dff2;background:#fff;color:#35516d;border-radius:18px;padding:8px 12px;font-size:10px;font-weight:900;cursor:pointer}.tool-filter:hover,.tool-filter.active{background:#0e75df;color:#fff;border-color:#0e75df}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.tool-card{position:relative;display:grid;grid-template-columns:50px 1fr;gap:13px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:17px;min-height:190px;box-shadow:0 5px 18px rgba(35,100,150,.045);transition:.2s transform,.2s box-shadow,.2s border-color}.tool-card:hover{transform:translateY(-3px);border-color:#8bc8ef;box-shadow:0 12px 28px rgba(35,100,150,.10)}.tool-icon{width:50px;height:50px;border-radius:14px;background:linear-gradient(135deg,#eaf7ff,#d7eeff);border:1px solid #b8dcf5;display:grid;place-items:center;font-size:24px}.tool-card-body{min-width:0}.tool-category{font-size:8px;color:#0878ec;font-weight:950;letter-spacing:1px}.tool-card h2{font-size:15px;line-height:1.25;margin:5px 0 7px;color:var(--navy)}.tool-card p{font-size:10px;line-height:1.5;color:var(--muted);margin:0 0 10px}.tool-tags span{display:inline-block;padding:5px 8px;border-radius:12px;background:#f2f8fe;color:#52708b;font-size:8px;font-weight:800}.tool-open{grid-column:2;color:#0878ec;font-size:10px;font-weight:950;align-self:end}.tool-open span{margin-left:5px}.featured-tools{margin-top:18px}.featured-tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0}.featured-tool-grid article{display:flex;gap:12px;padding:17px;border-right:1px solid var(--line)}.featured-tool-grid article:last-child{border-right:0}.featured-icon{width:48px;height:48px;flex:0 0 48px;border-radius:12px;background:#eaf6ff;border:1px solid #b9dcf4;display:grid;place-items:center;color:#086fdb;font-size:10px;font-weight:950}.featured-tool-grid h3{font-size:12px;color:var(--navy);margin:0 0 5px}.featured-tool-grid p{font-size:9px;line-height:1.45;color:var(--muted);margin:0 0 8px}.featured-tool-grid a{font-size:9px;font-weight:950;color:#0878ec}.tool-disclaimer{margin-top:16px;padding:14px 16px;border-radius:10px;border:1px solid #c7def0;background:#eef8ff;color:#45627d;font-size:9px;line-height:1.55}.tool-disclaimer strong{color:#b26a00}@media(max-width:980px){.tools-hero-grid{grid-template-columns:1fr}.tools-hero-badge{display:none}.tool-grid{grid-template-columns:repeat(2,1fr)}.featured-tool-grid{grid-template-columns:1fr}.featured-tool-grid article{border-right:0;border-bottom:1px solid var(--line)}.featured-tool-grid article:last-child{border-bottom:0}}@media(max-width:680px){.tools-toolbar{display:block}.tool-filters{margin-top:12px}.tool-grid{grid-template-columns:1fr}.tools-hero-grid{padding:40px 0}.tools-hero h1{font-size:43px}.tool-card{min-height:0}}
