module.exports=[50942,a=>{"use strict";var b=a.i(87924),c=a.i(41675),d=a.i(30654),e=a.i(38246);function f({berita:a}){return(0,b.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:a.map(a=>(0,b.jsxs)(e.default,{href:`/berita/${a.id}`,className:"group bg-white/5 backdrop-blur-xl rounded-[2rem] overflow-hidden border border-white/10 shadow-[0_8px_32px_0_rgba(0,0,0,0.2)] hover:border-white/30 hover:shadow-[0_8px_40px_0_rgba(59,130,246,0.15)] transition-all duration-500 flex flex-col cursor-pointer",children:[a.imageUrl?(0,b.jsx)("div",{className:"aspect-[3/4] w-full overflow-hidden bg-black/20 relative",children:(0,b.jsx)("img",{src:a.imageUrl,alt:a.judul,className:"absolute inset-0 w-full h-full object-cover group-hover:scale-110 transition-transform duration-700"})}):(0,b.jsx)("div",{className:"aspect-[3/4] w-full bg-black/20 flex items-center justify-center text-gray-600 relative overflow-hidden",children:(0,b.jsx)(d.Newspaper,{className:"w-12 h-12 stroke-[1.5] relative z-10"})}),(0,b.jsxs)("div",{className:"p-6 md:p-8 flex flex-col flex-1 relative",children:[(0,b.jsx)("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-3/4 h-1/2 bg-blue-500/20 blur-[50px] rounded-full opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none"}),(0,b.jsxs)("div",{className:"flex items-center gap-2 text-xs text-gray-400 mb-3 relative z-10",children:[(0,b.jsx)(c.Calendar,{className:"w-3.5 h-3.5"}),new Date(a.createdAt).toLocaleDateString("id-ID",{day:"numeric",month:"long",year:"numeric"})]}),(0,b.jsx)("h2",{className:"text-xl md:text-2xl font-bold text-white group-hover:text-transparent group-hover:bg-clip-text group-hover:bg-gradient-to-r group-hover:from-blue-400 group-hover:to-indigo-400 transition-all duration-300 mb-3 leading-tight line-clamp-2 relative z-10",children:a.judul}),(0,b.jsx)("p",{className:"text-gray-400 text-sm md:text-base leading-relaxed line-clamp-3 flex-1 relative z-10",children:a.narasi}),(0,b.jsx)("div",{className:"mt-6 pt-4 border-t border-white/10 text-right relative z-10",children:(0,b.jsxs)("span",{className:"inline-flex items-center gap-1 text-blue-400 font-semibold text-sm group-hover:translate-x-1 transition-transform",children:["Baca selengkapnya ",(0,b.jsx)("span",{className:"text-lg",children:"→"})]})})]})]},a.id))})}a.s(["default",()=>f])}];

//# sourceMappingURL=src_components_public_berita-client-grid_tsx_ca341f1a._.js.map