import{j as e,q as n,a4 as c,a5 as x,a6 as m,L as o,F as d}from"./index-BMIwdYku.js";import{C as h}from"./chevron-right-uRVedKT_.js";const j=({children:l,title:i,description:r,breadcrumbs:a})=>e.jsxs("div",{className:"min-h-screen",children:[e.jsx(n,{}),e.jsxs("section",{className:"relative bg-primary pt-32 pb-16 px-4 overflow-hidden",children:[e.jsxs("picture",{children:[e.jsx("source",{media:"(max-width: 768px)",srcSet:c,type:"image/webp"}),e.jsx("source",{media:"(min-width: 769px)",srcSet:x,type:"image/webp"}),e.jsx("img",{src:m,alt:"",className:"absolute inset-0 w-full h-full object-cover",style:{objectPosition:"center 45%"},loading:"lazy",decoding:"async"})]}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-black/40 to-black/30"}),e.jsxs("div",{className:"relative z-10 container mx-auto max-w-6xl",children:[a&&a.length>0&&e.jsxs("nav",{"aria-label":"Breadcrumb",className:"flex items-center gap-2 text-sm text-primary-foreground/80 mb-4",children:[e.jsx(o,{to:"/",className:"hover:text-primary-foreground transition-colors",children:"Home"}),a.map((s,t)=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(h,{className:"w-4 h-4"}),t===a.length-1?e.jsx("span",{className:"text-primary-foreground",children:s.label}):e.jsx(o,{to:s.href,className:"hover:text-primary-foreground transition-colors",children:s.label})]},t))]}),e.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-primary-foreground mb-4",children:i}),r&&e.jsx("p",{className:"text-lg text-primary-foreground/90 max-w-3xl",children:r})]})]}),e.jsx("main",{id:"main-content",children:l}),e.jsx(d,{})]});export{j as P};