import{j as e,p as c,q as x,s as o,L as l,F as m}from"./index-BZgb7K0z.js";import{C as d}from"./chevron-right-D5IMhLSB.js";const g=({children:i,title:n,description:t,breadcrumbs:s})=>e.jsxs("div",{className:"min-h-screen",children:[e.jsx(c,{}),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:x,type:"image/webp"}),e.jsx("source",{media:"(min-width: 769px)",srcSet:o,type:"image/webp"}),e.jsx("img",{src:o,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:[s&&s.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(l,{to:"/",className:"hover:text-primary-foreground transition-colors",children:"Home"}),s.map((a,r)=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(d,{className:"w-4 h-4"}),r===s.length-1?e.jsx("span",{className:"text-primary-foreground",children:a.label}):e.jsx(l,{to:a.href,className:"hover:text-primary-foreground transition-colors",children:a.label})]},r))]}),e.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-primary-foreground mb-4",children:n}),t&&e.jsx("p",{className:"text-lg text-primary-foreground/90 max-w-3xl",children:t})]})]}),e.jsx("main",{id:"main-content",children:i}),e.jsx(m,{})]});export{g as P};