/* Frenglish Pass — Global Styles */

/* Mobile navigation */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}
.mobile-nav-backdrop.open {
  display: block;
}
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--color-cream-bg-white, #FFFDF7);
  z-index: 999;
  padding: 1.5rem;
  overflow-y: auto;
  transition: right 0.3s ease;
  box-shadow: -4px 0 24px rgba(15,43,92,0.12);
}
.mobile-nav-drawer.open {
  right: 0;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Posts grid: Instagram-style thumbnail-only by default */
.post-card-overlay {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.post-card:hover .post-card-overlay {
  opacity: 1;
}

/* Ensure images fill grid cells properly */
.aspect-square {
  aspect-ratio: 1/1;
}

/* Custom subtle scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(15, 43, 92, 0.04);
  border-radius: 9999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(15, 43, 92, 0.2);
  border-radius: 9999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 43, 92, 0.35);
}

