/*
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:     1.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.CO — DESIGN SYSTEM
   Sophisticated Brutalism: Archivo Black + Plus Jakarta Sans
   Palette: Warm Sand #fcfaf2 | Soft Indigo #4f46e5 | Slate Ink #0f172a
============================================================ */

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

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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; }

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

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

.outline-text {
  -webkit-text-stroke: 2.5px #0f172a;
  color: transparent;
}

@media (max-width: 768px) {
  .outline-text { -webkit-text-stroke: 1.5px #0f172a; }
}

/* ── Navigation ──────────────────────────────────────────── */
.glass-nav {
  background: rgba(252, 250, 242, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 3px solid #000;
  position: sticky;
  top: 0;
  z-index: 200;
}

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

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

.site-logo-badge {
  width: 36px; height: 36px;
  background: var(--soft-indigo);
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.site-logo-text {
  font-family: 'Archivo Black', sans-serif;
  font-size: 22px;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  color: var(--slate-ink);
}

.nav-primary {
  display: none;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

@media (min-width: 1024px) {
  .nav-primary { display: flex; }
}

.nav-primary a {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #64748b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.nav-primary a:hover,
.nav-primary .current-menu-item a { color: var(--soft-indigo); }

.status-dot {
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 2s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.6); opacity: 0.5; }
}

.nav-cta-wrap { display: flex; align-items: center; gap: 10px; }

.btn-brutal {
  background: var(--soft-indigo);
  color: #fff;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 #000;
  font-family: 'Archivo Black', sans-serif;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.55rem 1.3rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-brutal:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #000; }
.btn-brutal.btn-black { background: #000; color: #fff; }

/* 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(252, 250, 242, 0.98);
  backdrop-filter: blur(16px);
  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;
  text-decoration: none;
  padding: 6px 0;
}

.nav-mobile-menu .current-menu-item a { color: var(--soft-indigo); }

/* ── Dot Grid Background ─────────────────────────────────── */
.bg-dot-grid {
  background-image: radial-gradient(#0f172a 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  opacity: 0.07;
  pointer-events: none;
}

/* ── Brutal Card ─────────────────────────────────────────── */
.brutal-card {
  background: #fff;
  border: 3px solid #000;
  box-shadow: 8px 8px 0 #000;
  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 #000;
}

/* ── Marquee Ticker ──────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  background: var(--slate-ink);
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
  padding: 13px 0;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 35s linear infinite;
  font-family: 'Archivo Black', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.9);
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Search Box ──────────────────────────────────────────── */
.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: 14px;
  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; }

/* ── Tags & Badges ───────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 3px 8px;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 3px;
}

.tag-spa    { background: #eff6ff; color: #4f46e5; }
.tag-step   { background: #ecfdf5; color: #059669; }
.tag-glc    { background: #fff7ed; color: #d97706; }
.tag-swasta { background: #faf5ff; color: #9333ea; }
.tag-psee   { background: #fef2f2; color: #dc2626; }

.badge {
  display: inline-block;
  padding: 2px 7px;
  font-size: 7px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.badge-baru   { background: #ccff00; color: #000; border: 1.5px solid #000; }
.badge-segera { background: #ff3e00; color: #fff; border: 1.5px solid #000; }
.badge-hampir { background: #fef3c7; color: #92400e; border: 1.5px solid #000; }

/* ── Job Row ─────────────────────────────────────────────── */
.job-row {
  border-bottom: 2px solid #e2e8f0;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  transition: background 0.25s, border-left 0.15s, padding-left 0.25s cubic-bezier(0.23, 1, 0.32, 1);
  border-left: 5px solid transparent;
  text-decoration: none;
  color: inherit;
}

.job-row:hover {
  background: #fff;
  border-left-color: var(--soft-indigo);
  padding-left: 2.5rem;
}

.job-title-row {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  font-style: italic;
  color: #0f172a;
  transition: color 0.2s;
}

.job-row:hover .job-title-row { color: var(--soft-indigo); }

/* ── Bento 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: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  border-right: 4px solid #000;
  border-bottom: 4px solid #000;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 768px) {
  .bento-cell:last-child { border-right: none; }
  .bento-cell            { border-bottom: none; }
}

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

/* ── 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;
  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;
}

/* ── Stat Block ──────────────────────────────────────────── */
.stat-block {
  border: 3px solid #000;
  box-shadow: 6px 6px 0 #000;
  background: #fff;
  padding: 1.2rem 1.75rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
}

.stat-block:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 #000; }
.stat-block.accent { background: var(--soft-indigo); }

/* ── Single Post: Prose Zone ─────────────────────────────── */
.prose-zone { font-size: 1.15rem; line-height: 1.85; color: #334155; }

.prose-zone h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  text-transform: uppercase;
  font-style: italic;
  margin: 3.5rem 0 1.2rem;
  line-height: 1;
  color: var(--slate-ink);
}

.prose-zone p   { margin-bottom: 1.5rem; }
.prose-zone ul  { margin-bottom: 1.5rem; }
.prose-zone ol  { margin-bottom: 1.5rem; }

.prose-zone a {
  color: inherit;
  font-weight: 800;
  border-bottom: 2px solid var(--soft-indigo);
  background-image: linear-gradient(rgba(79,70,229,.12), rgba(79,70,229,.12));
  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);
  text-decoration: none;
}

.prose-zone a:hover { background-size: 100% 100%; }

/* ── TOC ─────────────────────────────────────────────────── */
.toc-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0; text-decoration: none; transition: all 0.2s;
}

.toc-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #cbd5e1; margin-top: 4px; 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-text {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: #94a3b8; transition: color 0.2s;
}

.toc-item:hover .toc-text,
.toc-item.is-active .toc-text { color: var(--soft-indigo); }

/* ── Author Box ──────────────────────────────────────────── */
.author-card {
  background: #fff;
  border: 3px solid #000;
  box-shadow: 10px 10px 0 #000;
  padding: 2.5rem;
}

.author-avatar {
  width: 100px; height: 100px;
  border: 3px solid #000;
  border-radius: 14px;
  overflow: hidden;
  background: #eff6ff;
  flex-shrink: 0;
  box-shadow: 5px 5px 0 var(--soft-indigo);
  transform: rotate(2deg);
  transition: transform 0.3s;
}

.author-card:hover .author-avatar { transform: rotate(0deg); }

/* ── 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.7rem 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;
}

.command-center.hidden-fcc {
  transform: translateX(-50%) translateY(160%);
  opacity: 0;
}

.fcc-btn {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 0.9rem; 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;
  border-radius: 99px; padding: 0.5rem 1.1rem;
}

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

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: #fff;
  padding: 4rem 2.5rem;
  border-top: 4px solid #000;
}

.site-footer-inner {
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@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.75rem;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  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: #0f172a; }

/* ── Dossier Archive Card ────────────────────────────────── */
.dossier-card {
  background: #fff;
  border: 3px solid #000;
  box-shadow: 8px 8px 0 #000;
  display: flex; flex-direction: column;
  transition: transform 0.2s cubic-bezier(.16,1,.3,1), box-shadow 0.2s;
  cursor: pointer; text-decoration: none; color: inherit;
}

.dossier-card:hover { transform: translate(4px, 4px); box-shadow: 2px 2px 0 #000; }

.dossier-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  text-transform: uppercase; font-style: italic; line-height: 1;
  color: var(--slate-ink); transition: color 0.2s;
}

.dossier-card:hover .dossier-title { color: var(--soft-indigo); }

/* ── Filter Chips ────────────────────────────────────────── */
.filter-chip {
  border: 2px solid #000;
  font-size: 9px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.15em;
  padding: 8px 16px; cursor: pointer;
  background: #fff; color: var(--slate-ink);
  transition: all 0.2s;
}

.filter-chip:hover,
.filter-chip.is-active {
  background: var(--slate-ink);
  color: #fff;
  box-shadow: 4px 4px 0 var(--soft-indigo);
}

/* ── WordPress Core Compatibility ───────────────────────── */
.wp-block-image { margin-bottom: 1.5rem; }

.alignleft  { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { text-align: center; margin: 0 auto 1.5rem; }

.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-size: 12px; color: #94a3b8;
  text-align: center; font-style: italic; margin-top: 6px;
}

.sticky-post .entry-title::before {
  content: "📌 ";
}

/* Screen reader text */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
}

/* Comments */
.comment-list { list-style: none; }
.comment-body {
  border: 2px solid #e2e8f0;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: #fff;
}

.comment-author img { border-radius: 50%; border: 2px solid #000; }
.reply a { font-size: 11px; font-weight: 800; color: var(--soft-indigo); text-decoration: none; }


/* ============================================================
   GUTENBERG BLOCK AUTHORITY STYLES
   Semua blok Gutenberg distyle supaya selaras dengan tema
   Sophisticated Brutalism kerjaya.co
============================================================ */

/* ── Editor body wrapper ─────────────────────────────────── */
.wp-block {
    max-width: 100%;
}

/* ── Paragraph & Body ────────────────────────────────────── */
.prose-zone p,
.entry-content p,
.wp-block-paragraph {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    line-height: 1.85;
    color: #334155;
    margin-bottom: 1.5rem;
}

/* ── Headings ────────────────────────────────────────────── */
.prose-zone h1,
.entry-content h1,
.wp-block-heading h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-transform: uppercase;
    font-style: italic;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--slate-ink);
    margin: 4rem 0 1.5rem;
}

