/*
Theme Name:  Kerjaya Bold
Theme URI:   https://kerjaya.co
Author:      Zeo
Author URI:  https://kerjaya.co
Description: The Best Bold Theme for Malaysia Job Site
Version:     2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kerjaya
Tags:        career, jobs, brutalism, malaysia, blog, custom-colors, full-width-template
*/

/* ============================================================
   KERJAYA BOLD — DESIGN SYSTEM v2
   Sophisticated Brutalism + Tactical UI
   Palette: Warm Sand #fcfaf2 | Soft Indigo #4f46e5 | Slate Ink #0f172a
============================================================ */

:root {
    --warm-sand:    #fcfaf2;
    --soft-indigo:  #4f46e5;
    --slate-ink:    #0f172a;
    --pastel-blue:  #eff6ff;
    --border-color: #000000;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--warm-sand);
    color: var(--slate-ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── Typography ──────────────────────────────────────────── */
.font-huge {
    font-family: 'Archivo Black', sans-serif;
}

.text-mega {
    font-size: clamp(3.5rem, 10vw, 12rem);
    line-height: 0.8;
    letter-spacing: -0.05em;
    font-family: 'Archivo Black', sans-serif;
}

.outline-text {
    -webkit-text-stroke: 2px var(--slate-ink);
    color: transparent;
}

@media (max-width: 768px) {
    .outline-text { -webkit-text-stroke: 1.5px var(--slate-ink); }
}

/* ── Navigation ──────────────────────────────────────────── */
.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 4px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-nav-inner {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 2.5rem;
}

@media (max-width: 768px) {
    .site-nav-inner { padding: 0 1.5rem; }
}

.site-logo-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.site-logo-badge {
    padding: 0.5rem;
    background: var(--soft-indigo);
    border-radius: 0.25rem;
    border: 2px solid #000;
    box-shadow: 2px 2px 0 #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.site-logo-text {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    font-style: italic;
    text-transform: uppercase;
}

/* Desktop nav links */
.nav-links {
    display: none;
    gap: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: #64748b;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-links a { transition: color 0.2s; }
.nav-links a:hover,
.nav-links a.active { color: var(--soft-indigo); }
.nav-links .nav-with-dot { display: inline-flex; align-items: center; gap: 0.5rem; }

/* Nav CTA Button */
.nav-cta {
    background: #000;
    color: #fff;
    padding: 0.625rem 2rem;
    font-family: 'Archivo Black', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid #000;
    box-shadow: 4px 4px 0 var(--soft-indigo);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    display: inline-block;
}
.nav-cta:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--soft-indigo); }

/* Mobile hamburger */
.nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 2px solid #000;
    background: #fff;
    cursor: pointer;
}
@media (min-width: 1024px) { .nav-mobile-toggle { display: none; } }

.nav-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 3px solid #000;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    z-index: 199;
}
.nav-mobile-menu.is-open { display: flex; }
.nav-mobile-menu a {
    font-size: 11px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: #64748b; padding: 6px 0;
}
.nav-mobile-menu a:hover { color: var(--soft-indigo); }

/* ── Status Dot ──────────────────────────────────────────── */
.status-dot {
    width: 8px; height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #22c55e;
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}
@keyframes pulse-dot {
    0%,100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.5); opacity: 0.5; }
}

/* ── Dot Grid ────────────────────────────────────────────── */
.bg-dot-grid {
    background-image: radial-gradient(var(--slate-ink) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.08;
    pointer-events: none;
}

/* ── Brutal Card ─────────────────────────────────────────── */
.brutal-card {
    background: #fff;
    border: 3px solid var(--border-color);
    box-shadow: 8px 8px 0 var(--border-color);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.brutal-card:hover {
    transform: translate(4px, 4px);
    box-shadow: 2px 2px 0 var(--border-color);
}

/* ── Marquee Ticker ──────────────────────────────────────── */
.marquee-wrap {
    background: var(--slate-ink);
    padding: 1.5rem 0;
    border-top: 4px solid var(--border-color);
    border-bottom: 4px solid var(--border-color);
    overflow: hidden;
}
.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee-scroll 40s linear infinite;
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -0.02em;
    color: #fff;
}
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Categories Section ──────────────────────────────────── */
.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: 8px solid #000;
    background: #fff;
}
@media (min-width: 768px) {
    .category-grid { grid-template-columns: repeat(4, 1fr); }
}

