/* Generated by VlahX Core. Do not edit manually. */
/* Active theme: smarald */
:root {
  color-scheme: light dark;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

html[data-bs-theme="dark"] {
  background-color: #0b1020;
}

html[data-bs-theme="light"] {
  background-color: #f8f9fa;
}

body {
  min-height: 100vh;
  margin: 0;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(var(--bs-primary-rgb), 0.08), transparent 25%),
    radial-gradient(circle at 85% 90%, rgba(var(--bs-secondary-rgb), 0.06), transparent 25%);
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bs-border-color);
}

.hero-section {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-info) 100%);
  color: white;
  padding: 4rem 0;
  margin-bottom: 3rem;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.card-modern {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(var(--bs-body-color-rgb), 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2rem rgba(var(--bs-body-color-rgb), 0.2);
}

.btn-modern {
  border-radius: 2rem;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-modern:hover {
  transform: translateY(-1px);
}

.category-pill {
  border-radius: 2rem;
  padding: 0.35rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.category-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.25rem 0.5rem rgba(var(--bs-body-color-rgb), 0.16);
}

/* Post hero */
.post-hero {
  border-radius: 1rem;
  overflow: hidden;
  margin: 0;
  background: rgba(var(--bs-body-color-rgb), 0.04);
  border: 1px solid rgba(var(--bs-body-color-rgb), 0.08);
  aspect-ratio: 1200 / 630;
  width: 100%;
}
.post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Article typography */
.post-body {
  font-size: 1.05rem;
  line-height: 1.8;
}
.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4 {
  letter-spacing: -0.01em;
  margin-top: 1.7em;
  margin-bottom: 0.6em;
}
.post-body h2 { font-size: 1.55rem; }
.post-body h3 { font-size: 1.3rem; }
.post-body a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}
.post-body p { margin: 0 0 1.1em; }
.post-body ul,
.post-body ol { margin-bottom: 1.1em; }
.post-body li { margin: 0.35em 0; }
.post-body blockquote {
  border-left: 4px solid rgba(var(--bs-primary-rgb), 0.6);
  padding: 0.5rem 1rem;
  margin: 1.25rem 0;
  color: var(--bs-secondary-color);
  background: rgba(var(--bs-body-color-rgb), 0.04);
  border-radius: 0.5rem;
}
.post-body pre,
.post-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.post-body pre {
  padding: 1rem;
  border-radius: 0.75rem;
  overflow: auto;
  background: rgba(var(--bs-body-color-rgb), 0.06);
  border: 1px solid rgba(var(--bs-body-color-rgb), 0.1);
}
.post-body code {
  background: rgba(var(--bs-body-color-rgb), 0.06);
  border: 1px solid rgba(var(--bs-body-color-rgb), 0.1);
  border-radius: 0.4rem;
  padding: 0.1rem 0.35rem;
}

/* Images inside article body */
.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1rem 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.table-header th {
  color: var(--bs-body-color);
  font-weight: 600;
  border: none;
}
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.share-btn {
  min-width: 10rem;
}
.share-toast {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background-color: rgba(var(--bs-body-color-rgb), 0.08);
  color: inherit;
  border: 1px solid rgba(var(--bs-body-color-rgb), 0.14);
}
.share-toast--err {
  background-color: rgba(248, 215, 218, 0.9);
  color: #842029;
  border-color: #f5c2c7;
}
.share-offscreen {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.footer small {
  color: var(--bs-secondary-color);
}

/* Admin editor: mobile & tablet (Bootstrap sm/md sub lg) */
@media (max-width: 991.98px) {
  .admin-editor-page .tox .tox-edit-area__iframe {
    min-height: 38vh;
  }
  .admin-editor-actions {
    position: sticky;
    bottom: 0;
    z-index: 1035;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.12);
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px)) !important;
  }
}
html[data-bs-theme="dark"] .admin-editor-actions {
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.35);
}


/* Theme overrides */
/* ============================================
 *   EMERALD THEME v1.0.1 — VlahX Core 2.0
 *   Accent: #10b981 (Emerald 500)
 *   ============================================ */
