/* ===== RESET & DESIGN TOKENS ===== */
:root {
  --bg: #F9FAFB;
  --surface: #ffffff;
  --text: #1F2937;
  --text-secondary: #6B7280;
  --text-tertiary: #9CA3AF;
  --primary: #1D4ED8;
  --primary-light: #EFF6FF;
  --primary-border: #BFDBFE;
  --primary-hover: #1e40af;
  --saffron: #FF9933;
  --green: #138808;
  --success: #16a34a;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --radius: 10px;
  --radius-lg: 12px;
  --radius-pill: 100px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: all 0.2s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  font-family: var(--font);
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--primary); text-decoration: none; transition: var(--ease); }
a:hover { color: var(--primary-hover); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }

/* ===== HEADER ===== */
.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-xs);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}
.logo:hover { color: var(--text); text-decoration: none; }
.logo span { color: var(--primary); }
.logo-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: #6B7280;
  margin-top: -2px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: var(--ease);
}
.burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 12px;
  font-size: 1.15rem;
  cursor: pointer;
  color: var(--text);
}

/* Nav */
.nav { display: flex; gap: 12px; align-items: center; }
.nav a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: var(--ease);
  text-decoration: none;
  white-space: nowrap; /* Prevent words from wrapping vertically */
}
.nav a:hover {
  background: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
}

/* Responsive Scaling for Navigation to Prevent Wrapping */
@media (max-width: 1040px) and (min-width: 769px) {
  .logo-subtitle {
    font-size: 9.5px;
    letter-spacing: 0.2px;
  }
  .nav {
    gap: 8px;
  }
  .nav a {
    padding: 6px 12px;
    font-size: 13px;
  }
}
@media (max-width: 900px) and (min-width: 769px) {
  .logo-subtitle {
    display: none;
  }
  .nav {
    gap: 4px;
  }
  .nav a {
    padding: 6px 8px;
    font-size: 12px;
  }
}

/* ===== SEARCH ===== */
.search-bar {
  background: var(--surface);
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.search-form {
  display: flex;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}
.search-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  background: var(--bg);
  color: var(--text);
  transition: var(--ease);
}
.search-form input:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.08);
}
#btn-search {
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: var(--ease);
}
#btn-search:hover { background: var(--primary-hover); }
.quick-links {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}
.quick-links strong { color: var(--text); font-weight: 600; }
.quick-links a {
  color: var(--text-secondary);
  background: var(--border-light);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  text-decoration: none;
  transition: var(--ease);
}
.quick-links a:hover { background: var(--border); color: var(--text); text-decoration: none; }

/* ===== HOMEPAGE HERO ===== */
.hero {
  background: linear-gradient(135deg, #FF9933 0%, #FFFFFF 50%, #138808 100%);
  padding: 56px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -50px;
  transform: translateY(-50%);
  width: 250px;
  height: 250px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="48" fill="none" stroke="%231D4ED8" stroke-width="2"/><circle cx="50" cy="50" r="10" fill="%231D4ED8"/><g stroke="%231D4ED8" stroke-width="1.5"><line x1="50" y1="50" x2="50" y2="2"/><line x1="50" y1="50" x2="62" y2="3"/><line x1="50" y1="50" x2="74" y2="8"/><line x1="50" y1="50" x2="84" y2="15"/><line x1="50" y1="50" x2="92" y2="26"/><line x1="50" y1="50" x2="97" y2="38"/><line x1="50" y1="50" x2="98" y2="50"/><line x1="50" y1="50" x2="97" y2="62"/><line x1="50" y1="50" x2="92" y2="74"/><line x1="50" y1="50" x2="84" y2="85"/><line x1="50" y1="50" x2="74" y2="92"/><line x1="50" y1="50" x2="62" y2="97"/><line x1="50" y1="50" x2="50" y2="98"/><line x1="50" y1="50" x2="38" y2="97"/><line x1="50" y1="50" x2="26" y2="92"/><line x1="50" y1="50" x2="16" y2="85"/><line x1="50" y1="50" x2="8" y2="74"/><line x1="50" y1="50" x2="3" y2="62"/><line x1="50" y1="50" x2="2" y2="50"/><line x1="50" y1="50" x2="3" y2="38"/><line x1="50" y1="50" x2="8" y2="26"/><line x1="50" y1="50" x2="16" y2="15"/><line x1="50" y1="50" x2="26" y2="8"/><line x1="50" y1="50" x2="38" y2="3"/></g></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.05;
  pointer-events: none;
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== CATEGORY CARDS ===== */
.categories { padding: 32px 0 8px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-top: 2px solid var(--saffron);
  color: var(--text);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: var(--ease);
  position: relative;
  gap: 4px;
}
.cat-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
  border-top-color: var(--saffron);
  color: var(--text);
  text-decoration: none;
}
/* Remove old color classes — all cards are white now */
.cat-box.red, .cat-box.blue, .cat-box.green, .cat-box.orng {
  background: var(--surface);
  color: var(--text);
}
.cat-box.pvt-focus {
  border: 1.5px solid var(--primary-border);
  background: var(--primary-light);
  box-shadow: var(--shadow-sm);
}
.cat-box.pvt-focus:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.hot-badge-top {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.cn { font-size: 1.05rem; font-weight: 600; display: block; color: var(--text); }

/* ===== TICKER ===== */
.ticker-wrap {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  overflow: hidden;
  margin-bottom: 8px;
}
.ticker-row { display: flex; align-items: center; gap: 12px; }
.ticker-label {
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}
.ticker-track { overflow: hidden; flex: 1; }
.ticker-span {
  display: inline-block;
  white-space: nowrap;
  font-size: 14px;
  color: var(--text-secondary);
  animation: tick 45s linear infinite;
}
.ticker-span a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  padding: 0 4px;
}
.ticker-span a:hover { color: var(--primary); }
@keyframes tick { from { transform: translateX(100%); } to { transform: translateX(-100%); } }

/* ===== MAIN LAYOUT ===== */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  padding: 24px 0 48px;
  align-items: start;
}