.category-cell {
    padding: 3rem;
    border-bottom: 4px solid #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s, color 0.3s;
}
@media (min-width: 768px) {
    .category-cell { border-bottom: 0; border-right: 4px solid #000; }
    .category-cell:last-child { border-right: 0; }
}

.category-cell h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.25rem;
    line-height: 0.9;
    text-transform: uppercase;
    font-style: italic;
}

.category-cell .cat-meta {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    opacity: 0.6;
    margin-top: 1rem;
}

.cat-kerjaya { background: #f0f3ff; }
.cat-kerjaya:hover { background: var(--soft-indigo); color: #fff; }
.cat-kerjaya .cat-icon { color: var(--soft-indigo); transition: color 0.3s; }
.cat-kerjaya:hover .cat-icon { color: #fff; }

.cat-psiko { background: #f0fdf4; }
.cat-psiko:hover { background: #059669; color: #fff; }
.cat-psiko .cat-icon { color: #059669; transition: color 0.3s; }
.cat-psiko:hover .cat-icon { color: #fff; }

.cat-misi { background: #fffbeb; }
.cat-misi:hover { background: #d97706; color: #fff; }
.cat-misi .cat-icon { color: #d97706; transition: color 0.3s; }
.cat-misi:hover .cat-icon { color: #fff; }

.cat-resume { background: #fff1f2; }
.cat-resume:hover { background: #e11d48; color: #fff; }
.cat-resume .cat-icon { color: #e11d48; transition: color 0.3s; }
.cat-resume:hover .cat-icon { color: #fff; }

/* ── Job Feed ────────────────────────────────────────────── */
.feed-section {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
}
@media (min-width: 1024px) {
    .feed-section { grid-template-columns: 80px 1fr; }
}

.feed-sidebar-label {
    display: none;
    border-right: 4px solid #000;
    background: #fff;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}
@media (min-width: 1024px) { .feed-sidebar-label { display: flex; } }

.feed-sidebar-label span {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    color: var(--soft-indigo);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.feed-main { background: #fff; }

.feed-header {
    padding: 2.5rem;
    border-bottom: 4px solid #000;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: var(--slate-ink);
    color: #fff;
}

.feed-header h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -0.04em;
    line-height: 1;
    color: #fff;
}

.feed-count {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #64748b;
}

/* Job Row */
.job-row {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    cursor: pointer;
    transition: background 0.3s, border-left 0.15s, padding-left 0.3s;
    border-left: 5px solid transparent;
    text-decoration: none;
    color: inherit;
}
@media (min-width: 768px) {
    .job-row {
        flex-direction: row;
        align-items: center;
        padding: 2rem 2.5rem;
    }
}
.job-row:hover {
    background: #fff;
    border-left-color: var(--soft-indigo);
    padding-left: 3rem;
}

.job-row-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    min-width: 0;
    width: 100%;
}

.job-logo {
    width: 64px; height: 64px;
    flex-shrink: 0;
    background: #fff;
    border: 4px solid #000;
    box-shadow: 4px 4px 0 #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Archivo Black', sans-serif;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.job-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(1.25rem, 3vw, 2.25rem);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
    font-style: italic;
    color: var(--slate-ink);
    transition: color 0.2s;
}
.job-row:hover .job-title { color: var(--soft-indigo); }

.job-tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.job-tag {
    font-size: 9px;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.tag-permanent { background: #e0e7ff; color: #4338ca; }
.tag-contract  { background: #d1fae5; color: #065f46; }
.tag-part-time { background: #fef3c7; color: #92400e; }

.job-ref {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
}

.job-meta {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 0.5rem;
}

.job-arrow {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--soft-indigo);
}
.job-row:hover .job-arrow { transform: translateX(1rem); }

/* Feed CTA */
.feed-cta {
    padding: 3rem;
    text-align: center;
    background: #fff;
    border-top: 4px solid #000;
}

.btn-feed-more {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: #000;
    color: #fff;
    padding: 2rem 4rem;
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    border: 4px solid #000;
    box-shadow: 10px 10px 0 var(--soft-indigo);
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-feed-more:hover {
    background: var(--soft-indigo);
    box-shadow: 4px 4px 0 var(--soft-indigo);
    transform: translate(4px, 4px);
}

/* ── Bento / Employer Grid ───────────────────────────────── */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 8px solid #000;
    border-bottom: 8px solid #000;
    background: #fff;
}
@media (min-width: 768px) {
    .bento-grid { grid-template-columns: repeat(3, 1fr); }
}

.bento-cell {
    padding: 3rem;
    border-bottom: 4px solid #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s, color 0.3s;
}
@media (min-width: 768px) {
    .bento-cell { border-bottom: 0; border-right: 4px solid #000; }
    .bento-cell:last-child { border-right: 0; }
}

.bento-cell-accent { background: var(--soft-indigo); color: #fff; }
.bento-cell:hover   { background: var(--slate-ink); color: #fff; }
.bento-cell-accent:hover { background: #000; }

.bento-cell h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 0.9;
    text-transform: uppercase;
    font-style: italic;
}

.bento-sector-label {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

/* ── Intel Lab Cards ─────────────────────────────────────── */
.intel-card {
    background: #fff;
    border: 3px solid #000;
    box-shadow: 8px 8px 0 #000;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}
.intel-card:hover {
    transform: translate(4px, 4px);
    box-shadow: 2px 2px 0 #000;
}

.intel-card h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    text-transform: uppercase;
    font-style: italic;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.intel-card p {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1.7;
    text-transform: uppercase;
    font-style: italic;
}

.intel-module-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
    margin-bottom: 1.5rem;
}

/* ── Floating Command Center ─────────────────────────────── */
#progress-bar {
    position: fixed; top: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #818cf8);
    width: 0; z-index: 9999;
    transition: width 0.1s linear;
}

.command-center {
    position: fixed;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%) translateY(0);
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255,255,255,.12);
    padding: 0.625rem 1.5rem;
    border-radius: 99px;
    display: flex; align-items: center; gap: 0.5rem;
    z-index: 1000;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.6);
    transition: transform 0.45s cubic-bezier(0.23,1,0.32,1), opacity 0.3s;
    white-space: nowrap;
}
.command-center.hidden-fcc {
    transform: translateX(-50%) translateY(200%);
    opacity: 0;
    pointer-events: none;
}

.fcc-btn {
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.45rem 0.85rem; border-radius: 99px;
    font-size: 9px; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: rgba(255,255,255,.6);
    transition: all 0.2s; text-decoration: none;
    cursor: pointer; border: none; background: transparent;
}
.fcc-btn:hover { color: #fff; background: rgba(255,255,255,.08); }

.fcc-btn.fcc-next {
    background: var(--soft-indigo) !important;
    color: #fff !important;
    font-family: 'Archivo Black', sans-serif;
}

.fcc-divider { width: 1px; height: 18px; background: rgba(255,255,255,.12); margin: 0 0.2rem; }

.prose-zone blockquote,
.wp-block-quote {
    background: var(--pastel-blue);
    border: 3px solid var(--soft-indigo);
    box-shadow: 8px 8px 0 var(--soft-indigo);
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
}
.wp-block-quote p,
.prose-zone blockquote p {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--slate-ink);
    line-height: 1.6;
    margin: 0;
}

.wp-block-pullquote {
    background: var(--slate-ink); border: 4px solid #000;
    box-shadow: 10px 10px 0 #000; padding: 3rem; margin: 3rem 0;
}
.wp-block-pullquote blockquote p {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic; text-transform: uppercase;
    color: #fff; line-height: 1.1; letter-spacing: -0.02em;
}
.wp-block-pullquote cite { color: var(--soft-indigo); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.2em; font-style: normal; }

.prose-zone figure,
.wp-block-image { margin: 2.5rem 0; }
.prose-zone figure img,
.wp-block-image img {
    border: 3px solid #000;
    box-shadow: 8px 8px 0 #000;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}
.wp-block-image img:hover { transform: translate(4px,4px); box-shadow: 2px 2px 0 #000; }
figcaption, .wp-block-image figcaption {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.15em; color: #94a3b8; text-align: center; margin-top: 0.75rem; font-style: italic;
}

.prose-zone table,
.wp-block-table table { width: 100%; border-collapse: collapse; border: 2px solid #000; margin: 2rem 0; }
.prose-zone table thead,
.wp-block-table thead { background: var(--slate-ink); }
.prose-zone table th,
.wp-block-table th {
    color: #fff; font-family: 'Archivo Black', sans-serif;
    font-size: 9px; text-transform: uppercase; letter-spacing: 0.2em;
    padding: 1rem 1.25rem; border: 1px solid rgba(255,255,255,.1); font-style: italic; text-align: left;
}
.prose-zone table td,
.wp-block-table td { padding: 0.875rem 1.25rem; border: 2px solid #e2e8f0; font-weight: 500; }
.prose-zone table tbody tr:nth-child(even) td { background: #fafaf8; }

.wp-block-button__link,
.btn-brutal {
    background: var(--soft-indigo) !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    box-shadow: 4px 4px 0 #000 !important;
    border-radius: 0 !important;
    font-family: 'Archivo Black', sans-serif !important;
    font-size: 9px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    padding: 0.6rem 1.4rem !important;
    transition: transform 0.15s, box-shadow 0.15s !important;
    text-decoration: none;
}
.wp-block-button__link:hover,
.btn-brutal:hover { transform: translate(2px,2px) !important; box-shadow: 2px 2px 0 #000 !important; }

/* ── TOC ─────────────────────────────────────────────────── */
.toc-item {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 7px 0; text-decoration: none; transition: all 0.2s;
    font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.12em; color: #94a3b8;
    border-bottom: 1px solid #f1f5f9;
}
.toc-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #cbd5e1; margin-top: 3px; flex-shrink: 0;
    transition: all 0.3s;
}
.toc-item:hover .toc-dot,
.toc-item.is-active .toc-dot {
    background: var(--soft-indigo);
    transform: scale(1.6);
    box-shadow: 0 0 8px rgba(79,70,229,.5);
}
.toc-item:hover,
.toc-item.is-active { color: var(--soft-indigo); }

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
    padding: 10rem 1.5rem;
    background: var(--soft-indigo);
    color: #fff;
    text-align: center;
    border-top: 8px solid #000;
    border-bottom: 8px solid #000;
    position: relative;
    overflow: hidden;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: #fff;
    padding: 5rem 2.5rem;
    border-top: 4px solid #000;
}
.site-footer-inner {
    max-width: 1800px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 2rem;
}
@media (min-width: 768px) {
    .site-footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-brand {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.875rem; font-style: italic;
    text-transform: uppercase; letter-spacing: -0.04em; margin-bottom: 0.5rem;
}
.footer-tagline {
    font-size: 10px; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.4em; color: #94a3b8;
}
.footer-links {
    display: flex; flex-wrap: wrap; gap: 2.5rem;
    list-style: none;
}
.footer-links a {
    font-size: 10px; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: #64748b; text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--slate-ink); }

/* ── Hidden FCC ──────────────────────────────────────────── */
.hidden-fcc {
    transform: translateX(-50%) translateY(200%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ── Search form ─────────────────────────────────────────── */
.search-box {
    border: 3px solid #000; box-shadow: 8px 8px 0 #000;
    background: #fff; display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.5rem; transition: box-shadow 0.2s, transform 0.2s;
}
.search-box:focus-within {
    box-shadow: 4px 4px 0 var(--soft-indigo);
    transform: translate(2px, 2px);
}
.search-box input {
    flex: 1; background: transparent; outline: none; border: none;
    font-size: 13px; font-weight: 700; text-transform: uppercase;
    font-style: italic; color: var(--slate-ink);
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.search-box input::placeholder { color: #cbd5e1; }

/* ── Badges ──────────────────────────────────────────────── */
.badge-baru   { background: #ccff00; color: #000; border: 1.5px solid #000; padding: 2px 8px; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.2em; }
.badge-segera { background: #ff3e00; color: #fff; border: 1.5px solid #000; padding: 2px 8px; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.2em; }
.badge-hampir { background: #fef3c7; color: #92400e; border: 1.5px solid #000; padding: 2px 8px; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.2em; }

/* ── WordPress Core ──────────────────────────────────────── */
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
.alignleft  { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter{ text-align: center; margin: 0 auto 1.5rem; }
.wp-block-separator, hr { border: none; border-top: 3px solid #000; margin: 3rem 0; }

/* ── Breadcrumbs ─────────────────────────────────────────── */
.kerjaya-breadcrumbs {
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    background: #f8fafc; border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 2.5rem;
}
.kerjaya-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; max-width: 1800px; margin: 0 auto; padding: 0; }
.kerjaya-breadcrumbs a { color: #64748b; text-decoration: none; }
.kerjaya-breadcrumbs a:hover { color: var(--soft-indigo); }

/* ── Dark Mode ───────────────────────────────────────────── */
.dark { color-scheme: dark; }
.dark body { background: #0f172a; color: #f1f5f9; }
.dark .glass-nav { background: rgba(15,23,42,.92); border-bottom-color: #334155; }
.dark .site-footer,
.dark .feed-main,
.dark #hero-section { background: #1e293b; }
.dark .bento-cell   { background: #1e293b; color: #f1f5f9; }
.dark .intel-card   { background: #1e293b; color: #f1f5f9; border-color: #334155; }
.dark .category-cell{ background: #1e293b; color: #f1f5f9; }
.dark .prose-zone p { color: #cbd5e1; }

/* ── Mobile TOC Trigger/Panel ────────────────────────────── */
#toc-mobile-trigger {
    position: fixed; bottom: 6rem; right: 1.5rem;
    width: 50px; height: 50px;
    background: var(--soft-indigo); border: 2px solid #000;
    box-shadow: 4px 4px 0 #000; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; cursor: pointer; z-index: 1050;
}
#toc-mobile-panel {
    position: fixed; bottom: 10rem; right: 1.5rem;
    background: rgba(15,23,42,.97); backdrop-filter: blur(12px);
    border: 2px solid rgba(255,255,255,.1); border-radius: 14px;
    padding: 1.5rem; min-width: 220px; max-width: 280px;
    z-index: 1100; box-shadow: 0 20px 40px rgba(0,0,0,.4);
    transform: scale(.85) translateY(16px); opacity: 0; pointer-events: none;
    transition: all .3s cubic-bezier(.23,1,.32,1); transform-origin: bottom right;
}
#toc-mobile-panel.is-open {
    opacity: 1; transform: scale(1) translateY(0); pointer-events: all;
}
@media (min-width: 1024px) { #toc-mobile-trigger, #toc-mobile-panel { display: none !important; } }

/* ── Dark mode toggle ────────────────────────────────────── */
.dark-mode-toggle {
    position: fixed; bottom: 2rem; right: 1.5rem;
    width: 44px; height: 44px; background: #fff;
    border: 2px solid #000; box-shadow: 3px 3px 0 #000;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 100; transition: background .2s, transform .15s, box-shadow .15s;
}
.dark-mode-toggle:hover { transform: translate(2px,2px); box-shadow: 1px 1px 0 #000; }
.dark .dark-mode-toggle { background: #1e293b; border-color: #475569; box-shadow: 3px 3px 0 #475569; }
.dark-mode-toggle .icon-sun  { display: flex; align-items: center; justify-content: center; }
.dark-mode-toggle .icon-moon { display: none;  align-items: center; justify-content: center; }
.dark .dark-mode-toggle .icon-sun  { display: none; }
.dark .dark-mode-toggle .icon-moon { display: flex; }

/* ── Z-index stack ───────────────────────────────────────── */
.glass-nav         { z-index: 200; }
.command-center    { z-index: 1000; }
#toc-mobile-trigger{ z-index: 100; }
#toc-mobile-panel  { z-index: 100; }
.dark-mode-toggle  { z-index: 100; }
#progress-bar      { z-index: 9999; }




/* ============================================================
   SINGLE POST — HYBRID APEX EDITION
   CSS dari HTML rujukan mutlak
   Sophisticated Brutalism: border tebal, shadow offset, Archivo Black
============================================================ */

/* ── Highlighter / intel-link — marker pen biru lembut ──── */
.highlighter,
.intel-link,
.prose-zone a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(rgba(79, 70, 229, 0.15), rgba(79, 70, 229, 0.15));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    font-weight: 700;
    border-bottom: 2px solid var(--soft-indigo);
}
.highlighter:hover,
.intel-link:hover,
.prose-zone a:hover { background-size: 100% 100%; }

/* ── Prose Zone — Readability Pro ───────────────────────── */
.prose-zone {
    font-size: 1.2rem;
    line-height: 1.85;
    color: #334155;
}

.prose-zone p {
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 2rem;
}

.prose-zone h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.25rem;
    text-transform: uppercase;
    font-style: italic;
    margin: 4rem 0 1.5rem;
    line-height: 1;
    color: var(--slate-ink);
    letter-spacing: -0.03em;
    scroll-margin-top: 6rem;
}

.prose-zone h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    font-style: italic;
    margin: 2.5rem 0 1rem;
    line-height: 1.1;
    color: var(--slate-ink);
    scroll-margin-top: 6rem;
}

/* Gutenberg images — auto border 3px hitam */
.prose-zone img,
.prose-zone .wp-block-image img,
.prose-zone figure img {
    border: 3px solid #000;
    box-shadow: 8px 8px 0 #000;
    margin: 2rem 0;
    max-width: 100%;
    height: auto;
    transition: transform 0.25s, box-shadow 0.25s;
}
.prose-zone img:hover { transform: translate(4px,4px); box-shadow: 2px 2px 0 #000; }

.prose-zone figcaption {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: #94a3b8; text-align: center;
    margin-top: 0.5rem; font-style: italic;
}

.prose-zone ul { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.prose-zone ul li { padding-left: 1.75rem; margin-bottom: 0.5rem; position: relative; }
.prose-zone ul li::before {
    content: '→'; position: absolute; left: 0;
    color: var(--soft-indigo);
    font-family: 'Archivo Black', sans-serif; font-size: 0.85rem;
}

.prose-zone ol { counter-reset: prose-ol; padding: 0; margin-bottom: 1.5rem; list-style: none; }
.prose-zone ol li { padding-left: 2.25rem; margin-bottom: 0.6rem; position: relative; counter-increment: prose-ol; }
.prose-zone ol li::before {
    content: counter(prose-ol);
    position: absolute; left: 0;
    width: 22px; height: 22px;
    background: var(--soft-indigo); color: #fff;
    font-family: 'Archivo Black', sans-serif;
    font-size: 9px; font-style: italic;
    display: flex; align-items: center; justify-content: center; top: 2px;
}

/* Blockquote — dark box dari rujukan HTML */
.prose-zone blockquote {
    background: var(--slate-ink);
    color: #a5b4fc;
    padding: 2.5rem 3rem;
    border-radius: 3rem;
    margin: 3rem 0;
    border-left: 8px solid var(--soft-indigo);
    font-weight: 500;
    font-style: italic;
}
.prose-zone blockquote p { color: #a5b4fc; margin: 0; font-size: 1.1rem; line-height: 1.7; }

/* ── Author Dossier Card ─────────────────────────────────── */
.author-card {
    border: 3px solid var(--slate-ink);
    background: #fff;
    box-shadow: 10px 10px 0 var(--slate-ink);
}

/* ── Share Buttons ───────────────────────────────────────── */
.share-btn {
    padding: 5px 14px;
    border: 2px solid #000;
    font-size: 9px; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: #fff; text-decoration: none;
    box-shadow: 2px 2px 0 #000;
    transition: transform 0.15s;
    display: inline-block;
}
.share-btn:hover { transform: translate(2px,2px); }

/* ── TOC Hybrid Dot ──────────────────────────────────────── */
.toc-active .dot-indicator,
#toc-list li a.is-active .dot-indicator {
    transform: scale(1.5);
    background-color: var(--soft-indigo) !important;
    box-shadow: 0 0 10px var(--soft-indigo);
}

/* ── FCC hidden state ────────────────────────────────────── */
.hidden-fcc {
    transform: translateX(-50%) translateY(200%);
    opacity: 0;
    pointer-events: none;
}

/* ── Related Articles — grayscale effect in CSS ──────────── */
.group .grayscale { filter: grayscale(1); }
.group:hover .grayscale { filter: grayscale(0); }

/* ── Dark Mode — Single Post ─────────────────────────────── */
.dark #main-content        { background: #1e293b; }
.dark #toc-sidebar         { background: #162032; border-right-color: #334155; }
.dark #discovery-sidebar   { background: #162032; }
.dark .author-card         { background: #1e293b; border-color: #475569; box-shadow: 10px 10px 0 #334155; }
.dark .prose-zone          { color: #cbd5e1; }
.dark .prose-zone h2,
.dark .prose-zone h3       { color: #f1f5f9; }
