body > aside {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: #e5e7eb !important;
  box-shadow: 12px 0 40px rgba(15, 23, 42, 0.055) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body > aside::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -15px;
  width: 18px;
  z-index: -1;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.97);
  clip-path: polygon(
    0 0, 62% 0, 48% 2%, 78% 4%, 55% 6%, 88% 8%,
    58% 10%, 72% 12%, 45% 14%, 91% 16%, 63% 18%, 82% 20%,
    51% 22%, 74% 24%, 43% 26%, 86% 28%, 57% 30%, 95% 32%,
    66% 34%, 79% 36%, 49% 38%, 89% 40%, 61% 42%, 76% 44%,
    40% 46%, 83% 48%, 55% 50%, 92% 52%, 64% 54%, 80% 56%,
    47% 58%, 87% 60%, 59% 62%, 73% 64%, 42% 66%, 94% 68%,
    62% 70%, 81% 72%, 50% 74%, 85% 76%, 56% 78%, 90% 80%,
    65% 82%, 77% 84%, 44% 86%, 88% 88%, 60% 90%, 82% 92%,
    51% 94%, 91% 96%, 58% 98%, 72% 100%, 0 100%
  );
  filter: drop-shadow(4px 0 4px rgba(15, 23, 42, 0.12));
}

body > aside > div:first-child > a {
  display: block;
  width: 100%;
  text-align: center;
}

body > aside h1 {
  margin: 0 !important;
  font-size: 1.65rem !important;
  line-height: 1.15 !important;
  letter-spacing: 0.12em !important;
}

body > aside h1::after {
  content: "VISUAL STORYTELLER";
  display: block;
  margin-top: 0.65rem;
  color: #9ca3af;
  font-family: Arial, sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.3em;
}

body > aside nav#menu {
  align-items: stretch !important;
  width: 100%;
  gap: 0.45rem !important;
}

body > aside nav#menu > a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 3rem;
  gap: 0.8rem;
  padding: 0.7rem 0.85rem !important;
  border-radius: 0.9rem !important;
  color: #6b7280 !important;
  background: transparent !important;
  font-weight: 500;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease !important;
}

body > aside nav#menu > a i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border-radius: 0.65rem;
  color: #6b7280 !important;
  background: #f3f4f6;
  transition: color 180ms ease, background 180ms ease;
}

body > aside nav#menu > a:hover {
  color: #111827 !important;
  background: #f3f4f6 !important;
  transform: translateX(3px);
}

body > aside nav#menu > a:hover i {
  color: #111827 !important;
  background: #fff;
}

body > aside nav#menu > a.font-semibold,
body > aside nav#menu > a[aria-current="page"] {
  color: #fff !important;
  background: #111827 !important;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.18) !important;
}

body > aside nav#menu > a.font-semibold i,
body > aside nav#menu > a[aria-current="page"] i {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
}

body > aside > div:last-child {
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
}

body > aside .lang-toggle,
body > aside #lang-toggle {
  min-width: 4.75rem;
  border-color: #e5e7eb !important;
  border-radius: 999px !important;
  background: #fff;
  color: #374151;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

body > aside .lang-toggle:hover,
body > aside #lang-toggle:hover {
  color: #111827;
  background: #f3f4f6;
  border-color: #d1d5db !important;
}

body > aside #menu-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: #f3f4f6;
  transition: background 180ms ease;
}

body > aside #menu-btn:hover {
  background: #e5e7eb;
}

@media (min-width: 640px) {
  body > aside {
    padding: 3rem 1.5rem !important;
    border-right: 0 !important;
  }

  body > aside > div:first-child {
    align-items: center !important;
  }

  body > aside nav#menu {
    margin-top: 3.5rem !important;
  }
}

@media (max-width: 639px) {
  body > aside {
    position: sticky;
    top: 0;
    padding: 0.85rem 1.25rem !important;
    z-index: 50 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
  }

  body > aside h1::after {
    display: none;
  }

  body > aside nav#menu {
    margin-top: 0.9rem !important;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
  }

  body > aside nav#menu > a:hover {
    transform: none;
  }

  body > aside > div:last-child {
    display: none;
  }

  body > aside::after {
    display: none;
  }
}
