import{_ as U,a as B,b as Q,c as M,d as D,e as V,f as Y,g as J,h as W,i as K,j as Z,k as X,l as ee,m as se,n as te,o as ae,p as re,q as oe,r as ne,s as le,t as ie,u as ce,v as me,w as de,x as ge,y as he,z as pe,A as xe,B as _e,C as fe,D as je,E as ue,F as be,G as ve,H as ye,I as Ne,J as we,K as Ae,L as ke,M as Ce,N as Le,O as Re}from"./renters-insurance-hero-DSuQ8EaG.js";import{p as T,j as e,h as z,i as Ie,r as S,P as $e,m as Te,Y as ze,Z as Se,H as Oe,q as qe,L as n,w as Fe,l as Ge,S as v,C as h,t as p,n as x,G as _,T as f,x as y,F as Pe,_ as He,o as L}from"./index-CQkgXdwE.js";import{A as Ee,a as Ue,b as Be,c as Qe}from"./accordion-DaEln0p9.js";import{l as R}from"./learnArticles-Bcn8qECc.js";import{C as j}from"./chevron-right-BT-QT5zL.js";import"./index-CQKw2nLZ.js";import"./index-CHEQGqC_.js";/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Me=T("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const De=T("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]),Ve=Ie("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function I({className:r,variant:o,...s}){return e.jsx("div",{className:z(Ve({variant:o}),r),...s})}var Ye="Separator",$="horizontal",Je=["horizontal","vertical"],O=S.forwardRef((r,o)=>{const{decorative:s,orientation:l=$,...i}=r,m=We(l)?l:$,u=s?{role:"none"}:{"aria-orientation":m==="vertical"?m:void 0,role:"separator"};return e.jsx($e.div,{"data-orientation":m,...u,...i,ref:o})});O.displayName=Ye;function We(r){return Je.includes(r)}var q=O;const N=S.forwardRef(({className:r,orientation:o="horizontal",decorative:s=!0,...l},i)=>e.jsx(q,{ref:i,decorative:s,orientation:o,className:z("shrink-0 bg-border",o==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",r),...l}));N.displayName=q.displayName;const os=()=>{const r=Te(),{slug:o}=ze(),s=R.find(t=>t.slug===o);if(!s)return e.jsx(Se,{to:"/404",replace:!0});const l=R.filter(t=>s.relatedArticles.includes(t.slug)).slice(0,3);let i;if(s.heroImage)try{i=new URL(Object.assign({"../assets/about-hero.png":U,"../assets/alabama-hero.jpg":B,"../assets/atv-insurance-hero.jpg":Q,"../assets/auto-insurance-hero.jpg":M,"../assets/boat-insurance-hero.jpg":D,"../assets/claims-hero.jpg":V,"../assets/cody-coffey-headshot.png":Y,"../assets/coffey-logo-new.png":J,"../assets/coffey-logo-transparent-2.png":W,"../assets/coffey-logo-transparent-2.webp":K,"../assets/coffey-logo-transparent.png":Z,"../assets/coffey-logo.jpg":X,"../assets/condo-insurance-hero.jpg":ee,"../assets/contact-hero.jpg":se,"../assets/crystal-brozio-headshot.jpg":te,"../assets/faq-hero.jpg":ae,"../assets/georgia-hero.jpg":re,"../assets/hero-background-mobile.webp":oe,"../assets/hero-background.jpg":ne,"../assets/hero-background.webp":le,"../assets/home-insurance-hero.jpg":ie,"../assets/kathy-sewell-headshot.jpg":ce,"../assets/kimberly-fletcher-headshot.jpg":me,"../assets/life-insurance-hero.jpg":de,"../assets/maria-rocha-guzman-headshot.jpg":ge,"../assets/mobile-home-insurance-hero.jpg":he,"../assets/motorcycle-insurance-hero.jpg":pe,"../assets/powersports/centre-office.png":xe,"../assets/powersports/cody-coffey.png":_e,"../assets/powersports/crystal-brozio.jpg":fe,"../assets/powersports/hero-atv.png":je,"../assets/powersports/hero-combo.png":ue,"../assets/powersports/hero-golfcart.png":be,"../assets/powersports/hero-motorcycle.png":ve,"../assets/powersports/hero-utv.png":ye,"../assets/powersports/kathy-sewell.jpg":Ne,"../assets/powersports/kimberly-fletcher.jpg":we,"../assets/powersports/logo.svg":Ae,"../assets/powersports/maria-rocha-guzman.jpg":ke,"../assets/powersports/rome-office.jpg":Ce,"../assets/refer-hero.jpg":Le,"../assets/renters-insurance-hero.jpg":Re})[`../assets/${s.heroImage}`],import.meta.url).href}catch{console.error(`Failed to load hero image: ${s.heroImage}`)}const m=(t,a)=>{switch(t.type){case"heading":const H=`h${t.level}`;return e.jsx(H,{className:t.level===2?"text-2xl md:text-3xl lg:text-4xl font-bold text-foreground mb-4 mt-8":"text-xl font-bold text-foreground mb-3 mt-6",children:t.content},a);case"paragraph":return e.jsx("p",{className:"text-lg text-muted-foreground mb-6 leading-relaxed",children:t.content},a);case"list":return e.jsx("ul",{className:"space-y-3 mb-6",children:t.content.map((d,c)=>{const[g,...b]=d.split(" — "),C=b.join(" — ");return e.jsxs("li",{className:"flex gap-3",children:[e.jsx("span",{className:"text-secondary font-bold mt-1",children:"•"}),e.jsx("span",{className:"text-muted-foreground",children:C?e.jsxs(e.Fragment,{children:[e.jsx("strong",{className:"text-foreground",children:g})," — ",C]}):g})]},c)})},a);case"table":const k=t.content;return e.jsx("div",{className:"mb-6 overflow-x-auto",children:e.jsxs("table",{className:"w-full border-collapse text-sm",children:[e.jsx("thead",{children:e.jsx("tr",{className:"bg-muted",children:k.headers.map((d,c)=>e.jsx("th",{className:"border border-border px-4 py-3 text-left font-semibold text-foreground",children:d},c))})}),e.jsx("tbody",{children:k.rows.map((d,c)=>e.jsx("tr",{className:c%2===0?"bg-background":"bg-muted/30",children:d.map((g,b)=>e.jsx("td",{className:"border border-border px-4 py-3 text-muted-foreground",children:g},b))},c))})]})},a);case"callout":const E=t.variant==="warning"?He:Me;return e.jsx(h,{className:`mb-6 border-l-4 ${t.variant==="warning"?"border-l-destructive bg-destructive/5":"border-l-secondary bg-secondary/5"}`,children:e.jsx(p,{className:"p-6",children:e.jsxs("div",{className:"flex gap-3",children:[e.jsx(E,{className:`w-5 h-5 mt-1 flex-shrink-0 ${t.variant==="warning"?"text-destructive":"text-secondary"}`}),e.jsx("div",{className:"whitespace-pre-line text-foreground",children:t.content})]})})},a);default:return null}},w=()=>e.jsx(h,{className:"my-10 bg-primary text-primary-foreground border-0 overflow-hidden",children:e.jsx(p,{className:"p-8",children:e.jsxs("div",{className:"text-center",children:[e.jsx("h3",{className:"text-xl font-bold mb-2",children:"Ready for Your Free Quote?"}),e.jsx("p",{className:"text-primary-foreground/80 mb-6",children:"No obligation. We'll find the right coverage for your needs."}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center",children:[e.jsx(n,{to:"/#quote-form",children:e.jsxs(x,{size:"lg",className:"bg-accent hover:bg-accent/90 text-white",children:["Get Quote",e.jsx(_,{className:"w-4 h-4 ml-2"})]})}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 text-sm",children:[e.jsxs(f,{phone:"(256) 927-6287",phoneRaw:"2569276287",location:"Centre, AL",office:"centre",pageType:"learn-article",pageUrl:r.pathname,className:"flex items-center gap-2 hover:underline",ariaLabel:"Call Centre, Alabama office at (256) 927-6287",children:[e.jsx(L,{className:"h-4 w-4"}),e.jsx("span",{children:"AL: (256) 927-6287"})]}),e.jsxs(f,{phone:"(706) 784-6511",phoneRaw:"7067846511",location:"Rome, GA",office:"rome",pageType:"learn-article",pageUrl:r.pathname,className:"flex items-center gap-2 hover:underline",ariaLabel:"Call Rome, Georgia office at (706) 784-6511",children:[e.jsx(L,{className:"h-4 w-4"}),e.jsx("span",{children:"GA: (706) 784-6511"})]})]})]})]})})}),u=s.heroImage?`https://coffeyagencies.com/${s.heroImage}`:"https://coffeyagencies.com/og-image.jpg",F={"@type":"Article","@id":`https://coffeyagencies.com/learn/${s.slug}#article`,headline:s.title,description:s.metaDescription,url:`https://coffeyagencies.com/learn/${s.slug}`,image:u,author:{"@id":"https://coffeyagencies.com/#organization"},publisher:{"@id":"https://coffeyagencies.com/#organization",logo:{"@type":"ImageObject",url:"https://coffeyagencies.com/coffey-logo.png",width:250,height:60}},mainEntityOfPage:`https://coffeyagencies.com/learn/${s.slug}`},A=s.faqs.length>0?{"@type":"FAQPage",name:`${s.title} - Frequently Asked Questions`,mainEntity:s.faqs.map(t=>({"@type":"Question",name:t.question,acceptedAnswer:{"@type":"Answer",text:t.answer}}))}:null,G={"@type":"BreadcrumbList",name:"Breadcrumb Navigation",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://coffeyagencies.com"},{"@type":"ListItem",position:2,name:"Learn",item:"https://coffeyagencies.com/learn"},{"@type":"ListItem",position:3,name:s.title,item:`https://coffeyagencies.com/learn/${s.slug}`}]},P={"@context":"https://schema.org","@graph":[{"@type":"InsuranceAgency","@id":"https://coffeyagencies.com/#organization",name:"Coffey Agencies Inc.",url:"https://coffeyagencies.com",telephone:["(256) 927-6287","(706) 784-6511"],email:"info@coffeyagencies.com",priceRange:"$$",image:"https://coffeyagencies.com/coffey-logo.png",address:{"@type":"PostalAddress",streetAddress:"1913 W Main Street",addressLocality:"Centre",addressRegion:"AL",postalCode:"35960",addressCountry:"US"}},F,G,...A?[A]:[]]};return e.jsxs(e.Fragment,{children:[e.jsxs(Oe,{children:[e.jsx("title",{children:s.metaTitle}),e.jsx("meta",{name:"description",content:s.metaDescription}),e.jsx("link",{rel:"canonical",href:`https://coffeyagencies.com/learn/${s.slug}`}),e.jsx("meta",{property:"og:title",content:s.metaTitle}),e.jsx("meta",{property:"og:description",content:s.metaDescription}),e.jsx("meta",{property:"og:type",content:"article"}),e.jsx("meta",{property:"og:url",content:`https://coffeyagencies.com/learn/${s.slug}`}),e.jsx("meta",{property:"og:site_name",content:"Coffey Agencies"}),e.jsx("meta",{property:"og:image",content:"https://coffeyagencies.com/og-image.jpg"}),e.jsx("meta",{property:"og:image:width",content:"1200"}),e.jsx("meta",{property:"og:image:height",content:"630"}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),e.jsx("meta",{name:"twitter:title",content:s.title}),e.jsx("meta",{name:"twitter:description",content:s.excerpt}),e.jsx("meta",{name:"twitter:image",content:"https://coffeyagencies.com/og-image.jpg"}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(P)})]}),e.jsx(qe,{}),i?e.jsxs("section",{role:"banner","aria-label":`${s.title} hero section`,className:"relative min-h-[400px] md:min-h-[500px] flex items-end overflow-hidden",children:[e.jsx("img",{src:i,alt:`${s.title} insurance guide`,className:"absolute inset-0 w-full h-full object-cover",fetchPriority:"high"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 via-black/40 to-black/20"}),e.jsx("div",{className:"relative z-10 w-full py-12 px-4",children:e.jsxs("div",{className:"container mx-auto max-w-4xl",children:[e.jsxs("nav",{className:"flex items-center gap-2 text-sm text-white/80 mb-4","aria-label":"Breadcrumb",children:[e.jsx(n,{to:"/",className:"hover:text-white transition-colors",children:"Home"}),e.jsx(j,{className:"w-4 h-4"}),e.jsx(n,{to:"/learn",className:"hover:text-white transition-colors",children:"Learn"}),e.jsx(j,{className:"w-4 h-4"}),e.jsx("span",{className:"text-white",children:s.title})]}),e.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-white mb-4 drop-shadow-lg",children:s.title}),e.jsx("p",{className:"text-lg md:text-xl text-white/90 max-w-3xl drop-shadow-md",children:s.excerpt})]})})]}):e.jsx("section",{className:"relative py-16 px-4 bg-gradient-to-br from-primary via-primary to-primary/90",children:e.jsxs("div",{className:"container mx-auto max-w-4xl",children:[e.jsxs("nav",{className:"flex items-center gap-2 text-sm text-white/80 mb-4","aria-label":"Breadcrumb",children:[e.jsx(n,{to:"/",className:"hover:text-white transition-colors",children:"Home"}),e.jsx(j,{className:"w-4 h-4"}),e.jsx(n,{to:"/learn",className:"hover:text-white transition-colors",children:"Learn"}),e.jsx(j,{className:"w-4 h-4"}),e.jsx("span",{className:"text-white",children:s.title})]}),e.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-white mb-4",children:s.title}),e.jsx("p",{className:"text-lg md:text-xl text-white/90 max-w-3xl",children:s.excerpt})]})}),e.jsx("section",{className:"py-8 px-4 bg-white",children:e.jsxs("div",{className:"container mx-auto max-w-4xl",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx(I,{children:s.category}),e.jsx(N,{orientation:"vertical",className:"h-5"}),e.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(Fe,{className:"w-4 h-4"}),s.readTime]}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(De,{className:"w-4 h-4"}),"Coffey Agencies Team"]})]})]}),e.jsx(N,{className:"mb-8"}),e.jsx("article",{className:"prose prose-lg max-w-none",children:s.content.map((t,a)=>e.jsxs(Ge.Fragment,{children:[m(t,a),a===3&&s.content.length>4&&e.jsx(w,{})]},a))}),s.faqs.length>0&&e.jsxs("div",{className:"mt-12",children:[e.jsx(v,{className:"mb-6",children:"Frequently Asked Questions"}),e.jsx(Ee,{type:"single",collapsible:!0,className:"w-full",children:s.faqs.map((t,a)=>e.jsxs(Ue,{value:`faq-${a}`,children:[e.jsx(Be,{className:"text-left text-lg font-semibold",children:t.question}),e.jsx(Qe,{className:"text-muted-foreground leading-relaxed",children:t.answer})]},a))})]}),s.internalLinks.length>0&&e.jsx(h,{className:"mt-12 bg-gradient-to-br from-primary/5 to-secondary/5 border-primary/20",children:e.jsxs(p,{className:"p-8",children:[e.jsx("h3",{className:"text-xl font-bold text-foreground mb-4",children:"Ready to Get Started?"}),e.jsx("div",{className:"flex flex-wrap gap-3",children:s.internalLinks.map((t,a)=>e.jsx(n,{to:t.href,children:e.jsxs(x,{variant:a===0?"default":"outline",children:[t.text,e.jsx(_,{className:"w-4 h-4 ml-2"})]})},a))})]})})]})}),l.length>0&&e.jsx("section",{className:"py-16 px-4 bg-gray-50",children:e.jsxs("div",{className:"container mx-auto max-w-6xl",children:[e.jsx(v,{className:"mb-8",children:"Related Guides"}),e.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:l.map(t=>e.jsx(h,{className:"border-border hover:shadow-[0_0_15px_rgba(34,197,94,0.3)] hover:border-[#22c55e] hover:scale-105 transition-all duration-300 ease-in-out group",children:e.jsxs(p,{className:"p-6",children:[e.jsx(I,{className:"mb-3",children:t.category}),e.jsx("h3",{className:"text-lg font-bold text-foreground mb-2 group-hover:text-primary transition-colors",children:t.title}),e.jsx("p",{className:"text-sm text-muted-foreground mb-4 line-clamp-2",children:t.excerpt}),e.jsx(n,{to:`/learn/${t.slug}`,children:e.jsxs(x,{variant:"link",className:"p-0 h-auto",children:["Read Guide",e.jsx(_,{className:"w-4 h-4 ml-1"})]})})]})},t.slug))})]})}),e.jsx("section",{className:"py-16 px-4 bg-[#1e3a5f]",children:e.jsxs("div",{className:"container mx-auto max-w-4xl text-center",children:[e.jsx(v,{variant:"white",className:"mb-4",children:"Have Questions About Your Coverage?"}),e.jsx("p",{className:"text-lg text-white/90 mb-8 leading-relaxed",children:"Our guides cover the basics, but every situation is different. Talk to a licensed agent who can answer your specific questions."}),e.jsx(n,{to:"/#quote-form",children:e.jsxs(x,{size:"lg",className:"bg-accent hover:bg-accent/90 text-white min-w-[200px] shadow-md hover:shadow-lg hover:-translate-y-0.5 transition-all duration-200",children:["Get Quote",e.jsx(_,{className:"w-5 h-5 ml-2"})]})}),e.jsxs("div",{className:"mt-6 flex flex-col sm:flex-row items-center justify-center gap-2 sm:gap-4 text-white/90",children:[e.jsx("span",{children:"Or call us:"}),e.jsx(f,{phone:"(256) 927-6287",phoneRaw:"2569276287",location:"Centre, AL",office:"centre",pageType:"learn-article-cta",pageUrl:r.pathname,className:"text-white hover:text-accent transition-colors",ariaLabel:"Call Centre, Alabama office at (256) 927-6287",children:"(256) 927-6287"}),e.jsx("span",{className:"hidden sm:inline",children:"|"}),e.jsx(f,{phone:"(706) 784-6511",phoneRaw:"7067846511",location:"Rome, GA",office:"rome",pageType:"learn-article-cta",pageUrl:r.pathname,className:"text-white hover:text-accent transition-colors",ariaLabel:"Call Rome, Georgia office at (706) 784-6511",children:"(706) 784-6511"})]}),e.jsxs("div",{className:"mt-8 flex flex-wrap items-center justify-center gap-4 text-sm text-white/80",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(y,{className:"w-4 h-4"}),"Licensed in AL & GA"]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(y,{className:"w-4 h-4"}),"Hablamos Español"]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(y,{className:"w-4 h-4"}),"Family Owned"]})]})]})}),e.jsx(Pe,{})]})};export{os as default};