:root {
  --emerald-50:  #ecfdf5; --emerald-100: #d1fae5; --emerald-200: #a7f3d0; --emerald-300: #6ee7b7;
  --emerald-400: #34d399; --emerald-500: #10b981; --emerald-600: #059669; --emerald-700: #047857;
  --emerald-800: #065f46; --emerald-900: #064e3b;
  --bg-primary: #f8faf9; --bg-secondary: #ffffff; --bg-tertiary: #f1f5f3;
  --text-primary: #0f172a; --text-secondary: #475569; --text-muted: #94a3b8;
  --border-color: #e2e8e4; --glass-bg: rgba(255, 255, 255, 0.7); --glass-border: rgba(16, 185, 129, 0.15);
  --shadow-sm: 0 1px 2px rgba(16, 185, 129, 0.05); --shadow-md: 0 4px 12px rgba(16, 185, 129, 0.08);
  --shadow-lg: 0 10px 30px rgba(16, 185, 129, 0.12); --glow: 0 0 20px rgba(16, 185, 129, 0.3);
}
[data-bs-theme="dark"] {
  --bg-primary: #0a0f0d; --bg-secondary: #111816; --bg-tertiary: #1a2420;
  --text-primary: #f1f5f3; --text-secondary: #94a3b8; --text-muted: #64748b;
  --border-color: #1e2d28; --glass-bg: rgba(17, 24, 22, 0.7); --glass-border: rgba(52, 211, 153, 0.2);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3); --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5); --glow: 0 0 25px rgba(16, 185, 129, 0.4);
}
body { background-color: var(--bg-primary) !important; color: var(--text-primary) !important; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; transition: background-color 0.4s ease, color 0.4s ease; }
body::before { content: ''; position: fixed; inset: 0; background-image: linear-gradient(var(--border-color) 1px, transparent 1px), linear-gradient(90deg, var(--border-color) 1px, transparent 1px); background-size: 60px 60px; opacity: 0.3; pointer-events: none; z-index: 0; }
.navbar-emerald { background: var(--glass-bg) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--glass-border) !important; box-shadow: var(--shadow-sm); }
.navbar-emerald .navbar-brand { color: var(--text-primary) !important; font-weight: 700; letter-spacing: -0.02em; }
.navbar-emerald .nav-link { color: var(--text-secondary) !important; font-weight: 500; border-radius: 9999px; transition: all 0.25s ease; }
.navbar-emerald .nav-link:hover, .navbar-emerald .nav-link.active { color: var(--emerald-500) !important; background: rgba(16, 185, 129, 0.08); }
.theme-toggle-btn { background: var(--bg-tertiary); border: 1px solid var(--border-color); color: var(--text-primary); border-radius: 9999px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; }
.theme-toggle-btn:hover { background: var(--emerald-500); color: white; transform: rotate(20deg); }
.lang-switcher select { background: var(--bg-tertiary); border: 1px solid var(--border-color); color: var(--text-primary); border-radius: 9999px; padding: 0.35rem 1rem; font-size: 0.85rem; cursor: pointer; }
.emerald-card { background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--glass-border); border-radius: 1rem; box-shadow: var(--shadow-md); transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; }
.emerald-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), var(--glow); border-color: var(--emerald-400); }
.emerald-card .card-img-top { height: 200px; object-fit: cover; transition: transform 0.5s ease; }
.emerald-card:hover .card-img-top { transform: scale(1.05); }
.emerald-card .card-title a { color: var(--text-primary); text-decoration: none; transition: color 0.25s ease; }
.emerald-card .card-title a:hover { color: var(--emerald-500); }
.emerald-card .card-text { color: var(--text-secondary); font-size: 0.95rem; }
.badge-emerald { background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600)); color: white; font-weight: 600; }
.hero-banner { position: relative; border-radius: 1.25rem; overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 2rem; }
.hero-banner img { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.hero-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(10, 15, 13, 0.6) 100%); pointer-events: none; }
.article-body { color: var(--text-primary); line-height: 1.8; font-size: 1.1rem; }
.article-body h2 { border-left: 4px solid var(--emerald-500); padding-left: 1rem; margin-top: 2rem; margin-bottom: 1rem; }
.article-body a { color: var(--emerald-500); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { border-left: 4px solid var(--emerald-500); background: var(--bg-tertiary); padding: 1rem 1.5rem; margin: 1.5rem 0; border-radius: 0 0.5rem 0.5rem 0; font-style: italic; color: var(--text-secondary); }
.footer-emerald {  background: var(--bg-secondary) !important;
  border-top: 1px solid var(--border-color) !important;
  color: var(--text-secondary); }
  .footer-emerald a { color: var(--text-secondary); text-decoration: none; transition: all 0.25s ease; }
  .footer-emerald a:hover { color: var(--emerald-500); padding-left: 4px; }
  .footer-emerald .footer-bottom { border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 0.875rem; }
  .fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
  .fade-in-up.visible { opacity: 1; transform: translateY(0); }
  .stagger-1 { transition-delay: 0.05s; } .stagger-2 { transition-delay: 0.1s; } .stagger-3 { transition-delay: 0.15s; }
  .stagger-4 { transition-delay: 0.2s; } .stagger-5 { transition-delay: 0.25s; } .stagger-6 { transition-delay: 0.3s; }
  .btn-emerald { background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600)); color: white !important; border: none; border-radius: 9999px; padding: 0.6rem 1.5rem; font-weight: 600; box-shadow: var(--shadow-md); transition: all 0.3s ease; }
  .btn-emerald:hover { transform: translateY(-2px); box-shadow: var(--glow); color: white !important; }
  .btn-emerald-outline { background: transparent; color: var(--emerald-500) !important; border: 1.5px solid var(--emerald-500); border-radius: 9999px; padding: 0.6rem 1.5rem; font-weight: 600; transition: all 0.3s ease; }
  .btn-emerald-outline:hover { background: var(--emerald-500); color: white !important; }
  .text-emerald { color: var(--emerald-500) !important; }
  ::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: var(--bg-primary); }
  ::-webkit-scrollbar-thumb { background: var(--emerald-600); border-radius: 10px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--emerald-500); }
  @media (max-width: 768px) { .hero-banner img { max-height: 280px; } .emerald-card .card-img-top { height: 160px; } .article-body { font-size: 1rem; } }
