/*
Theme Name: NiNo Booster
Theme URI: https://nino.to/insights/
Author: NiNo Platform Engineering
Author URI: https://nino.to
Description: Ultra-fast, dark glassmorphism theme for NiNo Insights, perfectly matching the design system of https://nino.to/en-US/home.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary
Text Domain: nino-booster
*/

/* --- NINO DESIGN TOKENS --- */
:root {
  --nino-bg: #020617;
  /* Slate 950 */
  --nino-card-bg: rgba(15, 23, 42, 0.85);
  /* Slate 900 / 85% */
  --nino-card-hover: rgba(30, 41, 59, 0.95);
  --nino-border: rgba(255, 255, 255, 0.1);
  --nino-border-hover: rgba(56, 189, 248, 0.4);
  --nino-sky: #38bdf8;
  --nino-sky-light: #7dd3fc;
  --nino-indigo: #818cf8;
  --nino-emerald: #34d399;
  --nino-text: #f8fafc;
  --nino-text-muted: #94a3b8;
  --nino-text-dim: #64748b;
  --nino-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --nino-mono: 'JetBrains Mono', monospace;
}

/* --- GLOBAL RESETS --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* --- SCROLLBAR: 100% IDENTICAL TO MAIN WEBSITE --- */
* {
  scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: rgba(148, 163, 184, 0.38);
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: rgba(203, 213, 225, 0.58);
}

html,
body {
  background-color: var(--nino-bg);
  color: var(--nino-text);
  font-family: var(--nino-font);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.nino-site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.nino-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
}

/* --- HEADER: 100% PIXEL-PERFECT MATCH WITH AppHeader.vue --- */
.nino-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.nino-header-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .nino-header-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nino-header-container {
    padding: 0 2rem;
  }
}

.nino-header-inner {
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Brand */
.nino-header-left {
  display: flex;
  align-items: center;
}

.nino-brand-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.nino-brand-logo {
  height: 36px;
  width: 36px;
  border-radius: 0.5rem;
  object-fit: contain;
}

.nino-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.nino-brand-name {
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.nino-brand-tagline {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #38bdf8;
}

/* Center Nav */
.nino-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1280px) {
  .nino-nav {
    gap: 0.625rem;
  }
}

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

.nino-nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1280px) {
  .nino-nav-menu {
    gap: 0.625rem;
  }
}

.nino-nav-btn,
.nino-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
  border-radius: 9999px;
  padding: 0.375rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #e2e8f0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  outline: none;
  text-decoration: none;
}

@media (min-width: 1280px) {

  .nino-nav-btn,
  .nino-nav-link {
    font-size: 0.875rem;
  }
}

.nino-nav-btn:hover,
.nino-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.nino-nav-icon {
  width: 1rem;
  height: 1rem;
  color: #cbd5e1;
  flex-shrink: 0;
}

@media (min-width: 1280px) {
  .nino-nav-icon {
    width: 1.125rem;
    height: 1.125rem;
  }
}

.nino-chevron {
  width: 0.875rem;
  height: 0.875rem;
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nino-has-dropdown.is-open .nino-chevron,
.nino-has-dropdown:hover .nino-chevron {
  transform: rotate(180deg);
}

/* MegaMenu Dropdown (Product) */
.nino-has-dropdown {
  position: relative;
}

.nino-megamenu-dropdown {
  position: fixed;
  left: 50%;
  top: 64px;
  z-index: 50;
  margin-top: 1rem;
  width: calc(100vw - 2rem);
  max-width: 1120px;
  transform: translateX(-50%);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(2, 6, 23, 0.95);
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.nino-has-dropdown:hover .nino-megamenu-dropdown,
.nino-has-dropdown.is-open .nino-megamenu-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nino-megamenu-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.nino-megamenu-col {
  min-width: 0;
}

.nino-megamenu-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #cbd5e1;
}

.nino-megamenu-col-links {
  display: grid;
  gap: 0.5rem;
}

.nino-megamenu-link {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  color: #e2e8f0;
  transition: all 0.15s ease;
  text-decoration: none;
}

@media (min-width: 1280px) {
  .nino-megamenu-link {
    font-size: 0.875rem;
  }
}

.nino-megamenu-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.nino-megamenu-dot {
  margin-top: 0.5rem;
  height: 6px;
  width: 6px;
  border-radius: 9999px;
  background-color: rgba(56, 189, 248, 0.7);
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}

.nino-megamenu-link:hover .nino-megamenu-dot {
  background-color: #7dd3fc;
}

/* Right Actions */
.nino-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1280px) {
  .nino-header-actions {
    gap: 0.75rem;
  }
}

