/* MB Listing integration for the supplied Townhub theme. */
html{scroll-behavior:smooth;scroll-padding-top:90px}body.townhub-home{background:#fff;color:#33415d}#main{opacity:1}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #cc0000;outline-offset:4px}.th-skip{position:fixed;left:16px;top:-100px;z-index:1000;background:#fff;padding:15px}.th-skip:focus{top:12px}.th-logo{display:inline-flex;gap:10px;align-items:center;color:#fff;font-size:23px;font-weight:800;font-family:Raleway,sans-serif}.main-header .th-logo{display:flex;top:0;height:80px;margin-left:30px;padding:0;color:#fff}.th-logo-mark{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:5px;background:#cc0000;font-size:19px;letter-spacing:-1px}.th-account{float:right;color:#fff;padding:31px 25px;font-size:13px;font-weight:600;border-left:1px solid #ffffff1f}.th-account i{margin-right:8px;color:#cc0000}.th-menu-toggle{display:none;border:0;color:#fff;font-size:21px;cursor:pointer}.main-menu nav li a{padding:30px 10px}.main-header .add-list{margin-left:0}.th-hero{padding:100px 0 80px;min-height:650px}.th-hero .intro-item{padding-bottom:32px}.th-hero .intro-item h1{font-size:46px;line-height:1.2;margin:12px 0}.th-hero .intro-item h3{font-size:16px;font-weight:400}.th-eyebrow{color:#fff;font-size:11px;font-weight:700;letter-spacing:2px}.th-search-tabs{display:flex;justify-content:center}.th-search-tabs li{float:none}.th-search-tabs a i{margin-right:8px}.th-search{display:grid;grid-template-columns:1.4fr 1fr 1fr 150px;padding:10px;margin-top:0;align-items:center}.th-search .main-search-input-item{float:none;width:auto;height:auto;margin:0;padding:8px 16px;border-right:1px solid #eee;text-align:left}.th-search .main-search-button{position:static;width:100%;height:58px;border-radius:4px}.th-field-label{display:block!important;position:static!important;float:none!important;color:#657086!important;font-size:11px;font-weight:600;width:auto!important;height:auto!important;line-height:18px!important;margin-bottom:3px}.th-search input,.th-search select{width:100%;border:0;background:#fff;height:32px;padding:0;color:#27385b;font-family:inherit;font-size:13px}.th-search .main-search-input-item input{padding:0;height:32px}.hero-categories svg{width:32px;height:32px;display:block;margin:0 auto 10px}.hero-categories li a{min-width:115px}.th-hero-note{position:relative;float:left;width:100%;margin-top:30px;color:#e7edf8;font-size:12px}.th-hero-note span{margin:0 10px}.section-title h2{font-size:30px}.section-title .section-subtitle{font-size:54px;opacity:.055;pointer-events:none}.section-title p{color:#68748b;max-width:620px;margin:0 auto;line-height:1.8}.th-listing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;text-align:left}.th-business{float:none;min-width:0;background:#fff;border-radius:8px;overflow:hidden;border:1px solid #e5eaf2;display:flex;flex-direction:column}.th-business .geodir-category-img{height:220px;flex-shrink:0}.th-business .geodir-category-img-wrap{height:100%}.th-business .geodir-category-img img{height:100%;width:100%;object-fit:cover}.th-business .geodir-category-content{padding:22px;flex:1;display:flex;flex-direction:column;text-align:left}.th-business .geodir-category-content h3{float:none;margin-bottom:8px;line-height:1.4;font-size:17px}.th-business .geodir-category-content h3 a{color:#283b62}.th-business .geodir-category-content p{float:none;color:#6b7689;font-size:12px;padding:0;margin:0 0 12px;line-height:1.6}.th-business-category{color:#2782b9!important}.th-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:16px;margin-top:auto;border-top:1px solid #edf0f5;font-size:12px}.th-rating{color:#354568;font-weight:600}.th-rating i{color:#e3a131}.th-rating small,.th-no-reviews{color:#748098;font-weight:400}.th-card-bottom a{color:#207bac;white-space:nowrap}.th-image-fallback{display:flex;width:100%;height:100%;align-items:center;justify-content:center;background:#e7eef8;color:#a34b4b;font-size:56px;font-weight:800}.th-featured{position:absolute;left:16px;top:16px;background:#fff;color:#207bac;font-weight:700;font-size:11px;padding:8px 12px;border-radius:4px;pointer-events:none}.th-section-button{margin-top:36px;float:none;display:inline-block}.th-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.th-category{border:1px solid #e5eaf2;border-radius:6px;padding:28px 15px;background:#fff;transition:border-color .2s,background .2s;min-width:0}.th-category:hover{background:#f5faff;border-color:#cc0000}.th-category svg{width:36px;height:36px;color:#cc0000;margin-bottom:18px}.th-category h3{font-weight:700;font-size:13px;line-height:1.5;color:#2e4166;margin-bottom:8px;overflow-wrap:anywhere}.th-category span{color:#6d7d95;font-size:11px}.th-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.th-event{border:1px solid #e5eaf2;border-radius:8px;overflow:hidden;background:#fff;text-align:left}.th-event-image{height:200px;position:relative;background:#e7eef8;display:flex;align-items:center;justify-content:center}.th-event-image>i{font-size:48px;color:#a34b4b}.th-event-image img{width:100%;height:100%;object-fit:cover}.th-event-date{position:absolute;top:15px;left:15px;background:#fff;border-radius:5px;text-align:center;padding:10px 15px;font-size:11px;color:#cc0000}.th-event-date b{display:block;font-size:23px;color:#2e4166}.th-event-body{padding:23px}.th-event h3{color:#2e4166;font-weight:700;font-size:16px;line-height:1.5;margin-bottom:10px}.th-event p{color:#6d7d95;font-size:12px;line-height:1.6}.th-event-body>span{display:block;margin-top:20px;color:#207bac;font-size:12px}.th-owner .container{display:flex;justify-content:space-between;align-items:center;gap:40px;text-align:left}.th-owner h2{font-size:30px;line-height:1.3;color:#fff;margin:14px 0}.th-owner p{color:#fff;line-height:1.8}.th-owner .btn{background:#fff;color:#247aaf;white-space:nowrap;float:none;flex-shrink:0}.th-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:70px;padding-top:65px;padding-bottom:55px;text-align:left}.th-footer-grid p{color:#bac5dc;line-height:1.9;margin-top:20px;max-width:390px}.th-footer-grid h3{color:#fff;font-weight:700;font-size:16px;margin-bottom:23px}.th-footer-grid>div>a:not(.th-logo){display:block;color:#bac5dc;margin-bottom:16px}.th-footer-grid a:hover,.th-footer-bottom a:hover{color:#cc0000}.th-footer-bottom{display:flex;justify-content:space-between;gap:25px;color:#bac5dc;padding:25px 0;font-size:12px}.th-footer-bottom a{color:#bac5dc;margin-left:20px}.th-sponsored-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.th-sponsored-card{display:block;border:1px solid #e5eaf2;border-radius:6px;overflow:hidden;text-align:left}.th-sponsored-card img{display:block;width:100%;height:auto;aspect-ratio:4/1;object-fit:contain;background:#edf2f9}.th-sponsored-card>strong{display:block;padding:35px;color:#2e4166;background:#edf2f9;font-size:22px}.th-sponsored-card>span{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:16px;color:#2e4166;font-weight:600}.th-sponsored-card small{color:#657086;font-size:11px;font-weight:400}.th-section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;text-align:left;margin-bottom:25px}.th-section-head h2{font-size:25px;font-weight:700;color:#2e4166}.th-kicker{font-size:10px;letter-spacing:2px;color:#2782b9;margin-bottom:12px}.th-section-head>a{color:#207bac;font-size:12px}.th-empty{grid-column:1/-1;padding:40px;text-align:center}.th-empty h3{font-size:22px;margin-bottom:16px}h1,h2,h3,a,p{overflow-wrap:break-word}
@media(max-width:1200px){.main-header .th-logo{margin-left:20px;font-size:20px}.main-menu nav li a{padding:30px 7px}.th-account{padding:31px 15px}.main-header .add-list{padding:0 15px}.th-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1064px){.th-menu-toggle{display:block;float:right;margin:20px;width:40px;height:40px;border-radius:4px}.main-header .nav-holder{display:none;top:80px;width:100%;height:auto;position:absolute;right:0;background:#2e3f6e;margin:0;padding:15px 20px}.main-header .nav-holder.is-open{display:block}.main-menu nav ul,.main-menu nav li{width:100%;float:none}.main-menu nav li a{display:block;padding:14px 10px;text-align:left}.th-listing-grid,.th-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.th-footer-grid{gap:30px}.th-search{grid-template-columns:1.2fr 1fr 1fr 120px}.th-search .main-search-input-item{padding:8px}.th-hero .intro-item h1{font-size:38px}}
@media(max-width:640px){.main-header .th-logo{margin-left:15px;font-size:17px;gap:8px}.th-logo-mark{width:32px;height:32px;font-size:16px}.main-header .add-list{display:none}.th-account{padding:32px 10px;font-size:11px}.th-menu-toggle{margin:20px 12px 20px 4px}.th-hero{padding:55px 0 60px;min-height:0}.th-hero .intro-item h1{font-size:31px}.th-hero .intro-item h3{font-size:14px;line-height:1.7}.th-search{grid-template-columns:1fr;gap:0;padding:12px;border-radius:0 0 6px 6px}.th-search .main-search-input-item{border-right:0;border-bottom:1px solid #e5eaf2;padding:12px 8px}.th-search .main-search-button{margin-top:12px;height:48px}.th-search-tabs a{padding:14px 16px!important;font-size:12px}.hero-categories ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hero-categories li{margin:0;width:auto}.hero-categories li a{display:block;min-width:0;padding:16px 6px}.hero-categories_title{line-height:1.7}.th-hero-note{line-height:1.8;font-size:11px}.th-listing-grid,.th-event-grid,.th-sponsored-grid{grid-template-columns:1fr}.th-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.th-category{padding:22px 10px}.section-title h2{font-size:25px}.section-title .section-subtitle{font-size:38px}section{padding:50px 0}.th-owner .container{display:block}.th-owner h2{font-size:26px}.th-owner .btn{margin-top:24px}.th-footer-grid{grid-template-columns:1fr 1fr;gap:35px 20px}.th-footer-grid>div:first-child{grid-column:1/-1}.th-footer-bottom{flex-direction:column;text-align:left;padding:25px 15px}.th-footer-bottom a{margin-left:0;margin-right:15px}.th-section-head{align-items:start;flex-direction:column}.th-sponsored-card>span{flex-wrap:wrap}.th-eyebrow{font-size:10px;letter-spacing:1.5px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
/* Override demo layers so production controls stay above header decoration. */
.main-header:before{display:none}.main-header .th-account,.main-header .th-menu-toggle{position:relative;z-index:2}.main-header{padding:0 20px}.th-search{background:#fff;border-radius:6px;box-shadow:0 0 0 8px #ffffff20}.th-search .main-search-input-item:before{display:none}.th-hero .overlay{background:#17243c;opacity:.65!important}.th-hero .main-search-input-tabs{margin-top:10px}.th-media-error{background:#e7eef8}.th-media-error::after{content:'Image unavailable';display:flex;align-items:center;justify-content:center;position:absolute;inset:0;color:#a34b4b;font-size:13px}.th-sponsored-card.th-media-error{position:relative;min-height:140px}.th-sponsored-card.th-media-error::after{position:static;padding:25px}.th-business .th-media-error{position:relative}.th-account:hover{color:#82cdff}.th-search .main-search-button:hover{background:#267baf}.th-business h3 a:hover{color:#207bac}.th-card-bottom a:hover,.th-section-head>a:hover{text-decoration:underline}.th-menu-toggle:hover{background:#267baf}
@media(max-width:640px){.main-header{padding:0}.main-header .th-logo{margin-left:15px}.th-search-tabs a{letter-spacing:1px!important}.th-search-tabs{gap:0}.th-search-tabs li{min-width:0}.th-search-tabs a{padding:14px 12px!important}.th-search{border-radius:6px}}
@media(max-width:1064px){.main-header .nav-holder.is-open{opacity:1;visibility:visible}.main-header .nav-holder.is-open nav{display:block}.main-header .nav-holder.is-open nav ul{display:block;position:static;opacity:1;visibility:visible}.main-header .nav-holder.is-open nav li{display:block}.main-header .nav-holder.is-open nav li a{color:#fff}.main-header .nav-holder.is-open nav li a:hover{color:#82cdff}}
@media(max-width:1064px){.main-header .nav-holder.is-open nav li a{float:none;text-align:left;width:100%}}
/* Townhub headings float; clear them before CSS grid content. */
.th-listing-grid,.th-category-grid,.th-event-grid,.th-sponsored-grid{clear:both;width:100%;position:relative}.th-section-button{clear:both}.th-business .geodir-category-content{box-sizing:border-box;width:100%}
.th-footer-grid::before,.th-footer-grid::after,.th-footer-bottom::before,.th-footer-bottom::after,.th-owner .container::before,.th-owner .container::after{display:none;content:none}
