/* ================================================
   DIMSONSGFX — patch.css v4 (Electric Blue Edition)
   Updates:
   1. All green (#36c537) replaced with vibrant Electric Blue (#0080ff)
   2. Full-width layout (zero side margins/gaps)
   3. Centered "Download" button on cards
   4. High-tech glowing theme toggle icon
   5. Fluid animations on category switch & card hover
   6. Seamless dark & light themes
   ================================================ */

/* ── Webfonts (Font Awesome 5 Pro) ── */
@font-face {
  font-family: 'Font Awesome 5 Pro';
  font-style: normal; font-weight: 300;
  src: url('../webfonts/fa-light-300.woff2') format('woff2'),
       url('../webfonts/fa-light-300.woff') format('woff');
}
@font-face {
  font-family: 'Font Awesome 5 Pro';
  font-style: normal; font-weight: 400;
  src: url('../webfonts/fa-regular-400.woff2') format('woff2'),
       url('../webfonts/fa-regular-400.woff') format('woff');
}
@font-face {
  font-family: 'Font Awesome 5 Pro';
  font-style: normal; font-weight: 900;
  src: url('../webfonts/fa-solid-900.woff2') format('woff2'),
       url('../webfonts/fa-solid-900.woff') format('woff');
}
@font-face {
  font-family: 'Font Awesome 5 Brands';
  font-style: normal; font-weight: 400;
  src: url('../webfonts/fa-brands-400.woff2') format('woff2'),
       url('../webfonts/fa-brands-400.woff') format('woff');
}
.far { font-family: 'Font Awesome 5 Pro'; font-weight: 400; font-style: normal; display: inline-block; }
.fas { font-family: 'Font Awesome 5 Pro'; font-weight: 900; font-style: normal; display: inline-block; }
.fab { font-family: 'Font Awesome 5 Brands'; font-weight: 400; font-style: normal; display: inline-block; }