/* Language Dropdown */
.nino-lang-dropdown {
  position: relative;
}

.nino-lang-btn {
  display: inline-flex;
  height: 36px;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.375rem;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  color: #e2e8f0;
  border: none;
  font-family: inherit;
  white-space: nowrap;
  transition: background-color 0.15s ease;
  outline: none;
}

@media (min-width: 1280px) {
  .nino-lang-btn {
    font-size: 0.875rem;
  }
}

.nino-lang-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nino-lang-flag {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.nino-lang-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
}

/* Lang Menu Overlay */
.nino-lang-overlay {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 50;
  margin-top: 0.5rem;
  width: 320px;
  display: none;
}

.nino-lang-overlay.is-open {
  display: block;
}

.nino-lang-arrow {
  position: absolute;
  right: 1.25rem;
  top: -4px;
  height: 10px;
  width: 10px;
  transform: rotate(45deg);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(2, 6, 23, 0.95);
  pointer-events: none;
}

.nino-lang-card {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(2, 6, 23, 0.95);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nino-lang-search-wrapper {
  padding: 0.75rem;
}

.nino-lang-search-box {
  position: relative;
}

.nino-lang-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: #94a3b8;
  pointer-events: none;
}

.nino-lang-search-input {
  height: 40px;
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  padding-left: 2.5rem;
  padding-right: 0.75rem;
  font-size: 0.875rem;
  color: #f1f5f9;
  outline: none;
  font-family: inherit;
}

.nino-lang-search-input:focus {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.nino-lang-list {
  max-height: 320px;
  overflow-y: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0;
}

.nino-lang-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  text-align: left;
  font-size: 0.875rem;
  color: #e2e8f0;
  transition: background-color 0.15s ease;
  text-decoration: none;
}

.nino-lang-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.nino-lang-item.active {
  background-color: rgba(14, 165, 233, 0.1);
  color: #7dd3fc;
}

/* Log in button */
.nino-btn-login {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  padding: 0.375rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #e2e8f0;
  text-decoration: none;
  transition: all 0.15s ease;
}

@media (min-width: 1280px) {
  .nino-btn-login {
    font-size: 0.875rem;
  }
}

.nino-btn-login:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

.nino-login-icon {
  width: 1rem;
  height: 1rem;
  color: #38bdf8;
  flex-shrink: 0;
}

/* Register CTA */
.nino-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  background-color: #ffffff;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #020617;
  text-decoration: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  transition: all 0.15s ease;
}

@media (min-width: 1280px) {
  .nino-btn-cta {
    font-size: 0.875rem;
  }
}

.nino-btn-cta:hover {
  background-color: #e2e8f0;
}

.nino-register-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Mobile Toggle Button */
.nino-burger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nino-burger-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nino-burger-icon-close {
  display: none;
}

.nino-burger-btn.is-open .nino-burger-icon-open {
  display: none;
}

.nino-burger-btn.is-open .nino-burger-icon-close {
  display: block;
}

