1import{j as e,L as o}from"./index-DqRFpO5j.js";import{N as d}from"./Navbar--buxAB4s.js";import c from"./Footer-DLI4NDM9.js";import{S as m}from"./SEO-Dq5961lQ.js";import{b as x}from"./blogPosts-Bu_kAdwN.js";import{m as s}from"./google-play-badge-BSRr-WbE.js";const l=r=>new Date(r).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),b=()=>{const r=[...x].sort((t,n)=>+new Date(n.date)-+new Date(t.date)),[a,...i]=r;return e.jsxs("div",{className:"bg-background text-foreground min-h-screen",children:[e.jsx(m,{title:"NoCognito Blog | Recovery Science & Systems",description:"Field notes on porn recovery, behavioural science, and the systems that actually work. Built for men who are done hiding.",canonical:"https://nocognito.com/blog",jsonLd:{"@context":"https://schema.org","@type":"Blog",name:"NoCognito Blog",url:"https://nocognito.com/blog",blogPost:r.map(t=>({"@type":"BlogPosting",headline:t.title,datePublished:t.date,url:`https://nocognito.com/blog/${t.slug}`}))}}),e.jsx("div",{className:"noise-overlay"}),e.jsx("div",{className:"fixed top-0 left-0 right-0 z-50",children:e.jsx(d,{})}),e.jsxs("main",{className:"pt-20 pb-24 relative overflow-hidden",children:[e.jsx("div",{className:"absolute top-10 left-1/2 -translate-x-1/2 w-[800px] h-[800px] bg-primary/[0.08] rounded-full blur-[140px] pointer-events-none"}),e.jsx("section",{className:"container mx-auto px-6 max-w-5xl relative",children:e.jsxs(s.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.8,ease:[.22,1,.36,1]},className:"relative flex flex-col items-center text-center pt-2 pb-14",children:[e.jsx(s.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.9,delay:.05,ease:[.22,1,.36,1]},className:"text-[88px] sm:text-[120px] md:text-[160px] font-extrabold font-heading tracking-[-0.04em] leading-[1.1] pb-2 mb-6 bg-gradient-to-b from-foreground via-foreground to-foreground/40 bg-clip-text text-transparent",children:"Blog"}),e.jsx(s.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.3,ease:[.22,1,.36,1]},className:"text-muted-foreground max-w-xl text-base md:text-lg leading-relaxed",children:"Field notes on recovery, behavioural science, and the systems that outlast willpower. Written for men done hiding."}),e.jsxs(s.div,{initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.8,delay:.5},className:"mt-10 flex items-center gap-6 text-[11px] uppercase tracking-[0.22em] text-muted-foreground/70 font-semibold",children:[e.jsx("span",{children:"Recovery Science"}),e.jsx("span",{className:"w-1 h-1 rounded-full bg-muted-foreground/40"}),e.jsx("span",{children:"Systems"}),e.jsx("span",{className:"w-1 h-1 rounded-full bg-muted-foreground/40"}),e.jsx("span",{children:"Field Reports"})]})]})}),e.jsxs("div",{className:"container mx-auto px-6 max-w-5xl relative",children:[a&&e.jsxs(s.article,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.7,delay:.4,ease:[.22,1,.36,1]},className:"mb-20",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[e.jsx("span",{className:"text-[10px] uppercase tracking-[0.22em] text-primary font-bold",children:"â
Featured"}),e.jsx("span",{className:"h-px flex-1 bg-foreground/[0.08]"})]}),e.jsx(o,{to:`/blog/${a.slug}`,className:"group block premium-card overflow-hidden rounded-3xl",children:e.jsxs("div",{className:"grid md:grid-cols-2 gap-0",children:[e.jsxs("div",{className:"aspect-[16/10] md:aspect-auto overflow-hidden relative",children:[e.jsx("img",{src:a.image,alt:a.title,loading:"lazy",className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent to-background/40 md:to-background/20"})]}),e.jsxs("div",{className:"p-8 md:p-12 flex flex-col justify-center",children:[e.jsxs("div",{className:"flex items-center gap-3 text-[11px] uppercase tracking-[0.18em] text-primary font-bold mb-5",children:[e.jsx("span",{children:a.category}),e.jsx("span",{className:"text-muted-foreground/40",children:"·"}),e.jsx("span",{className:"text-muted-foreground",children:l(a.date)}),e.jsx("span",{className:"text-muted-foreground/40",children:"·"}),e.jsx("span",{className:"text-muted-foreground",children:a.readTime})]}),e.jsx("h2",{className:"text-[24px] md:text-[32px] font-extrabold font-heading tracking-tight mb-4 group-hover:text-primary transition-colors leading-[1.15]",children:a.title}),e.jsx("p",{className:"text-muted-foreground text-[15px] md:text-base leading-relaxed mb-6",children:a.description}),e.jsxs("span",{className:"text-sm text-primary font-bold inline-flex items-center gap-2 group-hover:gap-3 transition-all",children:["Read the full article ",e.jsx("span",{"aria-hidden":!0,children:"â"})]})]})]})})]}),i.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[e.jsx("span",{className:"text-[10px] uppercase tracking-[0.22em] text-foreground/70 font-bold",children:"More Articles"}
1),e.jsx("span",{className:"h-px flex-1 bg-foreground/[0.08]"})]}),e.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:i.map((t,n)=>e.jsx(s.article,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:n*.08,ease:[.22,1,.36,1]},children:e.jsxs(o,{to:`/blog/${t.slug}`,className:"group block premium-card rounded-2xl overflow-hidden h-full",children:[e.jsx("div",{className:"aspect-[16/9] overflow-hidden",children:e.jsx("img",{src:t.image,alt:t.title,loading:"lazy",className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"})}),e.jsxs("div",{className:"p-6",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[10px] uppercase tracking-[0.18em] text-primary font-bold mb-3",children:[e.jsx("span",{children:t.category}),e.jsx("span",{className:"text-muted-foreground/40",children:"·"}),e.jsx("span",{className:"text-muted-foreground",children:t.readTime})]}),e.jsx("h3",{className:"text-lg md:text-xl font-bold font-heading tracking-tight mb-2 group-hover:text-primary transition-colors leading-snug",children:t.title}),e.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed mb-3 line-clamp-2",children:t.description}),e.jsx("p",{className:"text-xs text-muted-foreground",children:l(t.date)})]})]})},t.slug))})]})]})]}),e.jsx(c,{})]})};export{b as default};
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.