@charset "UTF-8";
/* ========================================================= Joel's Cybersecurity Blog — custom theme A clean, modern "terminal" aesthetic on a dark canvas. ========================================================= */
:root { --bg:        #0a0e14; --bg-soft:   #0f141c; --surface:   #111823; --surface-2: #161f2c; --border:    #1e2a3a; --border-2:  #2a3a4f; --text:      #d7dee8; --muted:     #8795a7; --faint:     #5c6b7e; --accent:    #4ade80; /* terminal green */ --accent-2:  #38bdf8; /* cyan           */ --accent-3:  #a78bfa; /* violet         */ --danger:    #f87171; --radius:    12px; --maxw:      760px; --mono: "SFMono-Regular", "JetBrains Mono", "Fira Code", Menlo, Consolas, monospace; --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--text); background-color: var(--bg); background-image: radial-gradient(900px 500px at 85% -10%, rgba(56, 189, 248, 0.08), transparent 60%), radial-gradient(800px 500px at 0% 0%, rgba(74, 222, 128, 0.06), transparent 55%); background-attachment: fixed; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Links ---------- */
a { color: var(--accent-2); text-decoration: none; transition: color .15s ease; }

a:hover { color: var(--accent); }

/* ---------- Headings ---------- */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: #f2f6fb; }

h1 { font-size: 2rem; }

h2 { font-size: 1.5rem; margin-top: 2.2rem; }

h3 { font-size: 1.2rem; margin-top: 1.6rem; }

/* ========================================================= Header / nav ========================================================= */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 14, 20, 0.78); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border); }

.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 700; font-size: 1rem; color: #f2f6fb; }

.brand:hover { color: #f2f6fb; }

.brand .prompt { color: var(--accent); }

.brand .blink { width: 9px; height: 1.05em; background: var(--accent); display: inline-block; margin-left: 2px; animation: blink 1.1s step-end infinite; translate: 0 2px; }

@keyframes blink { 50% { opacity: 0; } }

.site-nav { display: flex; gap: 6px; }

.site-nav a { font-family: var(--mono); font-size: .9rem; color: var(--muted); padding: 7px 12px; border-radius: 8px; border: 1px solid transparent; }

.site-nav a:hover { color: var(--text); background: var(--surface); border-color: var(--border); }

/* ========================================================= Hero (home) ========================================================= */
.hero { padding: 64px 0 40px; border-bottom: 1px solid var(--border); }

.hero .tagline { font-family: var(--mono); color: var(--accent); font-size: .9rem; letter-spacing: .02em; margin: 0 0 14px; }

.hero h1 { font-size: clamp(2rem, 5vw, 2.9rem); margin: 0 0 16px; letter-spacing: -0.02em; }

.hero p { color: var(--muted); font-size: 1.08rem; margin: 0 0 24px; max-width: 620px; }

.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .9rem; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--border-2); color: var(--text); background: var(--surface); transition: all .15s ease; }

.btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.btn.primary { background: var(--accent); color: #06220f; border-color: var(--accent); font-weight: 700; }

.btn.primary:hover { background: #65e694; color: #06220f; }

/* ========================================================= Post list ========================================================= */
.section-title { font-family: var(--mono); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--faint); margin: 40px 0 6px; }

.post-list { list-style: none; padding: 0; margin: 18px 0 0; }

.post-card { display: block; padding: 22px 22px; margin: 0 0 16px; background: linear-gradient(180deg, var(--surface), var(--bg-soft)); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }

.post-card:hover { border-color: var(--border-2); transform: translateY(-2px); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8); }

.post-card .meta { font-family: var(--mono); font-size: .78rem; color: var(--faint); display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }

.post-card h3 { margin: 0 0 8px; font-size: 1.3rem; color: #f2f6fb; }

.post-card:hover h3 { color: var(--accent); }

.post-card p { margin: 0; color: var(--muted); font-size: .98rem; }

.tag-chip { font-family: var(--mono); font-size: .72rem; color: var(--accent-2); background: rgba(56, 189, 248, 0.08); border: 1px solid rgba(56, 189, 248, 0.22); padding: 2px 9px; border-radius: 999px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: space-between; align-items: center; margin: 28px 0 10px; font-family: var(--mono); font-size: .85rem; }

.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px; color: var(--muted); }

.pagination a:hover { border-color: var(--accent); color: var(--accent); }

.pagination .disabled { opacity: .35; }

/* ========================================================= Post page ========================================================= */
.post-header { padding: 48px 0 10px; border-bottom: 1px solid var(--border); margin-bottom: 30px; }

.post-header .meta { font-family: var(--mono); font-size: .82rem; color: var(--faint); margin-bottom: 12px; }

.post-header h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin: 0 0 16px; letter-spacing: -0.02em; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.post-content { font-size: 1.05rem; }

.post-content p, .post-content ul, .post-content ol { margin: 1.1rem 0; }

.post-content img { max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); margin: 1.2rem 0; }

.post-content blockquote { margin: 1.4rem 0; padding: 2px 20px; border-left: 3px solid var(--accent); background: var(--surface); color: var(--muted); border-radius: 0 8px 8px 0; }

.post-content blockquote p { margin: .7rem 0; }

.post-content hr { border: none; border-top: 1px solid var(--border); margin: 2.4rem 0; }

.post-content a { border-bottom: 1px solid rgba(56, 189, 248, 0.35); }

.post-content a:hover { border-bottom-color: var(--accent); }

