/* =========================================================
   SukiFinds — Main Stylesheet
   Hand-crafted utility classes (Tailwind-like) + components.
   No build step required — works directly in the browser.
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }

/* ---------- Layout ---------- */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }
.max-w-xl  { max-width: 36rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.p-4 { padding: 1rem; } .p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; }
.pt-2{padding-top:.5rem} .pt-3{padding-top:.75rem} .pt-6{padding-top:1.5rem}
.pb-4{padding-bottom:1rem} .pb-6{padding-bottom:1.5rem}
.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}
.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}
.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mt-1{margin-top:.25rem}
.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}
.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-10{margin-top:2.5rem}.mt-16{margin-top:4rem}
.my-6{margin-top:1.5rem;margin-bottom:1.5rem}
.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}
.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-7{gap:1.75rem}.gap-8{gap:2rem}.gap-10{gap:2.5rem}

.flex { display: flex; }
.inline-block { display: inline-block; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }
.text-center { text-align: center; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; top: 0; }
.top-0 { top: 0; } .left-3{left:.75rem} .left-4{left:1rem} .right-3{right:.75rem} .top-2\.5{top:.625rem} .top-3\.5{top:.875rem} .top-3{top:.75rem}
.overflow-hidden { overflow: hidden; }
.z-50 { z-index: 50; }
.h-16 { height: 4rem; }
.h-24 { height: 6rem; }
.h-full { height: 100%; }
.w-full { width: 100%; }
.w-14 { width: 3.5rem; } .h-14 { height: 3.5rem; }
.w-16 { width: 4rem; } .h-16img { height: 4rem; }
.w-20 { width: 5rem; } .h-20 { height: 5rem; }
.w-56 { width: 14rem; } .w-64 { width: 16rem; }

/* Icon & small element sizing (w-N / h-N where N = 0.25rem units) */
.w-3{width:.75rem}.h-3{height:.75rem}
.w-3\.5{width:.875rem}.h-3\.5{height:.875rem}
.w-4{width:1rem}.h-4{height:1rem}
.w-5{width:1.25rem}.h-5{height:1.25rem}
.w-6{width:1.5rem}.h-6{height:1.5rem}
.w-12{width:3rem}.h-12{height:3rem}
.w-14{width:3.5rem}.h-14{height:3.5rem}
.w-16{width:4rem}.h-16{height:4rem}
.w-20{width:5rem}.h-20{height:5rem}
.aspect-\[16\/10\] { aspect-ratio: 16/10; }

/* grid columns */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0,1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.lg\:col-span-2 { }

