{"version":3,"file":"SS_BlogCard.JryeTAJh.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/f2WbybkLCTVT8KZqBziC/E7dzLeYHolZhTCwwePzi/SS_BlogCard.js"],"sourcesContent":["// Framer Component — Blog Card (immersive portrait / cinematic)\n// A tall portrait card: full-bleed cover image, dark filmic scrim, category\n// chip, and title + meta set over the image. The excerpt reveals on hover.\n// When href is provided the card is a standalone <a>; when empty (inside a CMS\n// Collection item) it renders as a <div> so the parent BlogItem link navigates.\n\"use client\";import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const C={cream:\"#FFF8E9\",creamSoft:\"rgba(255,248,233,0.72)\",creamFaint:\"rgba(255,248,233,0.55)\",ink:\"#0E111B\"};const FONT_BASE=\"https://siddiqui-social.vercel.app/fonts\";const FontFaces=()=>/*#__PURE__*/_jsx(\"style\",{children:`\n        @font-face { font-family:'GT Ultra Median Thin';\n            src:url('${FONT_BASE}/GT-Ultra-Median-Thin.woff2') format('woff2'); font-display:block; }\n        @font-face { font-family:'GT Ultra Median Light';\n            src:url('${FONT_BASE}/GT-Ultra-Median-Light.woff2') format('woff2'); font-display:block; }\n        @font-face { font-family:'GT Ultra Standard Light';\n            src:url('${FONT_BASE}/GT-Ultra-Standard-Light.woff2') format('woff2'); font-display:block; }\n        *, *::before, *::after { box-sizing: border-box; }\n        a { color: inherit; text-decoration: none; }\n\n        .bc-card { display:block; cursor:pointer; width:100%; }\n\n        .bc-frame {\n            position: relative; width: 100%; aspect-ratio: 3 / 4;\n            overflow: hidden; border-radius: 4px; background: ${C.ink};\n            transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.45s ease;\n        }\n        .bc-card:hover .bc-frame {\n            transform: translateY(-5px);\n            box-shadow: 0 22px 48px rgba(18,10,4,0.30);\n        }\n\n        .bc-img {\n            position:absolute; inset:0; width:100%; height:100%;\n            object-fit: cover; display:block;\n            filter: saturate(0.82) brightness(0.78);\n            transform: scale(1.02);\n            transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), filter 0.45s ease;\n        }\n        .bc-card:hover .bc-img { transform: scale(1.09); filter: saturate(0.9) brightness(0.72); }\n\n        .bc-scrim {\n            position:absolute; inset:0;\n            background: linear-gradient(to top,\n                rgba(14,17,27,0.92) 0%,\n                rgba(14,17,27,0.55) 26%,\n                rgba(14,17,27,0.04) 58%,\n                rgba(14,17,27,0.22) 100%);\n        }\n\n        .bc-cat {\n            position:absolute; top:16px; left:16px;\n            font-family:'GT Ultra Standard Light','GT-Ultra-Standard-Light',system-ui,sans-serif;\n            font-size:10px; letter-spacing:0.12em; text-transform:uppercase;\n            color:${C.cream};\n            padding:5px 10px; border-radius:3px;\n            background: rgba(20,12,8,0.34);\n            -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);\n        }\n\n        .bc-content {\n            position:absolute; left:0; right:0; bottom:0;\n            padding: 22px 22px 24px;\n            display:flex; flex-direction:column; gap:10px;\n        }\n        .bc-eyebrow {\n            font-family:'GT Ultra Standard Light','GT-Ultra-Standard-Light',system-ui,sans-serif;\n            font-size:10px; letter-spacing:0.1em; text-transform:uppercase;\n            color:${C.creamFaint};\n        }\n        .bc-title {\n            font-family:'GT Ultra Median Light','GT-Ultra-Median-Light',serif;\n            font-size:23px; line-height:1.18; letter-spacing:-0.015em;\n            color:${C.cream};\n            display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;\n        }\n        .bc-excerpt {\n            font-family:'GT Ultra Median Light','GT-Ultra-Median-Light',serif;\n            font-size:14px; line-height:1.4; letter-spacing:-0.01em;\n            color:${C.creamSoft};\n            display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;\n            max-height:0; opacity:0; margin:0;\n            transition: max-height 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.35s ease, margin 0.5s ease;\n        }\n        .bc-card:hover .bc-excerpt { max-height:80px; opacity:1; }\n\n        .bc-cta {\n            font-family:'GT Ultra Standard Light','GT-Ultra-Standard-Light',system-ui,sans-serif;\n            font-size:11px; letter-spacing:0.08em; text-transform:uppercase;\n            color:${C.cream}; opacity:0.85;\n            transition: opacity 0.3s ease, letter-spacing 0.3s ease;\n        }\n        .bc-card:hover .bc-cta { opacity:1; letter-spacing:0.14em; }\n\n        @media (max-width: 640px) {\n            .bc-excerpt { max-height:80px; opacity:1; }\n        }\n    `});export default function BlogCard({title=\"The Birth of Anglo-Muhammadan Law in India\",date=\"May 3, 2026\",category=\"Research\",excerpt=\"Before English law's dominance, the Mughal Empire governed India in a decentralised way, with municipalities applying the emperor's law alongside local customs and the predominant regional Islamic school.\",readTime=\"15 minutes\",href=\"\",image=\"https://framerusercontent.com/images/JoHsI1H4KEoUp25bBiTPUFrEkc.jpg\"}){const meta=[date,readTime].filter(Boolean).join(\"  \\xb7  \");const inner=/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(FontFaces,{}),/*#__PURE__*/_jsxs(\"div\",{className:\"bc-frame\",children:[image?/*#__PURE__*/_jsx(\"img\",{className:\"bc-img\",src:image,alt:\"\"}):null,/*#__PURE__*/_jsx(\"div\",{className:\"bc-scrim\"}),category?/*#__PURE__*/_jsx(\"span\",{className:\"bc-cat\",children:category}):null,/*#__PURE__*/_jsxs(\"div\",{className:\"bc-content\",children:[meta?/*#__PURE__*/_jsx(\"span\",{className:\"bc-eyebrow\",children:meta}):null,/*#__PURE__*/_jsx(\"div\",{className:\"bc-title\",children:title}),excerpt?/*#__PURE__*/_jsx(\"div\",{className:\"bc-excerpt\",children:excerpt}):null,/*#__PURE__*/_jsx(\"span\",{className:\"bc-cta\",children:\"Read →\"})]})]})]});return /*#__PURE__*/_jsx(\"div\",{style:{WebkitFontSmoothing:\"antialiased\",width:\"100%\"},children:href?/*#__PURE__*/_jsx(\"a\",{href:href,className:\"bc-card\",children:inner}):/*#__PURE__*/_jsx(\"div\",{className:\"bc-card\",children:inner})});}addPropertyControls(BlogCard,{image:{type:ControlType.Image,title:\"Cover image\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"The Birth of Anglo-Muhammadan Law in India\"},category:{type:ControlType.String,title:\"Category\",defaultValue:\"Research\"},date:{type:ControlType.String,title:\"Date\",defaultValue:\"May 3, 2026\"},readTime:{type:ControlType.String,title:\"Read time\",defaultValue:\"15 minutes\"},excerpt:{type:ControlType.String,title:\"Excerpt\",displayTextArea:true,defaultValue:\"Before English law's dominance, the Mughal Empire governed India in a decentralised way, with municipalities applying the emperor's law alongside local customs.\"},href:{type:ControlType.String,title:\"Link URL\",defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BlogCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SS_BlogCard.map"],"mappings":"qKA4FQ,SAAwB,EAAS,CAAC,QAAM,6CAA6C,OAAK,cAAc,WAAS,WAAW,UAAQ,+MAA+M,WAAS,aAAa,OAAK,GAAG,QAAM,uEAAuE,CAAC,IAAM,EAAK,CAAC,EAAK,CAAQ,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,KAAK,OAAU,EAAQ,EAAmB,EAAMA,EAAU,CAAC,SAAS,CAAc,EAAK,EAAU,CAAC,CAAC,EAAe,EAAM,MAAM,CAAC,UAAU,WAAW,SAAS,CAAC,EAAmB,EAAK,MAAM,CAAC,UAAU,SAAS,IAAI,EAAM,IAAI,EAAE,CAAC,EAAE,KAAkB,EAAK,MAAM,CAAC,UAAU,UAAU,CAAC,EAAE,EAAsB,EAAK,OAAO,CAAC,UAAU,SAAS,SAAS,CAAQ,CAAC,EAAE,KAAkB,EAAM,MAAM,CAAC,UAAU,aAAa,SAAS,CAAC,EAAkB,EAAK,OAAO,CAAC,UAAU,aAAa,SAAS,CAAI,CAAC,EAAE,KAAkB,EAAK,MAAM,CAAC,UAAU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