:root{
  --gg-bg:#212121;
  --gg-blue:#2196f3; --gg-blue2:#1565c0;
  --gg-red:#ff3b3b; --gg-teal:#2b5d7a; --gg-yellow:#f4e767;
  --gg-text:#212121; --gg-muted:#5f6b7a;
  --gg-display:'Acme','Quicksand',sans-serif;
  --gg-sub:'Quicksand',sans-serif;
  --gg-body:'Roboto',sans-serif;
  --gg-head:var(--gg-display);
}
*{box-sizing:border-box}
body.gg-blog{margin:0;font-family:var(--gg-body);color:var(--gg-text);
  background-color:var(--gg-bg);
  background-image:url(https://d266key948fg17.cloudfront.net/uploads/1636262653e876a6cc3e55f2f4aefcec8b6fe4698d.jpg);
  background-size:cover;background-position:center;background-attachment:fixed;min-height:100vh}
.gg-wrap{max-width:1100px;margin:0 auto;padding:0 20px}
.gg-site-header{background:rgba(33,33,33,.88);padding:14px 0;position:sticky;top:0;z-index:10;border-bottom:1px solid rgba(255,255,255,.08)}
.gg-site-header .gg-wrap{display:flex;align-items:center;justify-content:space-between}
.gg-logo img{height:44px;width:auto;border-radius:10px}
.gg-nav a{color:#fff;text-decoration:none;font-family:var(--gg-sub);font-weight:600;margin-left:18px;font-size:17px;opacity:.85}
.gg-nav a.active,.gg-nav a:hover{opacity:1;color:var(--gg-blue)}
main.gg-wrap{padding-top:40px;padding-bottom:60px}
.gg-blog-head{text-align:center;color:#fff;margin-bottom:30px}
.gg-blog-head h1{font-family:var(--gg-display);font-size:46px;margin:0 0 8px;color:#fff;letter-spacing:.5px}
.gg-blog-head p{color:#d7e3ef;margin:0;font-family:var(--gg-sub)}
.gg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:22px}
.gg-card{background:#fff;border-radius:14px;padding:22px;box-shadow:0 8px 24px rgba(0,0,0,.35);display:flex;flex-direction:column;gap:10px;transition:transform .15s}
.gg-card:hover{transform:translateY(-4px)}
.gg-card-cat{display:inline-block;align-self:flex-start;background:var(--gg-blue);color:#fff;font-size:12px;font-weight:600;padding:4px 12px;border-radius:6px;text-transform:uppercase;letter-spacing:.04em;font-family:var(--gg-sub)}
.gg-card-title{font-family:var(--gg-sub);font-weight:700;font-size:22px;margin:4px 0;line-height:1.2}
.gg-card-title a{color:var(--gg-text);text-decoration:none}
.gg-card-title a:hover{color:var(--gg-blue)}
.gg-card-excerpt{color:var(--gg-muted);margin:0;flex:1;font-size:15px;line-height:1.55}
.gg-card-meta{color:#9aa3b2;font-size:13px;font-family:var(--gg-sub)}
.gg-btn{display:inline-block;align-self:flex-start;background:linear-gradient(135deg,var(--gg-blue),var(--gg-blue2));color:#fff;text-decoration:none;font-family:var(--gg-sub);font-weight:600;padding:10px 22px;border-radius:8px;font-size:15px;transition:filter .15s}
.gg-btn:hover{filter:brightness(1.08)}
.gg-empty{color:#fff;text-align:center;font-family:var(--gg-sub)}
.gg-post{max-width:780px;margin:0 auto;background:#fff;border-radius:16px;padding:36px;box-shadow:0 8px 24px rgba(0,0,0,.35)}
.gg-post-title{font-family:var(--gg-display);font-size:36px;margin:6px 0 8px;line-height:1.15;letter-spacing:.3px}
.gg-post-meta{color:var(--gg-muted);font-size:14px;margin-bottom:18px;font-family:var(--gg-sub)}
.gg-post-body{font-size:17px;line-height:1.7;color:var(--gg-text)}
.gg-post-body h2,.gg-post-body h3{font-family:var(--gg-sub);font-weight:700;color:var(--gg-text);margin-top:28px;line-height:1.25}
.gg-post-body img{max-width:100%;height:auto;border-radius:12px;margin:14px 0}
.gg-post-body a{color:var(--gg-blue);text-decoration:underline}
.gg-post-body pre{background:#0f172a;color:#e2e8f0;padding:14px;border-radius:10px;overflow:auto}
.gg-post-body blockquote{border-left:4px solid var(--gg-blue);margin:16px 0;padding:8px 16px;background:#eef5fc;color:#3a4a5a}
.gg-back{margin-top:24px}
.gg-back a{color:var(--gg-blue);text-decoration:none;font-weight:600;font-family:var(--gg-sub)}
.gg-site-footer{text-align:center;color:#cdd6f4;padding:26px 0;font-size:14px;font-family:var(--gg-sub)}
.gg-site-footer a{color:#fff;opacity:.85;text-decoration:none}
/* ===== Admin (consistent with site) ===== */
.gg-admin{max-width:920px;margin:30px auto;background:#fff;border-radius:16px;padding:28px;box-shadow:0 8px 24px rgba(0,0,0,.35)}
.gg-admin h1{font-family:var(--gg-display);color:var(--gg-text);margin-top:0;letter-spacing:.3px}
.gg-admin table{width:100%;border-collapse:collapse;margin-top:14px}
.gg-admin th,.gg-admin td{text-align:left;padding:10px;border-bottom:1px solid #eee;font-size:14px;font-family:var(--gg-body)}
.gg-admin th{color:var(--gg-muted);font-weight:600;font-family:var(--gg-sub)}
.gg-score{display:inline-block;min-width:42px;text-align:center;font-family:var(--gg-sub);font-weight:700;border-radius:999px;padding:3px 10px;color:#fff;font-size:14px}
.gg-score.good{background:#43a047}.gg-score.ok{background:var(--gg-blue)}.gg-score.bad{background:var(--gg-red)}
.gg-form label{display:block;font-weight:600;margin:14px 0 6px;color:var(--gg-text);font-family:var(--gg-sub)}
.gg-form input[type=text],.gg-form textarea,.gg-form select{width:100%;padding:10px 12px;border:1px solid #d6dbe4;border-radius:10px;font-family:var(--gg-body);font-size:15px}
.gg-form textarea{min-height:240px;line-height:1.5}
.gg-form .row{display:flex;gap:16px;flex-wrap:wrap}
.gg-form .row > div{flex:1;min-width:220px}
.gg-seo{background:#f4f8fc;border:1px solid #dbe7f3;border-radius:12px;padding:16px;margin-top:18px}
.gg-seo h3{margin:0 0 10px;font-family:var(--gg-display)}
.gg-seo ul{list-style:none;padding:0;margin:0}
.gg-seo li{padding:6px 0;border-bottom:1px solid #eef1f6;font-size:14px;font-family:var(--gg-body)}
.gg-seo li:last-child{border-bottom:0}
.gg-ok{color:#43a047;font-weight:700;margin-right:6px}
.gg-no{color:var(--gg-red);font-weight:700;margin-right:6px}
.gg-admin .gg-btn{margin-top:18px;cursor:pointer;border:0}
.gg-admin a.link{color:var(--gg-blue);text-decoration:none;font-weight:600;font-family:var(--gg-sub)}
.gg-login{max-width:380px;margin:80px auto;background:#fff;border-radius:16px;padding:30px;box-shadow:0 8px 24px rgba(0,0,0,.35);text-align:center}
.gg-login input{width:100%;padding:11px 12px;margin:8px 0;border:1px solid #d6dbe4;border-radius:10px;font-size:15px;font-family:var(--gg-body)}
.gg-err{color:var(--gg-red);font-size:14px;margin:8px 0;font-family:var(--gg-sub)}