.prose-zone h2,
.entry-content h2,
.wp-block-heading h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    text-transform: uppercase;
    font-style: italic;
    margin: 3.5rem 0 1.2rem;
    line-height: 1;
    color: var(--slate-ink);
    letter-spacing: -0.03em;
}

.prose-zone h3,
.entry-content h3,
.wp-block-heading h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    text-transform: uppercase;
    font-style: italic;
    line-height: 1.1;
    color: var(--slate-ink);
    margin: 2.5rem 0 1rem;
}

.prose-zone h4,
.entry-content h4,
.wp-block-heading h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-ink);
    margin: 2rem 0 0.75rem;
}

/* ── Intel Link / Highlighter Effect ────────────────────────
   Diaktifkan via JS initHighlighter() pada semua <a> dalam .prose-zone
   Boleh juga guna class .intel-link secara manual
────────────────────────────────────────────────────────── */
.intel-link,
.highlighter,
.prose-zone a,
.entry-content a {
    color: inherit;
    text-decoration: none;
    font-weight: 800;
    border-bottom: 2px solid var(--soft-indigo);
    background-image: linear-gradient(rgba(79, 70, 229, 0.12), rgba(79, 70, 229, 0.12));
    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);
}

.intel-link:hover,
.highlighter:hover,
.prose-zone a:hover,
.entry-content a:hover {
    background-size: 100% 100%;
}

