{"version":3,"file":"CMS_Card.B_KBmvNe.mjs","names":[],"sources":["https:/framerusercontent.com/modules/ZBB3xYnOdb3Z0tU64w7T/qxrbzEKJladc3jXMDAcv/CMS_Card.js"],"sourcesContent":["// CMSCard.tsx\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const ACCENT=\"#ff4040\";export default function CMSCard({title=\"Title\",description=\"Description goes here.\",image,href=\"#\",accentColor=ACCENT,showGlow=true,category}){const CURRENT_ACCENT=accentColor||ACCENT;return /*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:\"'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif\"},children:[/*#__PURE__*/_jsxs(\"a\",{href:href,style:{display:\"block\",textDecoration:\"none\",color:\"#ffffff\",background:\"rgba(255, 255, 255, 0.04)\",border:\"1px solid rgba(255, 255, 255, 0.08)\",borderRadius:\"clamp(12px, 2vw, 16px)\",padding:\"0\",transition:\"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)\",position:\"relative\",overflow:\"hidden\",boxShadow:\"0 2px 8px rgba(0, 0, 0, 0.1)\"},onMouseEnter:e=>{e.currentTarget.style.transform=\"translateY(-4px)\";e.currentTarget.style.boxShadow=showGlow?`0 12px 32px rgba(0, 0, 0, 0.2), 0 0 12px rgba(255, 64, 64, 0.4), 0 0 24px rgba(255, 64, 64, 0.2)`:`0 12px 32px rgba(0, 0, 0, 0.2)`;e.currentTarget.style.borderColor=CURRENT_ACCENT;e.currentTarget.style.background=\"rgba(255, 255, 255, 0.06)\";},onMouseLeave:e=>{e.currentTarget.style.transform=\"translateY(0)\";e.currentTarget.style.boxShadow=\"0 2px 8px rgba(0, 0, 0, 0.1)\";e.currentTarget.style.borderColor=\"rgba(255, 255, 255, 0.08)\";e.currentTarget.style.background=\"rgba(255, 255, 255, 0.04)\";},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"-30%\",right:\"-20%\",width:\"150px\",height:\"150px\",background:`radial-gradient(circle, ${CURRENT_ACCENT}06 0%, transparent 70%)`,borderRadius:\"50%\",pointerEvents:\"none\"}}),image?.src&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"clamp(140px, 20vw, 180px)\",overflow:\"hidden\",borderRadius:\"clamp(12px, 2vw, 16px) clamp(12px, 2vw, 16px) 0 0\",background:\"rgba(255, 255, 255, 0.02)\"},children:[/*#__PURE__*/_jsx(\"img\",{src:image.src,srcSet:image.srcSet,alt:image.alt??\"\",style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",transition:\"transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)\"},onMouseEnter:e=>{e.currentTarget.style.transform=\"scale(1.05)\";},onMouseLeave:e=>{e.currentTarget.style.transform=\"scale(1)\";}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",bottom:0,left:0,right:0,height:\"60%\",background:\"linear-gradient(transparent, rgba(0, 0, 0, 0.3))\",pointerEvents:\"none\"}}),category&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"clamp(0.75rem, 2vw, 1rem)\",right:\"clamp(0.75rem, 2vw, 1rem)\",fontSize:\"clamp(0.65rem, 1.2vw, 0.75rem)\",color:CURRENT_ACCENT,background:`rgba(0, 0, 0, 0.7)`,backdropFilter:\"blur(10px)\",border:`1px solid ${CURRENT_ACCENT}`,padding:\"0.25rem 0.5rem\",borderRadius:\"4px\",fontWeight:600,whiteSpace:\"nowrap\",boxShadow:`0 2px 8px rgba(0, 0, 0, 0.3)`},children:category})]}),/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"clamp(1.25rem, 3vw, 1.5rem)\",position:\"relative\",zIndex:1},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:\"0 0 clamp(0.5rem, 1.5vw, 0.75rem)\",fontSize:\"clamp(1.1rem, 2.2vw, 1.25rem)\",fontWeight:700,color:\"#ffffff\",lineHeight:1.3,letterSpacing:\"-0.01em\"},children:title}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontSize:\"clamp(0.9rem, 1.8vw, 1rem)\",color:\"#cccccc\",lineHeight:1.5,display:\"-webkit-box\",WebkitLineClamp:3,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\"},children:description}),/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:\"clamp(1rem, 2vw, 1.25rem)\",display:\"flex\",alignItems:\"center\",gap:\"0.5rem\",fontSize:\"clamp(0.85rem, 1.6vw, 0.9rem)\",color:CURRENT_ACCENT,fontWeight:600},children:[\"Read More\",/*#__PURE__*/_jsx(\"div\",{style:{// Fixed size for better mobile visibility\nwidth:\"clamp(14px, 2.5vw, 16px)\",height:\"clamp(14px, 2.5vw, 16px)\",minWidth:\"14px\",minHeight:\"14px\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,transition:\"transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)\"},children:/*#__PURE__*/_jsxs(\"svg\",{width:\"100%\",height:\"100%\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",style:{display:\"block\"},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z\",stroke:\"currentColor\",strokeWidth:\"2\",fill:\"currentColor\",fillOpacity:\"0.1\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M14 2v6h6M16 13H8M16 17H8M10 9H8\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\"})]})})]})]}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",bottom:0,left:\"50%\",transform:\"translateX(-50%)\",width:\"60%\",height:\"2px\",background:`linear-gradient(90deg, transparent, ${CURRENT_ACCENT}40, transparent)`,transition:\"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)\"}})]}),/*#__PURE__*/_jsx(\"style\",{children:`\n                /* Mobile optimizations */\n                @media (max-width: 767px) {\n                    /* Ensure proper spacing on mobile */\n                    svg {\n                        display: block !important;\n                        min-width: 14px !important;\n                        min-height: 14px !important;\n                    }\n                }\n\n                /* Accessibility */\n                @media (prefers-reduced-motion: reduce) {\n                    * {\n                        animation-duration: 0.01ms !important;\n                        animation-iteration-count: 1 !important;\n                        transition-duration: 0.1ms !important;\n                    }\n                }\n\n                /* Focus indicators */\n                a:focus-visible {\n                    outline: 2px solid ${CURRENT_ACCENT} !important;\n                    outline-offset: 2px !important;\n                }\n            `})]});}CMSCard.displayName=\"CMS Card\";addPropertyControls(CMSCard,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Blog Post Title\"},description:{type:ControlType.String,title:\"Description\",displayTextArea:true,defaultValue:\"This is a compelling description of the blog post content that will engage readers and encourage them to click through.\"},image:{type:ControlType.ResponsiveImage,title:\"Featured Image\"},href:{type:ControlType.Link,title:\"Link URL\",defaultValue:\"#\"},accentColor:{type:ControlType.Color,title:\"Accent Color\",defaultValue:\"#ff4040\"},showGlow:{type:ControlType.Boolean,title:\"Show Glow Effect\",defaultValue:true},category:{type:ControlType.String,title:\"Category Tag\",defaultValue:\"Blog\"}});CMSCard.defaultProps={title:\"Blog Post Title\",description:\"This is a compelling description of the blog post content that will engage readers and encourage them to click through.\",href:\"#\",accentColor:\"#ff4040\",showGlow:true,date:\"Dec 15, 2024\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMS_Card.map"],"mappings":"wOACoI,SAAwB,EAAQ,CAAC,QAAM,QAAQ,cAAY,yBAAyB,QAAM,OAAK,IAAI,cAAY,EAAO,WAAS,GAAK,YAAU,CAAC,IAAM,EAAe,GAAa,EAAO,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,WAAW,gFAAgF,CAAC,SAAS,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