/*
Theme Name: BizCyberLab
Description: Light business-cybersecurity theme for BizCyberLab.online
Version: 1.0
Author: BizCyberLab
*/

:root {
  --color-primary: #1B2A4A;
  --color-blue: #4E8CFF;
  --color-blue-light: #E4EEFF;
  --color-gold: #F5B301;
  --color-bg: #F4F6FB;
  --color-surface: #FFFFFF;
  --color-surface-100: #F9FAFD;
  --color-border: #E3E8F2;
  --color-text: #1B2A4A;
  --color-text-muted: #6B7690;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  margin: 0;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  top: -200px; right: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(78,140,255,0.18), rgba(78,140,255,0.02) 70%);
  z-index: 0;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  bottom: -220px; left: -180px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 60%, rgba(245,179,1,0.14), rgba(245,179,1,0.02) 70%);
  z-index: 0;
  pointer-events: none;
}

a { color: var(--color-blue); text-decoration: none; }
a:hover { color: var(--color-primary); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.015em; color: var(--color-primary); margin: 0 0 0.5em; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 16px 24px 0; }
.site-header-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 999px; padding: 12px 24px;
  box-shadow: 0 8px 24px -12px rgba(27,42,74,0.18);
}
.site-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--color-primary); }
.site-logo .mark { width: 34px; height: 34px; border-radius: 999px; background: var(--color-primary); display: flex; align-items: center; justify-content: center; }
.main-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--color-primary); font-weight: 600; font-size: 14px; }
.main-nav a:hover { color: var(--color-blue); }
.btn-primary {
  background: var(--color-primary); color: #fff !important; font-weight: 600;
  padding: 10px 22px; border-radius: 999px; display: inline-block; font-size: 14px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(27,42,74,0.35); color:#fff !important; }

/* ---------- Cards / Grid ---------- */
.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 1.25rem; box-shadow: 0 10px 30px -15px rgba(27,42,74,0.12);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -15px rgba(27,42,74,0.2); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 22px; }
.card-body h3 { font-size: 19px; margin-bottom: 8px; }
.card-body p { color: var(--color-text-muted); font-size: 14px; margin: 0; }

.badge { display: inline-block; background: var(--color-blue-light); color: #2E63D6; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.badge-gold { background: var(--color-gold); color: #1B2A4A; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0 64px; }
@media (max-width: 900px) { .posts-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .posts-grid { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { padding: 64px 0; text-align: center; }
.hero h1 { font-size: 40px; }
.hero p.lead { color: var(--color-text-muted); font-size: 18px; max-width: 640px; margin: 16px auto 0; }

/* ---------- Article / Page content ---------- */
.content-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 1.25rem; padding: 40px; box-shadow: 0 10px 30px -15px rgba(27,42,74,0.12);
  max-width: 800px; margin: 40px auto;
}
.content-card h1 { font-size: 32px; }
.content-card h2 { font-size: 24px; margin-top: 1.5em; }
.content-card h3 { font-size: 19px; margin-top: 1.2em; }
.content-card p, .content-card li { color: #3E4A63; }
.content-card a { color: var(--color-blue); font-weight: 600; }
.post-meta { color: var(--color-text-muted); font-size: 13px; margin-bottom: 24px; }

/* ---------- Sidebar ---------- */
.widget { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 1.25rem; padding: 22px; margin-bottom: 22px; box-shadow: 0 10px 30px -15px rgba(27,42,74,0.12); }
.widget h2 { font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 64px; background: var(--color-surface-100); border-top: 1px solid var(--color-border); padding: 48px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-links a { color: var(--color-text-muted); }
.footer-copyright { border-top: 1px solid var(--color-border); margin-top: 32px; padding-top: 20px; font-size: 13px; color: var(--color-text-muted); text-align: center; }