/* ── Lists ───────────────────────────────────────────────── */
.prose-zone ul,
.entry-content ul,
.wp-block-list ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.prose-zone ul li,
.entry-content ul li,
.wp-block-list ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
    line-height: 1.75;
    color: #334155;
}

/* Arrow bullet */
.prose-zone ul li::before,
.entry-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.85rem;
    color: var(--soft-indigo);
    font-style: normal;
    top: 2px;
}

.prose-zone ol,
.entry-content ol,
.wp-block-list ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    counter-reset: kerjaya-counter;
    list-style: none;
}

.prose-zone ol li,
.entry-content ol li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
    line-height: 1.75;
    color: #334155;
    counter-increment: kerjaya-counter;
}

.prose-zone ol li::before,
.entry-content ol li::before {
    content: counter(kerjaya-counter);
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    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: 3px;
}

/* ── Image & Gallery ─────────────────────────────────────── */
.prose-zone figure,
.entry-content figure,
.wp-block-image {
    margin: 2.5rem 0;
}

.prose-zone figure img,
.entry-content figure img,
.wp-block-image img {
    border: 3px solid #000;
    box-shadow: 8px 8px 0 #000;
    display: block;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prose-zone figure img:hover,
.wp-block-image img:hover {
    transform: translate(4px, 4px);
    box-shadow: 2px 2px 0 #000;
}

.wp-block-gallery figure img {
    border: 2px solid #000;
    box-shadow: 4px 4px 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;
}

/* ── Quote — Dossier Box ─────────────────────────────────── */
.prose-zone blockquote,
.entry-content blockquote,
.wp-block-quote {
    background: #eff6ff;
    border-left: 6px solid var(--soft-indigo);
    border: 3px solid var(--soft-indigo);
    box-shadow: 8px 8px 0 var(--soft-indigo);
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
    border-radius: 0;
    position: relative;
}

.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-quote cite,
.prose-zone blockquote cite {
    display: block;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--soft-indigo);
    margin-top: 1rem;
    font-style: normal;
}

