/* Minimal Tailwind-style CSS for your grid layout */

/* Base (reset + typography) */
*, *::before, *::after { box-sizing: border-box; }
html { font-family: sans-serif; line-height: 1.5; }

/* Utility classes */
.max-w-screen-lg { max-width: 1024px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) { .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gap-4 { gap: 1rem; }
.p-4 { padding: 1rem; }

.flex { display: flex; }
.items-center { align-items: center; }
.w-full { width: 100%; }
.space-x-4 > * + * { margin-left: 1rem; }

.bg-white { background-color: #fff; }
.rounded-lg { border-radius: 0.5rem; }
.shadow { box-shadow: 0 1px 4px rgba(0,0,0,0.1); }
.hover\:shadow-md:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.transition-shadow { transition: box-shadow 0.3s ease; }
.min-h-\[250px\] { min-height: 250px; }

.w-24 { width: 6rem; }
.h-auto { height: auto; }
.max-h-24 { max-height: 6rem; }
.object-contain { object-fit: contain; }
.rounded { border-radius: 0.25rem; }
.bg-gray-200 { background-color: #e5e7eb; }
.text-gray-500 { color: #6b7280; }
.text-gray-800 { color: #1f2937; }
.text-base { font-size: 1rem; }
.font-semibold { font-weight: 600; }

/* Line clamp for title */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Layout tweaks */
.rpd-posts-grid { /* Extra safety wrapper class */
  /* inherits p-4, gap-4, etc. */
}