1import{t as e}from"./jsx-runtime-BpzPEenQ.js";import{t}from"./router-compat-DbOQ4cu-.js";var n=e(),r=({section:e,height:r=`aspect-[16/9] max-h-[70vh]`})=>{let i=e.metadata||{},a=i.background_image||i.image||``,o=i.align||`center`,s=i.background_position||`center 25%`,c={left:`items-start text-left`,center:`items-center text-center`,right:`items-end text-right`}[o]||`items-center text-center`;return(0,n.jsxs)(`section`,{className:`relative w-full ${r} flex items-end overflow-hidden bg-muted`,children:[(0,n.jsx)(`div`,{className:`absolute inset-0 bg-cover bg-no-repeat`,style:{backgroundImage:`url(${a})`,backgroundPosition:s}}),(0,n.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black/60 via-black/20 to-transparent`}),(0,n.jsxs)(`div`,{className:`relative z-10 max-w-6xl mx-auto px-6 md:px-12 pb-8 md:pb-12 w-full flex flex-col justify-end ${c}`,children:[e.subtitle&&(0,n.jsx)(`p`,{className:`subheading text-primary-foreground mb-2 opacity-90`,children:e.subtitle}),(0,n.jsx)(`h1`,{className:`font-heading text-primary-foreground mb-2 ${(e.title?.length||0)>60?`text-xl md:text-2xl lg:text-3xl`:`text-2xl md:text-4xl`}`,children:e.title}),e.body&&(0,n.jsx)(`p`,{className:`font-body text-primary-foreground/80 text-lg md:text-xl mb-6 max-w-2xl`,children:e.body}),e.cta_text&&(0,n.jsx)(t,{to:e.cta_link||`/contact`,className:`btn-primary`,children:e.cta_text})]})]})};export{r as t};
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.