/* Pullquote */
.wp-block-pullquote {
    background: var(--slate-ink);
    border: 4px solid #000;
    box-shadow: 10px 10px 0 #000;
    padding: 3rem;
    text-align: left;
    margin: 3rem 0;
}

.wp-block-pullquote blockquote p {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.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;
}

/* ── Table — Tactical Look ───────────────────────────────── */
.prose-zone table,
.entry-content table,
.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #000;
    margin: 2rem 0;
    font-size: 14px;
}

.prose-zone table thead,
.wp-block-table thead {
    background: var(--slate-ink);
}

.prose-zone table thead th,
.wp-block-table thead 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,0.1);
    font-style: italic;
    text-align: left;
}

.prose-zone table tbody td,
.wp-block-table tbody td {
    padding: 0.875rem 1.25rem;
    border: 2px solid #e2e8f0;
    font-weight: 500;
    color: #334155;
    vertical-align: top;
}

.prose-zone table tbody tr:hover td,
.wp-block-table tbody tr:hover td {
    background: #f8faff;
}

.prose-zone table tbody tr:nth-child(even) td {
    background: #fafaf8;
}

/* ── Code ────────────────────────────────────────────────── */
.prose-zone code,
.entry-content code,
.wp-block-code code {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    background: var(--slate-ink);
    color: #a5b4fc;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 700;
}

.wp-block-code,
.prose-zone pre {
    background: var(--slate-ink);
    border: 3px solid #000;
    box-shadow: 6px 6px 0 #000;
    padding: 2rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.wp-block-code code,
.prose-zone pre code {
    background: transparent;
    padding: 0;
    color: #a5b4fc;
    font-size: 14px;
    line-height: 1.7;
}

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

.wp-block-button__link:hover {
    transform: translate(2px, 2px) !important;
    box-shadow: 2px 2px 0 #000 !important;
    background: var(--soft-indigo) !important;
    color: #fff !important;
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent !important;
    color: var(--slate-ink) !important;
}

/* ── Separator ───────────────────────────────────────────── */
.wp-block-separator,
.prose-zone hr {
    border: none;
    border-top: 3px solid #000;
    margin: 3rem 0;
}

/* ── Columns & Group ─────────────────────────────────────── */
.wp-block-columns {
    margin-bottom: 2rem;
    gap: 2rem;
}

.wp-block-column {
    margin-bottom: 0;
}

.wp-block-group {
    padding: 2rem;
    border: 3px solid #000;
    box-shadow: 6px 6px 0 #000;
    margin: 2rem 0;
}

/* ── Cover Block ─────────────────────────────────────────── */
.wp-block-cover {
    border: 3px solid #000;
    box-shadow: 8px 8px 0 #000;
    margin: 2.5rem 0;
}

/* ── Media & Text ────────────────────────────────────────── */
.wp-block-media-text {
    gap: 2rem;
    border: 3px solid #000;
    padding: 2rem;
    box-shadow: 6px 6px 0 #000;
    margin: 2rem 0;
}

.wp-block-media-text .wp-block-media-text__media img {
    border: 2px solid #000;
}

/* ── Notice/Info Box ─────────────────────────────────────── */
.wp-block-notice,
.notice-box {
    border: 3px solid #000;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: #eff6ff;
    box-shadow: 6px 6px 0 var(--soft-indigo);
}

/* ── Tag (WordPress) ─────────────────────────────────────── */
.entry-content .wp-block-tag-cloud a,
a.tag-cloud-link {
    display: inline-block;
    padding: 4px 10px;
    border: 2px solid #000;
    font-size: 9px !important;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    color: var(--slate-ink);
    background: #fff;
    margin: 3px;
    box-shadow: 2px 2px 0 #000;
    transition: all 0.15s;
}

a.tag-cloud-link:hover {
    background: var(--slate-ink);
    color: #fff;
}

/* ── Comment Styling ─────────────────────────────────────── */
.comment-list { list-style: none; padding: 0; }
.comment-body {
    border: 2px solid #e2e8f0;
    border-left: 4px solid var(--soft-indigo);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: #fff;
}
.comment-author img {
    border-radius: 50%;
    border: 2px solid #000;
}
.comment-meta { margin-bottom: 0.75rem; }
.comment-author b { font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.comment-metadata { font-size: 10px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em; }
.reply a {
    font-size: 9px;
    font-weight: 900;
    color: var(--soft-indigo);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--soft-indigo);
}
.comment-form input,
.comment-form textarea {
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    padding: 0.75rem !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
    width: 100%;
    margin-bottom: 1rem;
}
.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    box-shadow: 4px 4px 0 var(--soft-indigo) !important;
    border-color: var(--soft-indigo) !important;
}
.comment-form .submit {
    background: var(--soft-indigo);
    color: #fff;
    border: 2px solid #000 !important;
    box-shadow: 4px 4px 0 #000;
    font-family: 'Archivo Black', sans-serif;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.6rem 1.4rem;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    border-radius: 0 !important;
}
.comment-form .submit:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #000;
}