/* code */
.post-content code { font-family: var(--mono); font-size: .86em; background: var(--surface-2); color: #ffd9a0; padding: .15em .4em; border-radius: 6px; border: 1px solid var(--border); }

.post-content pre { background: #0c1118; border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; overflow-x: auto; font-size: .86rem; line-height: 1.55; }

.post-content pre code { background: none; border: none; color: #d7dee8; padding: 0; font-size: inherit; }

.post-content table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .92rem; }

.post-content th, .post-content td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; }

.post-content th { background: var(--surface); font-family: var(--mono); }

.post-footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: .85rem; }

/* ========================================================= About / profile page ========================================================= */
.profile { padding-top: 48px; }

.profile-top { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

.avatar { flex: 0 0 auto; width: 104px; height: 104px; border-radius: 24px; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 2.1rem; color: #06220f; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 12px 40px -12px rgba(74, 222, 128, 0.45); }

.identity { min-width: 0; }

.identity h1 { margin: 0 0 6px; font-size: clamp(1.7rem, 4vw, 2.3rem); letter-spacing: -0.02em; }

.identity .role { margin: 0; font-family: var(--mono); color: var(--accent); font-size: 1rem; }

.identity .loc { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }

.profile-bio { margin: 26px 0 22px; font-size: 1.1rem; line-height: 1.75; color: var(--text); max-width: 640px; }

.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .82rem; padding: 7px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); color: var(--text); }

.badge .k { color: var(--accent-3); }

/* section wrapper */
.about-sec { margin-top: 48px; }

.about-sec > h2 { font-family: var(--mono); font-size: 1.15rem; margin: 0 0 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border); color: #f2f6fb; }

.about-sec > h2::before { content: "# "; color: var(--accent); }

/* experience timeline */
.timeline { position: relative; margin: 0; padding: 0 0 0 26px; list-style: none; }

.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--border-2), var(--border)); }

.tl-item { position: relative; padding: 0 0 26px; }

.tl-item:last-child { padding-bottom: 0; }

.tl-item::before { content: ""; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15); }

.tl-item.muted::before { background: var(--faint); box-shadow: 0 0 0 4px rgba(92, 107, 126, 0.12); }

.tl-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }

.tl-role { margin: 0; font-size: 1.12rem; color: #f2f6fb; font-weight: 700; }

.tl-company { color: var(--accent-2); }

.tl-date { font-family: var(--mono); font-size: .78rem; color: var(--faint); white-space: nowrap; }

.tl-meta { margin: 3px 0 0; font-size: .82rem; color: var(--faint); }

.tl-desc { margin: 10px 0 0; color: var(--muted); font-size: .95rem; font-style: italic; }

.tl-bullets { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }

.tl-bullets li { margin: 4px 0; }

/* education */
.edu-card { background: linear-gradient(180deg, var(--surface), var(--bg-soft)); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }

.edu-card .edu-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }

.edu-card h3 { margin: 0; font-size: 1.08rem; }

.edu-card .tl-date { margin: 0; }

.edu-card p { margin: 8px 0 0; color: var(--muted); }

/* highlights / CVE cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }

.card { display: block; background: linear-gradient(180deg, var(--surface), var(--bg-soft)); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; transition: border-color .18s ease, transform .18s ease; }

.card:hover { border-color: var(--accent); transform: translateY(-2px); }

.card .cid { font-family: var(--mono); font-size: .9rem; color: var(--accent); font-weight: 700; }

.card .cdesc { margin: 7px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }

@media (max-width: 520px) { .avatar { width: 84px; height: 84px; font-size: 1.7rem; border-radius: 20px; } .profile-top { gap: 18px; } }

/* ========================================================= Tags page ========================================================= */
.tags-header { display: flex; align-items: center; gap: 16px; margin: 40px 0 8px; }

.tags-header-title { margin: 0; }

.tags-header-line { flex: 1; height: 1px; background: var(--border); }

.tags-clouds { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 36px; }

.tags-clouds a { font-family: var(--mono); font-size: .85rem; padding: 6px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; color: var(--muted); }

.tags-clouds a:hover { border-color: var(--accent); color: var(--accent); }

.tags-item { margin: 0 0 30px; }

.tags-item-icon { display: none; }

.tags-item-label { font-family: var(--mono); color: var(--accent); font-size: 1.1rem; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }

.tags-item-label::before { content: "# "; color: var(--faint); }

.tags-post { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; color: var(--text); }

.tags-post:hover .tags-post-title { color: var(--accent); }

.tags-post > div { display: flex; align-items: baseline; gap: 10px; flex: 1; min-width: 0; overflow: hidden; }

.tags-post-title { white-space: nowrap; }

.tags-post-line { flex: 1; border-bottom: 1px dotted var(--border-2); translate: 0 -4px; }

.tags-post-meta { font-family: var(--mono); font-size: .78rem; color: var(--faint); white-space: nowrap; }

/* ========================================================= Footer ========================================================= */
.site-footer { margin-top: 70px; border-top: 1px solid var(--border); padding: 30px 0 46px; }

.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--mono); font-size: .82rem; color: var(--faint); }

.social { display: flex; gap: 16px; }

.social a { color: var(--muted); }

.social a:hover { color: var(--accent); }

/* ========================================================= Responsive ========================================================= */
@media (max-width: 600px) { body { font-size: 16px; } .site-header .wrap { height: 56px; } .site-nav a { padding: 6px 9px; } .hero { padding: 44px 0 30px; } .brand span.name { display: none; } }

/*# sourceMappingURL=main.css.map */