/* ===== CONTENT SECTIONS ===== */
.job-section {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-top: 2px solid var(--saffron);
  border-radius: 12px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.sec-head h1,
.sec-head h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.2px;
}
/* Neutralize all old colored header variants */
.rh, .bh, .gh, .oh {
  background: var(--surface) !important;
  border-bottom: 1px solid var(--border) !important;
  border-bottom-color: var(--border) !important;
}
.rh h2, .bh h2, .gh h2, .oh h2,
.rh h1, .bh h1, .gh h1, .oh h1 {
  color: var(--text) !important;
}

/* Category page description strip */
.cat-desc {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
}
.cat-desc p { margin: 0; }
.cat-desc strong { color: var(--text); }

.view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: var(--ease);
}
.view-all:hover { background: var(--primary-light); text-decoration: none; }

/* ===== ARTICLE LIST ===== */
.jlist { background: var(--surface); }
.jlist li {
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.7;
  transition: var(--ease);
  gap: 6px;
}
.jlist li:last-child { border-bottom: none; }
.jlist li:hover { background: var(--bg); }
.jlist li p { color: var(--text-secondary); font-size: 14px; line-height: 1.65; margin: 0; }
.jlist .empty-state {
  padding: 40px 24px;
  color: var(--text-tertiary);
  text-align: center;
  font-size: 14px;
}
.jtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
  transition: var(--ease);
}
.jtitle:hover { color: var(--primary); }

/* Removed legacy badge styles */

/* Meta row */
.jmeta {
  font-size: 13px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

/* Read Guide button */
.apbtn {
  display: inline-block;
  background: var(--surface);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--border);
  transition: var(--ease);
}
.apbtn:hover {
  background: var(--primary-light);
  border-color: var(--primary-border);
  color: var(--primary);
  text-decoration: none;
}

/* ===== SIDEBAR ===== */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sb-box {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  border-top: 2px solid var(--saffron);
}
.sb-head {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  background: none !important;
  letter-spacing: -0.1px;
}
.sb-box ul { padding: 0; }
.sb-box li a {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  transition: var(--ease);
}
.sb-box li:last-child a { border-bottom: none; padding-bottom: 0; }
.sb-box li a:hover { color: var(--primary); padding-left: 4px; }

/* Sidebar text */
.sb-box p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.6;
}

/* Subscribe input */
.sb-box input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  margin-bottom: 10px;
  transition: var(--ease);
  background: var(--bg);
  color: var(--text);
}
.sb-box input[type="email"]:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.08);
}
#btn-alert {
  width: 100%;
  padding: 11px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: var(--ease);
  letter-spacing: 0.2px;
}
#btn-alert:hover { background: var(--primary-hover); }

