{"version":3,"file":"ProjectRichText.DeVDWXsY.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/g7537oCaR6vvDDJvHfNl/AvNzDxRQXI6RYwzPGF3h/ProjectRichText.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const CSS=`\n.prt { container-type: inline-size; direction: rtl; text-align: right; font-family: Alexandria, sans-serif; width: 100%; }\n.prt > :first-child { margin-top: 0 !important; }\n.prt h2 { margin: 44px 0 0; font-size: 32px; line-height: 1.4; letter-spacing: -0.04em; font-weight: 700; color: #F7F5EF; }\n.prt h3 { margin: 28px 0 0; font-size: 23px; line-height: 1.5; letter-spacing: -0.04em; font-weight: 600; color: #F7F5EF; }\n.prt p, .prt li { margin: 0; font-size: 18px; line-height: 1.95; letter-spacing: -0.02em; font-weight: 400; color: #B9B9B3; }\n.prt p { margin-top: 22px; }\n.prt h2 + p, .prt h3 + p, .prt h2 + ul, .prt h3 + ul, .prt h2 + ol, .prt h3 + ol { margin-top: 12px; }\n.prt.lead p, .prt.lead li { font-size: 19px; color: #F7F5EF; }\n.prt.lead p { margin-top: 12px; }\n.prt strong { font-weight: 700; color: #F7F5EF; }\n.prt a { color: #C9A35D; text-decoration: underline; text-decoration-color: rgba(201, 163, 93, 0.65); text-underline-offset: 3px; transition: color 0.2s, text-decoration-color 0.2s; }\n.prt a:hover { color: #F7F5EF; text-decoration-color: #F7F5EF; }\n.prt ul, .prt ol { margin: 14px 0 0; padding: 0 1.4em 0 0; list-style-position: outside; }\n.prt li { padding-right: 0.25em; }\n.prt li + li { margin-top: 6px; }\n.prt li::marker { font-size: 0.8em; color: #C9A35D; }\n.prt .pt-table { margin-top: 22px; width: 100%; border: 1px solid rgba(153, 153, 153, 0.25); border-radius: 12px; overflow: hidden; }\n.prt table { width: 100%; border-collapse: collapse; }\n.prt th, .prt td { padding: 12px 14px; text-align: right; vertical-align: top; font-size: 16px; line-height: 1.7; color: #B9B9B3; border-bottom: 1px solid rgba(153, 153, 153, 0.18); border-left: 1px solid rgba(153, 153, 153, 0.18); }\n.prt th { background: rgba(153, 153, 153, 0.1); color: #F7F5EF; font-weight: 600; font-size: 15px; }\n.prt td:first-child { color: #F7F5EF; font-weight: 600; }\n.prt tr:last-child td { border-bottom: 0; }\n.prt :is(th, td):last-child { border-left: 0; }\n@container (max-width: 620px) {\n  .prt h2 { margin-top: 36px; font-size: 25px; }\n  .prt h3 { margin-top: 24px; font-size: 18px; }\n  .prt p, .prt li { font-size: 16px; }\n  .prt.lead p, .prt.lead li { font-size: 16px; }\n  .prt .pt-table:has(.pt-stack) { border: 0; border-radius: 0; overflow: visible; }\n  .prt table.pt-stack, .prt table.pt-stack tbody { display: flex; flex-direction: column; gap: 12px; }\n  .prt table.pt-stack thead { display: none; }\n  .prt table.pt-stack tr { display: block; padding: 4px 16px; border: 1px solid rgba(201, 163, 93, 0.22); border-radius: 14px; background: rgba(255, 255, 255, 0.025); }\n  .prt table.pt-stack td { display: grid; grid-template-columns: minmax(84px, 36%) minmax(0, 1fr); column-gap: 12px; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 15px; }\n  .prt table.pt-stack td::before { content: attr(data-label); font-size: 13px; line-height: 1.7; color: rgba(185, 185, 179, 0.95); font-weight: 400; }\n  .prt table.pt-stack td:first-child { display: block; padding-top: 12px; font-size: 16px; }\n  .prt table.pt-stack td:first-child::before { content: none; }\n  .prt table.pt-stack td:last-child { border-bottom: 0; }\n  .prt table.pt-compact th, .prt table.pt-compact td { padding: 10px 8px; font-size: 13px; line-height: 1.6; }\n  .prt table.pt-compact th { font-size: 12px; }\n}\n`;/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */export default function ProjectRichText({html,variant}){if(!html)return null;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/_jsx(\"div\",{className:variant===\"lead\"?\"prt lead\":\"prt\",dangerouslySetInnerHTML:{__html:html}})]});}addPropertyControls(ProjectRichText,{html:{type:ControlType.String,title:\"HTML\",defaultValue:\"\",displayTextArea:true},variant:{type:ControlType.Enum,title:\"Style\",options:[\"body\",\"lead\"],optionTitles:[\"Body\",\"Lead\"],defaultValue:\"body\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProjectRichText\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProjectRichText.map"],"mappings":"qKA4CG,SAAwB,EAAgB,CAAC,OAAK,WAAS,CAAsB,OAAjB,EAAqC,EAAMA,EAAU,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS,CAAG,CAAC,EAAe,EAAK,MAAM,CAAC,UAAU,IAAU,OAAO,WAAW,MAAM,wBAAwB,CAAC,OAAO,CAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAA5M,IAA8M,mBA5C3M,IAAoD,EAAO,EAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4C6I,EAAoB,EAAgB,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,aAAa,GAAG,gBAAgB,EAAI,EAAE,QAAQ,CAAC,KAAK,EAAY,KAAK,MAAM,QAAQ,QAAQ,CAAC,OAAO,MAAM,EAAE,aAAa,CAAC,OAAO,MAAM,EAAE,aAAa,MAAM,CAAC,CAAC"}