{"version":3,"file":"ArticleCard.CEeC5cd9.mjs","names":[],"sources":["https:/framerusercontent.com/modules/10IsAyrT32oUoRJOVTxt/WuQoOJAkvdrJiwYA3DCt/ArticleCard.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const GREEN=\"#1B3A2F\";const CREAM=\"#F5F0E8\";const BODY=\"#1A1A1A\";const RULE=`1px solid rgba(26,26,26,0.15)`;export default function ArticleCard({title=\"Article title\",region=\"South Asia\",articleType=\"Briefing Note\",date=\"27 July 2026\",author=\"Contributor Name\",excerpt=\"A short preview of the article content.\",link=\"/analysis\",width=580,height=320}){return /*#__PURE__*/_jsxs(\"a\",{href:link,style:{display:\"block\",width:\"100%\",height:\"100%\",padding:\"40px 40px 36px\",borderTop:RULE,textDecoration:\"none\",color:BODY,fontFamily:\"'Montserrat', sans-serif\",background:CREAM,boxSizing:\"border-box\",cursor:\"pointer\",transition:\"background 0.2s\"},onMouseEnter:e=>e.currentTarget.style.background=\"rgba(26,26,26,0.03)\",onMouseLeave:e=>e.currentTarget.style.background=CREAM,children:[/*#__PURE__*/_jsx(\"style\",{children:`@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;1,400&family=Montserrat:wght@300;400&display=swap');`}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"flex-start\",marginBottom:20},children:[/*#__PURE__*/_jsxs(\"p\",{style:{fontSize:10,textTransform:\"uppercase\",letterSpacing:\"0.14em\",opacity:.5},children:[articleType,\" — \",region]}),/*#__PURE__*/_jsx(\"p\",{style:{fontSize:10,textTransform:\"uppercase\",letterSpacing:\"0.12em\",opacity:.4},children:date})]}),/*#__PURE__*/_jsx(\"h2\",{style:{fontFamily:\"'Cormorant Garamond', serif\",fontSize:28,fontStyle:\"italic\",fontWeight:400,lineHeight:1.2,marginBottom:16},children:title}),/*#__PURE__*/_jsx(\"p\",{style:{fontSize:13.5,lineHeight:1.75,opacity:.7,marginBottom:24},children:excerpt}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"p\",{style:{fontSize:12,opacity:.55},children:author}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:10,textTransform:\"uppercase\",letterSpacing:\"0.1em\",color:GREEN,opacity:.8},children:\"Read →\"})]})]});}addPropertyControls(ArticleCard,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Article title\"},region:{type:ControlType.String,title:\"Region\",defaultValue:\"South Asia\"},articleType:{type:ControlType.String,title:\"Type\",defaultValue:\"Analysis\"},date:{type:ControlType.String,title:\"Date\",defaultValue:\"27 July 2026\"},author:{type:ControlType.String,title:\"Author\",defaultValue:\"Contributor Name\"},excerpt:{type:ControlType.String,title:\"Excerpt\",defaultValue:\"Short preview of the article.\"},link:{type:ControlType.String,title:\"Link\",defaultValue:\"/analysis\"}});/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export function ArticleHeader({title=\"Article title\",region=\"South Asia\",articleType=\"Analysis\",date=\"July 2026\",author=\"Contributor Name\"}){return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",fontFamily:\"'Montserrat', sans-serif\",color:BODY},children:[/*#__PURE__*/_jsx(\"style\",{children:`@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;1,400&family=Montserrat:wght@300;400;500&display=swap');`}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"baseline\",fontSize:10,textTransform:\"uppercase\",letterSpacing:\"0.14em\",opacity:.5,borderBottom:RULE,paddingBottom:18,marginBottom:40},children:[/*#__PURE__*/_jsxs(\"span\",{children:[articleType,\" — \",region]}),/*#__PURE__*/_jsx(\"span\",{children:date})]}),/*#__PURE__*/_jsx(\"h1\",{style:{fontFamily:\"'Cormorant Garamond', serif\",fontStyle:\"italic\",fontWeight:400,fontSize:54,lineHeight:1.14,letterSpacing:\"-0.01em\",margin:0,color:GREEN},children:title}),/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:36,fontSize:11,textTransform:\"uppercase\",letterSpacing:\"0.14em\",opacity:.55},children:[\"Written by \",author]})]});}addPropertyControls(ArticleHeader,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Article title\"},region:{type:ControlType.String,title:\"Region\",defaultValue:\"South Asia\"},articleType:{type:ControlType.String,title:\"Type\",defaultValue:\"Analysis\"},date:{type:ControlType.String,title:\"Date\",defaultValue:\"July 2026\"},author:{type:ControlType.String,title:\"Author\",defaultValue:\"Contributor Name\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"ArticleHeader\":{\"type\":\"reactComponent\",\"name\":\"ArticleHeader\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"ArticleCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ArticleCard.map"],"mappings":"8JAAyN,SAAwB,EAAY,CAAC,QAAM,gBAAgB,SAAO,aAAa,cAAY,gBAAgB,OAAK,eAAe,SAAO,mBAAmB,UAAQ,0CAA0C,OAAK,YAAY,QAAM,IAAI,SAAO,KAAK,CAAC,OAAoB,EAAM,IAAI,CAAC,KAAK,EAAK,MAAM,CAAC,QAAQ,QAAQ,MAAM,OAAO,OAAO,OAAO,QAAQ,iBAAiB,UAAU,EAAK,eAAe,OAAO,MAAM,EAAK,WAAW,2BAA2B,WAAW,EAAM,UAAU,aAAa,OAAO,UAAU,WAAW,iBAAiB,EAAE,aAAa,GAAG,EAAE,cAAc,MAAM,WAAW,sBAAsB,aAAa,GAAG,EAAE,cAAc,MAAM,WAAW,EAAM,SAAS,CAAc,EAAK,QAAQ,C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