/* ── Search Form ─────────────────────────────────────────── */
.search-form { display: flex; gap: 0; }
.search-form .search-field {
    border: 2px solid #000;
    padding: 0.5rem 0.75rem;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    font-style: italic;
    font-family: 'Plus Jakarta Sans', sans-serif;
    flex: 1;
    outline: none;
    background: #fcfaf2;
}
.search-form .search-submit {
    background: var(--soft-indigo);
    color: #fff;
    border: 2px solid #000;
    font-family: 'Archivo Black', sans-serif;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0 1rem;
    cursor: pointer;
    transition: background 0.15s;
}
.search-form .search-submit:hover { background: var(--slate-ink); }

/* ── Screen reader text ──────────────────────────────────── */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
}


/* ============================================================
   PRO-FIX ADDITIONS (from fix.txt)
============================================================ */

/* Smart FCC — hide state */
.hidden-fcc {
    transform: translateX(-50%) translateY(150%) !important;
    opacity: 0 !important;
    pointer-events: none;
}

/* Dot Grid Background */
.bg-dot-grid {
    background-image: radial-gradient(#000 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    opacity: 0.05;
}

/* Images in article content — Brutal style */
#post-content img {
    border: 3px solid #000;
    box-shadow: 8px 8px 0px 0px #000;
    margin: 2rem 0;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#post-content img:hover {
    transform: translate(4px, 4px);
    box-shadow: 2px 2px 0px 0px #000;
}


/* ============================================================
   Z-INDEX STACK — Kerjaya Theme
   Hierarchy yang jelas supaya tiada pertindihan:
     9999  — Reading Progress Bar (paling atas)
     1100  — Mobile TOC Panel (atas FCC)
     1050  — Mobile TOC Trigger Button
     1000  — Floating Command Center (FCC)
      200  — Glass Nav (sticky)
       10  — Content z-index (relative elements)
============================================================ */

/* Reading Progress Bar — paling atas */
#progress-bar {
    z-index: 9999 !important;
}

/* Glass Nav — sticky, atas content */
.glass-nav,
#site-header {
    z-index: 200;
}

/* FCC — floating pill navigasi */
.command-center,
#command-center {
    z-index: 1000;
}

/* Mobile TOC Trigger — lebih tinggi dari FCC */
#toc-mobile-trigger {
    z-index: 1050;
}

/* Mobile TOC Panel — paling tinggi dalam group TOC */
#toc-mobile-panel {
    z-index: 1100;
}

/* SEO: aspect-ratio untuk Featured Images — elak Layout Shift */
.featured-image-wrap {
    aspect-ratio: 2.2 / 1;
    overflow: hidden;
    background-color: #f1f5f9; /* placeholder colour sebelum image load */
}

.featured-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Schema Breadcrumb nav styling */
.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;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1800px;
}

.kerjaya-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.kerjaya-breadcrumbs a:hover {
    color: var(--soft-indigo);
}
