import{_ as r}from"./Favorite-BYOoT-G8.js";import{r as s,o,q as i,i as c,a as t,h as n,t as a,x as u}from"./app-D4Dqsdnh.js";const d={class:"aspect-[370/205] overflow-hidden rounded-[5px]"},g=["src","alt"],h={class:"text-lg text-bpi-blue group-hover:text-bpi-blue-hover lg:text-2xl"},m=t("hr",{class:"w-[6.25rem] rounded-r-full border-t-[5px] border-bpi-gray transition-all duration-500 ease-in-out group-hover:w-32 group-[.dark]:border-white"},null,-1),f={class:""},_={class:"line-clamp-5 lg:text-lg"},w={__name:"ArticleCard",props:{classes:String,article:Object},setup(e){return(v,x)=>{const l=s("Link");return o(),i(l,{href:e.article.local_slug,class:u([e.classes,"group relative grid items-start gap-2 lg:gap-4"])},{default:c(()=>[t("figure",d,[t("img",{src:e.article.hero_image,class:"h-full w-full object-cover object-center transition-transform duration-500 ease-in-out will-change-transform group-hover:scale-105",alt:e.article.title,loading:"lazy"},null,8,g),n(r,{slug:e.article.slug,favorited:e.article.isFavorite,size:"large"},null,8,["slug","favorited"])]),t("h4",h,a(e.article.title),1),m,t("div",f,[t("p",_,a(e.article.intro),1)])]),_:1},8,["href","class"])}}};export{w as _};