import{j as e,S as t,W as n,b as o,I as a}from"./index-Cn0iwDxV.js";import{g as s}from"./guidesData-Cf2qdDQ5.js";function g(){return e.jsxs("main",{children:[e.jsx(t,{title:"Farming Guides",description:"Practical guides for UK farmers — buying livestock, selling equipment, understanding land prices, finding farm jobs, and more.",url:"/guides"}),e.jsxs("section",{style:{background:"linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%)",padding:"clamp(56px, 8vw, 80px) 24px",textAlign:"center",position:"relative",overflow:"hidden"},children:[e.jsx("div",{style:{position:"absolute",top:-60,right:-60,width:300,height:300,borderRadius:"50%",background:"radial-gradient(circle, rgba(196,136,42,0.1) 0%, transparent 70%)",pointerEvents:"none"}}),e.jsxs("div",{style:{maxWidth:680,margin:"0 auto",position:"relative"},children:[e.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:8,backgroundColor:"rgba(196,136,42,0.2)",border:"1px solid rgba(196,136,42,0.3)",borderRadius:20,padding:"5px 14px",marginBottom:20,color:"var(--ochre-400)",fontSize:"0.78rem",fontWeight:600,letterSpacing:"0.06em",textTransform:"uppercase"},children:[e.jsx(n,{size:13})," Knowledge Base"]}),e.jsx("h1",{style:{fontSize:"clamp(1.8rem, 5vw, 2.8rem)",fontWeight:900,color:"white",letterSpacing:"-0.03em",lineHeight:1.1,marginBottom:16},children:"Farming Guides"}),e.jsx("p",{style:{fontSize:"clamp(0.95rem, 2vw, 1.1rem)",color:"rgba(255,255,255,0.7)",lineHeight:1.65,maxWidth:560,margin:"0 auto"},children:"Practical advice and insights for buying, selling, and working across the UK agricultural sector."})]})]}),e.jsx("section",{style:{padding:"64px 24px",backgroundColor:"var(--cream)"},children:e.jsx("div",{style:{maxWidth:1e3,margin:"0 auto"},children:e.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(300px, 1fr))",gap:24},children:s.map(r=>e.jsxs(o,{to:`/guides/${r.slug}`,style:{backgroundColor:"white",borderRadius:14,border:"1.5px solid var(--border)",padding:"clamp(24px, 4vw, 32px)",display:"flex",flexDirection:"column",gap:16,transition:"box-shadow 0.18s ease, transform 0.18s ease",textDecoration:"none",color:"inherit"},onMouseEnter:i=>{i.currentTarget.style.boxShadow="0 4px 20px rgba(0,0,0,0.08)",i.currentTarget.style.transform="translateY(-2px)"},onMouseLeave:i=>{i.currentTarget.style.boxShadow="none",i.currentTarget.style.transform="translateY(0)"},children:[e.jsx("span",{style:{display:"inline-block",alignSelf:"flex-start",backgroundColor:r.categoryBg,color:r.categoryColor,fontSize:"0.75rem",fontWeight:700,padding:"4px 12px",borderRadius:20,letterSpacing:"0.04em",textTransform:"uppercase"},children:r.category}),e.jsx("h2",{style:{fontSize:"1.1rem",fontWeight:800,color:"var(--ink)",lineHeight:1.35,margin:0},children:r.title}),e.jsx("p",{style:{color:"var(--ink-light)",lineHeight:1.7,fontSize:"0.9rem",margin:0,flex:1},children:r.description}),e.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:6,color:"var(--green-700)",fontWeight:700,fontSize:"0.88rem"},children:["Read guide ",e.jsx(a,{size:15})]})]},r.slug))})})}),e.jsx("section",{style:{padding:"48px 24px",backgroundColor:"var(--ochre-100)",borderTop:"1px solid #e8d5a0",borderBottom:"1px solid #e8d5a0"},children:e.jsxs("div",{style:{maxWidth:640,margin:"0 auto",textAlign:"center"},children:[e.jsx("h2",{style:{fontSize:"1.3rem",fontWeight:800,color:"var(--ink)",marginBottom:8},children:"Want to contribute a guide?"}),e.jsx("p",{style:{color:"var(--ink-light)",fontSize:"0.92rem",marginBottom:20},children:"If you have expertise to share with the farming community, we would love to hear from you."}),e.jsx("a",{href:"mailto:support@farmexchange.co.uk",style:{display:"inline-flex",alignItems:"center",gap:8,backgroundColor:"var(--green-800)",color:"white",fontWeight:700,fontSize:"0.95rem",padding:"13px 28px",borderRadius:10,textDecoration:"none"},children:"support@farmexchange.co.uk"})]})})]})}export{g as default};