{"version":3,"file":"BlogCard.DfqQuV7U.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/I47Uax5XEnkJ3sLS4dGj/rpYLivFItjjHnTFfSmzN/BlogCard.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";// ─── Styles ───────────────────────────────────────────────────────────────────\nconst STYLE_ID=\"fts-blog-card-styles-v7\";const css=`\n  .bc-root {\n    width: 100%;\n    height: 100%;\n    border-radius: 14px;\n    overflow: hidden;\n    background: #fff;\n    border: 1px solid #e4e4e7;\n    box-shadow: 0px 1px 3px rgba(0,0,0,0.08), 0px 4px 16px rgba(0,0,0,0.04);\n    display: flex;\n    flex-direction: column;\n    font-family: Inter, sans-serif;\n    box-sizing: border-box;\n    text-decoration: none;\n    color: inherit;\n  }\n\n  /* Kill any inherited underline on all descendants */\n  .bc-root, .bc-root * {\n    text-decoration: none;\n  }\n\n  /* ── Desktop variant hover effects ── */\n  .bc-root.desktop {\n    transition: box-shadow 0.25s ease;\n    cursor: pointer;\n  }\n  .bc-root.desktop:hover {\n    box-shadow: 0px 16px 48px rgba(0,0,0,0.14), 0px 4px 16px rgba(0,0,0,0.08);\n  }\n\n  /* ── Image wrapper — clips the scale transform ── */\n  .bc-image-wrap {\n    width: 100%;\n    aspect-ratio: 16 / 9;\n    overflow: hidden;\n    flex-shrink: 0;\n    display: block;\n  }\n\n  /* ── Hero image ── */\n  .bc-image {\n    width: 100%;\n    height: 100%;\n    object-fit: cover;\n    display: block;\n    opacity: 1;\n  }\n\n  /* Desktop: scale on hover */\n  .bc-root.desktop .bc-image {\n    transition: transform 0.4s ease;\n    transform: scale(1);\n  }\n  .bc-root.desktop:hover .bc-image {\n    transform: scale(1.06);\n  }\n\n  /* Fallback when no image provided */\n  .bc-image-placeholder {\n    width: 100%;\n    aspect-ratio: 16 / 9;\n    background: #f1f5f9;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    flex-shrink: 0;\n  }\n\n  .bc-image-placeholder-icon {\n    color: #cbd5e1;\n    font-size: 40px;\n  }\n\n  /* ── Footer ── */\n  .bc-footer {\n    padding: 24px;\n    display: flex;\n    flex-direction: column;\n    gap: 16px;\n    background: #fff;\n    flex: 1;\n    justify-content: space-between;\n  }\n\n  /* ── Top content block (header + quote) ── */\n  .bc-content {\n    display: flex;\n    flex-direction: column;\n    gap: 16px;\n  }\n\n  /* ── Header row: logo + title ── */\n  .bc-header {\n    display: flex;\n    align-items: center;\n    gap: 12px;\n  }\n\n  .bc-logo {\n    width: 40px;\n    height: 40px;\n    border-radius: 8px;\n    object-fit: contain;\n    flex-shrink: 0;\n  }\n\n  .bc-logo-placeholder {\n    width: 40px;\n    height: 40px;\n    border-radius: 8px;\n    background: #e2e8f0;\n    flex-shrink: 0;\n  }\n\n  .bc-title {\n    font-size: 18px;\n    font-weight: 600;\n    line-height: 1.3;\n    color: #09090b;\n    margin: 0;\n    letter-spacing: -0.02em;\n    text-decoration: none;\n  }\n\n  /* Mobile: slightly smaller title */\n  @media (max-width: 480px) {\n    .bc-title { font-size: 16px; }\n    .bc-footer { padding: 20px; }\n  }\n\n  /* ── Quote / body text ── */\n  .bc-quote {\n    font-size: 15px;\n    font-weight: 400;\n    line-height: 1.6;\n    color: #52525b;\n    margin: 0;\n    text-decoration: none;\n  }\n\n  /* ── CTA button ── */\n  .bc-btn {\n    display: inline-flex;\n    align-items: center;\n    gap: 8px;\n    height: 36px;\n    padding: 0 16px;\n    background: #f4f4f5;\n    border: none;\n    border-radius: 6px;\n    font-size: 14px;\n    font-weight: 500;\n    font-family: Inter, sans-serif;\n    color: #09090b;\n    cursor: pointer;\n    text-decoration: none;\n    transition: background 0.15s ease;\n    width: fit-content;\n    align-self: flex-start;\n  }\n\n  .bc-btn:hover { background: #e4e4e7; }\n\n  .bc-btn-arrow {\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    flex-shrink: 0;\n  }\n`;function injectStyles(){if(typeof document===\"undefined\")return;const existing=document.getElementById(STYLE_ID);if(existing)existing.remove();const s=document.createElement(\"style\");s.id=STYLE_ID;s.textContent=css;document.head.appendChild(s);}// ─── Arrow icon ───────────────────────────────────────────────────────────────\nfunction ArrowRight(){return /*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 14 14\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M1 7h12M7 1l6 6-6 6\",stroke:\"currentColor\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}export function BlogCard({variant=\"mobile\",heroImage,logoImage,title=\"Kansas University\",quote='\"This app transformed our college sports experience! It keeps fans updated on games and player stats, making it easy to follow my favorite teams and never miss a moment.\"',ctaLabel=\"Learn More\",ctaHref=\"\",ctaOpenNewTab=false}){React.useEffect(()=>{injectStyles();},[]);const isDesktop=variant===\"desktop\";const rootClass=`bc-root${isDesktop?\" desktop\":\"\"}`;const image=heroImage?/*#__PURE__*/_jsx(\"div\",{className:\"bc-image-wrap\",children:/*#__PURE__*/_jsx(\"img\",{className:\"bc-image\",src:heroImage,alt:title})}):/*#__PURE__*/_jsx(\"div\",{className:\"bc-image-placeholder\",children:/*#__PURE__*/_jsx(\"span\",{className:\"bc-image-placeholder-icon\",children:\"🖼\"})});// Desktop: the whole card is already a link, so the CTA must be a plain\n// visual element (no <a>/href) to avoid nesting an anchor inside an anchor.\nconst cta=isDesktop?/*#__PURE__*/_jsxs(\"span\",{className:\"bc-btn\",children:[ctaLabel,/*#__PURE__*/_jsx(\"span\",{className:\"bc-btn-arrow\",children:/*#__PURE__*/_jsx(ArrowRight,{})})]}):/*#__PURE__*/_jsxs(\"a\",{className:\"bc-btn\",href:ctaHref||undefined,target:ctaOpenNewTab?\"_blank\":undefined,rel:ctaOpenNewTab?\"noopener noreferrer\":undefined,children:[ctaLabel,/*#__PURE__*/_jsx(\"span\",{className:\"bc-btn-arrow\",children:/*#__PURE__*/_jsx(ArrowRight,{})})]});const content=/*#__PURE__*/_jsxs(_Fragment,{children:[image,/*#__PURE__*/_jsxs(\"div\",{className:\"bc-footer\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"bc-content\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"bc-header\",children:[logoImage?/*#__PURE__*/_jsx(\"img\",{className:\"bc-logo\",src:logoImage,alt:title}):/*#__PURE__*/_jsx(\"div\",{className:\"bc-logo-placeholder\"}),/*#__PURE__*/_jsx(\"h3\",{className:\"bc-title\",children:title})]}),quote&&/*#__PURE__*/_jsx(\"p\",{className:\"bc-quote\",children:quote})]}),cta]})]});// Desktop: entire card is the link\nif(isDesktop){return /*#__PURE__*/_jsx(\"a\",{className:rootClass,href:ctaHref||undefined,target:ctaOpenNewTab?\"_blank\":undefined,rel:ctaOpenNewTab?\"noopener noreferrer\":undefined,children:content});}return /*#__PURE__*/_jsx(\"div\",{className:rootClass,children:content});}// ─── Property Controls ────────────────────────────────────────────────────────\naddPropertyControls(BlogCard,{variant:{type:ControlType.Enum,title:\"Variant\",options:[\"desktop\",\"mobile\"],optionTitles:[\"Desktop\",\"Mobile\"],defaultValue:\"mobile\"},heroImage:{type:ControlType.Image,title:\"Hero Image\"},logoImage:{type:ControlType.Image,title:\"Logo\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Kansas University\"},quote:{type:ControlType.String,title:\"Quote\",defaultValue:'\"This app transformed our college sports experience! It keeps fans updated on games and player stats, making it easy to follow my favorite teams and never miss a moment.\"'},ctaLabel:{type:ControlType.String,title:\"CTA Label\",defaultValue:\"Learn More\"},ctaHref:{type:ControlType.String,title:\"CTA Link\",defaultValue:\"\"},ctaOpenNewTab:{type:ControlType.Boolean,title:\"Open New Tab\",defaultValue:false}});export default BlogCard;\nexport const __FramerMetadata__ = {\"exports\":{\"BlogCard\":{\"type\":\"reactComponent\",\"name\":\"BlogCard\",\"slots\":[],\"annotations\":{\"framerContractVersion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