{"version":3,"file":"ArticleBody.DaDATJDN.mjs","names":["__esmMin","p","c","init_jsx_runtime","init_framer_BpuvUAiZ","addPropertyControls","ArticleBody","props","display","sans","id","size","css","weight","body","measure","lead","ink","accent","rule","content","init_ArticleBody","ControlType"],"sources":["https:/framerusercontent.com/modules/upFi9azVJYjpYUGr6jH3/UnCEV9x4tTliK93ZzVml/ArticleBody.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 640\n * @framerIntrinsicHeight 400\n * @framerDisableUnlink\n */export default function ArticleBody(props){const{content=\"\",ink=\"rgb(28, 22, 17)\",body=\"rgb(87, 72, 57)\",accent=\"rgb(128, 96, 52)\",rule=\"rgba(28, 22, 17, 0.13)\",size=17,weight=300,measure=34,lead=true}=props;const display='\"LANCEA Regular\", \"LANCEA Regular Placeholder\", Georgia, serif';const sans='\"Gothic A1\", \"Gothic A1 Placeholder\", system-ui, sans-serif';const id=`vw-article-${size}`;const css=`\n.${id}{ font-family:${sans}; font-size:${size}px; line-height:1.75; font-weight:${weight};\n  color:${body}; max-width:${measure}em; }\n.${id} > *:first-child{ margin-top:0 }\n.${id} > *:last-child{ margin-bottom:0 }\n.${id} p{ margin:0 0 1.15em }\n${lead?`.${id} > p:first-of-type{ font-size:1.1em; line-height:1.66; color:${ink} }`:\"\"}\n.${id} strong{ font-weight:600; color:${ink} }\n.${id} em{ font-style:italic }\n.${id} h2,.${id} h3{ font-family:${display}; font-weight:400; color:${ink};\n  letter-spacing:-0.01em; line-height:1.18; }\n.${id} h2{ font-size:1.62em; margin:2.1em 0 .5em }\n.${id} h3{ font-size:1.28em; margin:1.9em 0 .45em }\n/* h4–h6 are used as small kickers in this content, not as deep hierarchy */\n.${id} h4,.${id} h5,.${id} h6{ font-family:${sans}; font-size:.72em; font-weight:600;\n  letter-spacing:.14em; text-transform:uppercase; color:${accent}; margin:2em 0 .5em }\n.${id} ul,.${id} ol{ margin:0 0 1.3em; padding-left:0; list-style:none }\n.${id} ol{ counter-reset:vw }\n.${id} li{ position:relative; padding-left:1.4em; margin:0 0 .5em }\n.${id} ul > li::before{ content:\"\"; position:absolute; left:.25em; top:.72em;\n  width:5px; height:5px; border-radius:50%; background:${accent} }\n.${id} ol > li{ counter-increment:vw }\n.${id} ol > li::before{ content:counter(vw)\".\"; position:absolute; left:0; top:0;\n  color:${accent}; font-variant-numeric:tabular-nums }\n.${id} a{ color:${ink}; text-decoration:underline;\n  text-decoration-color:${accent}; text-underline-offset:.22em; text-decoration-thickness:1px }\n.${id} a:hover{ color:${accent} }\n/* Booking links to the events inquiry form (Mise) render as the site's gold pill button */\n.${id} a[href^=\"https://events.vincentwilliamwine.com\"]{ display:inline-block; background:rgb(198, 164, 114);\n  color:${ink}; text-decoration:none; font-family:${sans}; font-size:17px; font-weight:600;\n  letter-spacing:.02em; line-height:1.2; padding:18px 36px; border-radius:999px; margin:.3em 0;\n  transition:background-color .2s ease }\n.${id} a[href^=\"https://events.vincentwilliamwine.com\"]:hover{ background:rgb(214, 182, 134); color:${ink} }\n/* Links tagged ?vwbtn=1 (booking/ticket calls to action) render as the same gold pill */\n.${id} a[href*=\"vwbtn=1\"]{ display:inline-block; background:rgb(198, 164, 114);\n  color:${ink}; text-decoration:none; font-family:${sans}; font-size:16px; font-weight:600;\n  letter-spacing:.02em; line-height:1.2; padding:15px 28px; border-radius:999px; margin:.2em .5em .2em 0;\n  transition:background-color .2s ease }\n.${id} a[href*=\"vwbtn=1\"]:hover{ background:rgb(214, 182, 134); color:${ink} }\n/* Poster-card layout: any post with a ?vwbtn=1 button reads as a run of event cards\n   (image, date kicker, title, one line, button). Posts without those buttons are unchanged. */\n.${id}:has(a[href*=\"vwbtn=1\"]) img{ border-radius:14px; margin:3.4em 0 1.15em;\n  box-shadow:0 22px 44px -26px rgba(28,22,17,.55) }\n.${id}:has(a[href*=\"vwbtn=1\"]) > *:first-child img,\n.${id}:has(a[href*=\"vwbtn=1\"]) > img:first-child{ margin-top:.4em }\n.${id}:has(a[href*=\"vwbtn=1\"]) h4{ margin:0 0 .45em; font-size:.74em; letter-spacing:.16em }\n.${id}:has(a[href*=\"vwbtn=1\"]) h3{ margin:0 0 .35em; font-size:1.6em; line-height:1.12 }\n.${id}:has(a[href*=\"vwbtn=1\"]) h3 + p{ margin:0 0 1em; color:${ink} }\n.${id}:has(a[href*=\"vwbtn=1\"]) > p:last-child{ margin-top:3em; font-size:.82em; letter-spacing:.04em; color:${accent} }\n.${id} blockquote{ margin:1.9em 0; padding:0; font-family:${display}; font-size:1.24em;\n  line-height:1.4; color:${ink}; font-style:italic }\n.${id} img{ display:block; width:100%; height:auto; margin:1.9em 0; border-radius:2px }\n.${id} hr{ border:0; height:1px; background:${rule}; margin:2.4em 0 }\n.${id} br{ line-height:1 }\n.${id} table{ width:100%; border-collapse:collapse; margin:1.6em 0; font-size:.94em }\n.${id} th,.${id} td{ text-align:left; padding:.6em .8em; border-bottom:1px solid ${rule} }\n`;return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"style\",{children:css}),typeof content===\"string\"?/*#__PURE__*/_jsx(\"div\",{className:id,dangerouslySetInnerHTML:{__html:content}}):// Framer's richtext control hands over a React node, not markup —\n// rendering it as a child keeps the CSS below applying to its tags.\n/*#__PURE__*/_jsx(\"div\",{className:id,children:content})]});}addPropertyControls(ArticleBody,{content:{type:\"richtext\",title:\"Content\"},ink:{type:ControlType.Color,title:\"Ink\",defaultValue:\"rgb(28, 22, 17)\"},body:{type:ControlType.Color,title:\"Body\",defaultValue:\"rgb(87, 72, 57)\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"rgb(128, 96, 52)\"},rule:{type:ControlType.Color,title:\"Rule\",defaultValue:\"rgba(28, 22, 17, 0.13)\"},size:{type:ControlType.Number,title:\"Size\",min:14,max:22,step:1,defaultValue:17},weight:{type:ControlType.Number,title:\"Weight\",min:300,max:600,step:100,defaultValue:300},measure:{type:ControlType.Number,title:\"Measure\",min:24,max:46,step:1,defaultValue:34},lead:{type:ControlType.Boolean,title:\"Lead para\",defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ArticleBody\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"400\",\"framerIntrinsicWidth\":\"640\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ArticleBody.map"],"mappings":"A,8JAMG,SAAwBM,EAAY,EAAM,CAAC,GAAK,CAAC,UAAQ,GAAG,MAAI,kBAAkB,OAAK,kBAAkB,SAAO,mBAAmB,OAAK,yBAAyB,OAAK,GAAG,SAAO,IAAI,UAAQ,GAAG,OAAK,IAAMC,EAAYC,EAAQ,iEAAuEC,EAAK,8DAAoEC,EAAG,cAAcC,IAAaC,EAAI;GAChZF,EAAG,gBAAgBD,EAAK,cAAcE,EAAK,oCAAoCE,EAAO;UAC/EC,EAAK,cAAcC,EAAQ;GAClCL,EAAG;GACHA,EAAG;GACHA,EAAG;EACJM,EAAK,IAAIN,EAAG,+DAA+DO,EAAI,IAAI,GAAG;GACrFP,EAAG,kCAAkCO,EAAI;GACzCP,EAAG;GACHA,EAAG,OAAOA,EAAG,mBAAmBF,EAAQ,2BAA2BS,EAAI;;GAEvEP,EAAG;GACHA,EAAG;;GAEHA,EAAG,OAAOA,EAAG,OAAOA,EAAG,mBAAmBD,EAAK;0DACQS,EAAO;GAC9DR,EAAG,OAAOA,EAAG;GACbA,EAAG;GACHA,EAAG;GACHA,EAAG;yDACmDQ,EAAO;GAC7DR,EAAG;GACHA,EAAG;UACIQ,EAAO;GACdR,EAAG,YAAYO,EAAI;0BACIC,EAAO;GAC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