/* ===== FOOTER ===== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
  color: var(--text-secondary);
  margin-top: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.foot-logo { font-size: 1.3rem; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.foot-logo span { color: var(--primary); }
.footer p { font-size: 14px; line-height: 1.65; }
.footer-grid > div > strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-grid > div > a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 5px 0;
  text-decoration: none;
  transition: var(--ease);
}
.footer-grid > div > a:hover { color: var(--primary); }
.foot-bottom { padding: 20px 0; font-size: 13px; text-align: center; color: var(--text-tertiary); }

/* ===== ARTICLE DETAIL PAGE ===== */
.article-hero {
  background: var(--bg);
  padding: 48px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.article-hero .cat-pill {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}
.article-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.article-hero .article-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--text-secondary);
  font-size: 14px;
}
.article-body {
  padding: 40px;
  line-height: 1.85;
  color: var(--text);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto;
}
.article-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 36px;
  margin-bottom: 14px;
}
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol {
  margin: 12px 0 20px 20px;
  color: var(--text-secondary);
}
.article-body li { margin-bottom: 6px; }
.article-img {
  margin-bottom: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.article-img img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-tags span {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}
.share-box {
  margin-top: 40px;
  padding: 32px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
}
.share-box h4 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 700;
}
.share-box p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.share-box .share-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.share-box .share-links a {
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  color: #fff;
  transition: var(--ease);
}
.share-box .share-links a:hover { opacity: 0.9; transform: translateY(-1px); color: #fff; text-decoration: none; }
.share-btn-linkedin { background: #0A66C2; }
.share-btn-twitter  { background: #1D9BF0; }
.share-btn-telegram { background: #229ED9; }

/* ===== ARTICLE RECOMMENDATION SECTION ===== */
.article-reco {
  margin-top: 40px;
  padding: 32px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.article-reco h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 28px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  letter-spacing: -0.2px;
}
.article-reco h2:first-child { margin-top: 0; }
.article-reco ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-reco ul li {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  border-radius: var(--radius);
  transition: var(--ease);
}
.article-reco ul li:hover {
  background: var(--surface);
}
.article-reco ul li strong {
  color: var(--text);
  font-weight: 600;
}
@media(max-width: 768px) {
  .article-reco { padding: 20px 16px; margin-top: 28px; }
  .article-reco h2 { font-size: 1.05rem; }
}

/* ===== SCROLL TOP ===== */
.go-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--ease);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}
.go-top:hover { border-color: var(--primary-border); color: var(--primary); }
.go-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media(max-width: 900px) {
  .main-layout { grid-template-columns: 1fr; gap: 24px; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2rem; }
}
@media(max-width: 768px) {
  .wrap { padding: 0 16px; }
  .burger { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 8px 0;
    box-shadow: var(--shadow-md);
    z-index: 199;
    border-top: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 14px 24px;
    border-radius: 0;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
    text-align: left;
  }
  .nav a:hover { background: var(--bg); }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-box { padding: 24px 12px; }
  .sidebar { grid-template-columns: 1fr; }
  .search-form { flex-direction: column; }
  .search-form input, #btn-search { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .topbar-inner span:last-child { display: none; }
  .sec-head { padding: 16px 20px; }
  .jlist li { padding: 16px 20px; }
  .hero { padding: 40px 16px; }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 1rem; }
  .article-hero { padding: 32px 20px; }
  .article-hero h1 { font-size: 1.8rem; }
  .article-body { padding: 24px 20px; }
  .sb-box { padding: 16px 20px; }
  .sb-box { padding: 16px 20px; }
  .cat-desc { padding: 14px 20px; }
}

/* ===== AI AUDIT DASHBOARD WIDGET ===== */
.audit-dashboard {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.audit-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1D4ED8, #FF9933, #138808);
}
.audit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}
.audit-title {
  display: flex;
  flex-direction: column;
}
.audit-title h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.audit-title span {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.audit-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.audit-grade-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  box-shadow: 0 0 12px rgba(29, 78, 216, 0.15);
  animation: pulseGrading 2.5s infinite alternate;
}
@keyframes pulseGrading {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}
.audit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.audit-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(243, 244, 246, 0.8);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: var(--ease);
}
.audit-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-xs);
}
.audit-item-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.audit-item-val {
  font-weight: 700;
}
.audit-progress-bg {
  height: 6px;
  background: var(--border-light);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.audit-progress-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Colorful themes based on metric */
.fill-readability { background: #3B82F6; }
.fill-seo { background: #8B5CF6; }
.fill-relevance { background: #EC4899; }
.fill-topic { background: #F59E0B; }
.fill-hinglish { background: #10B981; }
.fill-engagement { background: #EF4444; }

@media(max-width: 768px) {
  .audit-grid { grid-template-columns: 1fr; }
  .audit-header { flex-direction: column; align-items: flex-start; }
  .audit-badge-wrap { width: 100%; justify-content: space-between; margin-top: 8px; }
}