1import{N as o,j as e,L as d,A as i,B as c,C as x,a as h,b as g,c as u,d as p,e as f,f as j,g as N}from"./index-Bnry-82h.js";import{C as b,r as m}from"./blog-render-C6Al3SM3.js";function w(){const{post:a}=o.useLoaderData(),r=a.seo.sv;return e.jsxs("article",{className:"pb-24",children:[e.jsx("header",{className:"-mt-[4.5rem] rounded-b-[2.5rem] bg-surface-warm px-6 pb-14 pt-[8rem] md:rounded-b-[3.5rem] md:pt-[9.5rem]",children:e.jsxs("div",{className:"mx-auto max-w-3xl",children:[e.jsxs(d,{to:"/academy",className:"inline-flex items-center text-sm text-muted-foreground transition-colors hover:text-foreground",children:[e.jsx(i,{className:"mr-1 h-3.5 w-3.5"}),"EasyLCA Academy"]}),e.jsxs("div",{className:"mt-6 flex flex-wrap items-center gap-3",children:[e.jsx(c,{variant:"outline",className:"border-primary/30 text-primary",children:a.category}),e.jsxs("span",{className:"inline-flex items-center text-xs text-muted-foreground",children:[e.jsx(b,{className:"mr-1 h-3 w-3"}),e.jsx("time",{dateTime:a.publishedAt,children:new Date(a.publishedAt).toLocaleDateString("sv-SE",{year:"numeric",month:"long",day:"numeric"})})]}),e.jsxs("span",{className:"inline-flex items-center text-xs text-muted-foreground",children:[e.jsx(x,{className:"mr-1 h-3 w-3"}),a.readTime," min läsning"]})]}),e.jsx("h1",{className:"mt-4 text-4xl font-bold leading-[0.98] tracking-[-0.03em] text-foreground md:text-6xl",children:r.title.replace(/\s*\|\s*EasyLCA$/,"")}),e.jsx("p",{className:"mt-4 text-lg text-muted-foreground",children:r.description})]})}),a.heroImage&&e.jsx("div",{className:"mx-auto mt-10 max-w-4xl px-6",children:e.jsx("img",{src:a.heroImage,alt:a.heroImageAlt??r.title,width:1536,height:864,className:"w-full rounded-[1.75rem] object-cover shadow-[0_30px_60px_-35px_rgba(0,0,0,0.45)]"})}),e.jsxs("div",{className:"mx-auto max-w-3xl px-6 pt-12",children:[e.jsx("div",{className:"space-y-5",children:a.intro.map((s,t)=>e.jsx("p",{className:"text-base leading-relaxed text-foreground/90",children:m(s)},`intro-${t}`))}),e.jsx("div",{className:"mt-10 space-y-6",children:a.sections.map((s,t)=>e.jsxs("section",{className:"space-y-4",children:[s.heading&&(s.level===3?e.jsx("h3",{className:"text-xl font-semibold text-foreground",children:s.heading}):e.jsx("h2",{className:"text-3xl font-bold tracking-[-0.03em] text-foreground md:text-4xl",children:s.heading})),s.paragraphs?.map((l,n)=>e.jsx("p",{className:"text-base leading-relaxed text-foreground/90",children:m(l)},`p-${t}-${n}`)),s.bullets&&e.jsx("ul",{className:"list-disc space-y-2 pl-6 text-base text-foreground/90",children:s.bullets.map((l,n)=>e.jsx("li",{children:l},`b-${t}-${n}`))})]},t))}),e.jsxs("section",{className:"mt-16",children:[e.jsx("h2",{className:"text-3xl font-bold tracking-[-0.03em] text-foreground md:text-4xl",children:"Vanliga frågor om livscykelanalyser"}),e.jsx(h,{type:"single",collapsible:!0,className:"mt-6 space-y-2",children:a.faq.map((s,t)=>e.jsxs(g,{value:`faq-${t}`,className:"rounded-2xl border-0 bg-surface-warm px-5",children:[e.jsx(u,{className:"py-4 text-left text-sm font-medium text-foreground hover:no-underline",children:s.question}),e.jsx(p,{className:"pb-4 text-sm leading-relaxed text-muted-foreground",children:s.answer})]},t))})]}),e.jsxs(f,{className:"mt-16 flex flex-col items-start gap-6 rounded-[2.5rem] border-0 bg-foreground p-8 text-background shadow-none md:flex-row md:items-center md:justify-between md:p-12",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-3xl font-bold tracking-[-0.03em] md:text-4xl",children:"Redo att göra din första LCA?"}),e.jsx("p",{className:"mt-2 text-background/70",children:"Se hur EasyLCA omvandlar en materialspecifikation till en ISO-anpassad livscykelanalys på några minuter."})]}),e.jsx(j,{asChild:!0,size:"lg",className:"rounded-full bg-background text-foreground hover:bg-background/90",children:e.jsxs(d,{to:"/demo",children:["Boka en demo",e.jsx(N,{className:"ml-2 h-4 w-4"})]})})]}),a.relatedLinks&&a.relatedLinks.length>0&&e.jsxs("div",{className:"mt-10 flex flex-wrap items-center gap-3 text-sm text-muted-foreground",children:[e.jsx("span",{children:"Fortsätt läsa:"}),a.relatedLinks.map(s=>e.jsx(d,{to:s.to,className:"text-primary hover:underline",children:s.label},s.to))]})]})]})}export{w as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.