@media (min-width: 1024px) {
  .nino-burger-btn {
    display: none !important;
  }

  .nino-mobile-menu {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .nino-nav {
    display: none !important;
  }

  .nino-btn-login,
  .nino-btn-cta {
    display: none !important;
  }

  .nino-header-actions {
    gap: 0.5rem;
  }
}

/* --- MOBILE DROPDOWN DRAWER: 100% FAITHFUL MATCH TO AppHeader.vue --- */
.nino-mobile-menu {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 6, 23, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 100%;
}

.nino-mobile-menu.is-open {
  display: block;
}

.nino-mobile-scroll {
  max-height: calc(100vh - 4.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nino-mobile-card {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.8);
  padding: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.nino-mobile-card-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.nino-mobile-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.nino-mobile-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.5rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #e2e8f0;
  transition: all 0.15s ease;
}

.nino-mobile-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.nino-mobile-btn-login {
  display: inline-flex;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
}

.nino-mobile-btn-login:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.nino-mobile-btn-reg {
  display: inline-flex;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  border-radius: 0.5rem;
  background: linear-gradient(to right, #0ea5e9, #4f46e5);
  padding: 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.nino-mobile-btn-reg:hover {
  filter: brightness(1.1);
}

.nino-mobile-module-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nino-mobile-module-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(125, 211, 252, 0.9);
  margin-bottom: 0.25rem;
}

.nino-mobile-sublink {
  border-radius: 0.25rem;
  padding: 0.25rem 0.375rem;
  font-size: 11px;
  color: #cbd5e1;
  transition: all 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nino-mobile-sublink:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* --- HERO SECTION: HIGH-TECH COVER IMAGE WITH ATMOSPHERIC VIGNETTE --- */
.nino-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 1.25rem 3rem;
  background-color: #020617;
  background-image:
    linear-gradient(180deg, rgba(2, 6, 23, 0.72) 0%, rgba(2, 6, 23, 0.45) 50%, rgba(2, 6, 23, 0.96) 100%),
    radial-gradient(ellipse at 50% 45%, rgba(2, 6, 23, 0.25) 0%, rgba(2, 6, 23, 0.85) 85%),
    url('assets/images/hero-cover.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 0px ridge rgba(255, 255, 255, 0.08);
  text-align: center;
}

.nino-badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.775rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 1.25rem;
}

.nino-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--nino-emerald);
  box-shadow: 0 0 10px var(--nino-emerald);
}

.nino-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 auto 1.1rem;
  max-width: 900px;
}

.nino-grad-text {
  background: linear-gradient(135deg, var(--nino-sky-light) 0%, var(--nino-indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nino-hero-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.6;
  color: var(--nino-text-muted);
  max-width: 760px;
  margin: 0 auto 2.25rem;
}

/* Category Filter Pills */
.nino-category-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.nino-pill-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.75);
  border: none;
  color: var(--nino-text-muted);
  transition: all 0.2s ease;
}

.nino-pill-btn:hover {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.18);
  transform: translateY(-2px);
}

.nino-pill-btn.active {
  background: #ffffff;
  color: #020617;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

/* --- POSTS GRID: 4 ITEMS PER ROW (DESKTOP) & COMPACT RESPONSIVE --- */
.nino-articles-wrapper {
  padding: 2.25rem 0 3.75rem;
}

.nino-posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

@media (max-width: 1200px) {
  .nino-posts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 860px) {
  .nino-posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

@media (max-width: 560px) {
  .nino-posts-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

/* Post Card: Borderless, reduced rounded, rich dark background block */
.nino-card {
  background: rgba(15, 23, 42, 0.82);
  border: none;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nino-card:hover {
  transform: translateY(-4px);
  background: rgba(30, 41, 59, 0.9);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.65), 0 0 20px -4px rgba(56, 189, 248, 0.12);
}

.nino-card-thumb-link {
  display: block;
  height: 165px;
  overflow: hidden;
  background-color: #0b1120;
}

.nino-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.nino-card:hover .nino-card-thumb {
  transform: scale(1.05);
}

.nino-card-body {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.nino-card-category {
  margin-bottom: 0.45rem;
}

.nino-cat-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: rgba(56, 189, 248, 0.14);
  border: none;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--nino-sky);
}

.nino-card-title {
  margin: 0 0 0.45rem 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.nino-card-title a {
  color: #f8fafc;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nino-card-title a:hover {
  color: var(--nino-sky);
}

.nino-card-excerpt {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--nino-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 0.65rem 0;
  flex-grow: 1;
}

.nino-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.65rem;
  margin-top: auto;
  font-size: 0.725rem;
  color: var(--nino-text-dim);
}

.nino-meta-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Pagination: Compact & Clean */
.nino-pagination {
  margin-top: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.nino-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.75);
  border: none;
  color: var(--nino-text);
  font-size: 0.825rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nino-pagination .page-numbers:hover {
  background: rgba(56, 189, 248, 0.15);
  color: var(--nino-sky);
}

.nino-pagination .page-numbers.current {
  background: var(--nino-sky);
  color: #020617;
  font-weight: 700;
}

@media (max-width: 640px) {
  .nino-articles-wrapper {
    padding: 1.25rem 0 2.5rem;
  }

  .nino-card-thumb-link {
    height: 185px;
  }

  .nino-card-body {
    padding: 0.75rem 0.85rem 0.85rem;
  }
}

/* --- ECOSYSTEM CTA CARD --- */
.nino-cta-wrap {
  padding: 0.5rem 0 3.5rem;
}

.nino-cta-box {
  position: relative;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 14px;
  padding: 2.25rem 2rem;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.88) 100%);
  border: none;
  box-shadow: 0 12px 32px -6px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
}

