{"version":3,"file":"ArticleCard.CLglMkKB.mjs","names":["__esmMin","p","c","init_jsx_runtime","useLocaleInfo","addPropertyControls","init_framer_CaDWdxiz","ControlType","ArticleCard","props","activeLocale","localeCode","localePath","localePrefix","href","slug","image","title","tag","date","init_ArticleCard"],"sources":["https:/framerusercontent.com/modules/Y0EqIAdhQHwCk64tZBhc/j9nbFfXGHMcNEfAqus39/ArticleCard.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useLocaleInfo}from\"framer\";/**\n * Article Card\n *\n * @framerIntrinsicWidth 380\n * @framerIntrinsicHeight 440\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function ArticleCard(props){const{title=\"Article title\",tag=\"\",date=\"\",slug=\"\",image}=props;// Keep readers inside their own locale: /da/insights/<slug> on the Danish\n// site, /insights/<slug> on the default (English) one.\nconst info=useLocaleInfo();const activeLocale=info?.activeLocale;const localeCode=(activeLocale?.code??\"\").slice(0,2).toLowerCase();const localePath=activeLocale?.slug??localeCode;const localePrefix=!localeCode||localeCode===\"en\"?\"\":`/${localePath}`;const href=slug?`${localePrefix}/insights/${slug}`:\"#\";return /*#__PURE__*/_jsxs(\"a\",{href:href,style:{position:\"relative\",display:\"flex\",flexDirection:\"column\",textDecoration:\"none\",background:\"#fff\",borderRadius:16,overflow:\"hidden\",width:\"100%\",// Fill whatever box Framer gives the instance, so cards sharing\n// a row all end up the same height. Falls back to content\n// height when the instance is set to auto.\nheight:\"100%\",fontFamily:\"Manrope, Inter, sans-serif\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:320,flexShrink:0,borderRadius:14,overflow:\"hidden\"},children:[image?.src&&/*#__PURE__*/_jsx(\"img\",{src:image.src,srcSet:image.srcSet,alt:image.alt||title,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}}),tag&&/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",top:12,left:12,background:\"#33DFB9\",color:\"rgb(5,32,26)\",padding:\"5px 11px\",borderRadius:100,fontSize:11,fontWeight:600,textTransform:\"uppercase\",letterSpacing:\"0.04em\",boxShadow:\"0 2px 8px rgba(5,32,26,0.16)\"},children:tag})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8,padding:\"18px 20px 22px\",// Absorbs the leftover height so the image band stays a\n// consistent size and the white area does the stretching.\nflex:\"1 0 auto\"},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:0,fontWeight:600,fontSize:22,letterSpacing:\"-0.01em\",lineHeight:\"1.2em\",color:\"rgb(5,32,26)\"},children:title}),date&&/*#__PURE__*/_jsx(\"span\",{style:{fontWeight:500,fontSize:15,color:\"rgb(104,121,118)\"},children:date})]})]});}addPropertyControls(ArticleCard,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Article title\"},tag:{type:ControlType.String,title:\"Tag\",defaultValue:\"Market Insight\"},date:{type:ControlType.String,title:\"Date\",defaultValue:\"Jun 20, 2026\"},slug:{type:ControlType.String,title:\"Slug\",defaultValue:\"\"},country:{type:ControlType.String,title:\"Country\",defaultValue:\"Global\"},image:{type:ControlType.ResponsiveImage,title:\"Image\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ArticleCard\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"380\",\"framerIntrinsicHeight\":\"440\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ArticleCard.map"],"mappings":"A,2KAQG,SAAwBQ,EAAY,EAAM,CAAC,GAAK,CAAC,QAAM,gBAAgB,MAAI,GAAG,OAAK,GAAG,OAAK,GAAG,SAAOC,EAEvEC,EAAtBN,EAA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