/* Food Resources page-specific styles */

.resource-card {
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(95, 7, 179, 0.1);
}

/* Hero section unique styling (distinct from site header) */
.food-hero {
    background: linear-gradient(135deg, #F2F7FF 0%, #F7FFF8 100%);
    color: #1F2937; /* slate-800 */
    padding: 4rem 0; /* 64px */
    border-bottom: 1px solid #e5e7eb; /* gray-200 */
}

.food-hero-inner {
    max-width: 64rem; /* ~1024px */
    margin: 0 auto;
    text-align: center;
}

.food-hero-title {
    font-size: 2.25rem; /* 36px */
    line-height: 1.2;
    font-weight: 700;
    color: #111827; /* gray-900, override global h1 color */
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .food-hero-title { font-size: 3rem; } /* 48px */
}

.food-hero-subtitle {
    font-size: 1.85rem;
    color: #2e3e58; 
    margin-bottom: 1.5rem;
    text-decoration: underline;
}

.food-hero-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-top: 1.25rem;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
}

/* --- Minimal utility set to replace Tailwind on this page --- */
:root {
  --fora-purple: #5F07B3;
  --fora-blue: #008DBB;
  --gray-50: #F9FAFB;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --green-100: #DCFCE7;
  --green-800: #166534;
  --orange-100: #FFEDD5;
  --orange-800: #9A3412;
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-800: #1E40AF;
  --purple-100: #F3E8FF;
  --purple-800: #5B21B6;
  --red-100: #FEE2E2;
  --red-800: #991B1B;
  --yellow-50: #FFFBEB;
  --yellow-100: #FEF9C3;
  --yellow-400: #F59E0B;
  --yellow-800: #92400E;
}

/* Colors */
.bg-gray-50 { background-color: var(--gray-50); }
.bg-white { background-color: #fff; }
.bg-blue-50 { background-color: var(--blue-50); }
.bg-yellow-50 { background-color: var(--yellow-50); }
.bg-fora-purple { background-color: var(--fora-purple); }
.bg-fora-blue { background-color: var(--fora-blue); }

.text-gray-400 { color: var(--gray-400); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-900 { color: var(--gray-900); }
.text-fora-blue { color: var(--fora-blue); }
.text-fora-purple { color: var(--fora-purple); }
.text-white { color: #fff; }

/* Badge color helpers used by JS */
.bg-green-100 { background-color: var(--green-100); }
.text-green-800 { color: var(--green-800); }
.bg-orange-100 { background-color: var(--orange-100); }
.text-orange-800 { color: var(--orange-800); }
.bg-blue-100 { background-color: var(--blue-100); }
.text-blue-800 { color: var(--blue-800); }
.bg-purple-100 { background-color: var(--purple-100); }
.text-purple-800 { color: var(--purple-800); }
.bg-red-100 { background-color: var(--red-100); }
.text-red-800 { color: var(--red-800); }
.bg-yellow-100 { background-color: var(--yellow-100); }
.text-yellow-800 { color: var(--yellow-800); }

/* Borders */
.border { border: 1px solid var(--gray-200); }
.border-b { border-bottom: 1px solid var(--gray-200); }
.border-t { border-top: 1px solid var(--gray-200); }
.border-gray-200 { border-color: var(--gray-200); }
.border-gray-300 { border-color: var(--gray-300); }
.border-yellow-400 { border-color: var(--yellow-400); }
.border-fora-blue { border-color: var(--fora-blue); }
.border-l-4 { border-left-width: 4px; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pb-12 { padding-bottom: 3rem; }
.p-6 { padding: 1.5rem; }
.p-3 { padding: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-3 { margin-bottom: 0.75rem; }

.w-full { width: 100%; }
.w-48 { width: 12rem; }
.md\:w-48 { width: 100%; }

.text-center { text-align: center; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.mr-1 { margin-right: 0.25rem; }

.rounded-lg { border-radius: 0.5rem; }

.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.hover\:shadow-md:hover { box-shadow: 0 8px 10px rgba(0,0,0,0.12); }
.transition { transition: all 0.2s ease-in-out; }

.sticky { position: sticky; }
.top-0 { top: 0; }
.z-10 { z-index: 10; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: 1fr; }
.gap-6 { gap: 1.5rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 auto; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }

.hidden { display: none; }

/* Small icon sizing utilities */
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-24 { width: 6rem; }
.h-24 { height: 6rem; }

/* Typography */
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

/* Forms */
.rounded-lg { border-radius: 0.5rem; }
.border { border: 1px solid var(--gray-300); }
.focus\:border-fora-purple:focus { border-color: var(--fora-purple); }
.focus\:outline-none:focus { outline: none; }
.hover\:text-fora-blue:hover { color: var(--fora-blue); }

/* Responsive breakpoints */
@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:w-48 { width: 12rem; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Max width helpers */
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