.nino-cta-tagline {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--nino-sky);
  font-size: 0.675rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.nino-cta-heading {
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  margin: 0 auto 0.65rem;
  max-width: 650px;
}

.nino-cta-sub {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--nino-text-muted);
  max-width: 580px;
  margin: 0 auto 1.5rem;
}

.nino-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.nino-btn-p {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #020617;
  font-weight: 700;
  font-size: 0.825rem;
  padding: 9px 18px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.nino-btn-p:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

.nino-btn-s {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.825rem;
  padding: 9px 18px;
  border-radius: 8px;
  border: none;
}

.nino-btn-s:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .nino-cta-wrap {
    padding: 0 0 2.5rem;
  }

  .nino-cta-box {
    padding: 1.65rem 1.15rem;
    border-radius: 12px;
  }

  .nino-cta-heading {
    font-size: 1.2rem;
  }

  .nino-cta-sub {
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
  }
}

/* --- SINGLE POST PAGE --- */
.nino-single-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--nino-border);
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 50%);
}

.nino-single-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.nino-breadcrumbs {
  font-size: 0.775rem;
  color: var(--nino-text-dim);
  margin-bottom: 1.25rem;
}

.nino-breadcrumbs a {
  color: var(--nino-text-muted);
}

.nino-breadcrumbs a:hover {
  color: var(--nino-sky);
}

.nino-single-title {
  font-size: clamp(2rem, 3.8vw, 2.3rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 1.5rem 0;
}

.nino-single-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--nino-text-muted);
  flex-wrap: wrap;
}

.nino-single-featured-img {
  margin: 2rem 0 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border: none;
}

.nino-single-featured-img img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.nino-single-body {
  padding: 1rem 0 5rem;
}

.nino-prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.nino-prose h2 {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 2.75rem 0 1rem;
  border-left: 3px solid var(--nino-sky);
  padding-left: 0.85rem;
}

.nino-prose h3 {
  color: #f1f5f9;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2rem 0 0.85rem;
}

.nino-prose p {
  margin-bottom: 1.5rem;
}

.nino-prose blockquote {
  border-left: 3px solid var(--nino-sky);
  background: rgba(56, 189, 248, 0.06);
  padding: 1.25rem 1.75rem;
  border-radius: 0 12px 12px 0;
  color: #e2e8f0;
  font-style: italic;
  margin: 2.25rem 0;
}

.nino-prose ul,
.nino-prose ol {
  padding-left: 1.75rem;
  margin: 1.5rem 0;
}

.nino-prose li {
  margin-bottom: 0.6rem;
}

.nino-prose strong {
  color: #ffffff;
}

.nino-prose code {
  font-family: var(--nino-mono);
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--nino-sky);
}

.nino-prose pre {
  font-family: var(--nino-mono);
  background: #090d16;
  border: 1px solid var(--nino-border);
  border-radius: 12px;
  padding: 1.25rem;
  overflow-x: auto;
  color: #e2e8f0;
  font-size: 0.9rem;
}

/* Related Posts: Full-width container with 4 items per row */
.nino-related-wrapper {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.nino-related-section {
  width: 100%;
}

.nino-related-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

/* --- FOOTER: 100% PIXEL-PERFECT MATCH WITH AppFooter.vue --- */
.nino-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #020617;
  margin-top: auto;
}

.nino-footer-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2.5rem 1rem 1rem;
}

