module.exports=[35112,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactDOM},21497,a=>{a.v({className:"aboreto_cd777d9f-module__k4Ffnq__className"})},22528,a=>{a.v({className:"raleway_f464256a-module__reD0Ba__className"})},87102,a=>{"use strict";var b=a.i(87924),c=a.i(15925),d=a.i(38246),e=a.i(71987),f=a.i(21497);let g={className:f.default.className,style:{fontFamily:"'Aboreto', 'Aboreto Fallback'",fontWeight:400,fontStyle:"normal"}};null!=f.default.variable&&(g.variable=f.default.variable);var h=a.i(22528);let i={className:h.default.className,style:{fontFamily:"'Raleway', 'Raleway Fallback'",fontStyle:"normal"}};function j({noticias:a,locale:d}){let e=(0,c.useTranslations)("Header");return(0,b.jsxs)("div",{children:[(0,b.jsx)("section",{className:"relative w-full h-[300px] md:h-[500px]",children:(0,b.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,b.jsx)("h1",{className:`text-white text-4xl md:text-6xl text-center ${g.className}`,children:e("news")})})}),(0,b.jsx)("section",{className:"py-16 md:py-24 px-4 md:px-20 bg-white",children:a.length>0?(0,b.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-12",children:a.map(a=>(0,b.jsx)(k,{noticia:a,locale:d},a.id))}):(0,b.jsx)("div",{className:"text-center py-20",children:(0,b.jsx)("p",{className:`text-gray-600 text-lg ${i.className}`,children:"No hay noticias disponibles"})})})]})}function k({noticia:a,locale:c}){return(0,b.jsxs)("article",{className:"group flex flex-col h-full",children:[(0,b.jsxs)("div",{className:"relative h-64 md:h-72 overflow-hidden rounded-lg mb-4 flex-shrink-0",children:[(0,b.jsx)(e.default,{src:a.imagenPrincipal.url,alt:a.titulo,fill:!0,className:"object-cover group-hover:scale-110 transition-transform duration-500"}),(0,b.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent flex items-end p-4",children:(0,b.jsx)("span",{className:`text-white text-2xl md:text-3xl font-bold ${g.className}`,children:a.anio})})]}),(0,b.jsxs)("div",{className:"flex flex-col flex-grow space-y-2",children:[(0,b.jsx)("p",{className:`text-xs md:text-sm text-[#BE5103] font-bold uppercase ${i.className}`,children:a.pais}),(0,b.jsx)("h2",{className:`text-xl md:text-2xl text-[#C85A3F] ${g.className}`,children:a.titulo}),(0,b.jsx)("p",{className:`text-sm md:text-base text-gray-700 line-clamp-3 flex-grow ${i.className}`,children:a.resumen}),(0,b.jsx)(d.default,{href:`/${c}/noticias/${a.slug}`,className:`inline-block text-[#FF8112] font-bold text-sm mt-4 hover:text-[#C85A3F] transition-colors ${g.className}`,children:"VER MÁS →"})]})]})}null!=h.default.variable&&(i.variable=h.default.variable),a.s(["default",()=>j],87102)}];

//# sourceMappingURL=%5Broot-of-the-server%5D__95fe1d84._.js.map