/* ── BRAND LOGO with custom emblem ── */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto !important;
  height: 60px;
  text-decoration: none;
}
.logo img.logo-icon {
  display: inline-block !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(0, 128, 255, 0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logo:hover img.logo-icon {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 22px rgba(0, 128, 255, 0.8);
}
.logo-text {
  display: block !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #010101;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.logo-text .accent { color: #0080ff; }
[data-theme="dark"] .logo-text { color: #f0f0f0; }

/* ── FULL-WIDTH LAYOUT (Dark by default, smooth theme transitions) ── */
html, body {
  width: 100%;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #12161f !important;
  background-image: none !important;
  color: #e0e0e0;
  transition: background-color 0.25s ease, color 0.25s ease;
}
[data-theme="light"] html,
[data-theme="light"] body {
  background-color: #f0f1f5 !important;
  color: #1f2937 !important;
}
[data-theme="dark"] html,
[data-theme="dark"] body {
  background-color: #12161f !important;
  color: #e0e0e0 !important;
}
.wrap {
  width: 100% !important;
  min-width: 100% !important;
}
.wrap-center {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  background-color: transparent !important;
}
.header, .footer {
  width: 100% !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  box-sizing: border-box !important;
}
.content {
  width: 100% !important;
  padding: 30px 40px !important;
  box-sizing: border-box !important;
}
.col-left {
  width: 300px !important;
  flex-shrink: 0 !important;
}
.side-box {
  padding: 22px 18px !important;
  border-radius: 10px !important;
}
.col-main {
  padding: 0 0 0 35px !important;
  width: calc(100% - 300px) !important;
  width: -webkit-calc(100% - 300px) !important;
}

/* ── 3-COLUMN RESPONSIVE GRID ── */
.short-item {
  width: 31.8% !important;
  margin-bottom: 25px !important;
  padding-bottom: 80px !important;
}

@media screen and (max-width: 1220px) {
  .header, .footer, .content { padding-left: 20px !important; padding-right: 20px !important; }
}
@media screen and (max-width: 950px) {
  .short-item { width: 48% !important; }
}
@media screen and (max-width: 590px) {
  .short-item { width: 100% !important; }
  .col-main { padding: 0 !important; width: 100% !important; }
}

/* ── FLUID ANIMATIONS ON CATEGORY NAVIGATION ── */
@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes sectionFadeIn {
  0% {
    opacity: 0.6;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.col-main {
  animation: sectionFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.short-item {
  animation: cardEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 8px !important;
  overflow: hidden;
}
.short-item:nth-child(1) { animation-delay: 0.03s; }
.short-item:nth-child(2) { animation-delay: 0.06s; }
.short-item:nth-child(3) { animation-delay: 0.09s; }
.short-item:nth-child(4) { animation-delay: 0.12s; }
.short-item:nth-child(5) { animation-delay: 0.15s; }
.short-item:nth-child(6) { animation-delay: 0.18s; }
.short-item:nth-child(7) { animation-delay: 0.21s; }
.short-item:nth-child(8) { animation-delay: 0.24s; }
.short-item:nth-child(9) { animation-delay: 0.27s; }

/* Interactive card hover */
.short-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 128, 255, 0.18) !important;
  border-color: rgba(0, 128, 255, 0.35) !important;
}
[data-theme="dark"] .short-item {
  border: 1px solid rgba(255,255,255,0.04);
}
[data-theme="dark"] .short-item:hover {
  box-shadow: 0 16px 36px rgba(0, 128, 255, 0.28) !important;
  border-color: rgba(0, 140, 255, 0.45) !important;
}
.short-img img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.short-item:hover .short-img img {
  transform: scale(1.06);
}

/* ── CATEGORY BADGE ON IMAGE ── */
.short-category {
  background: rgba(0, 128, 255, 0.92) !important;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 8px rgba(0, 128, 255, 0.35);
  text-transform: uppercase;
}

/* ── CENTERED "DOWNLOAD" BUTTON ── */
.short-bottom {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 16px;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.button, .btn, .short-btn.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  padding: 0 28px !important;
  height: 40px !important;
  line-height: 40px !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #0080ff 0%, #0060df 100%) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 15px rgba(0, 128, 255, 0.35) !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.button:hover, .btn:hover, .short-btn.btn:hover {
  background: linear-gradient(135deg, #1a8cff 0%, #0070f3 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 22px rgba(0, 128, 255, 0.55) !important;
  transform: translateY(-2px) !important;
}

/* Theme toggle button styles defined below in 3D Icons section */

/* ── SIDEBAR CATEGORIES (STYLISH, MODERN, HIGH CONTRAST) ── */
.side-bt {
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  margin-bottom: 18px !important;
  display: flex !important;
  align-items: center !important;
}
.side-bt:before {
  content: "" !important;
  display: inline-block !important;
  width: 4px !important;
  height: 18px !important;
  background: #0080ff !important;
  margin-right: 10px !important;
  border-radius: 2px !important;
  box-shadow: 0 0 10px #0080ff !important;
}
.side-menu, ul.side-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
}
.side-menu > li, ul.side-menu > li {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  flex-shrink: 0 !important;
}
.side-menu > li > a, ul.side-menu > li > a {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.25px !important;
  height: 42px !important;
  line-height: 42px !important;
  padding: 0 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  box-sizing: border-box !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  color: #1e293b !important;
  background: rgba(0, 0, 0, 0.02) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-left: 3px solid transparent !important;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  text-decoration: none !important;
}
.side-menu > li > a:before {
  display: none !important;
}
.side-menu > li > a:hover {
  background: rgba(0, 128, 255, 0.1) !important;
  color: #0080ff !important;
  border-color: rgba(0, 128, 255, 0.25) !important;
  border-left: 3px solid #0080ff !important;
  transform: translateX(4px) !important;
}
.side-menu > li.active > a {
  background: linear-gradient(90deg, rgba(0, 128, 255, 0.22) 0%, rgba(0, 128, 255, 0.08) 100%) !important;
  color: #0080ff !important;
  font-weight: 700 !important;
  border-color: rgba(0, 128, 255, 0.35) !important;
  border-left: 3px solid #0080ff !important;
  box-shadow: 0 4px 14px rgba(0, 128, 255, 0.2) !important;
}
.cat-name {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.cat-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 24px !important;
  height: 22px !important;
  padding: 0 7px !important;
  border-radius: 12px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  margin-left: 8px !important;
  flex-shrink: 0 !important;
  transition: all 0.22s ease !important;
}
.side-menu > li.active .cat-count,
.side-menu > li > a:hover .cat-count {
  background: #0080ff !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(0, 128, 255, 0.5) !important;
}

/* ── HEADER NAVIGATION & HOVER (NO OVERLAPPING) ── */
.logo {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  width: auto !important;
  min-width: 150px !important;
  flex-shrink: 0 !important;
  margin-right: 15px !important;
}
.header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  min-height: 70px !important;
}
.header .header-menu {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  overflow: hidden !important;
}
.header .header-menu > li {
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.header .header-menu > li > a {
  display: inline-block !important;
  height: 40px !important;
  line-height: 40px !important;
  padding: 0 6px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
[data-theme="light"] .header .header-menu > li > a {
  color: #374151 !important;
}
.header .header-menu > li.active > a,
.header .header-menu > li > a:hover {
  color: #0080ff !important;
}
a:hover, a:focus {
  color: #0080ff !important;
}

/* ── PAGINATION (BLUE ACCENT) ── */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pagination li a,
.pagination li span {
  display: inline-block;
  padding: 0 15px;
  line-height: 40px;
  min-width: 40px;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  transition: all .3s;
  color: #010101;
  text-align: center;
}
.pagination li span,
.pagination li a:hover {
  background-color: #0080ff !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(0, 128, 255, 0.35);
}

/* ── BACK TO TOP (BLUE ACCENT) ── */
#gotop {
  position: fixed; width: 42px; height: 42px; line-height: 42px;
  right: 18px; bottom: 18px; z-index: 990; display: none;
  background-color: #fff; color: #444; cursor: pointer;
  font-size: 18px; border-radius: 50%; text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12); border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#gotop:hover {
  background-color: #0080ff !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(0, 128, 255, 0.5) !important;
  transform: translateY(-3px);
}

/* ── RICH EXTERNAL SEO (.site-desc) ── */
.site-desc {
  line-height: 1.6;
  padding: 30px 35px;
  background-color: #fff;
  border-radius: 8px;
  margin: 35px 0 20px 0;
  box-shadow: 0 2px 14px rgba(0,0,0,0.03);
  border: 1px solid #e3e8ef;
}
.site-desc h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #010101;
}
.site-desc h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 18px 0 8px 0;
  color: #0080ff !important;
}
.site-desc p {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.site-desc ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

/* ── SEARCH OVERLAY ── */
.search-wrap {
  display: none !important;
  width: 100%;
  max-width: 700px;
  padding: 30px;
  color: #fff;
  position: fixed;
  z-index: 99999 !important;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 26, 36, 0.98) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 128, 255, 0.35) !important;
  border-radius: 0 0 16px 16px !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7) !important;
}
.search-wrap.visible {
  display: block !important;
  animation: searchSlideDown 0.25s ease-out forwards;
}
@keyframes searchSlideDown {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ── 3D GLASSMORPHIC HEADER ICONS & CLEAN BUTTONS ── */
.nav-icon-3d {
  width: 36px !important;
  height: 36px !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 0 8px rgba(0, 128, 255, 0.45));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
  user-select: none;
  pointer-events: none;
}
button.search-btn,
button.btn-menu,
button.theme-toggle-btn,
.search-btn,
.btn-menu,
#themeToggle {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 0 0 10px !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  line-height: 1 !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  overflow: visible !important;
}
button.search-btn:hover,
button.btn-menu:hover,
button.theme-toggle-btn:hover,
.search-btn:hover,
.btn-menu:hover,
#themeToggle:hover {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}
button.search-btn:hover .nav-icon-3d,
button.btn-menu:hover .nav-icon-3d {
  transform: scale(1.12) translateY(-1px);
  filter: drop-shadow(0 0 14px rgba(0, 140, 255, 0.9));
}
#themeToggle:hover .nav-icon-3d {
  transform: scale(1.12) rotate(15deg);
  filter: drop-shadow(0 0 14px rgba(255, 180, 0, 0.85));
}
[data-theme="light"] #themeToggle .nav-icon-3d {
  transform: rotate(180deg);
}
[data-theme="light"] #themeToggle:hover .nav-icon-3d {
  transform: rotate(180deg) scale(1.12);
}
button.search-close, button.btn-close {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  color: inherit !important;
  outline: none !important;
}