/* ---------- Typography ---------- */
.text-xs{font-size:.75rem}.text-sm{font-size:.875rem}.text-base{font-size:1rem}
.text-lg{font-size:1.125rem}.text-xl{font-size:1.25rem}.text-2xl{font-size:1.5rem}
.text-3xl{font-size:1.875rem}.text-4xl{font-size:2.25rem}.text-5xl{font-size:3rem}.text-7xl{font-size:4.5rem}
.font-semibold{font-weight:600}.font-bold{font-weight:700}.font-extrabold{font-weight:800}
.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}
.tracking-wide{letter-spacing:.025em}.tracking-tight{letter-spacing:-.025em}
.leading-none{line-height:1}.leading-tight{line-height:1.25}.leading-snug{line-height:1.375}.leading-relaxed{line-height:1.625}
.underline{text-decoration:underline}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* ---------- Colors ---------- */
.bg-white{background:#fff}.bg-gray-50{background:#f9fafb}.bg-gray-100{background:#f3f4f6}
.bg-gray-900{background:#111827}.bg-orange-50{background:#fff7ed}.bg-orange-100{background:#ffedd5}
.bg-orange-500{background:#f97316}.bg-orange-600{background:#ea580c}
.bg-purple-50{background:#faf5ff}.bg-purple-600{background:#9333ea}
.bg-red-50{background:#fef2f2}.bg-red-500{background:#ef4444}
.bg-green-50{background:#f0fdf4}
.text-white{color:#fff}.text-gray-400{color:#9ca3af}.text-gray-500{color:#6b7280}
.text-gray-600{color:#4b5563}.text-gray-700{color:#374151}.text-gray-800{color:#1f2937}.text-gray-900{color:#111827}
.text-orange-500{color:#f97316}.text-orange-600{color:#ea580c}.text-orange-300{color:#fdba74}.text-orange-200{color:#fed7aa}
.text-orange-50{color:#fff7ed}.text-purple-600{color:#9333ea}.text-yellow-400{color:#facc15}.text-gray-200{color:#e5e7eb}
.text-green-600{color:#16a34a}.text-red-500{color:#ef4444}.text-green-700{color:#15803d}.text-red-700{color:#b91c1c}
.text-purple-700{color:#7e22ce}.text-orange-700{color:#c2410c}
.border{border-width:1px;border-style:solid}.border-gray-200{border-color:#e5e7eb}.border-gray-100{border-color:#f3f4f6}
.border-gray-300{border-color:#d1d5db}.border-gray-800{border-color:#1f2937}.border-dashed{border-style:dashed}
.border-orange-200{border-color:#fed7aa}.border-purple-200{border-color:#e9d5ff}.border-green-200{border-color:#bbf7d0}.border-red-200{border-color:#fecaca}
.border-t{border-top-width:1px;border-top-style:solid}.border-b{border-bottom-width:1px;border-bottom-style:solid}
.rounded{border-radius:.375rem}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}
.rounded-full{border-radius:9999px}
.shadow-sm{box-shadow:0 1px 2px rgba(0,0,0,.05)}.shadow-md{box-shadow:0 4px 6px rgba(0,0,0,.07)}.shadow-lg{box-shadow:0 10px 15px rgba(0,0,0,.08)}

.bg-gradient-to-br{background-image:linear-gradient(to bottom right, var(--g1), var(--g2))}
.from-orange-500{--g1:#f97316}.via-orange-400{}.to-amber-400{--g2:#fbbf24}
.from-orange-50{--g1:#fff7ed}.to-orange-100{--g2:#ffedd5}

/* ---------- Buttons / Forms ---------- */
input, textarea, select { font: inherit; }
.transition { transition: all .2s ease; }
.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}

/* ---------- Object-fit ---------- */
.object-cover{object-fit:cover}
.group:hover .group-hover\:scale-105{transform:scale(1.05)}
.group:hover .group-hover\:text-orange-600{color:#ea580c}
.group:hover .group-hover\:text-orange-400{color:#fb923c}

/* ---------- Prose (article content) ---------- */
.prose { color: #374151; font-size: 1.0625rem; line-height: 1.75; }
.prose h2 { font-size: 1.5rem; font-weight: 800; margin: 2rem 0 1rem; color: #111827; }
.prose h3 { font-size: 1.25rem; font-weight: 700; margin: 1.5rem 0 .75rem; color: #111827; }
.prose p { margin-bottom: 1.1rem; }
.prose ul, .prose ol { margin: 1rem 0 1.1rem 1.5rem; }
.prose li { margin-bottom: .4rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose img { margin: 1.5rem 0; border-radius: .75rem; }
.prose a { color: #ea580c; text-decoration: underline; }
.prose blockquote { border-left: 4px solid #f97316; padding-left: 1rem; font-style: italic; color: #6b7280; margin: 1.5rem 0; }
.prose strong { font-weight: 700; color: #111827; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.prose th, .prose td { border: 1px solid #e5e7eb; padding: .6rem .8rem; text-align: left; font-size: .9rem; }
.prose th { background: #f9fafb; font-weight: 700; }

/* ---------- Misc ---------- */
.list-disc { list-style: disc; }
.list-inside { list-style-position: inside; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:text-orange-500:hover { color: #f97316; }
.hover\:text-orange-600:hover { color: #ea580c; }
.hover\:text-orange-400:hover { color: #fb923c; }
.hover\:bg-gray-100:hover { background: #f3f4f6; }
.hover\:bg-orange-100:hover { background: #ffedd5; }
.hover\:bg-orange-600:hover { background: #ea580c; }
.hover\:bg-purple-700:hover { background: #7e22ce; }
.hover\:border-orange-400:hover { border-color: #fb923c; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px rgba(0,0,0,.07); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px rgba(0,0,0,.08); }
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px #fb923c66; }
.focus\:ring-4:focus { box-shadow: 0 0 0 4px #ffffff4d; }

/* ---------- Ad slot ---------- */
.ad-slot { width: 100%; }

/* ---------- Hero: Top Categories (Tozi-style) ---------- */
.hero-categories {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f97316 0%, #fb923c 55%, #fbbf24 100%);
}
.hero-deco { position: absolute; pointer-events: none; opacity: .5; }
.hero-deco-dots {
  top: 30px; left: 40px; width: 260px; height: 160px;
  background-image: radial-gradient(rgba(255,255,255,.45) 2.5px, transparent 2.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 70%);
          mask-image: radial-gradient(ellipse at center, #000 35%, transparent 70%);
}
.hero-deco-leaf {
  top: 20px; right: 30px; width: 220px; height: 220px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 0 75% 0 75%;
  transform: rotate(15deg);
}

/* Category pills */
.hero-pills {
  display: flex; flex-wrap: wrap; gap: .6rem;
  justify-content: center; margin-bottom: 2.5rem;
}
.hero-pill {
  background: rgba(0,0,0,.18);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: .9rem;
  padding: .6rem 1.4rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all .2s ease;
}
.hero-pill:hover { background: rgba(0,0,0,.28); }
.hero-pill.active { background: #111827; color: #fff; }

/* Hero article cards */
.hero-cards { transition: opacity .2s ease; }
.hero-card {
  background: #fff;
  border-radius: .9rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.18); }
.hero-card-img { aspect-ratio: 16/11; background: #f3f4f6; overflow: hidden; }
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-noimg { width: 100%; height: 100%; background: linear-gradient(135deg,#fff7ed,#ffedd5); }
.hero-card-body { padding: 1.1rem 1.2rem 1.3rem; }
.hero-card-badge {
  display: inline-block; background: #ffedd5; color: #c2410c;
  font-size: .72rem; font-weight: 700; padding: .25rem .7rem;
  border-radius: 9999px; margin-bottom: .6rem;
}
.hero-card-title {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 1.05rem; color: #111827; line-height: 1.35; margin-bottom: .6rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-card-date { font-size: .8rem; color: #9ca3af; }

@media (max-width: 640px) {
  .hero-deco-dots { width: 140px; left: 10px; }
  .hero-deco-leaf { width: 120px; height: 120px; right: 10px; }
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .sm\:flex-row{flex-direction:row}
  .sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .sm\:block{display:block}
  .sm\:text-5xl{font-size:3rem}
  .sm\:text-4xl{font-size:2.25rem}
  .sm\:text-3xl{font-size:1.875rem}
  .sm\:text-2xl{font-size:1.5rem}
  .sm\:text-lg{font-size:1.125rem}
  .sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}
  .sm\:py-20{padding-top:5rem;padding-bottom:5rem}
  .sm\:items-center{align-items:center}
  .sm\:w-auto{width:auto}
}
@media (min-width: 768px) {
  .md\:hidden{display:none}
  .md\:flex{display:flex}
}
@media (min-width: 1024px) {
  .lg\:px-8{padding-left:2rem;padding-right:2rem}
  .lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .lg\:col-span-2{grid-column:span 2 / span 2}
}

/* Mobile menu toggle (JS-controlled via main.js) */
#mobile-menu.show { display: flex; }
