@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom utilities for preventing overflow */
@layer utilities {
  .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Ensure no horizontal overflow */
body {
  overflow-x: hidden;
}

/* Prevent text overflow in long content */
.overflow-wrap-anywhere {
  overflow-wrap: anywhere;
  word-break: break-word;
}