/* ── MOBILE DRAWER ── */
.side-panel {
  width: 280px; height: 100%; overflow-x: hidden; overflow-y: auto;
  background-color: #fff; padding: 20px; z-index: 9999;
  position: fixed; left: -320px; top: 0; transition: left 0.4s;
}
.side-panel.active { left: 0; }
.close-overlay {
  display: none; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  position: fixed; left: 0; top: 0; z-index: 9998;
}
.close-overlay.active { display: block; }

/* ════════════════════════════════
   DARK THEME (SEAMLESS ELECTRIC BLUE)
   ════════════════════════════════ */
[data-theme="dark"] body         { background-color: #161a22 !important; background-image: none !important; color: #e0e0e0; }
[data-theme="dark"] .wrap-center { background-color: transparent !important; }
[data-theme="dark"] .header      { background-color: #1b2029; box-shadow: 0 0 18px rgba(0,0,0,0.35); }
[data-theme="dark"] .side-box    { background-color: #1f2530; box-shadow: 0 2px 14px rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.04); }
[data-theme="dark"] .short-item  { background-color: #1f2530; box-shadow: 0 2px 14px rgba(0,0,0,0.25); }
[data-theme="dark"] .site-desc   { background-color: #1f2530; border-color: rgba(255,255,255,0.06); box-shadow: 0 2px 14px rgba(0,0,0,0.25); }
[data-theme="dark"] .site-desc h2 { color: #f0f0f0; }
[data-theme="dark"] .site-desc h3 { color: #38bdf8 !important; }
[data-theme="dark"] .site-desc p, [data-theme="dark"] .site-desc li { color: #a4b1c2; }
[data-theme="dark"] a            { color: #e0e0e0; }
[data-theme="dark"] a:hover, [data-theme="dark"] a:focus { color: #38bdf8 !important; }
[data-theme="dark"] .header .header-menu > li > a { color: #e0e0e0; }
[data-theme="dark"] .short-title  { color: #f0f0f0; }
[data-theme="dark"] .short-meta   { color: #8a94a6; }
[data-theme="dark"] .short-text   { color: #a4b1c2; }
[data-theme="dark"] .footer       { background-color: #12151c; color: #8a94a6; }
[data-theme="dark"] .side-bt      { color: #ffffff !important; }
[data-theme="dark"] .side-menu > li > a {
  color: #f1f5f9 !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-left: 3px solid transparent !important;
}
[data-theme="dark"] .side-menu > li > a:hover {
  background: rgba(0, 140, 255, 0.16) !important;
  color: #38bdf8 !important;
  border-color: rgba(0, 140, 255, 0.35) !important;
  border-left: 3px solid #0080ff !important;
  transform: translateX(4px) !important;
}
[data-theme="dark"] .side-menu > li.active > a {
  background: linear-gradient(90deg, rgba(0, 128, 255, 0.3) 0%, rgba(0, 128, 255, 0.08) 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-color: rgba(0, 128, 255, 0.45) !important;
  border-left: 3px solid #0080ff !important;
  box-shadow: 0 4px 16px rgba(0, 128, 255, 0.3) !important;
}
[data-theme="dark"] .cat-count {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] .side-menu > li.active .cat-count,
[data-theme="dark"] .side-menu > li > a:hover .cat-count {
  background: #0080ff !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(0, 128, 255, 0.6) !important;
}
[data-theme="dark"] .pagination li a { background-color: #1f2530; color: #e0e0e0; }
[data-theme="dark"] #gotop        { background-color: #1f2530; color: #e0e0e0; }
[data-theme="dark"] .fmain        { color: #e0e0e0; }
[data-theme="dark"] .full-text    { color: #b8c4d4; }
[data-theme="dark"] .ftags a      { background-color: #161a22; color: #8a94a6; }
[data-theme="dark"] .fbtm-one     { border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .sect-title   { color: #f0f0f0; }
[data-theme="dark"] .side-panel   { background-color: #1b2029; }

/* ── LIGHT THEME OVERRIDES ── */
[data-theme="light"] .wrap-center { background-color: transparent !important; }
[data-theme="light"] .header      { background-color: #ffffff !important; box-shadow: 0 1px 12px rgba(0,0,0,0.06) !important; }
[data-theme="light"] .side-box    { background-color: #ffffff !important; box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important; border: 1px solid rgba(0,0,0,0.06) !important; }
[data-theme="light"] .short-item  { background-color: #ffffff !important; box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important; border: 1px solid rgba(0,0,0,0.06) !important; }
[data-theme="light"] .short-title { color: #111827 !important; }
[data-theme="light"] .short-meta  { color: #6b7280 !important; }
[data-theme="light"] .side-bt     { color: #111827 !important; }
[data-theme="light"] .side-menu > li > a { color: #374151 !important; background: rgba(0,0,0,0.02) !important; }
[data-theme="light"] .side-menu > li > a:hover { background: rgba(0, 128, 255, 0.08) !important; color: #0080ff !important; }
[data-theme="light"] .side-menu > li.active > a { background: #0080ff !important; color: #ffffff !important; }
[data-theme="light"] .side-menu > li.active .cat-count { background: #ffffff !important; color: #0080ff !important; }
[data-theme="light"] .footer      { background-color: #1e293b !important; color: #94a3b8 !important; }
[data-theme="light"] .sect-title  { color: #111827 !important; }

/* ── ULTRA-CRISP PREVIEW RENDERING ── */
.short-img img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
[data-theme="dark"] .side-box {
  background-color: #171c26 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
}
[data-theme="dark"] .short-item {
  background-color: #171c26 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] .side-menu > li.active > a {
  background: linear-gradient(90deg, rgba(0, 128, 255, 0.26) 0%, rgba(0, 128, 255, 0.06) 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: 1px solid rgba(0, 140, 255, 0.45) !important;
  border-left: 3px solid #0080ff !important;
  box-shadow: 0 4px 16px rgba(0, 128, 255, 0.2) !important;
}