@media (min-width: 640px) {
  .nino-footer-container {
    padding: 3.5rem 1.5rem 1rem;
  }
}

@media (min-width: 1024px) {
  .nino-footer-container {
    padding: 4rem 2rem 1rem;
  }
}

/* 12-column Grid */
.nino-footer-main-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .nino-footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .nino-footer-main-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .nino-footer-main-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

.nino-col-brand {
  grid-column: span 1;
}

@media (min-width: 640px) {
  .nino-col-brand {
    grid-column: span 2;
  }
}

@media (min-width: 768px) {
  .nino-col-brand {
    grid-column: span 3;
  }
}

@media (min-width: 1024px) {
  .nino-col-brand {
    grid-column: span 3;
  }
}

.nino-col-solutions,
.nino-col-platform,
.nino-col-industries {
  grid-column: span 1;
}

@media (min-width: 1024px) {

  .nino-col-solutions,
  .nino-col-platform,
  .nino-col-industries {
    grid-column: span 2;
  }
}

.nino-col-resources {
  grid-column: span 1;
}

@media (min-width: 640px) {
  .nino-col-resources {
    grid-column: span 2;
  }
}

@media (min-width: 768px) {
  .nino-col-resources {
    grid-column: span 3;
  }
}

@media (min-width: 1024px) {
  .nino-col-resources {
    grid-column: span 3;
  }
}

/* Brand left */
.nino-footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nino-footer-brand-logo {
  height: 32px;
  width: 32px;
  border-radius: 0.5rem;
  object-fit: contain;
}

.nino-footer-brand-name {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.25;
}

.nino-footer-brand-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #38bdf8;
}

.nino-footer-desc {
  margin-top: 0.75rem;
  max-width: 24rem;
  font-size: 0.75rem;
  line-height: 1.25rem;
  color: #e2e8f0;
}

.nino-footer-contact-block {
  margin-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.75rem;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-weight: 400;
}

.nino-contact-label {
  color: #94a3b8;
  font-weight: 500;
}

.nino-footer-socials {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}

.nino-social-btn {
  display: inline-flex;
  height: 32px;
  width: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background-color: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  transition: all 0.15s ease;
  text-decoration: none;
}

.nino-social-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.nino-social-btn-zalo {
  width: auto;
  padding: 0 0.5rem;
  font-size: 11px;
  font-weight: 700;
}

.nino-social-icon {
  height: 16px;
  width: 16px;
}

/* Nav Columns */
.nino-footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.025em;
}

@media (min-width: 640px) {
  .nino-footer-col-title {
    font-size: 0.875rem;
  }
}

.nino-footer-links-grid-1 {
  margin-top: 0.625rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 0.75rem;
  row-gap: 0.375rem;
}

@media (min-width: 1024px) {
  .nino-footer-links-grid-1 {
    grid-template-columns: 1fr;
  }
}

.nino-footer-links-grid-2 {
  margin-top: 0.625rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 0.75rem;
  row-gap: 0.375rem;
}

.nino-footer-link {
  font-size: 0.75rem;
  font-weight: 500;
  color: #cbd5e1;
  text-decoration: none;
  padding: 0.125rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}

.nino-footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Secondary Row: Company */
.nino-footer-sec-row {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.nino-footer-flex-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
}

.nino-footer-sec-label {
  font-weight: 600;
  color: #cbd5e1;
}

.nino-footer-sec-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.5rem;
  color: #cbd5e1;
  font-weight: 500;
}

.nino-footer-sec-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nino-footer-sec-links a:hover {
  color: #ffffff;
}

/* Policies Row */
.nino-footer-pol-row {
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.nino-footer-pol-label {
  font-weight: 600;
  color: #e2e8f0;
}

/* Bottom Row */
.nino-footer-bottom-row {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  font-size: 0.75rem;
  color: #cbd5e1;
}

@media (min-width: 640px) {
  .nino-footer-bottom-row {
    margin-top: 1.5rem;
  }
}

@media (min-width: 768px) {
  .nino-footer-bottom-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.nino-footer-copy {
  font-weight: 400;
  color: #cbd5e1;
}

.nino-footer-quick-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
}

.nino-footer-quick-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nino-footer-quick-links a:hover {
  color: #ffffff;
}