/* TES Local Business Directory v0.1.9 - app-width mobile layout */
body.tes-lbd-page{overflow-x:hidden!important;}
body.tes-lbd-page .site,
body.tes-lbd-page .site-content,
body.tes-lbd-page .content-area,
body.tes-lbd-page .site-main,
body.tes-lbd-page main,
body.tes-lbd-page article,
body.tes-lbd-page .entry-content,
body.tes-lbd-page .wp-site-blocks{max-width:100%!important;width:100%!important;box-sizing:border-box!important;overflow-x:hidden!important;}
body.tes-lbd-page .entry-content{padding-left:0!important;padding-right:0!important;}
.tes-lbd-wrap,.tes-lbd-wrap *,.tes-lbd-profile,.tes-lbd-profile *{box-sizing:border-box;min-width:0;}
.tes-lbd-wrap{width:100%;max-width:1180px;margin:0 auto;padding:14px;overflow:hidden;color:#14213d;}
.tes-lbd-wrap h1,.tes-lbd-wrap h2,.tes-lbd-wrap h3,.tes-lbd-profile h1,.tes-lbd-profile h2,.tes-lbd-profile h3{overflow-wrap:break-word;word-break:normal;line-height:1.08;}
.tes-lbd-wrap p,.tes-lbd-profile p{overflow-wrap:break-word;line-height:1.45;}
.tes-lbd-hero{width:100%;background:linear-gradient(135deg,#121826,#26324d);color:#fff;border-radius:22px;padding:28px;margin:14px 0;box-shadow:0 12px 30px rgba(0,0,0,.18);overflow:hidden;}
.tes-lbd-hero.small{padding:22px}.tes-lbd-kicker{text-transform:uppercase;letter-spacing:.08em;font-weight:900;opacity:.9;font-size:15px}.tes-lbd-hero h1{font-size:clamp(32px,9vw,56px);margin:10px 0 16px;max-width:100%;}.tes-lbd-hero p{font-size:clamp(17px,4vw,22px);max-width:760px;margin:0;}.tes-lbd-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px;width:100%;}.tes-lbd-btn{display:flex;align-items:center;justify-content:center;width:100%;max-width:100%;border:0;border-radius:999px;background:#f8c84e;color:#111!important;padding:14px 18px;text-decoration:none!important;font-weight:900;cursor:pointer;text-align:center;white-space:normal;line-height:1.15;}.tes-lbd-btn.secondary{background:#fff}.tes-lbd-btn.small{padding:8px 13px;font-size:13px;width:auto;display:inline-flex}.tes-lbd-cta{width:100%;border:2px solid #f0d37a;border-radius:22px;padding:24px;margin:20px 0;background:#fff9e6;overflow:hidden}.tes-lbd-cta h2{font-size:clamp(28px,7vw,44px);margin:0 0 14px}.tes-lbd-cta p{font-size:clamp(17px,4vw,21px);margin:0 0 18px}.tes-lbd-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:14px;margin:22px 0}.tes-lbd-card,.tes-lbd-business-card{display:block;background:#fff;border:1px solid #e7e7e7;border-radius:18px;padding:18px;text-decoration:none!important;color:inherit!important;box-shadow:0 6px 18px rgba(0,0,0,.06);overflow:hidden}.tes-lbd-card h3,.tes-lbd-business-card h3{margin:0 0 8px}.tes-lbd-card span,.tes-lbd-muted{color:#666}.tes-lbd-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:16px;margin:20px 0}.tes-lbd-form{background:#fff;border:1px solid #e8e8e8;border-radius:20px;padding:20px;box-shadow:0 8px 24px rgba(0,0,0,.06);overflow:hidden}.tes-lbd-form label{display:block;font-weight:800;margin:0 0 14px}.tes-lbd-form input,.tes-lbd-form textarea,.tes-lbd-form select{width:100%;max-width:100%;margin-top:6px;border:1px solid #ccc;border-radius:12px;padding:11px;font:inherit}.tes-lbd-check{display:flex!important;gap:10px;align-items:flex-start}.tes-lbd-check input{width:auto}.tes-lbd-success{background:#e8fff0;border:1px solid #9be0b2;border-radius:14px;padding:14px;margin:14px 0;font-weight:800}.tes-lbd-section-head{text-align:center;margin:28px auto 12px;max-width:760px;padding:0 6px}.tes-lbd-section-head h2{margin-bottom:6px}.tes-lbd-cat-card{padding:0;overflow:hidden}.tes-lbd-card-title{display:block;padding:18px;color:inherit!important;text-decoration:none!important}.tes-lbd-subcats{display:flex;flex-wrap:wrap;gap:8px;padding:0 18px 18px}.tes-lbd-subcats a,.tes-lbd-mini-pills span{display:inline-block;background:#f4f4f4;border-radius:999px;padding:7px 10px;font-size:13px;text-decoration:none!important;color:#222}.tes-lbd-filter{display:grid;grid-template-columns:2fr 1.5fr 1.5fr auto auto;gap:10px;background:#fff;border:1px solid #e8e8e8;border-radius:18px;padding:14px;margin:18px 0}.tes-lbd-filter input,.tes-lbd-filter select{border:1px solid #ccc;border-radius:12px;padding:11px;font:inherit;width:100%;max-width:100%}.tes-lbd-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.tes-lbd-check-row{display:flex;gap:16px;flex-wrap:wrap;margin:8px 0 14px}.tes-lbd-mini-pills{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.tes-lbd-card-img{width:100%;height:160px;object-fit:cover;border-radius:14px;margin-bottom:12px}.tes-lbd-card-body{display:block}.tes-lbd-card-cat{display:inline-block;background:#fff4cf;border-radius:999px;padding:5px 10px;font-size:13px;font-weight:800;margin:3px 0}.tes-lbd-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.tes-lbd-profile{max-width:1050px;margin:0 auto;padding:14px;overflow:hidden;color:#14213d}.tes-lbd-cover{width:100%;max-height:320px;object-fit:cover;border-radius:22px}.tes-lbd-pills a{display:inline-block;background:#f2f2f2;border-radius:999px;padding:7px 12px;margin:4px;text-decoration:none}.tes-lbd-bio,.tes-lbd-details{background:#fff;border:1px solid #eee;border-radius:18px;padding:18px;margin:18px 0}.tes-lbd-profile-hero{background:linear-gradient(135deg,#121826,#26324d);color:#fff;border-radius:26px;padding:22px;margin:18px 0;box-shadow:0 14px 36px rgba(0,0,0,.18);overflow:hidden}.tes-lbd-profile-hero .tes-lbd-cover{margin-bottom:18px;border:3px solid rgba(255,255,255,.18)}.tes-lbd-profile-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;flex-wrap:wrap}.tes-lbd-profile-head h1{margin:4px 0;font-size:clamp(30px,8vw,52px);line-height:1.05}.tes-lbd-profile-area{font-size:18px;margin:6px 0 12px}.tes-lbd-profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.tes-lbd-claim-badge{display:inline-flex;align-items:center;border-radius:999px;background:#fff4cf;color:#111;font-weight:900;padding:8px 13px}.tes-lbd-claim-badge.claimed{background:#dfffe9}.tes-lbd-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.tes-lbd-panel{background:#fff;border:1px solid #ececec;border-radius:20px;padding:20px;margin:0 0 18px;box-shadow:0 7px 22px rgba(0,0,0,.05);overflow:hidden}.tes-lbd-panel h2{margin-top:0}.tes-lbd-profile .tes-lbd-bio{border:0;padding:0;margin:0;box-shadow:none}.tes-lbd-info-list p{border-bottom:1px solid #eee;padding-bottom:12px;margin-bottom:12px}.tes-lbd-info-list p:last-child{border-bottom:0}.tes-lbd-hours{white-space:normal;line-height:1.7}.tes-lbd-socials{display:flex;gap:10px;flex-wrap:wrap}.tes-lbd-socials a{display:inline-block;background:#f4f4f4;border-radius:999px;padding:9px 13px;text-decoration:none!important;font-weight:800;color:#222}.tes-lbd-profile .tes-lbd-pills a{background:rgba(255,255,255,.16);color:#fff!important}.tes-lbd-profile .tes-lbd-kicker{color:#f8c84e}.tes-lbd-subcategory-picker{border:1px solid #e4e4e4;background:#fbfbfb;border-radius:18px;padding:16px;margin:0 0 16px;overflow:hidden}.tes-lbd-subcategory-picker label{margin-bottom:8px}.tes-lbd-help{display:block;color:#666;font-weight:600;font-size:13px;margin-top:3px}.tes-lbd-subcategory-search{background:#fff}.tes-lbd-selected-count{font-size:13px;font-weight:800;color:#333;margin:8px 0 10px}.tes-lbd-subcategory-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:8px;max-height:280px;overflow:auto;padding:4px}.tes-lbd-subcategory-option{display:flex!important;align-items:center;gap:9px;background:#fff;border:1px solid #e7e7e7;border-radius:14px;padding:10px!important;margin:0!important;font-weight:800;cursor:pointer;overflow:hidden}.tes-lbd-subcategory-option input{width:auto!important;margin:0!important;flex:0 0 auto}.tes-lbd-subcategory-option span{line-height:1.1;min-width:0;overflow-wrap:break-word}.tes-lbd-subcategory-option em{font-style:normal;font-size:11px;color:#777;font-weight:700;margin-left:auto;text-align:right;min-width:70px}.tes-lbd-subcategory-option:has(input:checked){border-color:#f8c84e;background:#fff8dc}.tes-lbd-no-subcats{background:#fff4cf;border-radius:12px;padding:10px;margin:10px 0 0;font-weight:800}
@media(max-width:760px){body.tes-lbd-page .entry-content>*,body.tes-lbd-page article>*{max-width:100%!important}.tes-lbd-wrap{padding:10px;width:100%;max-width:100%;}.tes-lbd-hero{border-radius:18px;padding:20px;margin:10px 0}.tes-lbd-kicker{font-size:13px;letter-spacing:.06em}.tes-lbd-hero h1{font-size:clamp(34px,10vw,42px);line-height:1.02}.tes-lbd-hero p{font-size:18px}.tes-lbd-actions{grid-template-columns:1fr}.tes-lbd-btn{min-height:54px;padding:13px 14px}.tes-lbd-cta{padding:20px;border-radius:18px}.tes-lbd-cta .tes-lbd-btn{width:100%}.tes-lbd-filter,.tes-lbd-two{grid-template-columns:1fr}.tes-lbd-filter .tes-lbd-btn{width:100%}.tes-lbd-grid,.tes-lbd-list{grid-template-columns:1fr}.tes-lbd-section-head{text-align:left}.tes-lbd-subcategory-options{grid-template-columns:1fr}.tes-lbd-subcategory-option em{min-width:84px;font-size:10px}.tes-lbd-profile-layout{grid-template-columns:1fr}.tes-lbd-profile{padding:10px}.tes-lbd-profile-actions{display:grid;grid-template-columns:1fr}.tes-lbd-profile-actions .tes-lbd-btn{width:100%}}
@media(max-width:390px){.tes-lbd-wrap{padding:8px}.tes-lbd-hero{padding:18px}.tes-lbd-cta{padding:18px}.tes-lbd-hero h1{font-size:34px}.tes-lbd-cta h2{font-size:30px}.tes-lbd-form{padding:16px}.tes-lbd-subcategory-picker{padding:12px}}


/* v0.1.8 - Directory app-width shell: use the phone screen, not the boxed TES article width */
body.tes-lbd-page{width:100%!important;max-width:100%!important;overflow-x:hidden!important;}
body.tes-lbd-page #page,
body.tes-lbd-page .site,
body.tes-lbd-page .site-content,
body.tes-lbd-page .content-area,
body.tes-lbd-page .site-main,
body.tes-lbd-page main,
body.tes-lbd-page article,
body.tes-lbd-page .entry-content,
body.tes-lbd-page .wp-block-post-content,
body.tes-lbd-page .wp-site-blocks{
  max-width:100%!important;
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
  overflow-x:hidden!important;
}
body.tes-lbd-page .entry-content > .tes-lbd-wrap,
body.tes-lbd-page .tes-lbd-wrap,
body.tes-lbd-page .tes-lbd-profile{
  box-sizing:border-box!important;
}
@media(max-width:760px){
  html,body{overflow-x:hidden!important;}
  body.tes-lbd-page .tes-lbd-wrap,
  body.tes-lbd-page .tes-lbd-profile{
    width:calc(100vw - 12px)!important;
    max-width:calc(100vw - 12px)!important;
    margin-left:calc(50% - 50vw + 6px)!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    overflow:visible!important;
  }
  .tes-lbd-hero,
  .tes-lbd-cta,
  .tes-lbd-form,
  .tes-lbd-card,
  .tes-lbd-business-card,
  .tes-lbd-panel,
  .tes-lbd-subcategory-picker,
  .tes-lbd-filter{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .tes-lbd-hero{padding:22px 18px!important;border-radius:18px!important;}
  .tes-lbd-cta{padding:22px 18px!important;border-radius:18px!important;}
  .tes-lbd-form{padding:18px!important;border-radius:18px!important;}
  .tes-lbd-section-head{padding-left:2px!important;padding-right:2px!important;margin-left:0!important;margin-right:0!important;}
  .tes-lbd-grid,.tes-lbd-list{gap:10px!important;margin-left:0!important;margin-right:0!important;}
  .tes-lbd-hero h1{font-size:clamp(36px,11vw,46px)!important;}
  .tes-lbd-cta h2{font-size:clamp(32px,9vw,42px)!important;}
}
@media(max-width:390px){
  body.tes-lbd-page .tes-lbd-wrap,
  body.tes-lbd-page .tes-lbd-profile{
    width:calc(100vw - 8px)!important;
    max-width:calc(100vw - 8px)!important;
    margin-left:calc(50% - 50vw + 4px)!important;
  }
  .tes-lbd-hero,.tes-lbd-cta,.tes-lbd-form{padding-left:16px!important;padding-right:16px!important;}
}


/* v0.1.9 - final mobile tidy pass */
body.tes-lbd-page .entry-header,
body.tes-lbd-page header.entry-header,
body.tes-lbd-page .page-header,
body.tes-lbd-page .entry-title,
body.tes-lbd-page h1.entry-title,
body.tes-lbd-page .wp-block-post-title{
  display:none!important;
}
body.tes-lbd-page .entry-content{margin-top:0!important;}
body.tes-lbd-page .tes-lbd-wrap{padding-top:0!important;}
.tes-lbd-hero{text-align:left;}
.tes-lbd-actions .tes-lbd-btn{text-align:center;}
.tes-lbd-cta{text-align:center;}
.tes-lbd-cta h2,.tes-lbd-cta p{max-width:850px;margin-left:auto;margin-right:auto;}
.tes-lbd-section-head{text-align:center;}
.tes-lbd-form input,
.tes-lbd-form textarea,
.tes-lbd-form select,
.tes-lbd-filter input,
.tes-lbd-filter select,
.tes-lbd-subcategory-search{
  font-size:16px!important;
  line-height:1.25!important;
  min-height:50px!important;
}
.tes-lbd-form input::placeholder,
.tes-lbd-form textarea::placeholder,
.tes-lbd-filter input::placeholder,
.tes-lbd-subcategory-search::placeholder{
  font-size:16px!important;
  line-height:1.25!important;
  opacity:.75;
  white-space:normal;
}
.tes-lbd-subcategory-picker p,
.tes-lbd-subcategory-picker .tes-lbd-help{line-height:1.3;}
.tes-lbd-subcategory-option{min-height:58px;}
.tes-lbd-subcategory-option em{white-space:normal;}
@media(max-width:760px){
  body.tes-lbd-page .tes-lbd-wrap,
  body.tes-lbd-page .tes-lbd-profile{
    width:calc(100vw - 10px)!important;
    max-width:calc(100vw - 10px)!important;
    margin-left:calc(50% - 50vw + 5px)!important;
  }
  .tes-lbd-hero{margin-top:6px!important;margin-bottom:10px!important;}
  .tes-lbd-hero h1{font-size:clamp(34px,10vw,44px)!important;line-height:1.04!important;}
  .tes-lbd-hero p{font-size:18px!important;line-height:1.42!important;}
  .tes-lbd-kicker{text-align:center;display:block;}
  .tes-lbd-hero .tes-lbd-kicker + h1{text-align:center;}
  .tes-lbd-actions{margin-top:20px!important;}
  .tes-lbd-cta{margin-top:12px!important;margin-bottom:18px!important;}
  .tes-lbd-cta h2{font-size:clamp(30px,8.5vw,38px)!important;line-height:1.08!important;text-align:center;}
  .tes-lbd-cta p{font-size:18px!important;line-height:1.35!important;text-align:center;}
  .tes-lbd-section-head h2{font-size:30px!important;text-align:center;}
  .tes-lbd-section-head p{text-align:center;font-size:16px!important;}
  .tes-lbd-form label{font-size:18px!important;line-height:1.2;}
  .tes-lbd-form input,
  .tes-lbd-form textarea,
  .tes-lbd-form select,
  .tes-lbd-filter input,
  .tes-lbd-filter select,
  .tes-lbd-subcategory-search{
    font-size:16px!important;
    padding:12px 14px!important;
  }
  .tes-lbd-form input::placeholder,
  .tes-lbd-form textarea::placeholder,
  .tes-lbd-filter input::placeholder,
  .tes-lbd-subcategory-search::placeholder{
    font-size:16px!important;
  }
  .tes-lbd-subcategory-picker{padding:16px!important;}
  .tes-lbd-subcategory-picker h3{font-size:22px!important;margin:0 0 6px;}
  .tes-lbd-subcategory-option span{font-size:18px!important;line-height:1.12;}
  .tes-lbd-subcategory-option em{font-size:11px!important;min-width:76px!important;}
}
@media(max-width:390px){
  body.tes-lbd-page .tes-lbd-wrap,
  body.tes-lbd-page .tes-lbd-profile{
    width:calc(100vw - 6px)!important;
    max-width:calc(100vw - 6px)!important;
    margin-left:calc(50% - 50vw + 3px)!important;
  }
  .tes-lbd-hero,.tes-lbd-cta,.tes-lbd-form{padding-left:14px!important;padding-right:14px!important;}
  .tes-lbd-hero h1{font-size:36px!important;}
  .tes-lbd-cta h2{font-size:31px!important;}
}

/* v0.2.0 - locked mobile tidy base: no clipping, no visible WP page titles, full usable width */
body.tes-lbd-page{overflow-x:hidden!important;}
body.tes-lbd-page .entry-header,
body.tes-lbd-page header.entry-header,
body.tes-lbd-page .page-header,
body.tes-lbd-page .post-header,
body.tes-lbd-page .entry-title,
body.tes-lbd-page h1.entry-title,
body.tes-lbd-page .page-title,
body.tes-lbd-page h1.page-title,
body.tes-lbd-page .wp-block-post-title,
body.tes-lbd-page h1.wp-block-post-title{display:none!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;}
body.tes-lbd-page .entry-content{margin-top:0!important;}
body.tes-lbd-page #content,
body.tes-lbd-page #primary,
body.tes-lbd-page #main,
body.tes-lbd-page .site,
body.tes-lbd-page .site-content,
body.tes-lbd-page .content-area,
body.tes-lbd-page .site-main,
body.tes-lbd-page main,
body.tes-lbd-page article,
body.tes-lbd-page .entry-content,
body.tes-lbd-page .wp-block-post-content,
body.tes-lbd-page .wp-site-blocks{
  max-width:100%!important;
  width:100%!important;
  box-sizing:border-box!important;
  overflow-x:hidden!important;
}
body.tes-lbd-page .tes-lbd-wrap,
body.tes-lbd-page .tes-lbd-profile{
  width:100%!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.tes-lbd-wrap,.tes-lbd-profile,.tes-lbd-wrap *,.tes-lbd-profile *{box-sizing:border-box!important;min-width:0!important;}
.tes-lbd-hero,.tes-lbd-cta,.tes-lbd-form,.tes-lbd-card,.tes-lbd-business-card,.tes-lbd-panel,.tes-lbd-subcategory-picker,.tes-lbd-filter{max-width:100%!important;overflow:hidden!important;}
.tes-lbd-hero h1,.tes-lbd-cta h2,.tes-lbd-section-head h2{word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;}
.tes-lbd-hero p,.tes-lbd-cta p,.tes-lbd-section-head p{word-break:normal!important;overflow-wrap:break-word!important;hyphens:none!important;}
.tes-lbd-btn{white-space:normal!important;overflow-wrap:break-word!important;}
.tes-lbd-form input,.tes-lbd-form textarea,.tes-lbd-form select,.tes-lbd-filter input,.tes-lbd-filter select,.tes-lbd-subcategory-search{height:auto!important;text-overflow:ellipsis!important;}
@media(max-width:760px){
  body.tes-lbd-page #content,
  body.tes-lbd-page #primary,
  body.tes-lbd-page #main,
  body.tes-lbd-page .site-content,
  body.tes-lbd-page .content-area,
  body.tes-lbd-page .site-main,
  body.tes-lbd-page main,
  body.tes-lbd-page article,
  body.tes-lbd-page .entry-content{
    padding-left:0!important;
    padding-right:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.tes-lbd-page .tes-lbd-wrap,
  body.tes-lbd-page .tes-lbd-profile{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:6px!important;
    padding-right:6px!important;
    padding-top:0!important;
  }
  .tes-lbd-hero{padding:20px 14px!important;margin:6px 0 10px!important;border-radius:16px!important;text-align:center!important;}
  .tes-lbd-hero h1{font-size:clamp(31px,9.2vw,40px)!important;line-height:1.06!important;text-align:center!important;margin:10px 0 14px!important;}
  .tes-lbd-hero p{font-size:17px!important;line-height:1.42!important;text-align:center!important;}
  .tes-lbd-kicker{font-size:12px!important;letter-spacing:.055em!important;text-align:center!important;display:block!important;}
  .tes-lbd-actions{grid-template-columns:1fr!important;gap:10px!important;margin-top:18px!important;}
  .tes-lbd-btn{min-height:52px!important;padding:13px 12px!important;font-size:17px!important;text-align:center!important;justify-content:center!important;}
  .tes-lbd-cta{padding:20px 14px!important;margin:10px 0 18px!important;border-radius:16px!important;text-align:center!important;}
  .tes-lbd-cta h2{font-size:clamp(28px,8vw,35px)!important;line-height:1.1!important;text-align:center!important;margin-bottom:12px!important;}
  .tes-lbd-cta p{font-size:17px!important;line-height:1.38!important;text-align:center!important;}
  .tes-lbd-section-head{padding:0 8px!important;margin:24px 0 12px!important;text-align:center!important;}
  .tes-lbd-section-head h2{font-size:28px!important;line-height:1.12!important;text-align:center!important;}
  .tes-lbd-section-head p{font-size:16px!important;line-height:1.35!important;text-align:center!important;}
  .tes-lbd-form{padding:16px 14px!important;border-radius:16px!important;}
  .tes-lbd-form label{font-size:17px!important;}
  .tes-lbd-form input,.tes-lbd-form textarea,.tes-lbd-form select,.tes-lbd-filter input,.tes-lbd-filter select,.tes-lbd-subcategory-search{
    font-size:15px!important;
    line-height:1.25!important;
    padding:12px 12px!important;
    min-height:50px!important;
  }
  .tes-lbd-form input::placeholder,.tes-lbd-form textarea::placeholder,.tes-lbd-filter input::placeholder,.tes-lbd-subcategory-search::placeholder{
    font-size:15px!important;
    opacity:.72!important;
  }
  .tes-lbd-subcategory-picker{padding:14px!important;border-radius:16px!important;}
  .tes-lbd-subcategory-picker h3{font-size:21px!important;line-height:1.15!important;}
  .tes-lbd-subcategory-option{min-height:56px!important;padding:9px!important;}
  .tes-lbd-subcategory-option span{font-size:17px!important;line-height:1.12!important;}
  .tes-lbd-subcategory-option em{font-size:10px!important;min-width:68px!important;}
}
@media(max-width:390px){
  body.tes-lbd-page .tes-lbd-wrap,body.tes-lbd-page .tes-lbd-profile{padding-left:4px!important;padding-right:4px!important;}
  .tes-lbd-hero,.tes-lbd-cta,.tes-lbd-form{padding-left:12px!important;padding-right:12px!important;}
  .tes-lbd-hero h1{font-size:32px!important;}
  .tes-lbd-cta h2{font-size:28px!important;}
}


/* v0.2.3 - tidy base: hide only customer-facing WP title and flatten subcategory section */
body.tes-lbd-page .tes-lbd-wp-title-hidden,
body.tes-lbd-page .entry-header,
body.tes-lbd-page header.entry-header,
body.tes-lbd-page .page-header,
body.tes-lbd-page .post-title,
body.tes-lbd-page .page-title,
body.tes-lbd-page .entry-title,
body.tes-lbd-page h1.entry-title,
body.tes-lbd-page h1.wp-block-post-title,
body.tes-lbd-page .wp-block-post-title{
  display:none!important;
}
body.tes-lbd-page .tes-lbd-wrap{padding-top:0!important;}

/* Keep subcategories inside the main form, not inside a second heavy box */
.tes-lbd-subcategory-picker{
  border:0!important;
  background:transparent!important;
  border-radius:0!important;
  padding:0!important;
  margin:8px 0 18px!important;
  box-shadow:none!important;
}
.tes-lbd-subcategory-picker h3{
  margin:0 0 4px!important;
}
.tes-lbd-subcategory-picker .tes-lbd-help{
  margin:0 0 10px!important;
}
.tes-lbd-subcategory-search{
  margin-top:8px!important;
}
.tes-lbd-subcategory-options{
  padding:0!important;
  margin-top:12px!important;
  max-height:360px!important;
}
.tes-lbd-subcategory-option{
  width:100%!important;
  border-radius:16px!important;
  padding:12px 14px!important;
}
@media(max-width:760px){
  .tes-lbd-subcategory-picker{margin-top:8px!important;}
  .tes-lbd-subcategory-options{gap:10px!important;}
  .tes-lbd-subcategory-option{min-height:64px!important;}
}

/* v0.2.4 STABLE BASE - early title hide + flatter form sections */
body.tes-lbd-page #content h1,
body.tes-lbd-page #primary h1,
body.tes-lbd-page #main h1,
body.tes-lbd-page main h1,
body.tes-lbd-page article h1,
body.tes-lbd-page .entry-content h1,
body.tes-lbd-page .wp-block-post-title,
body.tes-lbd-page .entry-title,
body.tes-lbd-page .page-title{
  display:none!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
body.tes-lbd-page .tes-lbd-hero h1,
body.tes-lbd-page .tes-lbd-profile h1,
body.tes-lbd-page .tes-lbd-profile-hero h1{
  display:block!important;
  height:auto!important;
  margin:10px 0 16px!important;
  padding:0!important;
  overflow:visible!important;
}
body.tes-lbd-page .entry-header,
body.tes-lbd-page header.entry-header,
body.tes-lbd-page .page-header,
body.tes-lbd-page .post-header{
  display:none!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
body.tes-lbd-page .tes-lbd-wrap,
body.tes-lbd-page .tes-lbd-profile{
  padding-top:0!important;
}
/* Keep directory content wide, but safely inside the phone screen */
@media(max-width:760px){
  body.tes-lbd-page .tes-lbd-wrap,
  body.tes-lbd-page .tes-lbd-profile{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding-left:6px!important;
    padding-right:6px!important;
  }
  .tes-lbd-hero,
  .tes-lbd-cta,
  .tes-lbd-form,
  .tes-lbd-card,
  .tes-lbd-business-card,
  .tes-lbd-filter{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .tes-lbd-hero{padding:22px 16px!important;border-radius:18px!important;text-align:center!important;}
  .tes-lbd-cta{padding:22px 16px!important;border-radius:18px!important;text-align:center!important;}
  .tes-lbd-form{padding:18px 16px!important;border-radius:18px!important;}
  .tes-lbd-section-head{padding:0 6px!important;text-align:center!important;}
}
@media(max-width:390px){
  body.tes-lbd-page .tes-lbd-wrap,
  body.tes-lbd-page .tes-lbd-profile{padding-left:4px!important;padding-right:4px!important;}
  .tes-lbd-hero,.tes-lbd-cta,.tes-lbd-form{padding-left:14px!important;padding-right:14px!important;}
}
/* Flatten the subcategory chooser so it feels part of the same form, not another box */
.tes-lbd-subcategory-picker{
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
  margin:8px 0 20px!important;
  overflow:visible!important;
}
.tes-lbd-subcategory-picker h3{margin:0 0 4px!important;}
.tes-lbd-subcategory-picker .tes-lbd-help{margin:0 0 10px!important;}
.tes-lbd-subcategory-search{margin:8px 0 10px!important;}
.tes-lbd-subcategory-options{
  padding:0!important;
  margin:10px 0 0!important;
  max-height:360px!important;
  overflow:auto!important;
  gap:10px!important;
}
.tes-lbd-subcategory-option{
  width:100%!important;
  border-radius:16px!important;
  padding:12px 14px!important;
  background:#fff!important;
  border:1px solid #e5e5e5!important;
}
.tes-lbd-subcategory-option:has(input:checked){border-color:#f8c84e!important;background:#fff8dc!important;}

/* v0.2.5 - directory results and business card system */
.tes-lbd-results-wrap{padding-top:0!important;}
.tes-lbd-results-hero{margin-bottom:12px!important;}
.tes-lbd-discovery-filter{
  display:grid!important;
  grid-template-columns:minmax(220px,2fr) minmax(180px,1.2fr) minmax(160px,1fr) auto auto!important;
  align-items:end!important;
  gap:12px!important;
  background:#fff!important;
  border:1px solid #e6e9ef!important;
  box-shadow:0 8px 24px rgba(20,33,61,.08)!important;
}
.tes-lbd-filter-field{display:block!important;margin:0!important;font-weight:900!important;color:#14213d!important;}
.tes-lbd-filter-field span{display:block;font-size:13px;text-transform:uppercase;letter-spacing:.04em;margin:0 0 6px;color:#667085;}
.tes-lbd-results-summary{font-weight:900;color:#14213d;background:#fff9e6;border:1px solid #f0d37a;border-radius:999px;display:inline-flex;gap:6px;align-items:center;padding:9px 14px;margin:4px 0 14px;}
.tes-lbd-directory-list{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;}
.tes-lbd-business-card-v2{display:grid!important;grid-template-columns:210px minmax(0,1fr)!important;gap:16px!important;align-items:stretch!important;padding:14px!important;border-radius:22px!important;border:1px solid #e5e7eb!important;background:#fff!important;box-shadow:0 10px 28px rgba(20,33,61,.08)!important;}
.tes-lbd-card-media{display:flex;align-items:center;justify-content:center;min-height:180px;border-radius:18px;overflow:hidden;background:linear-gradient(135deg,#121826,#26324d);text-decoration:none!important;}
.tes-lbd-business-card-v2 .tes-lbd-card-img{width:100%!important;height:100%!important;min-height:180px!important;object-fit:cover!important;border-radius:0!important;margin:0!important;}
.tes-lbd-card-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:180px;color:#f8c84e;font-size:72px;font-weight:900;text-transform:uppercase;}
.tes-lbd-business-card-v2 .tes-lbd-card-body{display:flex;flex-direction:column;gap:8px;min-width:0;}
.tes-lbd-card-topline{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.tes-lbd-business-title{text-decoration:none!important;color:#14213d!important;}
.tes-lbd-business-title h3{font-size:clamp(24px,4.8vw,34px)!important;line-height:1.04!important;margin:0!important;}
.tes-lbd-card-location{font-weight:800;margin:0!important;}
.tes-lbd-subterm-pills{display:flex;flex-wrap:wrap;gap:6px;}
.tes-lbd-subterm-pills span{background:#eef2ff;border:1px solid #d9e0ff;color:#14213d;border-radius:999px;padding:6px 10px;font-size:13px;font-weight:800;}
.tes-lbd-info-pills{margin:0!important;}
.tes-lbd-info-pills span{background:#f6f7f9!important;border:1px solid #eceff3!important;}
.tes-lbd-verified-chip{background:#dfffe9;color:#0f5132;border-radius:999px;padding:5px 10px;font-size:13px;font-weight:900;}
.tes-lbd-card-excerpt{margin:0!important;color:#344054;}
.tes-lbd-card-actions-v2{margin-top:auto!important;display:flex!important;gap:8px!important;flex-wrap:wrap!important;}
.tes-lbd-empty-state{background:#fff;border:1px solid #e6e9ef;border-radius:22px;padding:26px;text-align:center;box-shadow:0 8px 24px rgba(20,33,61,.08);}
.tes-lbd-empty-state h2{margin-top:0;}
@media(max-width:860px){
  .tes-lbd-discovery-filter{grid-template-columns:1fr!important;}
  .tes-lbd-discovery-filter .tes-lbd-btn{width:100%!important;}
  .tes-lbd-business-card-v2{grid-template-columns:150px minmax(0,1fr)!important;}
  .tes-lbd-card-media,.tes-lbd-card-placeholder,.tes-lbd-business-card-v2 .tes-lbd-card-img{min-height:150px!important;}
}
@media(max-width:760px){
  .tes-lbd-discovery-filter{padding:14px!important;border-radius:18px!important;gap:10px!important;}
  .tes-lbd-results-summary{width:100%;justify-content:center;border-radius:16px;margin:2px 0 12px;}
  .tes-lbd-business-card-v2{grid-template-columns:1fr!important;gap:12px!important;padding:12px!important;border-radius:18px!important;}
  .tes-lbd-card-media,.tes-lbd-card-placeholder,.tes-lbd-business-card-v2 .tes-lbd-card-img{min-height:170px!important;max-height:220px!important;}
  .tes-lbd-business-title h3{font-size:28px!important;}
  .tes-lbd-card-actions-v2{display:grid!important;grid-template-columns:1fr 1fr!important;}
  .tes-lbd-card-actions-v2 .tes-lbd-btn{width:100%!important;min-height:44px!important;padding:10px 11px!important;}
}
@media(max-width:390px){
  .tes-lbd-business-title h3{font-size:25px!important;}
  .tes-lbd-card-actions-v2{grid-template-columns:1fr!important;}
}

/* v0.2.6 - improved individual business profile foundation */
.tes-lbd-profile .tes-lbd-profile-hero{margin-top:0!important;}
.tes-lbd-profile-head{align-items:flex-start!important;}
.tes-lbd-at-a-glance .tes-lbd-glance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:10px;margin-top:10px;}
.tes-lbd-glance-grid div{background:#f8fafc;border:1px solid #eef2f6;border-radius:16px;padding:12px;}
.tes-lbd-glance-grid strong{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#667085;margin-bottom:4px;}
.tes-lbd-glance-grid span{display:block;font-size:16px;font-weight:900;color:#14213d;line-height:1.2;}
.tes-lbd-profile-subterms{margin-top:12px!important;}
.tes-lbd-side-actions{display:grid;grid-template-columns:1fr;gap:9px;}
.tes-lbd-side-actions .tes-lbd-btn{width:100%!important;}
.tes-lbd-contact-panel{position:sticky;top:12px;}
.tes-lbd-reviews-preview{background:#fff9e6!important;border-color:#f0d37a!important;}
.tes-lbd-profile-back{margin:0 0 18px;}
.tes-lbd-profile-back .tes-lbd-btn{width:100%;}
@media(max-width:760px){
  .tes-lbd-profile .tes-lbd-profile-hero{padding:20px 16px!important;border-radius:18px!important;text-align:center!important;}
  .tes-lbd-profile-head{display:block!important;text-align:center!important;}
  .tes-lbd-profile-area{text-align:center!important;}
  .tes-lbd-profile .tes-lbd-pills{text-align:center!important;}
  .tes-lbd-claim-badge{margin-top:10px!important;}
  .tes-lbd-contact-panel{position:static!important;}
  .tes-lbd-panel{padding:16px!important;border-radius:18px!important;}
  .tes-lbd-glance-grid{grid-template-columns:1fr 1fr!important;}
}
@media(max-width:390px){.tes-lbd-glance-grid{grid-template-columns:1fr!important;}}

/* v0.2.7 - registration locales + yearly pricing */
.tes-lbd-form-section{border:1px solid #ececec;background:#fff;border-radius:18px;padding:16px;margin:18px 0;box-shadow:0 5px 18px rgba(0,0,0,.035);overflow:hidden;}
.tes-lbd-form-section-head{text-align:left;margin:0 0 14px;}
.tes-lbd-form-section-head h2{font-size:clamp(23px,5vw,32px);line-height:1.05;margin:0 0 6px;color:#14213d;}
.tes-lbd-form-section-head p{font-size:15px;line-height:1.4;margin:0;color:#667085;font-weight:650;}
.tes-lbd-locale-list{display:grid;gap:12px;}
.tes-lbd-locale-card{border:1px solid #e7e7e7;background:#fbfbfb;border-radius:16px;padding:14px;overflow:hidden;}
.tes-lbd-locale-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;}
.tes-lbd-locale-card-head strong{font-size:18px;color:#14213d;}
.tes-lbd-locale-card-head span{display:inline-flex;align-items:center;background:#fff4cf;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;color:#111;}
.tes-lbd-remove-locale{width:auto!important;min-height:0!important;margin:0 0 12px auto!important;padding:9px 13px!important;background:#f4f4f4!important;color:#222!important;}
.tes-lbd-add-locale{margin-top:12px!important;}
.tes-lbd-price-lines{display:grid;gap:8px;margin:10px 0 14px;}
.tes-lbd-price-lines>div{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fbfbfb;border:1px solid #ededed;border-radius:14px;padding:12px;}
.tes-lbd-price-lines span{font-weight:800;color:#344054;}
.tes-lbd-price-lines strong{white-space:nowrap;color:#14213d;}
.tes-lbd-price-total{background:#fff4cf!important;border-color:#f0d37a!important;}
.tes-lbd-price-total span,.tes-lbd-price-total strong{font-size:18px;color:#111;}
.tes-lbd-locale-display-list{display:grid;gap:12px;}
.tes-lbd-locale-display-card{border:1px solid #e8e8e8;background:#fbfbfb;border-radius:16px;padding:14px;}
.tes-lbd-locale-display-card h3{margin:0 0 8px;font-size:21px;}
.tes-lbd-locale-display-card p{margin:7px 0;line-height:1.45;}
@media(max-width:760px){
  .tes-lbd-form-section{padding:14px!important;border-radius:16px!important;margin:16px 0!important;}
  .tes-lbd-locale-card{padding:12px!important;}
  .tes-lbd-price-lines>div{align-items:flex-start;flex-direction:column;gap:4px;}
  .tes-lbd-price-lines strong{white-space:normal;}
}

/* v0.2.9 charity registration route */
.tes-lbd-charity-section{border-color:#bfe7c7!important;background:#f3fff5!important;}
.tes-lbd-charity-section h2{color:#14532d!important;}
.tes-lbd-charity-free-note{background:#ecfdf3;border:1px solid #b7ebc6;border-radius:14px;padding:12px;margin:10px 0 14px;color:#14532d;font-weight:750;}
.tes-lbd-charity-free-note strong{font-weight:950;}

/* v0.3.0 Business dashboard foundation */
.tes-lbd-dashboard-topline{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px 0 14px}.tes-lbd-dashboard-topline h2{margin:0 0 4px}.tes-lbd-dashboard-topline p{margin:0;color:#626262}.tes-lbd-dashboard-card{padding:18px;margin:16px 0}.tes-lbd-dashboard-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.tes-lbd-dashboard-card-head h2{margin:0 0 4px;font-size:1.35rem}.tes-lbd-dashboard-card-head p{margin:0;color:#626262}.tes-lbd-status-pill{display:inline-flex;align-items:center;border-radius:999px;background:#eef7ff;color:#0b4f77;font-weight:800;font-size:.82rem;padding:7px 10px;white-space:nowrap}.tes-lbd-dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 16px}.tes-lbd-dashboard-stats>div{background:#f7f7f9;border:1px solid rgba(0,0,0,.07);border-radius:14px;padding:12px;min-width:0}.tes-lbd-dashboard-stats span{display:block;font-size:.78rem;color:#666;margin-bottom:4px}.tes-lbd-dashboard-stats strong{display:block;font-size:1rem;line-height:1.2;word-break:break-word}.tes-lbd-dashboard-section{border-top:1px solid rgba(0,0,0,.08);padding-top:14px;margin-top:14px}.tes-lbd-dashboard-section h3{margin:0 0 10px;font-size:1.05rem}.tes-lbd-dashboard-details p{margin:8px 0;line-height:1.45}.tes-lbd-locale-display-list.compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tes-lbd-locale-display-list.compact .tes-lbd-locale-display-card{padding:12px}.tes-lbd-locale-display-list.compact h4{margin:0 0 8px}.tes-lbd-dashboard-actions{display:flex;gap:10px;flex-wrap:wrap}.tes-lbd-btn.disabled{opacity:.55;cursor:not-allowed;pointer-events:none;filter:grayscale(.2)}
@media(max-width:700px){.tes-lbd-dashboard-topline{display:block}.tes-lbd-dashboard-topline .tes-lbd-btn{margin-top:12px;width:100%}.tes-lbd-dashboard-card{padding:14px;margin:12px 0}.tes-lbd-dashboard-card-head{display:block}.tes-lbd-status-pill{margin-top:10px}.tes-lbd-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tes-lbd-locale-display-list.compact{grid-template-columns:1fr}.tes-lbd-dashboard-actions .tes-lbd-btn{width:100%;text-align:center;justify-content:center}}


/* v0.3.1 frontend dashboard editing */
.tes-lbd-dashboard-edit-form{background:#ffffff;border:1px solid rgba(0,0,0,.08);border-radius:18px;padding:16px;margin-top:14px;scroll-margin-top:16px;box-shadow:0 8px 22px rgba(0,0,0,.04)}
.tes-lbd-dashboard-edit-form .tes-lbd-form-section-head h3{font-size:clamp(22px,4.8vw,30px);margin:0 0 6px;color:#14213d;line-height:1.08}
.tes-lbd-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tes-lbd-check-grid.compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.tes-lbd-notice.success{background:#ecfdf3;border:1px solid #b7ebc6;color:#14532d;border-radius:14px;padding:12px;margin:10px 0 14px;font-weight:800}
.tes-lbd-dashboard-locale-editor{box-shadow:none!important;background:#fbfbfb!important}
.tes-lbd-dashboard-edit-form textarea{min-height:96px}
@media(max-width:700px){
  .tes-lbd-dashboard-edit-form{padding:12px;border-radius:16px;margin-left:-2px;margin-right:-2px}
  .tes-lbd-form-grid,.tes-lbd-check-grid.compact{grid-template-columns:1fr}
  .tes-lbd-dashboard-edit-form .tes-lbd-form-section{padding:12px!important}
}

/* v0.3.4 business media uploads */
.tes-lbd-media-section{background:#fbfbff!important;border-color:#dfe7ff!important;}
.tes-lbd-media-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0 14px;}
.tes-lbd-current-media{display:block;margin:8px 0 10px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:14px;padding:8px;width:max-content;max-width:100%;}
.tes-lbd-current-media img{display:block;max-width:110px;height:auto;border-radius:10px;}
.tes-lbd-current-media.wide img{max-width:220px;}
.tes-lbd-gallery-edit-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:10px 0 14px;}
.tes-lbd-gallery-edit-item{display:block;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:14px;padding:8px!important;font-size:13px!important;}
.tes-lbd-gallery-edit-item img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;display:block;margin:0 0 6px;}
.tes-lbd-gallery-edit-item span{display:flex;align-items:center;gap:5px;font-weight:800;color:#344054;}
.tes-lbd-profile-logo{width:82px;height:82px;border-radius:20px;background:#fff;border:3px solid rgba(255,255,255,.9);box-shadow:0 10px 25px rgba(0,0,0,.16);overflow:hidden;flex:0 0 auto;display:flex;align-items:center;justify-content:center;}
.tes-lbd-profile-logo img{width:100%;height:100%;object-fit:cover;display:block;}
.tes-lbd-profile-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.tes-lbd-profile-gallery a{display:block;border-radius:16px;overflow:hidden;background:#f2f2f2;border:1px solid rgba(0,0,0,.08);}
.tes-lbd-profile-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;transition:transform .18s ease;}
.tes-lbd-profile-gallery a:hover img{transform:scale(1.03);}
@media(max-width:760px){
  .tes-lbd-media-upload-grid{grid-template-columns:1fr;gap:10px;}
  .tes-lbd-gallery-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .tes-lbd-profile-logo{width:70px;height:70px;border-radius:17px;margin-bottom:8px;}
  .tes-lbd-profile-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
}


/* v0.3.6 premium directory polish */
.tes-lbd-results-wrap{padding-top:8px;}
.tes-lbd-discovery-filter{position:relative;background:linear-gradient(180deg,#fff,#fbfcff);border:1px solid rgba(20,33,61,.08);box-shadow:0 14px 36px rgba(20,33,61,.08);}
.tes-lbd-discovery-filter label span{display:block;text-transform:uppercase;letter-spacing:.045em;color:#667085;font-size:13px;font-weight:950;margin:0 0 7px;}
.tes-lbd-discovery-filter input,.tes-lbd-discovery-filter select{min-height:58px;background:#f7f8fb;border:1px solid rgba(20,33,61,.14)!important;font-weight:850;color:#111827;}
.tes-lbd-discovery-filter input:focus,.tes-lbd-discovery-filter select:focus{outline:3px solid rgba(248,200,78,.35);border-color:#f8c84e!important;background:#fff;}
.tes-lbd-results-summary{scroll-margin-top:90px;background:#fff9e8;border:1px solid #f0d37a;border-radius:999px;padding:11px 16px;text-align:center;font-weight:900;color:#14213d;margin:16px 0 20px;box-shadow:0 8px 20px rgba(248,200,78,.13);}
.tes-lbd-results-summary:focus{outline:none;}
.tes-lbd-directory-list{gap:18px;}
.tes-lbd-business-card-v2{display:grid;grid-template-columns:170px minmax(0,1fr);gap:16px;align-items:stretch;padding:12px;border-radius:24px;border:1px solid rgba(20,33,61,.08);box-shadow:0 14px 34px rgba(20,33,61,.08);background:linear-gradient(180deg,#fff,#fbfcff);}
.tes-lbd-card-media{display:flex;align-items:center;justify-content:center;min-height:170px;border-radius:19px;overflow:hidden;background:linear-gradient(135deg,#121826,#26324d);text-decoration:none!important;}
.tes-lbd-card-img{width:100%!important;height:100%!important;min-height:170px;object-fit:cover;border-radius:0!important;margin:0!important;display:block;}
.tes-lbd-card-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:170px;font-size:54px;font-weight:950;color:#f8c84e;}
.tes-lbd-card-body{padding:5px 4px;}
.tes-lbd-card-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:0 0 6px;}
.tes-lbd-business-title{text-decoration:none!important;color:#14213d!important;display:block;}
.tes-lbd-business-title h3{font-size:clamp(24px,5vw,34px);line-height:1.04;margin:0 0 8px;}
.tes-lbd-card-location{font-weight:800;margin:0 0 10px;color:#4b5563;}
.tes-lbd-subterm-pills{display:flex;flex-wrap:wrap;gap:7px;margin:9px 0;}
.tes-lbd-subterm-pills span{background:#eef2ff;color:#26324d;border-radius:999px;padding:7px 10px;font-weight:850;font-size:13px;}
.tes-lbd-info-pills span{background:#f3f4f6;color:#344054;font-weight:850;}
.tes-lbd-card-excerpt{color:#475467;font-size:15px;margin:10px 0 0;}
.tes-lbd-card-actions-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px;}
.tes-lbd-card-actions-v2 .tes-lbd-btn.small{width:100%;min-height:44px;padding:10px 12px;font-size:14px;}
.tes-lbd-verified-chip{background:#dcfce7;color:#14532d;border-radius:999px;padding:6px 10px;font-weight:950;font-size:12px;}
.tes-lbd-empty-state{background:#fff;border:1px solid rgba(20,33,61,.08);border-radius:24px;padding:28px 20px;text-align:center;box-shadow:0 14px 34px rgba(20,33,61,.08);}
.tes-lbd-empty-state h2{margin-top:0;font-size:clamp(28px,7vw,40px);}

/* premium profile polish */
.tes-lbd-profile{max-width:1180px;}
.tes-lbd-profile-hero{position:relative;border-radius:30px;padding:18px;background:radial-gradient(circle at top left,rgba(248,200,78,.18),transparent 35%),linear-gradient(135deg,#0f172a,#26324d);box-shadow:0 20px 46px rgba(15,23,42,.28);}
.tes-lbd-profile-hero .tes-lbd-cover{width:100%;height:260px;max-height:none;object-fit:cover;border-radius:24px;margin:0 0 20px;border:3px solid rgba(255,255,255,.18);box-shadow:0 10px 28px rgba(0,0,0,.28);}
.tes-lbd-profile-head{align-items:center;justify-content:center;text-align:center;}
.tes-lbd-profile-head>div:nth-child(2){max-width:780px;}
.tes-lbd-profile-logo{width:96px;height:96px;border-radius:24px;border:4px solid #fff;box-shadow:0 14px 35px rgba(0,0,0,.24);}
.tes-lbd-profile-head h1{font-size:clamp(34px,7vw,58px);}
.tes-lbd-profile-area{font-weight:800;opacity:.95;}
.tes-lbd-profile-actions,.tes-lbd-side-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.tes-lbd-profile-actions .tes-lbd-btn,.tes-lbd-side-actions .tes-lbd-btn{width:100%;min-height:54px;}
.tes-lbd-claim-badge.claimed{background:#dcfce7;color:#052e16;box-shadow:0 8px 20px rgba(34,197,94,.18);}
.tes-lbd-profile-layout{grid-template-columns:minmax(0,1fr) 360px;gap:20px;}
.tes-lbd-panel{border-radius:24px;border:1px solid rgba(20,33,61,.08);box-shadow:0 12px 30px rgba(20,33,61,.07);}
.tes-lbd-panel h2{font-size:clamp(24px,5vw,34px);}
.tes-lbd-glance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.tes-lbd-glance-grid>div{background:#f8fafc;border:1px solid rgba(20,33,61,.08);border-radius:16px;padding:12px;}
.tes-lbd-glance-grid strong{display:block;font-size:12px;text-transform:uppercase;color:#667085;letter-spacing:.04em;margin-bottom:4px;}
.tes-lbd-glance-grid span{font-weight:900;color:#14213d;}
.tes-lbd-profile-gallery{grid-template-columns:repeat(3,minmax(0,1fr));}
.tes-lbd-profile-gallery a{box-shadow:0 8px 22px rgba(20,33,61,.08);}
.tes-lbd-profile-back{margin:8px 0 28px;}

@media(max-width:760px){
  .tes-lbd-discovery-filter{padding:16px;border-radius:24px;}
  .tes-lbd-business-card-v2{grid-template-columns:1fr;padding:12px;border-radius:24px;}
  .tes-lbd-card-media{min-height:210px;}
  .tes-lbd-card-img,.tes-lbd-card-placeholder{min-height:210px;}
  .tes-lbd-card-body{padding:4px 4px 2px;}
  .tes-lbd-card-actions-v2{grid-template-columns:1fr 1fr;}
  .tes-lbd-profile{padding:8px;}
  .tes-lbd-profile-hero{border-radius:26px;padding:14px;}
  .tes-lbd-profile-hero .tes-lbd-cover{height:190px;border-radius:20px;}
  .tes-lbd-profile-head{display:flex;flex-direction:column;gap:10px;text-align:center;}
  .tes-lbd-profile-logo{width:86px;height:86px;margin:-4px auto 0;}
  .tes-lbd-profile-actions,.tes-lbd-side-actions{grid-template-columns:1fr;}
  .tes-lbd-profile-layout{grid-template-columns:1fr;gap:14px;}
  .tes-lbd-glance-grid{grid-template-columns:1fr;}
  .tes-lbd-profile-gallery{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:390px){
  .tes-lbd-card-actions-v2{grid-template-columns:1fr;}
  .tes-lbd-card-media{min-height:180px;}
  .tes-lbd-card-img,.tes-lbd-card-placeholder{min-height:180px;}
}

/* v0.3.8 - Premium directory landing and venue-style business profiles */
.tes-lbd-home .tes-lbd-hero{margin-bottom:14px;}
.tes-lbd-home-quick-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 16px;}
.tes-lbd-home-quick-nav .tes-lbd-btn{min-height:54px;font-size:18px;}
.tes-lbd-new-feature-notice{background:#fff9e6;border:2px solid #f0d37a;border-radius:22px;padding:22px;margin:16px 0 22px;text-align:center;color:#14213d;box-shadow:0 8px 22px rgba(0,0,0,.04);}
.tes-lbd-new-feature-notice h2{font-size:clamp(28px,7vw,44px);line-height:1.08;margin:0 0 12px;}
.tes-lbd-new-feature-notice p{font-size:clamp(17px,4vw,21px);line-height:1.42;margin:0 auto 10px;max-width:820px;}
.tes-lbd-new-feature-notice .tes-lbd-new-feature-small{font-weight:900;margin-bottom:0;}
.tes-lbd-register-cta{margin-top:18px;}

.tes-lbd-profile--venue-style{max-width:1180px;padding:10px;color:#14213d;}
.tes-lbd-theme-profile-shell{padding:0;margin:0;background:transparent;}
.tes-lbd-theme-profile-container{width:100%;max-width:100%;padding:0;margin:0 auto;}
.tes-lbd-theme-profile-card{background:linear-gradient(135deg,#121826,#24304a)!important;color:#fff;border-radius:28px!important;padding:18px!important;box-shadow:0 16px 38px rgba(0,0,0,.18)!important;overflow:hidden;border:0!important;}
.tes-lbd-theme-cover{position:relative;min-height:190px;border-radius:22px;overflow:hidden;background:linear-gradient(135deg,#5b4dff,#f347a3);margin-bottom:0;}
.tes-lbd-theme-cover img{display:block;width:100%;height:260px;object-fit:cover;border-radius:22px;}
.tes-lbd-cover-placeholder{display:flex;align-items:center;justify-content:center;height:240px;font-weight:900;font-size:clamp(28px,7vw,52px);letter-spacing:.02em;color:#fff;text-align:center;padding:22px;}
.tes-lbd-theme-profile-main{position:relative;text-align:center;padding:0 10px 12px;}
.tes-lbd-theme-avatar-wrap{width:132px;height:132px;margin:-54px auto 12px;position:relative;z-index:3;border-radius:30px;background:#fff;padding:8px;box-shadow:0 10px 28px rgba(0,0,0,.28);}
.tes-lbd-theme-avatar{width:100%!important;height:100%!important;object-fit:cover;border-radius:24px!important;display:block;}
.tes-lbd-theme-title{font-size:clamp(34px,8vw,62px)!important;line-height:1.03!important;margin:6px auto 8px!important;color:#fff!important;text-align:center;max-width:900px;}
.tes-lbd-theme-subline{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;color:#fff;font-size:20px;font-weight:800;margin:8px 0 12px;}
.tes-lbd-theme-chip-row{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:12px 0 10px;}
.tes-lbd-theme-chip{background:rgba(255,255,255,.16)!important;color:#fff!important;border:1px solid rgba(255,255,255,.13);border-radius:999px;padding:8px 13px;font-weight:900;}
.tes-lbd-theme-chip--verified{background:#dfffe9!important;color:#111827!important;border:0;}
.tes-lbd-theme-bio{max-width:860px;margin:16px auto 8px!important;color:#fff;font-size:18px;line-height:1.5;text-align:center;background:transparent!important;border:0!important;padding:0!important;}
.tes-lbd-theme-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px auto 0!important;max-width:820px;}
.tes-lbd-theme-actions .tes-fb-btn,.tes-lbd-theme-actions .tes-lbd-theme-btn{display:flex!important;align-items:center;justify-content:center;min-height:58px;border-radius:999px!important;text-decoration:none!important;font-weight:900!important;background:#fff!important;color:#111!important;border:0!important;padding:14px 18px!important;}
.tes-lbd-theme-actions .tes-fb-btn--primary{background:#f8c84e!important;color:#111!important;}
.tes-lbd-theme-profile-details{margin-top:18px;}
.tes-lbd-profile-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:10px;}
.tes-lbd-profile-gallery img{width:100%;height:140px;object-fit:cover;border-radius:14px;display:block;}
.tes-lbd-glance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:10px;}
.tes-lbd-glance-grid>div{background:#f7f8fb;border-radius:14px;padding:12px;}
.tes-lbd-glance-grid strong{display:block;color:#667085;font-size:13px;text-transform:uppercase;letter-spacing:.04em;}
.tes-lbd-glance-grid span{display:block;font-weight:900;font-size:17px;margin-top:4px;}
.tes-lbd-subterm-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;}
.tes-lbd-subterm-pills span{background:#fff4cf;border-radius:999px;padding:8px 12px;font-weight:900;}
.tes-lbd-side-actions{display:grid;gap:10px;}
.tes-lbd-locale-display-list{display:grid;gap:12px;}
.tes-lbd-locale-display-card{border:1px solid #ececec;background:#fbfbfb;border-radius:16px;padding:14px;}
.tes-lbd-locale-display-card h3{margin-top:0;}

@media(max-width:760px){
  .tes-lbd-home-quick-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .tes-lbd-home-quick-nav .tes-lbd-btn{font-size:16px;min-height:52px;padding:12px 10px;}
  .tes-lbd-profile--venue-style{padding:8px;}
  .tes-lbd-theme-profile-card{border-radius:22px!important;padding:14px!important;}
  .tes-lbd-theme-cover img,.tes-lbd-cover-placeholder{height:190px;}
  .tes-lbd-theme-avatar-wrap{width:112px;height:112px;margin-top:-44px;border-radius:26px;}
  .tes-lbd-theme-avatar{border-radius:20px!important;}
  .tes-lbd-theme-subline{font-size:17px;}
  .tes-lbd-theme-actions{grid-template-columns:1fr;gap:10px;}
  .tes-lbd-theme-actions .tes-fb-btn{min-height:56px;}
  .tes-lbd-new-feature-notice{padding:18px;border-radius:18px;}
}


/* v0.3.9 top directory action polish */
.tes-lbd-home .tes-lbd-hero{display:none!important;}
.tes-lbd-top-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin:8px 0 12px!important;width:100%!important;}
.tes-lbd-top-actions .tes-lbd-top-action{min-height:48px!important;padding:10px 6px!important;border:2px solid #111!important;border-radius:999px!important;background:linear-gradient(180deg,#ffd86a,#f8c84e)!important;color:#111!important;font-size:clamp(13px,3.7vw,17px)!important;font-weight:900!important;line-height:1!important;box-shadow:0 6px 14px rgba(0,0,0,.10)!important;white-space:nowrap!important;text-decoration:none!important;}
.tes-lbd-top-actions .tes-lbd-top-action:nth-child(even){background:#fff!important;}
.tes-lbd-top-actions .tes-lbd-top-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(0,0,0,.12)!important;}
.tes-lbd-new-feature-notice{margin-top:10px!important;}
.tes-lbd-new-feature-notice .tes-lbd-new-feature-small a{color:#14213d!important;text-decoration:underline!important;text-underline-offset:3px;font-weight:1000;}
@media(max-width:760px){
  .tes-lbd-home-quick-nav.tes-lbd-top-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;}
  .tes-lbd-home-quick-nav.tes-lbd-top-actions .tes-lbd-btn{font-size:13px!important;min-height:44px!important;padding:9px 4px!important;}
  .tes-lbd-new-feature-notice{padding:18px 14px!important;}
  .tes-lbd-new-feature-notice h2{font-size:clamp(27px,7.4vw,34px)!important;}
}
@media(max-width:360px){
  .tes-lbd-home-quick-nav.tes-lbd-top-actions .tes-lbd-btn{font-size:12px!important;padding-left:2px!important;padding-right:2px!important;}
}

/* v0.4.0 - Business profiles match TES venue full-width layout */
body.single-tes_business .entry-title,
body.single-tes_business .page-title,
body.single-tes_business .entry-header,
body.single-tes_business header.entry-header,
body.single-tes_business .post-header,
body.single-tes_business .page-header{display:none!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;}
body.single-tes_business .entry-content,
body.single-tes_business .site-content,
body.single-tes_business #content,
body.single-tes_business #primary,
body.single-tes_business main,
body.single-tes_business article{max-width:100%!important;width:100%!important;padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important;overflow-x:hidden!important;box-sizing:border-box!important;}
body.single-tes_business .tes-lbd-profile--venue-match{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important;color:#14213d;box-sizing:border-box;}
.tes-lbd-profile--venue-match *{box-sizing:border-box;}
.tes-lbd-venue-match-card{width:100%;max-width:100%;margin:0 auto 22px;background:#fff;border-radius:0 0 30px 30px;box-shadow:0 14px 32px rgba(20,33,61,.10);overflow:hidden;position:relative;}
.tes-lbd-venue-cover{width:100%;height:220px;background:linear-gradient(135deg,#5b4dff,#f347a3);overflow:hidden;}
.tes-lbd-venue-cover img{width:100%;height:100%;object-fit:cover;display:block;}
.tes-lbd-venue-cover-fallback{height:100%;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;font-size:clamp(30px,8vw,58px);font-weight:1000;letter-spacing:.01em;padding:20px;}
.tes-lbd-venue-profile-top{position:relative;text-align:center;padding:0 18px 28px;background:#fff;}
.tes-lbd-venue-logo-wrap{width:132px;height:132px;margin:-66px auto 12px;border-radius:28px;background:#fff;padding:7px;box-shadow:0 14px 35px rgba(20,33,61,.24);position:relative;z-index:3;}
.tes-lbd-venue-logo{width:100%;height:100%;object-fit:cover;border-radius:22px;display:block;}
.tes-lbd-venue-heart{position:absolute;right:28px;top:155px;width:66px;height:66px;border-radius:999px;border:5px solid #111;background:#fff;color:#111;font-size:34px;line-height:1;font-weight:900;box-shadow:0 12px 24px rgba(0,0,0,.18);display:flex;align-items:center;justify-content:center;}
.tes-lbd-venue-profile-top h1{font-size:clamp(42px,9vw,68px)!important;line-height:1.02!important;margin:10px auto 18px!important;color:#14213d!important;max-width:920px;font-weight:1000!important;text-align:center!important;}
.tes-lbd-venue-rating{display:flex;align-items:center;justify-content:center;gap:18px;max-width:720px;margin:0 auto 14px;padding:14px 18px;border-radius:999px;background:linear-gradient(90deg,#fffdf4,#fff2fb);border:1px solid rgba(240,211,122,.45);box-shadow:0 10px 24px rgba(20,33,61,.08);font-size:19px;}
.tes-lbd-stars{color:#f4b000;letter-spacing:1px;font-size:25px;line-height:1;}
.tes-lbd-venue-area{display:inline-flex;align-items:center;justify-content:center;margin:0 auto 18px;padding:10px 20px;border-radius:999px;background:#f3f0ff;border:1px solid #e3ddff;color:#293052;font-weight:900;font-size:18px;}
.tes-lbd-venue-summary{max-width:760px;margin:12px auto 24px!important;color:#667085;font-size:clamp(19px,4vw,24px);font-weight:900;line-height:1.35;text-align:center;}
.tes-lbd-venue-action-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:760px;margin:0 auto;}
.tes-lbd-venue-action-row a{min-height:66px;border-radius:24px;border:4px solid #111;background:#fff;color:#111!important;text-decoration:none!important;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:1000;box-shadow:0 10px 22px rgba(20,33,61,.08);}
.tes-lbd-venue-action-row a:nth-child(1),.tes-lbd-venue-action-row a:nth-child(2){background:#f8c84e;}
.tes-lbd-venue-section{width:calc(100% - 24px);max-width:1100px;margin:22px auto;background:#fff;border-radius:28px;border:1px solid rgba(20,33,61,.08);box-shadow:0 12px 30px rgba(20,33,61,.07);padding:22px;color:#14213d;}
.tes-lbd-venue-section h2{text-align:center;font-size:clamp(28px,6vw,44px);margin:0 0 18px;font-weight:1000;color:#14213d;}
.tes-lbd-venue-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px;margin-bottom:14px;}
.tes-lbd-venue-detail-grid>div{background:#f8fafc;border:1px solid rgba(20,33,61,.08);border-radius:16px;padding:14px;text-align:center;}
.tes-lbd-venue-detail-grid strong{display:block;font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:#667085;margin-bottom:5px;}
.tes-lbd-venue-detail-grid span{font-size:18px;font-weight:1000;color:#14213d;}
.tes-lbd-venue-about{font-size:20px;line-height:1.55;text-align:center;color:#344054;max-width:880px;margin:16px auto 0;}
.tes-lbd-profile--venue-match .tes-lbd-profile-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));gap:10px;}
.tes-lbd-profile--venue-match .tes-lbd-profile-gallery img{width:100%;height:150px;object-fit:cover;border-radius:16px;display:block;}
.tes-lbd-profile--venue-match .tes-lbd-subterm-pills{justify-content:center;}
.tes-lbd-profile--venue-match .tes-lbd-subterm-pills span{background:#fff4cf;border-radius:999px;padding:9px 14px;font-weight:900;}
.tes-lbd-profile--venue-match .tes-lbd-socials{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:12px;}
.tes-lbd-profile--venue-match .tes-lbd-socials a{background:#14213d;color:#fff!important;text-decoration:none!important;border-radius:999px;padding:12px 18px;font-weight:900;}
.tes-lbd-profile--venue-match .tes-lbd-profile-back{width:calc(100% - 24px);max-width:760px;margin:22px auto 34px;text-align:center;}
@media(max-width:760px){
 body.single-tes_business .tes-lbd-wrap, body.single-tes_business .container{padding-left:0!important;padding-right:0!important;max-width:100%!important;width:100%!important;}
 .tes-lbd-venue-cover{height:190px;}
 .tes-lbd-venue-profile-top{padding-left:14px;padding-right:14px;}
 .tes-lbd-venue-logo-wrap{width:118px;height:118px;margin-top:-59px;border-radius:26px;}
 .tes-lbd-venue-logo{border-radius:20px;}
 .tes-lbd-venue-heart{right:20px;top:142px;width:58px;height:58px;border-width:4px;font-size:30px;}
 .tes-lbd-venue-profile-top h1{font-size:clamp(39px,11vw,55px)!important;}
 .tes-lbd-venue-rating{gap:10px;font-size:17px;padding:12px 14px;}
 .tes-lbd-stars{font-size:22px;}
 .tes-lbd-venue-action-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
 .tes-lbd-venue-action-row a{min-height:62px;font-size:21px;border-radius:22px;}
 .tes-lbd-venue-section{width:calc(100% - 16px);border-radius:24px;padding:18px 14px;margin:16px auto;}
}

/* v0.4.1 - closer venue-profile match for business pages */
body.single-tes_business .kicker,
body.single-tes_business .panel > .kicker,
body.single-tes_business .tes-lbd-venue-heart{
  display:none!important;
}
body.single-tes_business .tes-lbd-single-main,
body.single-tes_business .tes-lbd-profile--venue-match{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
}
body.single-tes_business .tes-lbd-venue-match-card{
  border-radius:0 0 28px 28px!important;
  margin-top:0!important;
}
body.single-tes_business .tes-lbd-venue-cover{
  height:235px!important;
}
body.single-tes_business .tes-lbd-venue-logo-wrap{
  margin:-66px 0 12px 34px!important;
}
body.single-tes_business .tes-lbd-venue-profile-top{
  text-align:center!important;
  padding-top:0!important;
}
body.single-tes_business .tes-lbd-venue-profile-top h1{
  max-width:900px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:18px!important;
  padding-right:18px!important;
}
body.single-tes_business .tes-lbd-venue-summary{
  margin-top:8px!important;
}
@media(max-width:760px){
  body.single-tes_business .tes-lbd-venue-cover{height:205px!important;}
  body.single-tes_business .tes-lbd-venue-logo-wrap{
    width:118px!important;
    height:118px!important;
    margin:-59px 0 10px 24px!important;
  }
  body.single-tes_business .tes-lbd-venue-profile-top h1{
    font-size:clamp(38px,10.5vw,54px)!important;
  }
}


/* v0.4.2 - business profiles must follow TES venue profile layout closely */
body.single-tes_business .entry-title,
body.single-tes_business .page-title,
body.single-tes_business .kicker,
body.single-tes_business .panel > .kicker,
body.single-tes_business .tes-lbd-venue-heart{
  display:none!important;
}
body.single-tes_business,
body.single-tes_business .site,
body.single-tes_business .site-content,
body.single-tes_business .content-area,
body.single-tes_business main,
body.single-tes_business article,
body.single-tes_business .entry-content{
  overflow-x:hidden!important;
}
body.single-tes_business .tes-lbd-single-main,
body.single-tes_business .tes-lbd-profile--venue-match{
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding:0!important;
  background:#f7f7ff!important;
}
body.single-tes_business .tes-lbd-venue-match-card{
  width:100%!important;
  max-width:100%!important;
  margin:0 0 28px!important;
  border-radius:0 0 30px 30px!important;
  background:#fff!important;
  box-shadow:0 16px 36px rgba(20,33,61,.12)!important;
  overflow:hidden!important;
}
body.single-tes_business .tes-lbd-venue-cover{
  height:235px!important;
  border-radius:0!important;
}
body.single-tes_business .tes-lbd-venue-cover img{
  object-fit:cover!important;
}
body.single-tes_business .tes-lbd-venue-profile-top{
  position:relative!important;
  text-align:center!important;
  background:#fff!important;
  padding:0 28px 30px!important;
}
body.single-tes_business .tes-lbd-venue-logo-wrap{
  width:132px!important;
  height:132px!important;
  margin:-66px 0 12px 34px!important;
  border-radius:28px!important;
  background:#fff!important;
  padding:7px!important;
  box-shadow:0 14px 35px rgba(20,33,61,.22)!important;
}
body.single-tes_business .tes-lbd-venue-logo{
  border-radius:22px!important;
}
body.single-tes_business .tes-lbd-venue-profile-top h1{
  display:block!important;
  max-width:860px!important;
  margin:-8px auto 18px!important;
  padding:0 10px!important;
  color:#14213d!important;
  font-size:clamp(44px,8.4vw,68px)!important;
  line-height:1.02!important;
  font-weight:1000!important;
  text-align:center!important;
}
body.single-tes_business .tes-lbd-venue-rating{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:18px!important;
  max-width:760px!important;
  margin:0 auto 16px!important;
  padding:16px 20px!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,#fffdf3,#fff3fb)!important;
  border:1px solid rgba(240,211,122,.65)!important;
  box-shadow:0 10px 24px rgba(20,33,61,.08)!important;
}
body.single-tes_business .tes-lbd-stars{
  color:#f4b000!important;
  font-size:28px!important;
  letter-spacing:2px!important;
  line-height:1!important;
}
body.single-tes_business .tes-lbd-venue-rating strong{
  color:#14213d!important;
  font-size:22px!important;
  font-weight:1000!important;
}
body.single-tes_business .tes-lbd-venue-area{
  display:inline-flex!important;
  margin:0 auto 18px!important;
  padding:12px 24px!important;
  border-radius:999px!important;
  background:#f2efff!important;
  border:1px solid #e2dcff!important;
  color:#293052!important;
  font-size:20px!important;
  font-weight:1000!important;
}
body.single-tes_business .tes-lbd-venue-summary{
  max-width:780px!important;
  margin:14px auto 24px!important;
  color:#667085!important;
  font-size:clamp(20px,4vw,26px)!important;
  font-weight:1000!important;
  line-height:1.35!important;
  text-align:center!important;
}
body.single-tes_business .tes-lbd-venue-action-row{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
  max-width:760px!important;
  margin:0 auto!important;
}
body.single-tes_business .tes-lbd-venue-action-row a{
  min-height:70px!important;
  border-radius:26px!important;
  border:4px solid #111!important;
  box-shadow:0 8px 16px rgba(20,33,61,.08)!important;
  font-size:24px!important;
  font-weight:1000!important;
}
body.single-tes_business .tes-lbd-venue-action-row a:nth-child(1),
body.single-tes_business .tes-lbd-venue-action-row a:nth-child(2){
  background:#f8c84e!important;
  color:#111!important;
}
body.single-tes_business .tes-lbd-venue-section{
  width:calc(100vw - 28px)!important;
  max-width:860px!important;
  margin:22px auto!important;
  border-radius:26px!important;
  background:#fff!important;
  border:1px solid rgba(20,33,61,.08)!important;
  box-shadow:0 14px 30px rgba(20,33,61,.08)!important;
}
@media(max-width:760px){
  body.single-tes_business .tes-lbd-venue-cover{height:205px!important;}
  body.single-tes_business .tes-lbd-venue-profile-top{padding:0 26px 28px!important;}
  body.single-tes_business .tes-lbd-venue-logo-wrap{
    width:118px!important;
    height:118px!important;
    margin:-59px 0 10px 32px!important;
    border-radius:26px!important;
  }
  body.single-tes_business .tes-lbd-venue-logo{border-radius:20px!important;}
  body.single-tes_business .tes-lbd-venue-profile-top h1{
    font-size:clamp(42px,10.5vw,58px)!important;
    margin-top:-4px!important;
  }
  body.single-tes_business .tes-lbd-venue-rating{
    gap:12px!important;
    padding:13px 14px!important;
  }
  body.single-tes_business .tes-lbd-stars{font-size:25px!important;letter-spacing:1px!important;}
  body.single-tes_business .tes-lbd-venue-rating strong{font-size:20px!important;}
  body.single-tes_business .tes-lbd-venue-action-row{gap:13px!important;}
  body.single-tes_business .tes-lbd-venue-action-row a{
    min-height:66px!important;
    border-radius:24px!important;
    font-size:22px!important;
  }
}

/* v0.4.2 - make homepage split CTA render as soon as possible and look native */
.tes-lbd-home-dual-cta{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  align-items:stretch!important;
}
.tes-lbd-home-dual-cta a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:58px!important;
  padding:12px 14px!important;
  border-radius:999px!important;
  border:4px solid #111!important;
  background:#fff!important;
  color:#111!important;
  font-weight:1000!important;
  text-align:center!important;
  text-decoration:none!important;
  line-height:1.1!important;
  box-sizing:border-box!important;
}
.tes-lbd-home-dual-cta a.tes-lbd-home-business-btn{
  background:#f8c84e!important;
}


/* v0.4.3 - final venue-style profile image placement and bio position */
body.single-tes_business .tes-lbd-venue-profile-top{
  display:block!important;
  position:relative!important;
  padding-top:0!important;
}

body.single-tes_business .tes-lbd-venue-cover{
  margin-bottom:0!important;
}

body.single-tes_business .tes-lbd-venue-logo-wrap{
  position:relative!important;
  z-index:5!important;
  width:132px!important;
  height:132px!important;
  margin:-66px 0 12px 42px!important;
  border-radius:30px!important;
  background:#fff!important;
  padding:7px!important;
  box-shadow:0 16px 34px rgba(20,33,61,.24)!important;
}

body.single-tes_business .tes-lbd-venue-logo{
  border-radius:24px!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}

body.single-tes_business .tes-lbd-venue-profile-top h1{
  margin-top:-8px!important;
}

body.single-tes_business .tes-lbd-venue-bio{
  max-width:760px!important;
  margin:14px auto 18px!important;
  padding:0 18px!important;
  color:#5d6678!important;
  font-size:clamp(20px,4vw,26px)!important;
  line-height:1.45!important;
  font-weight:800!important;
  text-align:center!important;
}

body.single-tes_business .tes-lbd-venue-bio p{
  margin:0!important;
}

body.single-tes_business .tes-lbd-venue-about{
  display:none!important;
}

@media(max-width:760px){
  body.single-tes_business .tes-lbd-venue-logo-wrap{
    width:124px!important;
    height:124px!important;
    margin:-62px 0 10px 32px!important;
    border-radius:28px!important;
  }

  body.single-tes_business .tes-lbd-venue-logo{
    border-radius:22px!important;
  }

  body.single-tes_business .tes-lbd-venue-profile-top h1{
    margin-top:-6px!important;
  }

  body.single-tes_business .tes-lbd-venue-bio{
    font-size:22px!important;
    padding:0 16px!important;
    margin:12px auto 18px!important;
  }
}

.tes-lbd-help{
  margin:8px 0 0!important;
  color:#667085!important;
  font-weight:800!important;
  font-size:14px!important;
  line-height:1.35!important;
}


/* v0.4.4 - exact venue-style avatar overlap for business profiles */
body.single-tes_business .tes-lbd-venue-cover{
  position:relative!important;
  z-index:1!important;
  margin-bottom:0!important;
}

body.single-tes_business .tes-lbd-venue-profile-top{
  position:relative!important;
  z-index:2!important;
  padding-top:0!important;
}

body.single-tes_business .tes-lbd-venue-logo-wrap{
  position:relative!important;
  z-index:10!important;
  width:136px!important;
  height:136px!important;
  margin:-88px 0 18px 58px!important;
  border-radius:30px!important;
  background:#fff!important;
  padding:7px!important;
  box-shadow:0 18px 34px rgba(20,33,61,.26)!important;
}

body.single-tes_business .tes-lbd-venue-logo{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border-radius:24px!important;
  display:block!important;
}

body.single-tes_business .tes-lbd-venue-profile-top h1{
  margin-top:-4px!important;
}

@media(max-width:760px){
  body.single-tes_business .tes-lbd-venue-logo-wrap{
    width:128px!important;
    height:128px!important;
    margin:-84px 0 16px 54px!important;
    border-radius:28px!important;
  }

  body.single-tes_business .tes-lbd-venue-logo{
    border-radius:22px!important;
  }
}

.tes-lbd-account-section{
  border-color:rgba(248,200,78,.55)!important;
  background:linear-gradient(180deg,#fffdf3,#fff)!important;
}

/* v0.5.2 account choice for existing acts/venues */
.tes-lbd-alt-account-fields{margin-top:14px!important;padding:14px!important;border-radius:18px!important;background:#fff!important;border:1px solid rgba(20,33,61,.10)!important;}
.tes-lbd-account-section .tes-lbd-check{margin-top:10px!important;}


/* v0.5.3 - TES colour polish, remove extra CTA links/buttons */
.tes-lbd-new-feature-small,
.tes-lbd-register-cta .tes-lbd-btn.secondary{
  display:none!important;
}

.tes-lbd-wrap{
  --tes-purple:#6548ff;
  --tes-pink:#ef3fa5;
  --tes-cyan:#15b9e8;
  --tes-teal:#12c9b7;
  --tes-navy:#14213d;
}

.tes-lbd-new-feature-notice,
.tes-lbd-register-cta,
.tes-lbd-cta{
  background:#fff!important;
  border:1px solid rgba(101,72,255,.16)!important;
  box-shadow:0 14px 30px rgba(20,33,61,.08)!important;
}

.tes-lbd-new-feature-notice{
  border-top:6px solid transparent!important;
  border-image:linear-gradient(90deg,#6548ff,#ef3fa5,#12c9b7) 1!important;
}

.tes-lbd-new-feature-notice h2,
.tes-lbd-register-cta h2,
.tes-lbd-section-head h2,
.tes-lbd-new-feature-notice p,
.tes-lbd-register-cta p,
.tes-lbd-section-head p{
  color:#14213d!important;
}

.tes-lbd-btn,
.tes-lbd-top-action,
.tes-lbd-home .tes-lbd-home-quick-nav a,
.tes-lbd-home .tes-lbd-top-actions a{
  background:linear-gradient(135deg,#6548ff 0%,#ef3fa5 100%)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 10px 24px rgba(101,72,255,.22)!important;
}

.tes-lbd-btn.secondary{
  background:#fff!important;
  color:#14213d!important;
  border:2px solid rgba(101,72,255,.18)!important;
  box-shadow:0 8px 18px rgba(20,33,61,.07)!important;
}

.tes-lbd-az-letters a.active,
.tes-lbd-az-letters a:hover{
  background:linear-gradient(135deg,#6548ff 0%,#ef3fa5 100%)!important;
  border-color:transparent!important;
  color:#fff!important;
}

.tes-lbd-card-cat,
.tes-lbd-verified-chip,
.tes-lbd-venue-area{
  background:linear-gradient(135deg,rgba(101,72,255,.12),rgba(239,63,165,.12))!important;
  color:#14213d!important;
  border:1px solid rgba(101,72,255,.16)!important;
}

body.single-tes_business .tes-lbd-venue-action-row a{
  border:0!important;
  background:linear-gradient(135deg,#6548ff 0%,#ef3fa5 100%)!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(101,72,255,.20)!important;
}

body.single-tes_business .tes-lbd-venue-action-row a:nth-child(3),
body.single-tes_business .tes-lbd-venue-action-row a:nth-child(4){
  background:#fff!important;
  color:#14213d!important;
  border:2px solid rgba(101,72,255,.20)!important;
}

body.single-tes_business .tes-lbd-venue-rating{
  background:linear-gradient(90deg,rgba(101,72,255,.08),rgba(239,63,165,.08))!important;
  border:1px solid rgba(101,72,255,.16)!important;
}

body.single-tes_business .tes-lbd-stars{
  color:#f7b500!important;
}


/* v0.5.4 - clean category accordion and TES button readability */
.tes-lbd-home .tes-lbd-home-quick-nav,
.tes-lbd-home .tes-lbd-top-actions{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%!important;
  margin:0 0 16px!important;
}

.tes-lbd-home .tes-lbd-home-quick-nav a,
.tes-lbd-home .tes-lbd-top-actions a,
.tes-lbd-home .tes-lbd-top-action{
  min-height:54px!important;
  padding:10px 4px!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#6548ff 0%,#ef3fa5 100%)!important;
  color:#fff!important;
  font-weight:1000!important;
  font-size:clamp(12px,3.25vw,17px)!important;
  line-height:1.05!important;
  text-align:center!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  overflow:visible!important;
  opacity:1!important;
  border:0!important;
  box-shadow:0 10px 22px rgba(101,72,255,.20)!important;
}

.tes-lbd-category-accordion{
  display:grid!important;
  gap:12px!important;
  margin-top:16px!important;
}

.tes-lbd-cat-accordion-card{
  background:#fff!important;
  border:1px solid rgba(101,72,255,.14)!important;
  border-radius:22px!important;
  box-shadow:0 10px 24px rgba(20,33,61,.07)!important;
  overflow:hidden!important;
}

.tes-lbd-cat-accordion-card summary{
  list-style:none!important;
  cursor:pointer!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:20px 22px!important;
  color:#14213d!important;
}

.tes-lbd-cat-accordion-card summary::-webkit-details-marker{
  display:none!important;
}

.tes-lbd-cat-accordion-card summary span{
  font-size:clamp(24px,5.6vw,34px)!important;
  line-height:1.1!important;
  font-weight:1000!important;
}

.tes-lbd-cat-accordion-card summary small{
  flex:0 0 auto!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,rgba(101,72,255,.12),rgba(239,63,165,.12))!important;
  color:#14213d!important;
  font-weight:900!important;
  font-size:13px!important;
}

.tes-lbd-cat-accordion-card[open] summary{
  border-bottom:1px solid rgba(101,72,255,.10)!important;
}

.tes-lbd-cat-accordion-card[open] summary small{
  font-size:0!important;
}

.tes-lbd-cat-accordion-card[open] summary small:after{
  content:"Open"!important;
  font-size:13px!important;
}

.tes-lbd-cat-accordion-body{
  padding:18px 22px 22px!important;
}

.tes-lbd-view-all{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
  min-height:46px!important;
  margin-bottom:14px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#6548ff 0%,#ef3fa5 100%)!important;
  color:#fff!important;
  text-decoration:none!important;
  font-weight:1000!important;
  box-shadow:0 8px 18px rgba(101,72,255,.18)!important;
}

.tes-lbd-cat-accordion-body .tes-lbd-subcats{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}

.tes-lbd-cat-accordion-body .tes-lbd-subcats a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:10px 14px!important;
  border-radius:999px!important;
  background:#f4f4fb!important;
  color:#14213d!important;
  text-decoration:none!important;
  font-weight:900!important;
  font-size:16px!important;
}

.tes-lbd-muted{
  color:#667085!important;
  font-weight:800!important;
}

@media(max-width:420px){
  .tes-lbd-home .tes-lbd-home-quick-nav,
  .tes-lbd-home .tes-lbd-top-actions{
    gap:6px!important;
  }
  .tes-lbd-home .tes-lbd-home-quick-nav a,
  .tes-lbd-home .tes-lbd-top-actions a,
  .tes-lbd-home .tes-lbd-top-action{
    min-height:48px!important;
    border-radius:15px!important;
    font-size:11.5px!important;
    padding:8px 2px!important;
  }
  .tes-lbd-cat-accordion-card summary{
    padding:18px 16px!important;
  }
  .tes-lbd-cat-accordion-card summary small{
    display:none!important;
  }
}


/* v0.5.5 - category search, alphabetical accordion, readable TES buttons */
.tes-lbd-category-search-wrap{
  margin:0 0 18px!important;
}

.tes-lbd-category-search{
  background:#fff!important;
  border:1px solid rgba(101,72,255,.16)!important;
  border-radius:24px!important;
  padding:18px!important;
  box-shadow:0 12px 28px rgba(20,33,61,.08)!important;
}

.tes-lbd-category-search label{
  display:block!important;
  margin:0 0 10px!important;
  color:#14213d!important;
  font-size:22px!important;
  font-weight:1000!important;
}

.tes-lbd-category-search-row{
  display:grid!important;
  grid-template-columns:1fr auto!important;
  gap:10px!important;
  align-items:stretch!important;
}

.tes-lbd-category-search input{
  width:100%!important;
  min-height:54px!important;
  border-radius:18px!important;
  border:2px solid rgba(101,72,255,.18)!important;
  padding:0 16px!important;
  color:#14213d!important;
  background:#fff!important;
  font-size:17px!important;
  font-weight:800!important;
  box-sizing:border-box!important;
}

.tes-lbd-category-search button{
  min-height:54px!important;
  border-radius:18px!important;
  border:0!important;
  padding:0 18px!important;
  background:linear-gradient(135deg,#6548ff 0%,#ef3fa5 100%)!important;
  color:#fff!important;
  font-size:17px!important;
  font-weight:1000!important;
  box-shadow:0 10px 22px rgba(101,72,255,.20)!important;
}

.tes-lbd-category-search p{
  margin:10px 0 0!important;
  color:#667085!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.35!important;
}

.tes-lbd-no-category-results{
  margin:16px 0!important;
  padding:16px!important;
  border-radius:18px!important;
  background:#fff!important;
  color:#14213d!important;
  font-weight:900!important;
  text-align:center!important;
  border:1px solid rgba(101,72,255,.16)!important;
}

.tes-lbd-home .tes-lbd-home-quick-nav,
.tes-lbd-home .tes-lbd-top-actions{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%!important;
  margin:0 0 16px!important;
}

.tes-lbd-home .tes-lbd-home-quick-nav a,
.tes-lbd-home .tes-lbd-top-actions a,
.tes-lbd-home .tes-lbd-top-action{
  min-height:54px!important;
  padding:10px 4px!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#6548ff 0%,#ef3fa5 100%)!important;
  color:#fff!important;
  font-weight:1000!important;
  font-size:clamp(12px,3.25vw,17px)!important;
  line-height:1.05!important;
  text-align:center!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  overflow:visible!important;
  opacity:1!important;
  border:0!important;
  box-shadow:0 10px 22px rgba(101,72,255,.20)!important;
}

.tes-lbd-cat-accordion-card summary span{
  font-size:clamp(23px,5.4vw,32px)!important;
}

@media(max-width:420px){
  .tes-lbd-category-search-row{
    grid-template-columns:1fr!important;
  }
  .tes-lbd-category-search button{
    width:100%!important;
  }
  .tes-lbd-home .tes-lbd-home-quick-nav,
  .tes-lbd-home .tes-lbd-top-actions{
    gap:6px!important;
  }
  .tes-lbd-home .tes-lbd-home-quick-nav a,
  .tes-lbd-home .tes-lbd-top-actions a,
  .tes-lbd-home .tes-lbd-top-action{
    min-height:48px!important;
    border-radius:15px!important;
    font-size:11.5px!important;
    padding:8px 2px!important;
  }
}


/* v0.5.6 - only main categories show until opened */
.tes-lbd-category-accordion{
  display:grid!important;
  gap:12px!important;
}
.tes-lbd-cat-accordion-card{
  display:block!important;
}
.tes-lbd-cat-accordion-card:not([open]) .tes-lbd-cat-accordion-body{
  display:none!important;
}
.tes-lbd-cat-accordion-card summary span{
  width:100%!important;
}
.tes-lbd-cat-accordion-card summary small{
  white-space:nowrap!important;
}


/* v0.5.7 - Local Charities, multi-category refine, Tenerife council/town areas */
.tes-lbd-multi-filter{
  width:100%!important;
  position:relative!important;
}

.tes-lbd-multi-filter summary{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  min-height:62px!important;
  padding:0 18px!important;
  border-radius:18px!important;
  background:#f5f6fb!important;
  border:2px solid rgba(101,72,255,.16)!important;
  color:#14213d!important;
  font-size:18px!important;
  font-weight:1000!important;
  cursor:pointer!important;
  list-style:none!important;
}

.tes-lbd-multi-filter summary::-webkit-details-marker{display:none!important;}

.tes-lbd-multi-filter summary:after{
  content:"⌄"!important;
  font-size:24px!important;
  font-weight:1000!important;
}

.tes-lbd-multi-filter[open] summary:after{
  content:"⌃"!important;
}

.tes-lbd-multi-filter-panel{
  margin-top:10px!important;
  padding:12px!important;
  border-radius:18px!important;
  background:#fff!important;
  border:1px solid rgba(101,72,255,.16)!important;
  box-shadow:0 14px 30px rgba(20,33,61,.10)!important;
  max-height:420px!important;
  overflow:auto!important;
}

.tes-lbd-clear-filter{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  min-height:42px!important;
  margin:0 0 10px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#6548ff 0%,#ef3fa5 100%)!important;
  color:#fff!important;
  text-decoration:none!important;
  font-weight:1000!important;
}

.tes-lbd-filter-group{
  padding:10px 0!important;
  border-bottom:1px solid rgba(20,33,61,.08)!important;
}

.tes-lbd-filter-group:last-child{
  border-bottom:0!important;
}

.tes-lbd-filter-check{
  display:flex!important;
  gap:10px!important;
  align-items:center!important;
  padding:8px 4px!important;
  color:#14213d!important;
  font-weight:900!important;
  line-height:1.2!important;
}

.tes-lbd-filter-check.main{
  font-weight:1000!important;
  font-size:17px!important;
}

.tes-lbd-filter-check input{
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
}

.tes-lbd-filter-subchecks{
  padding-left:18px!important;
}

.tes-lbd-discovery-filter select optgroup{
  font-weight:1000!important;
  color:#14213d!important;
}

.tes-lbd-discovery-filter select option{
  font-weight:800!important;
}

@media(max-width:480px){
  .tes-lbd-multi-filter-panel{
    max-height:55vh!important;
  }
}


/* v0.5.8 - logged-out local businesses popup gate */
.tes-lbd-login-gate-modal[hidden]{display:none!important;}
.tes-lbd-login-gate-modal{
  position:fixed!important; inset:0!important; z-index:999999!important;
  display:flex!important; align-items:center!important; justify-content:center!important;
  padding:22px!important;
}
.tes-lbd-login-gate-backdrop{
  position:absolute!important; inset:0!important;
  background:rgba(7,12,28,.68)!important; backdrop-filter:blur(4px)!important;
}
.tes-lbd-login-gate-box{
  position:relative!important; z-index:2!important; width:min(560px,100%)!important;
  border-radius:28px!important; background:#fff!important; padding:30px 24px 24px!important;
  box-shadow:0 24px 70px rgba(0,0,0,.35)!important;
  border:1px solid rgba(101,72,255,.18)!important; text-align:center!important;
}
.tes-lbd-login-gate-close{
  position:absolute!important; top:10px!important; right:14px!important;
  width:42px!important; height:42px!important; border:0!important; border-radius:999px!important;
  background:#f4f4fb!important; color:#14213d!important;
  font-size:30px!important; font-weight:900!important; line-height:1!important;
}
.tes-lbd-login-gate-box h2{
  margin:12px 0 10px!important; color:#14213d!important;
  font-size:clamp(30px,7vw,44px)!important; font-weight:1000!important; line-height:1.05!important;
}
.tes-lbd-login-gate-box p{
  margin:0 auto 20px!important; color:#14213d!important;
  font-size:clamp(18px,4vw,23px)!important; font-weight:800!important; line-height:1.35!important;
}
.tes-lbd-login-gate-actions{
  display:grid!important; grid-template-columns:1fr 1fr!important; gap:12px!important;
}
.tes-lbd-gate-open{overflow:hidden!important;}
@media(max-width:430px){.tes-lbd-login-gate-actions{grid-template-columns:1fr!important;}}


/* v0.5.9 - inline registered users only gate like other TES locked sections */
.tes-lbd-inline-gate-card{
  margin:18px auto!important;
  width:min(92vw,720px)!important;
  border-radius:28px!important;
  background:rgba(255,255,255,.92)!important;
  padding:26px 18px!important;
  border:1px solid rgba(101,72,255,.12)!important;
  box-shadow:0 18px 48px rgba(20,33,61,.10)!important;
  text-align:center!important;
}

.tes-lbd-inline-gate-intro{
  margin:0 0 18px!important;
  color:#6b7280!important;
  font-size:clamp(20px,4.8vw,30px)!important;
  line-height:1.2!important;
  font-weight:500!important;
}

.tes-lbd-inline-gate-inner{
  width:min(100%,560px)!important;
  margin:0 auto!important;
  border-radius:28px!important;
  padding:34px 22px 26px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(244,248,255,.95))!important;
  box-shadow:0 20px 55px rgba(20,33,61,.16)!important;
  border:1px solid rgba(101,72,255,.12)!important;
  text-align:center!important;
}

.tes-lbd-inline-gate-icon{
  width:86px!important;
  height:86px!important;
  margin:0 auto 18px!important;
  border-radius:24px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#111!important;
  color:#fff!important;
  font-size:46px!important;
  box-shadow:0 12px 24px rgba(0,0,0,.18)!important;
}

.tes-lbd-inline-gate-inner h2{
  margin:0 0 14px!important;
  color:#14213d!important;
  font-size:clamp(34px,8vw,52px)!important;
  line-height:1.03!important;
  font-weight:1000!important;
}

.tes-lbd-inline-gate-inner p{
  margin:0 auto 26px!important;
  max-width:460px!important;
  color:#5f6678!important;
  font-size:clamp(18px,4.5vw,24px)!important;
  line-height:1.28!important;
  font-weight:900!important;
}

.tes-lbd-inline-gate-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:14px!important;
  align-items:center!important;
}

.tes-lbd-gate-login,
.tes-lbd-gate-register{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:64px!important;
  border-radius:999px!important;
  text-decoration:none!important;
  font-size:clamp(18px,4.5vw,26px)!important;
  font-weight:1000!important;
  line-height:1!important;
}

.tes-lbd-gate-login{
  background:#111!important;
  color:#fff!important;
  box-shadow:0 12px 24px rgba(0,0,0,.14)!important;
}

.tes-lbd-gate-register{
  background:#fff!important;
  color:#111!important;
  border:4px solid #111!important;
}

.tes-lbd-login-gate-box.tes-lbd-inline-gate-inner{
  position:relative!important;
}

@media(max-width:440px){
  .tes-lbd-inline-gate-actions{
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
  }
  .tes-lbd-gate-login,
  .tes-lbd-gate-register{
    min-height:58px!important;
  }
}


/* v0.6.0 - hard logged-out gate support */
.tes-lbd-hard-gate-card{
  margin-top:18px!important;
  margin-bottom:18px!important;
}


/* v0.6.1 - popup-only registered users gate, matching TES locked widgets */
.tes-lbd-inline-gate-card,
.tes-lbd-hard-gate-card,
[data-tes-lbd-inline-gate],
[data-tes-lbd-hard-gate]{
  display:none!important;
}

.tes-lbd-login-gate-modal[hidden]{
  display:none!important;
}

.tes-lbd-login-gate-modal{
  position:fixed!important;
  inset:0!important;
  z-index:2147483647!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:22px!important;
}

.tes-lbd-login-gate-backdrop{
  position:absolute!important;
  inset:0!important;
  background:rgba(6,8,20,.62)!important;
  backdrop-filter:blur(5px)!important;
}

.tes-lbd-login-gate-shell{
  position:relative!important;
  z-index:2!important;
  width:min(590px,92vw)!important;
  border-radius:34px!important;
  padding:28px 20px!important;
  background:rgba(255,255,255,.72)!important;
  border:1px solid rgba(101,72,255,.14)!important;
  box-shadow:0 28px 80px rgba(0,0,0,.34)!important;
  text-align:center!important;
}

.tes-lbd-gate-top-text{
  margin:0 auto 18px!important;
  max-width:500px!important;
  color:#6b7280!important;
  font-size:clamp(19px,4.5vw,28px)!important;
  line-height:1.2!important;
  font-weight:600!important;
}

.tes-lbd-login-gate-box{
  width:100%!important;
  margin:0 auto!important;
  border-radius:30px!important;
  padding:36px 22px 28px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(244,248,255,.98))!important;
  box-shadow:0 20px 55px rgba(20,33,61,.18)!important;
  border:1px solid rgba(101,72,255,.12)!important;
  text-align:center!important;
  box-sizing:border-box!important;
}

.tes-lbd-login-gate-icon{
  width:88px!important;
  height:88px!important;
  margin:0 auto 20px!important;
  border-radius:24px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#111!important;
  color:#fff!important;
  font-size:46px!important;
  box-shadow:0 12px 24px rgba(0,0,0,.20)!important;
}

.tes-lbd-login-gate-box h2{
  margin:0 0 16px!important;
  color:#14213d!important;
  font-size:clamp(34px,8vw,52px)!important;
  line-height:1.02!important;
  font-weight:1000!important;
}

.tes-lbd-login-gate-box p{
  margin:0 auto 26px!important;
  max-width:470px!important;
  color:#5f6678!important;
  font-size:clamp(18px,4.5vw,24px)!important;
  line-height:1.28!important;
  font-weight:900!important;
}

.tes-lbd-login-gate-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:14px!important;
  align-items:center!important;
}

.tes-lbd-gate-login,
.tes-lbd-gate-register{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:64px!important;
  border-radius:999px!important;
  text-decoration:none!important;
  font-size:clamp(18px,4.5vw,26px)!important;
  font-weight:1000!important;
  line-height:1!important;
}

.tes-lbd-gate-login{
  background:#111!important;
  color:#fff!important;
  box-shadow:0 12px 24px rgba(0,0,0,.14)!important;
}

.tes-lbd-gate-register{
  background:#fff!important;
  color:#111!important;
  border:4px solid #111!important;
}

.tes-lbd-login-gate-close{
  position:absolute!important;
  top:10px!important;
  right:12px!important;
  z-index:5!important;
  width:42px!important;
  height:42px!important;
  border:0!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#14213d!important;
  font-size:30px!important;
  font-weight:900!important;
  line-height:1!important;
  box-shadow:0 8px 18px rgba(0,0,0,.18)!important;
}

html.tes-lbd-gate-open,
body.tes-lbd-gate-open{
  overflow:hidden!important;
}

@media(max-width:440px){
  .tes-lbd-login-gate-modal{
    padding:18px!important;
  }
  .tes-lbd-login-gate-shell{
    padding:22px 14px!important;
    border-radius:30px!important;
  }
  .tes-lbd-login-gate-actions{
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
  }
  .tes-lbd-gate-login,
  .tes-lbd-gate-register{
    min-height:58px!important;
  }
}


/* v0.6.2 - server-side logged-out business protection and proper locked popup */
.tes-lbd-inline-gate-card,
.tes-lbd-hard-gate-card,
[data-tes-lbd-inline-gate],
[data-tes-lbd-hard-gate]{display:none!important;}

.tes-lbd-locked-page-wrap{
  max-width:720px!important;
  margin:22px auto!important;
  padding:0 18px!important;
}

.tes-lbd-locked-card{
  width:100%!important;
  box-sizing:border-box!important;
  border-radius:28px!important;
  background:rgba(255,255,255,.82)!important;
  padding:24px 18px!important;
  border:1px solid rgba(101,72,255,.12)!important;
  box-shadow:0 18px 48px rgba(20,33,61,.10)!important;
  text-align:center!important;
}

.tes-lbd-locked-intro{
  margin:0 0 18px!important;
  color:#6b7280!important;
  font-size:clamp(20px,4.7vw,30px)!important;
  line-height:1.2!important;
  font-weight:600!important;
}

.tes-lbd-locked-inner{
  width:min(100%,560px)!important;
  margin:0 auto!important;
  border-radius:28px!important;
  padding:34px 22px 26px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(244,248,255,.98))!important;
  box-shadow:0 20px 55px rgba(20,33,61,.16)!important;
  border:1px solid rgba(101,72,255,.12)!important;
  text-align:center!important;
  box-sizing:border-box!important;
}

.tes-lbd-locked-icon{
  width:86px!important;height:86px!important;margin:0 auto 18px!important;border-radius:24px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:#111!important;color:#fff!important;font-size:46px!important;box-shadow:0 12px 24px rgba(0,0,0,.18)!important;
}

.tes-lbd-locked-inner h2{
  margin:0 0 14px!important;color:#14213d!important;font-size:clamp(34px,8vw,52px)!important;
  line-height:1.03!important;font-weight:1000!important;
}

.tes-lbd-locked-inner p{
  margin:0 auto 26px!important;max-width:460px!important;color:#5f6678!important;
  font-size:clamp(18px,4.5vw,24px)!important;line-height:1.28!important;font-weight:900!important;
}

.tes-lbd-locked-actions{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;align-items:center!important;
}

.tes-lbd-locked-login,.tes-lbd-locked-register{
  display:flex!important;align-items:center!important;justify-content:center!important;min-height:64px!important;
  border-radius:999px!important;text-decoration:none!important;font-size:clamp(18px,4.5vw,26px)!important;
  font-weight:1000!important;line-height:1!important;
}

.tes-lbd-locked-login{background:#111!important;color:#fff!important;box-shadow:0 12px 24px rgba(0,0,0,.14)!important;}
.tes-lbd-locked-register{background:#fff!important;color:#111!important;border:4px solid #111!important;}

.tes-lbd-login-gate-modal[hidden]{display:none!important;}
.tes-lbd-login-gate-modal{
  position:fixed!important;inset:0!important;z-index:2147483647!important;
  display:flex!important;align-items:center!important;justify-content:center!important;padding:18px!important;
}
.tes-lbd-login-gate-backdrop{position:absolute!important;inset:0!important;background:rgba(6,8,20,.66)!important;backdrop-filter:blur(5px)!important;}
.tes-lbd-login-gate-shell{
  position:relative!important;z-index:2!important;width:min(620px,94vw)!important;
}
.tes-lbd-login-gate-shell .tes-lbd-locked-card{box-shadow:0 28px 80px rgba(0,0,0,.34)!important;}
.tes-lbd-login-gate-close{
  position:absolute!important;top:-10px!important;right:-8px!important;z-index:5!important;width:44px!important;height:44px!important;
  border:0!important;border-radius:999px!important;background:#fff!important;color:#14213d!important;font-size:30px!important;
  font-weight:900!important;line-height:1!important;box-shadow:0 8px 18px rgba(0,0,0,.20)!important;
}
html.tes-lbd-gate-open,body.tes-lbd-gate-open{overflow:hidden!important;}

@media(max-width:440px){
  .tes-lbd-locked-actions{grid-template-columns:1fr 1fr!important;gap:10px!important;}
  .tes-lbd-locked-login,.tes-lbd-locked-register{min-height:58px!important;}
}


/* v0.6.3 - match Weather / Football registered users card styling */
.tes-lbd-locked-page-wrap{
  max-width:720px!important;
  margin:34px auto 90px!important;
  padding:0 26px!important;
}

.tes-lbd-locked-card{
  width:100%!important;
  box-sizing:border-box!important;
  border-radius:34px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(245,248,255,.94))!important;
  padding:30px!important;
  border:1px solid rgba(20,33,61,.10)!important;
  box-shadow:0 22px 55px rgba(20,33,61,.10)!important;
  text-align:center!important;
}

.tes-lbd-locked-intro{
  max-width:540px!important;
  margin:0 auto 26px!important;
  color:#6f7482!important;
  font-size:clamp(22px,5vw,32px)!important;
  line-height:1.18!important;
  font-weight:500!important;
  text-align:center!important;
}

.tes-lbd-locked-inner{
  width:min(100%,545px)!important;
  margin:0 auto!important;
  border-radius:34px!important;
  padding:42px 28px 34px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(242,248,255,.96))!important;
  box-shadow:
    0 24px 58px rgba(20,33,61,.18),
    inset 0 0 0 1px rgba(255,255,255,.85)!important;
  border:1px solid rgba(20,33,61,.08)!important;
  text-align:center!important;
  box-sizing:border-box!important;
}

.tes-lbd-locked-icon{
  width:92px!important;
  height:92px!important;
  margin:0 auto 24px!important;
  border-radius:26px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#111!important;
  color:#fff!important;
  font-size:48px!important;
  box-shadow:0 14px 26px rgba(0,0,0,.22)!important;
}

.tes-lbd-locked-inner h2{
  margin:0 0 18px!important;
  color:#14213d!important;
  font-size:clamp(38px,8.6vw,54px)!important;
  line-height:1.02!important;
  font-weight:1000!important;
  letter-spacing:-.03em!important;
  text-align:center!important;
}

.tes-lbd-locked-inner p{
  margin:0 auto 30px!important;
  max-width:470px!important;
  color:#5f6678!important;
  font-size:clamp(19px,4.5vw,24px)!important;
  line-height:1.25!important;
  font-weight:900!important;
  text-align:center!important;
}

.tes-lbd-locked-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:18px!important;
  align-items:center!important;
  max-width:440px!important;
  margin:0 auto!important;
}

.tes-lbd-locked-login,
.tes-lbd-locked-register{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:66px!important;
  border-radius:999px!important;
  text-decoration:none!important;
  font-size:clamp(19px,4.6vw,27px)!important;
  font-weight:1000!important;
  line-height:1!important;
  box-sizing:border-box!important;
}

.tes-lbd-locked-login{
  background:#111!important;
  color:#fff!important;
  border:4px solid #111!important;
  box-shadow:0 12px 24px rgba(0,0,0,.16)!important;
}

.tes-lbd-locked-register{
  background:#fff!important;
  color:#111!important;
  border:4px solid #111!important;
  box-shadow:none!important;
}

/* Popup version uses same card, but floats above the page */
.tes-lbd-login-gate-modal[hidden]{display:none!important;}

.tes-lbd-login-gate-modal{
  position:fixed!important;
  inset:0!important;
  z-index:2147483647!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:20px!important;
}

.tes-lbd-login-gate-backdrop{
  position:absolute!important;
  inset:0!important;
  background:rgba(8,10,24,.58)!important;
  backdrop-filter:blur(5px)!important;
}

.tes-lbd-login-gate-shell{
  position:relative!important;
  z-index:2!important;
  width:min(650px,94vw)!important;
}

.tes-lbd-login-gate-shell .tes-lbd-locked-card{
  margin:0!important;
  box-shadow:0 30px 90px rgba(0,0,0,.34)!important;
}

.tes-lbd-login-gate-close{
  position:absolute!important;
  top:-12px!important;
  right:-8px!important;
  z-index:5!important;
  width:44px!important;
  height:44px!important;
  border:0!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#14213d!important;
  font-size:30px!important;
  font-weight:900!important;
  line-height:1!important;
  box-shadow:0 8px 20px rgba(0,0,0,.22)!important;
}

html.tes-lbd-gate-open,
body.tes-lbd-gate-open{
  overflow:hidden!important;
}

@media(max-width:440px){
  .tes-lbd-locked-page-wrap{
    padding:0 18px!important;
    margin-top:28px!important;
  }
  .tes-lbd-locked-card{
    padding:24px 18px!important;
    border-radius:30px!important;
  }
  .tes-lbd-locked-inner{
    padding:36px 20px 28px!important;
    border-radius:30px!important;
  }
  .tes-lbd-locked-actions{
    gap:12px!important;
  }
  .tes-lbd-locked-login,
  .tes-lbd-locked-register{
    min-height:60px!important;
  }
}


/* v0.6.6 - Business reviews */
.tes-lbd-reviews-section h2{
  margin-bottom:16px!important;
}

.tes-lbd-review-summary-card{
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
  padding:18px!important;
  border-radius:24px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(242,248,255,.98))!important;
  border:1px solid rgba(101,72,255,.14)!important;
  box-shadow:0 12px 28px rgba(20,33,61,.08)!important;
  margin-bottom:18px!important;
}

.tes-lbd-review-big-score{
  width:82px!important;
  height:82px!important;
  border-radius:22px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#111!important;
  color:#fff!important;
  font-size:32px!important;
  font-weight:1000!important;
  flex:0 0 82px!important;
}

.tes-lbd-review-stars-display,
.tes-lbd-review-card-top span{
  color:#f7b500!important;
  font-size:24px!important;
  letter-spacing:1px!important;
  font-weight:1000!important;
}

.tes-lbd-review-login-box,
.tes-lbd-review-owner-box,
.tes-lbd-review-form{
  padding:18px!important;
  border-radius:24px!important;
  background:#fff!important;
  border:1px solid rgba(101,72,255,.14)!important;
  box-shadow:0 10px 24px rgba(20,33,61,.07)!important;
  margin:18px 0!important;
}

.tes-lbd-review-login-box h3,
.tes-lbd-review-form h3{
  margin:0 0 10px!important;
  color:#14213d!important;
  font-size:26px!important;
  font-weight:1000!important;
}

.tes-lbd-review-login-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  margin-top:14px!important;
}

.tes-lbd-review-form label{
  display:block!important;
  color:#14213d!important;
  font-weight:1000!important;
  margin:12px 0!important;
}

.tes-lbd-review-form input,
.tes-lbd-review-form textarea,
.tes-lbd-review-form select{
  width:100%!important;
  box-sizing:border-box!important;
  margin-top:7px!important;
  min-height:48px!important;
  border-radius:16px!important;
  border:2px solid rgba(101,72,255,.16)!important;
  padding:10px 12px!important;
  color:#14213d!important;
  font-weight:800!important;
  background:#fff!important;
}

.tes-lbd-review-form textarea{
  min-height:130px!important;
}

.tes-lbd-review-delete{
  display:inline-flex!important;
  margin-top:12px!important;
  color:#b42318!important;
  font-weight:1000!important;
  text-decoration:none!important;
}

.tes-lbd-review-list{
  display:grid!important;
  gap:14px!important;
  margin-top:18px!important;
}

.tes-lbd-review-card{
  padding:16px!important;
  border-radius:22px!important;
  background:#fff!important;
  border:1px solid rgba(20,33,61,.08)!important;
  box-shadow:0 10px 22px rgba(20,33,61,.06)!important;
}

.tes-lbd-review-card-top{
  display:flex!important;
  justify-content:space-between!important;
  gap:12px!important;
  align-items:center!important;
}

.tes-lbd-review-card h3{
  margin:8px 0!important;
  color:#14213d!important;
  font-size:22px!important;
  font-weight:1000!important;
}

.tes-lbd-review-card p{
  margin:0 0 8px!important;
  color:#4b5565!important;
  font-weight:800!important;
  line-height:1.45!important;
}

.tes-lbd-review-card small,
.tes-lbd-no-review-list{
  color:#667085!important;
  font-weight:800!important;
}

@media(max-width:460px){
  .tes-lbd-review-summary-card{align-items:flex-start!important;}
  .tes-lbd-review-login-actions{grid-template-columns:1fr!important;}
}


/* v0.6.7 - review polish */
.tes-lbd-review-jump-row{
  display:flex!important;
  justify-content:center!important;
  margin:0 auto 18px!important;
}

.tes-lbd-review-jump{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:50px!important;
  padding:0 24px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#6548ff 0%,#ef3fa5 100%)!important;
  color:#fff!important;
  text-decoration:none!important;
  font-size:18px!important;
  font-weight:1000!important;
  box-shadow:0 10px 22px rgba(101,72,255,.20)!important;
}

.tes-lbd-review-notice{
  margin:0 0 16px!important;
  padding:14px 16px!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,rgba(18,201,183,.12),rgba(101,72,255,.10))!important;
  color:#14213d!important;
  border:1px solid rgba(18,201,183,.24)!important;
  font-weight:1000!important;
  text-align:center!important;
}

.tes-lbd-review-rating-input{
  margin:14px 0!important;
}

.tes-lbd-review-rating-input > span{
  display:block!important;
  margin:0 0 8px!important;
  color:#14213d!important;
  font-weight:1000!important;
}

.tes-lbd-review-star-options{
  display:grid!important;
  gap:8px!important;
}

.tes-lbd-review-star-options label{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin:0!important;
  padding:12px 14px!important;
  border-radius:18px!important;
  border:2px solid rgba(101,72,255,.14)!important;
  background:#fff!important;
  cursor:pointer!important;
  box-shadow:0 6px 14px rgba(20,33,61,.04)!important;
}

.tes-lbd-review-star-options input{
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
  margin:0!important;
}

.tes-lbd-review-star-options label:has(input:checked){
  border-color:#6548ff!important;
  background:linear-gradient(135deg,rgba(101,72,255,.10),rgba(239,63,165,.08))!important;
}

.tes-lbd-review-star-options span{
  color:#f7b500!important;
  font-size:23px!important;
  letter-spacing:1px!important;
  font-weight:1000!important;
  flex:1!important;
}

.tes-lbd-review-star-options small{
  color:#14213d!important;
  font-weight:1000!important;
  white-space:nowrap!important;
}

.tes-lbd-review-form button.tes-lbd-btn{
  width:100%!important;
  min-height:56px!important;
  margin-top:8px!important;
  font-size:20px!important;
}

.tes-lbd-no-review-list{
  padding:16px!important;
  border-radius:18px!important;
  background:#fff!important;
  border:1px solid rgba(101,72,255,.12)!important;
  text-align:center!important;
}

@media(max-width:520px){
  .tes-lbd-review-star-options label{
    align-items:flex-start!important;
    flex-wrap:wrap!important;
  }
  .tes-lbd-review-star-options span{
    font-size:20px!important;
  }
  .tes-lbd-review-star-options small{
    width:100%!important;
    padding-left:30px!important;
  }
}


/* v0.7.1 - Business profile rebuilt to match TES venue profile layout */
body.single-tes_business .entry-title,
body.single-tes_business .page-title{
  display:none!important;
}

body.single-tes_business .tes-lbd-profile--venue-match{
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding:0!important;
  background:#f7f8ff!important;
  overflow:hidden!important;
}

body.single-tes_business .tes-lbd-venue-match-card{
  width:100%!important;
  max-width:100%!important;
  margin:0 0 20px!important;
  border-radius:0 0 34px 34px!important;
  background:#fff!important;
  box-shadow:0 18px 42px rgba(20,33,61,.12)!important;
  overflow:hidden!important;
  position:relative!important;
}

body.single-tes_business .tes-lbd-venue-cover{
  height:255px!important;
  width:100%!important;
  border-radius:0!important;
  margin:0!important;
  background:#dde5f8!important;
  position:relative!important;
  z-index:1!important;
}

body.single-tes_business .tes-lbd-venue-cover img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}

body.single-tes_business .tes-lbd-venue-profile-top{
  position:relative!important;
  z-index:2!important;
  background:#fff!important;
  padding:0 24px 30px!important;
  text-align:center!important;
}

body.single-tes_business .tes-lbd-venue-logo-wrap{
  position:relative!important;
  z-index:6!important;
  width:128px!important;
  height:128px!important;
  margin:-64px 0 10px 28px!important;
  padding:6px!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 16px 34px rgba(20,33,61,.22)!important;
}

body.single-tes_business .tes-lbd-venue-logo{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  border-radius:50%!important;
}

body.single-tes_business .tes-lbd-venue-heart{
  position:absolute!important;
  top:18px!important;
  right:24px!important;
  width:58px!important;
  height:58px!important;
  border-radius:999px!important;
  border:0!important;
  background:#fff!important;
  color:#ef3fa5!important;
  font-size:36px!important;
  font-weight:1000!important;
  line-height:1!important;
  box-shadow:0 12px 28px rgba(20,33,61,.14)!important;
  z-index:8!important;
}

body.single-tes_business .tes-lbd-venue-profile-top h1{
  max-width:880px!important;
  margin:-8px auto 12px!important;
  padding:0 72px!important;
  color:#14213d!important;
  font-size:clamp(40px,8.5vw,66px)!important;
  line-height:1.03!important;
  font-weight:1000!important;
  letter-spacing:-.035em!important;
  text-align:center!important;
}

body.single-tes_business .tes-lbd-venue-rating{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;
  max-width:760px!important;
  margin:0 auto 14px!important;
  padding:14px 18px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,rgba(101,72,255,.08),rgba(239,63,165,.08))!important;
  border:1px solid rgba(101,72,255,.16)!important;
  box-shadow:0 10px 24px rgba(20,33,61,.08)!important;
}

body.single-tes_business .tes-lbd-stars{
  color:#f7b500!important;
  font-size:26px!important;
  line-height:1!important;
  letter-spacing:1px!important;
}

body.single-tes_business .tes-lbd-venue-rating strong{
  color:#14213d!important;
  font-size:clamp(17px,4vw,22px)!important;
  font-weight:1000!important;
}

body.single-tes_business .tes-lbd-venue-area{
  display:inline-flex!important;
  margin:2px auto 14px!important;
  padding:11px 22px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,rgba(101,72,255,.11),rgba(239,63,165,.10))!important;
  color:#14213d!important;
  border:1px solid rgba(101,72,255,.16)!important;
  font-size:18px!important;
  font-weight:1000!important;
}

body.single-tes_business .tes-lbd-venue-bio{
  max-width:820px!important;
  margin:10px auto 14px!important;
  padding:0 8px!important;
  color:#5f6678!important;
  font-size:clamp(19px,4vw,25px)!important;
  line-height:1.42!important;
  font-weight:800!important;
  text-align:center!important;
}

body.single-tes_business .tes-lbd-venue-summary{
  max-width:760px!important;
  margin:8px auto 16px!important;
  color:#14213d!important;
  font-size:20px!important;
  font-weight:1000!important;
  text-align:center!important;
}

body.single-tes_business .tes-lbd-profile-tab-row{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:12px!important;
  width:min(760px,100%)!important;
  margin:18px auto 0!important;
}

body.single-tes_business .tes-lbd-profile-tab-row a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:58px!important;
  border-radius:999px!important;
  background:#111!important;
  color:#fff!important;
  text-decoration:none!important;
  font-size:clamp(18px,4.5vw,25px)!important;
  font-weight:1000!important;
  box-shadow:0 12px 24px rgba(0,0,0,.12)!important;
}

body.single-tes_business .tes-lbd-profile-tab-row a:nth-child(2){
  background:#fff!important;
  color:#111!important;
  border:4px solid #111!important;
  box-shadow:none!important;
}

/* Venue pages do not show the action buttons in the header area on mobile-heavy profile top */
body.single-tes_business .tes-lbd-header-action-row{
  display:none!important;
}

body.single-tes_business .tes-lbd-venue-section{
  width:min(920px,calc(100vw - 26px))!important;
  max-width:920px!important;
  margin:20px auto!important;
  border-radius:28px!important;
  background:#fff!important;
  border:1px solid rgba(20,33,61,.08)!important;
  box-shadow:0 14px 34px rgba(20,33,61,.08)!important;
  padding:22px!important;
  box-sizing:border-box!important;
}

body.single-tes_business .tes-lbd-venue-section h2{
  color:#14213d!important;
  font-size:clamp(28px,6vw,42px)!important;
  line-height:1.08!important;
  font-weight:1000!important;
  text-align:center!important;
  margin:0 0 18px!important;
}

body.single-tes_business .tes-lbd-venue-detail-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}

body.single-tes_business .tes-lbd-venue-detail-grid div{
  border-radius:20px!important;
  background:#f6f7fb!important;
  padding:16px!important;
}

body.single-tes_business .tes-lbd-venue-detail-grid strong{
  display:block!important;
  color:#667085!important;
  font-size:14px!important;
  font-weight:1000!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
  margin-bottom:5px!important;
}

body.single-tes_business .tes-lbd-venue-detail-grid span{
  color:#14213d!important;
  font-size:19px!important;
  font-weight:1000!important;
}

body.single-tes_business .tes-lbd-details-action-row{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  margin:18px auto 0!important;
}

body.single-tes_business .tes-lbd-details-action-row a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:58px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#6548ff 0%,#ef3fa5 100%)!important;
  color:#fff!important;
  text-decoration:none!important;
  border:0!important;
  font-size:19px!important;
  font-weight:1000!important;
  box-shadow:0 10px 22px rgba(101,72,255,.20)!important;
}

body.single-tes_business .tes-lbd-reviews-section{
  scroll-margin-top:90px!important;
}

body.single-tes_business #business-profile-details{
  scroll-margin-top:90px!important;
}

body.single-tes_business .tes-lbd-profile-back{
  width:min(920px,calc(100vw - 26px))!important;
  margin:22px auto 40px!important;
}

@media(max-width:640px){
  body.single-tes_business .tes-lbd-venue-cover{
    height:215px!important;
  }

  body.single-tes_business .tes-lbd-venue-profile-top{
    padding:0 18px 26px!important;
  }

  body.single-tes_business .tes-lbd-venue-logo-wrap{
    width:112px!important;
    height:112px!important;
    margin:-56px 0 8px 22px!important;
    padding:5px!important;
  }

  body.single-tes_business .tes-lbd-venue-heart{
    top:14px!important;
    right:16px!important;
    width:50px!important;
    height:50px!important;
    font-size:31px!important;
  }

  body.single-tes_business .tes-lbd-venue-profile-top h1{
    padding:0 54px!important;
    margin-top:-6px!important;
    font-size:clamp(38px,10vw,55px)!important;
  }

  body.single-tes_business .tes-lbd-venue-rating{
    flex-direction:column!important;
    gap:5px!important;
    border-radius:24px!important;
  }

  body.single-tes_business .tes-lbd-profile-tab-row{
    gap:10px!important;
  }

  body.single-tes_business .tes-lbd-profile-tab-row a{
    min-height:54px!important;
    font-size:18px!important;
  }

  body.single-tes_business .tes-lbd-venue-detail-grid,
  body.single-tes_business .tes-lbd-details-action-row{
    grid-template-columns:1fr!important;
  }

  body.single-tes_business .tes-lbd-venue-section{
    padding:18px!important;
    border-radius:24px!important;
  }
}


/* v0.7.2 - Fix business profile image overlap to match venue pages */
body.single-tes_business .tes-lbd-venue-cover{
  height:245px!important;
  margin:0!important;
  border-radius:0!important;
  overflow:hidden!important;
}

body.single-tes_business .tes-lbd-venue-profile-top{
  position:relative!important;
  margin-top:0!important;
  padding-top:0!important;
  overflow:visible!important;
}

body.single-tes_business .tes-lbd-venue-logo-wrap{
  position:absolute!important;
  top:-58px!important;
  left:58px!important;
  width:128px!important;
  height:128px!important;
  margin:0!important;
  z-index:20!important;
  border-radius:50%!important;
  background:#fff!important;
  padding:6px!important;
  box-shadow:0 16px 34px rgba(20,33,61,.25)!important;
}

body.single-tes_business .tes-lbd-venue-logo{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border-radius:50%!important;
  display:block!important;
}

body.single-tes_business .tes-lbd-venue-profile-top h1{
  padding-top:88px!important;
  margin-top:0!important;
}

/* v0.7.2 - Replace broken radio-card star selector with act/venue style one-row stars */
body.single-tes_business .tes-lbd-review-star-options,
body.single-tes_business .tes-lbd-review-star-options label,
body.single-tes_business .tes-lbd-review-star-options span,
body.single-tes_business .tes-lbd-review-star-options small{
  display:none!important;
}

body.single-tes_business .tes-lbd-business-star-picker{
  margin:22px 0 28px!important;
}

body.single-tes_business .tes-lbd-business-star-picker > span{
  display:block!important;
  margin:0 0 14px!important;
  color:#14213d!important;
  font-size:22px!important;
  font-weight:1000!important;
}

body.single-tes_business .tes-lbd-business-star-row{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

body.single-tes_business .tes-lbd-business-star{
  appearance:none!important;
  -webkit-appearance:none!important;
  border:0!important;
  background:transparent!important;
  padding:0!important;
  margin:0!important;
  color:#d8dde8!important;
  font-size:clamp(44px,10vw,62px)!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:none!important;
  text-shadow:none!important;
}

body.single-tes_business .tes-lbd-business-star.is-selected{
  color:#f7b500!important;
}

body.single-tes_business .tes-lbd-business-star:focus{
  outline:3px solid rgba(101,72,255,.35)!important;
  outline-offset:4px!important;
  border-radius:10px!important;
}

body.single-tes_business .tes-lbd-review-form{
  background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(245,248,255,.97))!important;
  border-radius:28px!important;
  padding:26px!important;
}

body.single-tes_business .tes-lbd-review-form h3{
  font-size:clamp(34px,7vw,48px)!important;
  line-height:1.05!important;
  margin-bottom:22px!important;
}

body.single-tes_business .tes-lbd-review-form textarea{
  min-height:220px!important;
}

body.single-tes_business .tes-lbd-review-form button.tes-lbd-btn{
  background:#fff!important;
  color:#111!important;
  border:4px solid #111!important;
  border-radius:999px!important;
  box-shadow:none!important;
}

@media(max-width:640px){
  body.single-tes_business .tes-lbd-venue-cover{
    height:210px!important;
  }
  body.single-tes_business .tes-lbd-venue-logo-wrap{
    top:-52px!important;
    left:34px!important;
    width:112px!important;
    height:112px!important;
    padding:5px!important;
  }
  body.single-tes_business .tes-lbd-venue-profile-top h1{
    padding-top:76px!important;
  }
  body.single-tes_business .tes-lbd-business-star-row{
    gap:7px!important;
  }
}


/* v0.7.3 - Premium venue-style business profile polish */
body.single-tes_business .tes-lbd-venue-match-card{
  background:#fff!important;
  border-radius:0 0 32px 32px!important;
  box-shadow:0 22px 48px rgba(20,33,61,.13)!important;
}

body.single-tes_business .tes-lbd-venue-cover{
  height:245px!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:#dde5f8!important;
}

body.single-tes_business .tes-lbd-venue-cover img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}

body.single-tes_business .tes-lbd-venue-profile-top{
  position:relative!important;
  overflow:visible!important;
  padding:0 24px 34px!important;
  background:#fff!important;
}

/* match venue: logo overlaps banner, but does not collide with rating */
body.single-tes_business .tes-lbd-venue-logo-wrap{
  position:absolute!important;
  top:-58px!important;
  left:58px!important;
  width:122px!important;
  height:122px!important;
  margin:0!important;
  padding:6px!important;
  border-radius:50%!important;
  background:#fff!important;
  z-index:20!important;
  box-shadow:0 18px 38px rgba(20,33,61,.24)!important;
}

body.single-tes_business .tes-lbd-venue-logo{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border-radius:50%!important;
  display:block!important;
}

/* restore strong venue-style name placement */
body.single-tes_business .tes-lbd-venue-profile-top h1{
  display:block!important;
  max-width:800px!important;
  margin:0 auto 18px!important;
  padding:86px 72px 0!important;
  color:#14213d!important;
  font-size:clamp(40px,8vw,64px)!important;
  line-height:1.03!important;
  font-weight:1000!important;
  letter-spacing:-.035em!important;
  text-align:center!important;
}

/* favourite heart: same area as venue, above rating, not covering name */
body.single-tes_business .tes-lbd-venue-heart{
  position:absolute!important;
  top:92px!important;
  right:28px!important;
  width:58px!important;
  height:58px!important;
  border-radius:999px!important;
  border:4px solid #111!important;
  background:#fff!important;
  color:#ef3fa5!important;
  font-size:34px!important;
  font-weight:1000!important;
  line-height:1!important;
  z-index:18!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:0 12px 26px rgba(20,33,61,.14)!important;
}

/* rating now sits below name with breathing room, like venue page */
body.single-tes_business .tes-lbd-venue-rating{
  display:grid!important;
  grid-template-columns:auto auto!important;
  align-items:center!important;
  justify-content:center!important;
  column-gap:18px!important;
  row-gap:2px!important;
  width:min(760px,100%)!important;
  max-width:760px!important;
  margin:4px auto 16px!important;
  padding:18px 26px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,rgba(255,248,225,.55),rgba(255,238,248,.62))!important;
  border:1px solid rgba(247,181,0,.20)!important;
  box-shadow:0 14px 30px rgba(20,33,61,.08)!important;
}

body.single-tes_business .tes-lbd-stars{
  color:#f7b500!important;
  font-size:clamp(24px,5.4vw,32px)!important;
  line-height:1!important;
  letter-spacing:1px!important;
  white-space:nowrap!important;
}

body.single-tes_business .tes-lbd-venue-rating strong{
  color:#14213d!important;
  font-size:clamp(19px,4.6vw,26px)!important;
  font-weight:1000!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}

/* area badge directly under rating */
body.single-tes_business .tes-lbd-venue-area{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:2px auto 18px!important;
  padding:12px 26px!important;
  min-height:48px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,rgba(101,72,255,.10),rgba(239,63,165,.08))!important;
  color:#14213d!important;
  border:1px solid rgba(101,72,255,.16)!important;
  font-size:clamp(18px,4.5vw,23px)!important;
  font-weight:1000!important;
  box-shadow:0 8px 18px rgba(20,33,61,.06)!important;
}

body.single-tes_business .tes-lbd-venue-bio{
  width:min(760px,100%)!important;
  margin:0 auto 18px!important;
  color:#5f6678!important;
  font-size:clamp(19px,4.3vw,25px)!important;
  line-height:1.42!important;
  font-weight:850!important;
  text-align:center!important;
}

body.single-tes_business .tes-lbd-venue-summary{
  margin:0 auto 18px!important;
  color:#667085!important;
  font-size:clamp(18px,4vw,22px)!important;
  font-weight:1000!important;
  text-align:center!important;
}

/* tab buttons closer to venue proportions */
body.single-tes_business .tes-lbd-profile-tab-row{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:18px!important;
  width:min(700px,100%)!important;
  margin:22px auto 0!important;
}

body.single-tes_business .tes-lbd-profile-tab-row a{
  min-height:62px!important;
  border-radius:999px!important;
  font-size:clamp(19px,4.7vw,27px)!important;
  font-weight:1000!important;
  text-decoration:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
}

body.single-tes_business .tes-lbd-profile-tab-row a:first-child{
  background:#111!important;
  color:#fff!important;
  border:4px solid #111!important;
  box-shadow:0 12px 26px rgba(0,0,0,.14)!important;
}

body.single-tes_business .tes-lbd-profile-tab-row a:nth-child(2){
  background:#fff!important;
  color:#111!important;
  border:4px solid #111!important;
  box-shadow:none!important;
}

/* premium section card tidy */
body.single-tes_business .tes-lbd-venue-section{
  width:min(920px,calc(100vw - 34px))!important;
  margin:24px auto!important;
  padding:24px!important;
  border-radius:30px!important;
  background:#fff!important;
  border:1px solid rgba(20,33,61,.08)!important;
  box-shadow:0 16px 38px rgba(20,33,61,.08)!important;
}

body.single-tes_business .tes-lbd-venue-section h2{
  color:#14213d!important;
  font-size:clamp(34px,7vw,48px)!important;
  line-height:1.05!important;
  font-weight:1000!important;
  letter-spacing:-.025em!important;
  text-align:center!important;
  margin:0 0 22px!important;
}

body.single-tes_business .tes-lbd-venue-detail-grid div{
  border-radius:22px!important;
  background:linear-gradient(145deg,#f7f8ff,#ffffff)!important;
  border:1px solid rgba(101,72,255,.10)!important;
  box-shadow:0 8px 18px rgba(20,33,61,.04)!important;
}

body.single-tes_business .tes-lbd-details-action-row a{
  min-height:62px!important;
  border-radius:999px!important;
  font-size:clamp(18px,4.3vw,23px)!important;
  font-weight:1000!important;
}

/* review summary polish */
body.single-tes_business .tes-lbd-review-summary-card{
  border-radius:26px!important;
  padding:20px!important;
  background:linear-gradient(145deg,#fff,#f8fbff)!important;
}

@media(max-width:640px){
  body.single-tes_business .tes-lbd-venue-cover{
    height:220px!important;
  }

  body.single-tes_business .tes-lbd-venue-profile-top{
    padding:0 18px 30px!important;
  }

  body.single-tes_business .tes-lbd-venue-logo-wrap{
    width:108px!important;
    height:108px!important;
    top:-54px!important;
    left:32px!important;
    padding:5px!important;
  }

  body.single-tes_business .tes-lbd-venue-profile-top h1{
    padding:74px 58px 0!important;
    margin-bottom:16px!important;
    font-size:clamp(38px,10vw,54px)!important;
  }

  body.single-tes_business .tes-lbd-venue-heart{
    top:82px!important;
    right:20px!important;
    width:52px!important;
    height:52px!important;
    font-size:30px!important;
    border-width:4px!important;
  }

  body.single-tes_business .tes-lbd-venue-rating{
    grid-template-columns:1fr!important;
    gap:6px!important;
    width:100%!important;
    padding:16px 18px!important;
    border-radius:26px!important;
    margin-top:4px!important;
  }

  body.single-tes_business .tes-lbd-stars{
    text-align:center!important;
    font-size:30px!important;
  }

  body.single-tes_business .tes-lbd-venue-rating strong{
    text-align:center!important;
    font-size:22px!important;
  }

  body.single-tes_business .tes-lbd-profile-tab-row{
    gap:12px!important;
  }

  body.single-tes_business .tes-lbd-profile-tab-row a{
    min-height:58px!important;
    font-size:20px!important;
  }

  body.single-tes_business .tes-lbd-venue-section{
    width:calc(100vw - 26px)!important;
    padding:20px!important;
    border-radius:26px!important;
  }
}


/* v0.7.4 - closer venue-style header spacing */
body.single-tes_business .tes-lbd-venue-profile-top{
  padding-bottom:34px!important;
}

/* Make sure the business name is visible and placed between logo and rating like venues */
body.single-tes_business .tes-lbd-venue-profile-top h1{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  color:#14213d!important;
  max-width:820px!important;
  margin:0 auto 16px!important;
  padding:92px 72px 0!important;
  text-align:center!important;
  font-size:clamp(42px,8.5vw,66px)!important;
  line-height:1.03!important;
  font-weight:1000!important;
  letter-spacing:-.035em!important;
}

/* venue-like logo overlap: left over the banner edge but not covering stars */
body.single-tes_business .tes-lbd-venue-logo-wrap{
  top:-56px!important;
  left:54px!important;
  width:118px!important;
  height:118px!important;
  z-index:12!important;
}

/* Move rating below title and away from logo */
body.single-tes_business .tes-lbd-venue-rating{
  position:relative!important;
  z-index:5!important;
  margin:8px auto 16px!important;
  width:min(760px,100%)!important;
  padding:16px 24px!important;
  transform:none!important;
}

/* Heart should sit beside title area like venues, not down beside the rating */
body.single-tes_business .tes-lbd-venue-heart{
  top:78px!important;
  right:30px!important;
  z-index:14!important;
}

/* More venue-like rating layout */
body.single-tes_business .tes-lbd-venue-rating{
  display:grid!important;
  grid-template-columns:auto auto!important;
  justify-content:center!important;
  align-items:center!important;
  gap:14px!important;
}

body.single-tes_business .tes-lbd-stars{
  font-size:clamp(24px,5vw,31px)!important;
}

body.single-tes_business .tes-lbd-venue-rating strong{
  font-size:clamp(19px,4.4vw,25px)!important;
}

/* Gallery carousel instead of stacked images */
body.single-tes_business .tes-lbd-gallery-carousel,
body.single-tes_business section:has(> h2:first-child:nth-child(1)) .tes-lbd-gallery-carousel{
  display:flex!important;
  overflow-x:auto!important;
  scroll-snap-type:x mandatory!important;
  gap:16px!important;
  padding:4px 4px 14px!important;
  -webkit-overflow-scrolling:touch!important;
}

body.single-tes_business .tes-lbd-gallery-carousel::-webkit-scrollbar{
  height:8px!important;
}

body.single-tes_business .tes-lbd-gallery-carousel::-webkit-scrollbar-thumb{
  background:linear-gradient(135deg,#6548ff,#ef3fa5)!important;
  border-radius:999px!important;
}

body.single-tes_business .tes-lbd-gallery-carousel img,
body.single-tes_business .tes-lbd-gallery-carousel a{
  flex:0 0 86%!important;
  scroll-snap-align:center!important;
}

body.single-tes_business .tes-lbd-gallery-carousel img{
  width:100%!important;
  height:260px!important;
  object-fit:cover!important;
  border-radius:22px!important;
  box-shadow:0 14px 30px rgba(20,33,61,.12)!important;
  display:block!important;
}

/* Fallback: if gallery images are directly inside the Gallery section, make that section's image group swipe */
body.single-tes_business .tes-lbd-venue-section h2 + img,
body.single-tes_business .tes-lbd-venue-section h2 + a img{
  margin-top:0!important;
}

/* Detect gallery section by class if present */
body.single-tes_business .tes-lbd-gallery-section .tes-lbd-gallery-grid,
body.single-tes_business .tes-lbd-gallery-section .tes-lbd-gallery,
body.single-tes_business .tes-lbd-gallery-section .tes-lbd-business-gallery{
  display:flex!important;
  overflow-x:auto!important;
  scroll-snap-type:x mandatory!important;
  gap:16px!important;
  padding-bottom:14px!important;
  -webkit-overflow-scrolling:touch!important;
}

body.single-tes_business .tes-lbd-gallery-section .tes-lbd-gallery-grid img,
body.single-tes_business .tes-lbd-gallery-section .tes-lbd-gallery img,
body.single-tes_business .tes-lbd-gallery-section .tes-lbd-business-gallery img{
  flex:0 0 86%!important;
  width:86%!important;
  max-width:86%!important;
  height:260px!important;
  object-fit:cover!important;
  scroll-snap-align:center!important;
  border-radius:22px!important;
  box-shadow:0 14px 30px rgba(20,33,61,.12)!important;
}

/* Clean gallery section look */
body.single-tes_business .tes-lbd-gallery-section{
  overflow:hidden!important;
}

@media(max-width:640px){
  body.single-tes_business .tes-lbd-venue-logo-wrap{
    top:-50px!important;
    left:30px!important;
    width:104px!important;
    height:104px!important;
  }

  body.single-tes_business .tes-lbd-venue-profile-top h1{
    padding:76px 58px 0!important;
    margin-bottom:14px!important;
    font-size:clamp(38px,10vw,54px)!important;
  }

  body.single-tes_business .tes-lbd-venue-heart{
    top:70px!important;
    right:20px!important;
  }

  body.single-tes_business .tes-lbd-venue-rating{
    margin-top:6px!important;
    padding:15px 18px!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
  }

  body.single-tes_business .tes-lbd-gallery-carousel img,
  body.single-tes_business .tes-lbd-gallery-section .tes-lbd-gallery-grid img,
  body.single-tes_business .tes-lbd-gallery-section .tes-lbd-gallery img,
  body.single-tes_business .tes-lbd-gallery-section .tes-lbd-business-gallery img{
    height:210px!important;
    flex-basis:88%!important;
    width:88%!important;
    max-width:88%!important;
  }
}


/* v0.7.5 - remove hearts from business profiles */
body.single-tes_business .tes-lbd-venue-heart,
body.single-tes_business button.tes-lbd-venue-heart{
  display:none!important;
}

/* With no heart, title/rating can centre cleanly */
body.single-tes_business .tes-lbd-venue-profile-top h1{
  padding-left:24px!important;
  padding-right:24px!important;
}

/* v0.7.5 - Real gallery carousel */
body.single-tes_business .tes-lbd-gallery-section{
  overflow:hidden!important;
}

body.single-tes_business .tes-lbd-profile-gallery-carousel{
  display:flex!important;
  flex-wrap:nowrap!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-snap-type:x mandatory!important;
  scroll-behavior:smooth!important;
  -webkit-overflow-scrolling:touch!important;
  gap:16px!important;
  padding:4px 8px 18px!important;
  margin:0!important;
}

body.single-tes_business .tes-lbd-profile-gallery-carousel::-webkit-scrollbar{
  height:8px!important;
}

body.single-tes_business .tes-lbd-profile-gallery-carousel::-webkit-scrollbar-track{
  background:rgba(101,72,255,.08)!important;
  border-radius:999px!important;
}

body.single-tes_business .tes-lbd-profile-gallery-carousel::-webkit-scrollbar-thumb{
  background:linear-gradient(135deg,#6548ff,#ef3fa5)!important;
  border-radius:999px!important;
}

body.single-tes_business .tes-lbd-gallery-slide{
  flex:0 0 86%!important;
  width:86%!important;
  max-width:86%!important;
  scroll-snap-align:center!important;
  display:block!important;
  text-decoration:none!important;
}

body.single-tes_business .tes-lbd-gallery-slide img{
  width:100%!important;
  height:260px!important;
  object-fit:cover!important;
  display:block!important;
  border-radius:24px!important;
  box-shadow:0 14px 30px rgba(20,33,61,.13)!important;
}

/* Override any old stacked gallery rules */
body.single-tes_business .tes-lbd-profile-gallery{
  display:flex!important;
  flex-wrap:nowrap!important;
  overflow-x:auto!important;
  gap:16px!important;
}
body.single-tes_business .tes-lbd-profile-gallery a{
  flex:0 0 86%!important;
}
body.single-tes_business .tes-lbd-profile-gallery img{
  width:100%!important;
  height:260px!important;
  object-fit:cover!important;
}

@media(max-width:640px){
  body.single-tes_business .tes-lbd-gallery-slide{
    flex-basis:88%!important;
    width:88%!important;
    max-width:88%!important;
  }
  body.single-tes_business .tes-lbd-gallery-slide img{
    height:210px!important;
  }
}


/* v0.8.0 - Step-by-step business register wizard */
.tes-lbd-wizard-form{
  position:relative;
}

.tes-lbd-wizard-progress{
  background:linear-gradient(145deg,#ffffff,#f8f9ff);
  border:1px solid rgba(101,72,255,.16);
  border-radius:24px;
  padding:18px;
  margin:0 0 20px;
  box-shadow:0 10px 24px rgba(20,33,61,.07);
}

.tes-lbd-wizard-progress-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  color:#14213d;
  font-weight:1000;
  font-size:18px;
}

.tes-lbd-wizard-progress-top span{
  color:#6548ff;
}

.tes-lbd-wizard-bar{
  height:12px;
  background:#eef0fb;
  border-radius:999px;
  overflow:hidden;
  margin-top:12px;
}

.tes-lbd-wizard-bar span{
  display:block;
  height:100%;
  width:14%;
  background:linear-gradient(135deg,#6548ff,#ef3fa5);
  border-radius:999px;
  transition:width .25s ease;
}

.tes-lbd-wizard-step{
  display:none!important;
}

.tes-lbd-wizard-step.is-active{
  display:block!important;
  animation:tesLbdWizardIn .22s ease-out;
}

@keyframes tesLbdWizardIn{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}

.tes-lbd-wizard-nav{
  display:flex;
  gap:14px;
  position:sticky;
  bottom:0;
  z-index:25;
  padding:14px 0 2px;
  background:linear-gradient(180deg,rgba(255,255,255,0),#fff 35%);
}

.tes-lbd-wizard-nav .tes-lbd-btn{
  flex:1;
}

.tes-lbd-category-question-bank{
  display:block;
}

.tes-lbd-category-question-group{
  display:none;
  border:1px solid rgba(101,72,255,.14);
  background:linear-gradient(145deg,#fff,#fafbff);
  border-radius:24px;
  padding:18px;
  margin-top:10px;
}

.tes-lbd-category-question-group.is-active{
  display:block;
}

.tes-lbd-category-question-group h3{
  margin:0 0 14px;
  color:#14213d;
  font-size:26px;
  line-height:1.1;
}

.tes-lbd-no-category-questions{
  border:2px dashed rgba(101,72,255,.22);
  border-radius:22px;
  padding:18px;
  background:#fafbff;
  color:#667085;
  font-weight:800;
}

.tes-lbd-step-error{
  border:2px solid #ef4444!important;
  box-shadow:0 0 0 4px rgba(239,68,68,.12)!important;
}

@media(max-width:640px){
  .tes-lbd-wizard-progress-top{
    font-size:16px;
  }
  .tes-lbd-wizard-nav{
    gap:10px;
  }
}


/* v0.9.0 Hybrid lead capture inside Local Business Directory */
.tes-lbd-hybrid-hero{
  border-radius:30px;
  padding:28px;
  color:#fff;
  background:linear-gradient(135deg,#111827,#312e81 56%,#db2777);
  box-shadow:0 22px 55px rgba(17,24,39,.20);
  margin-bottom:22px;
}

.tes-lbd-hybrid-hero h1{
  color:#fff!important;
  font-size:clamp(38px,8vw,64px)!important;
  line-height:1.02!important;
  margin:8px 0 12px!important;
  font-weight:1000!important;
}

.tes-lbd-hybrid-hero p{
  color:rgba(255,255,255,.90)!important;
  font-size:clamp(18px,4vw,24px)!important;
  line-height:1.35!important;
  max-width:850px;
}

.tes-lbd-hybrid-price-box{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:22px 0;
}

.tes-lbd-hybrid-price-box div{
  border-radius:20px;
  padding:16px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
}

.tes-lbd-hybrid-price-box strong{
  display:block;
  color:#fff;
  font-size:26px;
  font-weight:1000;
}

.tes-lbd-hybrid-price-box span{
  color:rgba(255,255,255,.84);
  font-weight:800;
}

.tes-lbd-hybrid-benefits{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.tes-lbd-hybrid-benefits span{
  background:#fff;
  color:#111827;
  border-radius:999px;
  padding:8px 12px;
  font-weight:1000;
}

.tes-lbd-hybrid-how{
  background:#fff;
  border-radius:26px;
  padding:22px;
  border:1px solid rgba(101,72,255,.12);
  box-shadow:0 12px 30px rgba(20,33,61,.07);
  margin-bottom:22px;
}

.tes-lbd-hybrid-how h2{
  margin:0 0 16px!important;
  color:#14213d!important;
  font-size:34px!important;
}

.tes-lbd-hybrid-how-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.tes-lbd-hybrid-how-grid div{
  border-radius:20px;
  background:linear-gradient(145deg,#f8f9ff,#fff);
  border:1px solid rgba(101,72,255,.10);
  padding:16px;
}

.tes-lbd-hybrid-how-grid b{
  display:flex;
  width:42px;
  height:42px;
  border-radius:14px;
  align-items:center;
  justify-content:center;
  background:#111827;
  color:#fff;
  font-size:22px;
  margin-bottom:10px;
}

.tes-lbd-hybrid-how-grid strong{
  display:block;
  color:#14213d;
  font-size:18px;
}

.tes-lbd-hybrid-how-grid span{
  color:#667085;
  font-weight:800;
}

.tes-lbd-lead-form{
  border-radius:28px;
  background:#fff;
  border:1px solid rgba(101,72,255,.12);
  box-shadow:0 18px 45px rgba(20,33,61,.09);
  padding:22px;
}

.tes-lbd-lead-progress{
  border-radius:22px;
  background:linear-gradient(145deg,#fff,#f7f8ff);
  border:1px solid rgba(101,72,255,.14);
  padding:16px;
  margin-bottom:18px;
}

.tes-lbd-lead-progress strong{
  color:#14213d;
  font-size:18px;
}

.tes-lbd-lead-progress div{
  height:12px;
  border-radius:999px;
  background:#eef0fb;
  overflow:hidden;
  margin-top:10px;
}

.tes-lbd-lead-progress span{
  display:block;
  height:100%;
  width:25%;
  border-radius:999px;
  background:linear-gradient(135deg,#6548ff,#ef3fa5);
}

.tes-lbd-lead-step{
  display:none;
}

.tes-lbd-lead-step.is-active{
  display:block;
  animation:tesLbdLeadIn .22s ease-out;
}

@keyframes tesLbdLeadIn{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}

.tes-lbd-lead-step h2{
  color:#14213d!important;
  font-size:clamp(34px,7vw,48px)!important;
  line-height:1.04!important;
  margin:0 0 8px!important;
}

.tes-lbd-lead-step p{
  color:#667085;
  font-size:18px;
  font-weight:800;
}

.tes-lbd-hybrid-upload-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.tes-lbd-lead-nav{
  display:flex;
  gap:12px;
  position:sticky;
  bottom:0;
  padding:14px 0 0;
  background:linear-gradient(180deg,rgba(255,255,255,0),#fff 35%);
  z-index:20;
}

.tes-lbd-lead-nav .tes-lbd-btn{
  flex:1;
}

.tes-lbd-lead-field-error{
  border:2px solid #ef4444!important;
  box-shadow:0 0 0 4px rgba(239,68,68,.12)!important;
}

@media(max-width:760px){
  .tes-lbd-hybrid-price-box,
  .tes-lbd-hybrid-how-grid,
  .tes-lbd-hybrid-upload-grid{
    grid-template-columns:1fr;
  }
  .tes-lbd-hybrid-hero{
    padding:22px;
  }
}


/* v0.9.1 Premium Hybrid polish */
.tes-lbd-hybrid-wrap{
  max-width:980px;
  margin:0 auto;
}

.tes-lbd-hybrid-hero{
  position:relative;
  overflow:hidden;
  padding:34px 26px!important;
  border-radius:34px!important;
  background:
    radial-gradient(circle at 15% 5%, rgba(255,255,255,.18), transparent 28%),
    radial-gradient(circle at 90% 92%, rgba(239,63,165,.55), transparent 35%),
    linear-gradient(145deg,#101827 0%,#202a68 52%,#d7197d 100%)!important;
  box-shadow:0 24px 60px rgba(17,24,39,.22)!important;
}

.tes-lbd-hybrid-hero:before{
  content:"";
  position:absolute;
  inset:14px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:28px;
  pointer-events:none;
}

.tes-lbd-kicker{
  display:inline-flex;
  width:auto;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  color:#fff!important;
  border-radius:999px;
  padding:8px 13px;
  font-size:13px!important;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:1000!important;
  margin-bottom:18px;
}

.tes-lbd-hybrid-hero h1{
  max-width:760px;
  margin:0 0 14px!important;
  color:#fff!important;
  font-size:clamp(42px,8vw,72px)!important;
  line-height:.98!important;
  letter-spacing:-.045em;
}

.tes-lbd-hybrid-lead{
  max-width:760px;
  margin:0!important;
  color:rgba(255,255,255,.88)!important;
  font-size:clamp(18px,3.8vw,25px)!important;
  line-height:1.36!important;
  font-weight:700!important;
}

.tes-lbd-hybrid-cta-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  margin:24px 0 20px;
}

.tes-lbd-hybrid-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 24px;
  border-radius:999px;
  background:#fff;
  color:#111827!important;
  text-decoration:none!important;
  font-weight:1000;
  box-shadow:0 12px 30px rgba(0,0,0,.22);
}

.tes-lbd-hybrid-cta-row span{
  color:rgba(255,255,255,.82);
  font-weight:900;
}

.tes-lbd-hybrid-price-box{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin:18px 0!important;
}

.tes-lbd-hybrid-price-box div{
  padding:15px!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.10)!important;
  backdrop-filter:blur(10px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}

.tes-lbd-hybrid-price-box small{
  display:block;
  color:rgba(255,255,255,.70);
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-bottom:4px;
}

.tes-lbd-hybrid-price-box strong{
  font-size:clamp(34px,7vw,52px)!important;
  letter-spacing:-.04em;
  line-height:.9;
}

.tes-lbd-hybrid-price-box span{
  display:block;
  font-size:14px;
  line-height:1.25;
  margin-top:7px;
}

.tes-lbd-hybrid-benefits{
  gap:9px!important;
  margin-top:18px;
}

.tes-lbd-hybrid-benefits span{
  font-size:14px;
  padding:9px 12px!important;
  box-shadow:0 10px 20px rgba(0,0,0,.12);
}

.tes-lbd-hybrid-how{
  padding:24px!important;
  border-radius:32px!important;
  background:linear-gradient(180deg,#fff,#fbfbff)!important;
}

.tes-lbd-section-title{
  text-align:center;
  max-width:620px;
  margin:0 auto 22px;
}

.tes-lbd-section-title span{
  display:inline-flex;
  background:#fff7e0;
  border:1px solid rgba(245,190,32,.28);
  color:#14213d;
  border-radius:999px;
  padding:7px 12px;
  font-weight:1000;
  margin-bottom:8px;
}

.tes-lbd-section-title h2{
  margin:0!important;
  font-size:clamp(42px,8vw,64px)!important;
  line-height:.96!important;
  letter-spacing:-.04em;
}

.tes-lbd-section-title p{
  margin:10px 0 0;
  color:#667085;
  font-size:18px;
  font-weight:800;
}

.tes-lbd-hybrid-how-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}

.tes-lbd-hybrid-how-grid div{
  position:relative;
  padding:18px!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 10px 26px rgba(17,24,39,.06);
}

.tes-lbd-hybrid-how-grid b{
  width:46px!important;
  height:46px!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#111827,#312e81)!important;
  box-shadow:0 10px 22px rgba(17,24,39,.18);
}

.tes-lbd-hybrid-how-grid strong{
  font-size:19px!important;
  line-height:1.15;
  margin-bottom:4px;
}

.tes-lbd-hybrid-how-grid span{
  display:block;
  font-size:14px;
  line-height:1.35;
}

.tes-lbd-lead-form{
  padding:26px!important;
  border-radius:32px!important;
}

.tes-lbd-form-intro{
  text-align:center;
  margin-bottom:18px;
}

.tes-lbd-form-intro span{
  display:inline-flex;
  background:#eef2ff;
  color:#312e81;
  border-radius:999px;
  padding:7px 12px;
  font-weight:1000;
}

.tes-lbd-form-intro h2{
  margin:10px 0 6px!important;
  font-size:clamp(38px,7vw,56px)!important;
  line-height:.98!important;
  color:#14213d!important;
}

.tes-lbd-form-intro p{
  margin:0 auto;
  color:#667085;
  max-width:620px;
  font-weight:800;
  font-size:17px;
}

.tes-lbd-lead-progress{
  border-radius:24px!important;
  padding:18px!important;
}

.tes-lbd-lead-step{
  background:linear-gradient(180deg,#fff,#fafbff);
  border:1px solid rgba(101,72,255,.12);
  border-radius:26px;
  padding:20px;
  margin-top:16px;
}

.tes-lbd-lead-step h2{
  font-size:clamp(36px,7vw,52px)!important;
}

.tes-lbd-lead-nav{
  padding-top:18px!important;
}

@media(max-width:760px){
  .tes-lbd-hybrid-hero{
    padding:26px 20px!important;
  }
  .tes-lbd-hybrid-price-box,
  .tes-lbd-hybrid-how-grid{
    grid-template-columns:1fr!important;
  }
  .tes-lbd-hybrid-price-box div{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:end;
    gap:6px 12px;
  }
  .tes-lbd-hybrid-price-box small,
  .tes-lbd-hybrid-price-box span{
    grid-column:1 / -1;
  }
  .tes-lbd-hybrid-price-box strong{
    font-size:44px!important;
  }
  .tes-lbd-hybrid-benefits span{
    font-size:13px;
  }
  .tes-lbd-lead-form{
    padding:18px!important;
  }
}


/* v0.9.2 Professional Hybrid: calmer, cleaner, no in-your-face styling */
.tes-lbd-hybrid-wrap{
  max-width:920px!important;
}

.tes-lbd-hybrid-hero{
  padding:24px 22px!important;
  border-radius:24px!important;
  background:
    linear-gradient(145deg,#121a2b 0%,#182047 58%,#68245f 100%)!important;
  box-shadow:0 14px 34px rgba(15,23,42,.15)!important;
  margin-bottom:18px!important;
}

.tes-lbd-hybrid-hero:before{
  inset:10px!important;
  border-radius:20px!important;
  opacity:.65;
}

.tes-lbd-kicker{
  font-size:11px!important;
  padding:6px 10px!important;
  margin-bottom:14px!important;
  letter-spacing:.06em!important;
}

.tes-lbd-hybrid-hero h1{
  font-size:clamp(30px,6vw,46px)!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
  margin-bottom:10px!important;
  max-width:680px!important;
}

.tes-lbd-hybrid-lead{
  font-size:clamp(16px,3.3vw,20px)!important;
  line-height:1.45!important;
  font-weight:650!important;
  max-width:680px!important;
}

.tes-lbd-hybrid-cta-row{
  margin:18px 0 16px!important;
  gap:10px!important;
}

.tes-lbd-hybrid-primary{
  min-height:46px!important;
  padding:0 18px!important;
  font-size:15px!important;
  box-shadow:0 8px 18px rgba(0,0,0,.16)!important;
}

.tes-lbd-hybrid-cta-row span{
  font-size:14px!important;
  font-weight:750!important;
}

.tes-lbd-hybrid-price-box{
  gap:8px!important;
  margin:14px 0!important;
}

.tes-lbd-hybrid-price-box div{
  padding:13px!important;
  border-radius:16px!important;
}

.tes-lbd-hybrid-price-box small{
  font-size:11px!important;
  margin-bottom:3px!important;
}

.tes-lbd-hybrid-price-box strong{
  font-size:clamp(28px,5.5vw,38px)!important;
  line-height:1!important;
}

.tes-lbd-hybrid-price-box span{
  font-size:13px!important;
  margin-top:5px!important;
}

.tes-lbd-hybrid-benefits{
  gap:7px!important;
  margin-top:13px!important;
}

.tes-lbd-hybrid-benefits span{
  font-size:12px!important;
  padding:7px 9px!important;
  font-weight:850!important;
  box-shadow:none!important;
}

.tes-lbd-hybrid-how{
  padding:20px!important;
  border-radius:24px!important;
  margin-bottom:18px!important;
  box-shadow:0 10px 24px rgba(15,23,42,.06)!important;
}

.tes-lbd-section-title{
  margin-bottom:16px!important;
}

.tes-lbd-section-title span{
  font-size:12px!important;
  padding:5px 10px!important;
}

.tes-lbd-section-title h2{
  font-size:clamp(30px,6vw,44px)!important;
  line-height:1.06!important;
}

.tes-lbd-section-title p{
  font-size:15px!important;
  margin-top:7px!important;
}

.tes-lbd-hybrid-how-grid{
  gap:10px!important;
}

.tes-lbd-hybrid-how-grid div{
  padding:14px!important;
  border-radius:18px!important;
  box-shadow:0 6px 16px rgba(15,23,42,.05)!important;
}

.tes-lbd-hybrid-how-grid b{
  width:36px!important;
  height:36px!important;
  border-radius:12px!important;
  font-size:18px!important;
  margin-bottom:8px!important;
  box-shadow:none!important;
}

.tes-lbd-hybrid-how-grid strong{
  font-size:17px!important;
}

.tes-lbd-hybrid-how-grid span{
  font-size:13px!important;
  font-weight:700!important;
}

.tes-lbd-lead-form{
  padding:20px!important;
  border-radius:24px!important;
  box-shadow:0 12px 28px rgba(15,23,42,.07)!important;
}

.tes-lbd-form-intro{
  margin-bottom:14px!important;
}

.tes-lbd-form-intro span{
  font-size:12px!important;
  padding:5px 10px!important;
}

.tes-lbd-form-intro h2{
  font-size:clamp(30px,6vw,42px)!important;
  line-height:1.08!important;
  margin:8px 0 5px!important;
}

.tes-lbd-form-intro p{
  font-size:15px!important;
  max-width:560px!important;
}

.tes-lbd-lead-progress{
  border-radius:18px!important;
  padding:14px!important;
  margin-bottom:14px!important;
}

.tes-lbd-lead-progress strong{
  font-size:16px!important;
}

.tes-lbd-lead-progress div{
  height:9px!important;
}

.tes-lbd-lead-step{
  padding:16px!important;
  border-radius:20px!important;
  margin-top:12px!important;
}

.tes-lbd-lead-step h2{
  font-size:clamp(28px,6vw,38px)!important;
  line-height:1.1!important;
}

.tes-lbd-lead-step p{
  font-size:15px!important;
  font-weight:700!important;
}

.tes-lbd-lead-step label{
  font-size:16px!important;
  margin-bottom:12px!important;
}

.tes-lbd-lead-step input,
.tes-lbd-lead-step textarea,
.tes-lbd-lead-step select{
  min-height:48px!important;
  font-size:15px!important;
  border-radius:16px!important;
}

.tes-lbd-lead-step textarea{
  min-height:130px!important;
}

.tes-lbd-lead-nav{
  position:static!important;
  background:transparent!important;
  padding-top:14px!important;
}

.tes-lbd-lead-nav .tes-lbd-btn,
.tes-lbd-lead-step .tes-lbd-btn{
  min-height:50px!important;
  font-size:16px!important;
  border-radius:18px!important;
}

@media(max-width:760px){
  .tes-lbd-hybrid-hero{
    padding:22px 18px!important;
  }
  .tes-lbd-hybrid-price-box div{
    display:block!important;
  }
  .tes-lbd-hybrid-price-box strong{
    font-size:36px!important;
  }
  .tes-lbd-hybrid-benefits span{
    font-size:12px!important;
  }
  .tes-lbd-hybrid-how,
  .tes-lbd-lead-form{
    padding:18px!important;
  }
}


/* v0.9.3 Premium polish across whole TES Local Business Directory plugin */
:root{
  --tes-lbd-navy:#14213d;
  --tes-lbd-ink:#111827;
  --tes-lbd-muted:#667085;
  --tes-lbd-line:#e7e9f3;
  --tes-lbd-soft:#f7f8ff;
  --tes-lbd-gold:#f4c84a;
  --tes-lbd-purple:#6548ff;
  --tes-lbd-pink:#ef3fa5;
  --tes-lbd-radius:24px;
  --tes-lbd-shadow:0 14px 36px rgba(15,23,42,.08);
  --tes-lbd-shadow-soft:0 8px 22px rgba(15,23,42,.055);
}

.tes-lbd-wrap,
.tes-lbd-directory,
.tes-lbd-profile,
.tes-lbd-hybrid-wrap{
  color:var(--tes-lbd-navy);
  font-family:inherit;
}

.tes-lbd-wrap *,
.tes-lbd-directory *,
.tes-lbd-profile *,
.tes-lbd-hybrid-wrap *{
  box-sizing:border-box;
}

/* Shared premium card language */
.tes-lbd-card,
.tes-lbd-form,
.tes-lbd-form-section,
.tes-lbd-profile-card,
.tes-lbd-profile-section,
.tes-lbd-search-panel,
.tes-lbd-business-card,
.tes-lbd-results-panel,
.tes-lbd-hybrid-how,
.tes-lbd-lead-form,
.tes-lbd-lead-step{
  border:1px solid var(--tes-lbd-line)!important;
  background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)!important;
  border-radius:var(--tes-lbd-radius)!important;
  box-shadow:var(--tes-lbd-shadow-soft)!important;
}

/* Typography tightening */
.tes-lbd-wrap h1,
.tes-lbd-wrap h2,
.tes-lbd-wrap h3,
.tes-lbd-profile h1,
.tes-lbd-profile h2,
.tes-lbd-directory h1,
.tes-lbd-directory h2{
  color:var(--tes-lbd-navy)!important;
  letter-spacing:-.025em;
}

.tes-lbd-wrap p,
.tes-lbd-profile p,
.tes-lbd-directory p{
  color:var(--tes-lbd-muted);
}

/* Buttons */
.tes-lbd-btn,
.tes-lbd-button,
.tes-lbd-profile a.tes-lbd-action,
.tes-lbd-directory a.tes-lbd-action,
.tes-lbd-lead-nav .tes-lbd-btn,
.tes-lbd-lead-step .tes-lbd-btn,
button.tes-lbd-btn{
  border-radius:18px!important;
  min-height:50px!important;
  font-weight:1000!important;
  letter-spacing:-.01em;
  box-shadow:0 10px 22px rgba(101,72,255,.12)!important;
  transition:transform .14s ease, box-shadow .14s ease, opacity .14s ease;
}

.tes-lbd-btn:hover,
.tes-lbd-button:hover,
button.tes-lbd-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(101,72,255,.16)!important;
}

.tes-lbd-btn.secondary,
.tes-lbd-button.secondary{
  background:#fff!important;
  color:var(--tes-lbd-navy)!important;
  border:2px solid #111827!important;
  box-shadow:none!important;
}

/* Inputs */
.tes-lbd-form input,
.tes-lbd-form textarea,
.tes-lbd-form select,
.tes-lbd-search-panel input,
.tes-lbd-search-panel select,
.tes-lbd-lead-step input,
.tes-lbd-lead-step textarea,
.tes-lbd-lead-step select{
  border:1px solid #d9deea!important;
  background:#fff!important;
  border-radius:16px!important;
  color:var(--tes-lbd-navy)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}

.tes-lbd-form input:focus,
.tes-lbd-form textarea:focus,
.tes-lbd-form select:focus,
.tes-lbd-search-panel input:focus,
.tes-lbd-search-panel select:focus{
  border-color:var(--tes-lbd-purple)!important;
  box-shadow:0 0 0 4px rgba(101,72,255,.12)!important;
  outline:none!important;
}

.tes-lbd-form label,
.tes-lbd-lead-step label{
  color:var(--tes-lbd-navy)!important;
  font-weight:950!important;
}

/* Hybrid landing: professional TES sales page */
.tes-lbd-hybrid-hero{
  max-width:100%;
  border-radius:28px!important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.13), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(239,63,165,.32), transparent 38%),
    linear-gradient(145deg,#111827 0%,#18224a 58%,#441c62 100%)!important;
  box-shadow:0 18px 44px rgba(17,24,39,.18)!important;
}

.tes-lbd-hybrid-hero h1{
  font-size:clamp(32px,5.8vw,52px)!important;
}

.tes-lbd-hybrid-lead{
  max-width:720px!important;
}

.tes-lbd-hybrid-price-box div{
  background:rgba(255,255,255,.095)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important;
}

.tes-lbd-hybrid-benefits span{
  border:1px solid rgba(255,255,255,.12);
}

/* How it works */
.tes-lbd-hybrid-how-grid div{
  border:1px solid var(--tes-lbd-line)!important;
}

.tes-lbd-hybrid-how-grid b{
  background:linear-gradient(135deg,#111827,#27215f)!important;
}

/* Lead form */
.tes-lbd-form-intro{
  padding:4px 4px 10px;
}

.tes-lbd-lead-progress{
  background:#f7f8ff!important;
  border:1px solid #e4e7f5!important;
}

.tes-lbd-lead-progress div{
  background:#eceffd!important;
}

.tes-lbd-lead-progress span{
  background:linear-gradient(135deg,var(--tes-lbd-purple),var(--tes-lbd-pink))!important;
}

.tes-lbd-lead-step{
  background:#fff!important;
}

/* Directory navigation / top buttons */
.tes-lbd-tabs,
.tes-lbd-nav,
.tes-lbd-directory-nav,
.tes-lbd-action-row{
  gap:10px!important;
}

.tes-lbd-tabs a,
.tes-lbd-nav a,
.tes-lbd-directory-nav a,
.tes-lbd-pill,
.tes-lbd-chip{
  border-radius:999px!important;
  font-weight:1000!important;
  border:1px solid var(--tes-lbd-line)!important;
  box-shadow:0 7px 16px rgba(15,23,42,.05)!important;
}

/* Search/browse panels */
.tes-lbd-search-panel,
.tes-lbd-results-panel{
  padding:20px!important;
}

.tes-lbd-search-panel h2,
.tes-lbd-results-panel h2{
  font-size:clamp(28px,6vw,42px)!important;
  line-height:1.05!important;
}

/* Business list cards */
.tes-lbd-business-card,
.tes-lbd-result-card,
.tes-lbd-listing-card{
  border:1px solid var(--tes-lbd-line)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:var(--tes-lbd-shadow-soft)!important;
  overflow:hidden;
}

.tes-lbd-business-card img,
.tes-lbd-result-card img,
.tes-lbd-listing-card img{
  border-radius:18px;
}

/* Business profile: keep venue-style but calmer premium */
.tes-lbd-profile-card{
  overflow:hidden;
  border-radius:0 0 30px 30px!important;
  box-shadow:0 16px 40px rgba(15,23,42,.08)!important;
}

.tes-lbd-profile-cover,
.tes-lbd-business-cover,
.tes-lbd-profile-banner{
  min-height:220px;
  background-color:#e9ecf7;
}

.tes-lbd-profile-logo,
.tes-lbd-business-logo,
.tes-lbd-profile-avatar{
  border:7px solid #fff!important;
  box-shadow:0 14px 30px rgba(15,23,42,.15)!important;
  background:#fff;
}

.tes-lbd-rating-pill,
.tes-lbd-rating-box,
.tes-lbd-review-summary{
  border:1px solid rgba(244,200,74,.32)!important;
  background:linear-gradient(135deg,#fffdf3,#fff7fb)!important;
  border-radius:999px!important;
  box-shadow:0 10px 24px rgba(244,200,74,.10)!important;
}

.tes-lbd-location-pill,
.tes-lbd-category-pill,
.tes-lbd-badge{
  background:#f2f0ff!important;
  border:1px solid #e4ddff!important;
  color:var(--tes-lbd-navy)!important;
  border-radius:999px!important;
  font-weight:1000!important;
}

.tes-lbd-profile-section{
  padding:22px!important;
  margin:18px 0!important;
}

.tes-lbd-profile-section h2{
  font-size:clamp(30px,6vw,46px)!important;
  line-height:1.05!important;
}

/* Gallery carousel / image areas */
.tes-lbd-gallery,
.tes-lbd-gallery-carousel,
.tes-lbd-profile-gallery{
  border-radius:24px!important;
  overflow:hidden;
}

.tes-lbd-gallery img,
.tes-lbd-gallery-carousel img,
.tes-lbd-profile-gallery img{
  border-radius:18px!important;
  box-shadow:0 8px 20px rgba(15,23,42,.08);
}

/* Reviews */
.tes-lbd-reviews,
.tes-lbd-review-card,
.tes-lbd-review-form{
  border-radius:22px!important;
  border:1px solid var(--tes-lbd-line)!important;
  background:#fff!important;
  box-shadow:var(--tes-lbd-shadow-soft)!important;
}

.tes-lbd-stars,
.tes-lbd-rating-stars{
  color:#f5b800!important;
  letter-spacing:.02em;
}

/* Admin lead dashboard polish */
.tes-lbd-leads-admin .tes-lbd-leads-hero{
  border-radius:24px!important;
  background:linear-gradient(135deg,#111827,#20285f 55%,#9d247b)!important;
}

.tes-lbd-lead-stat,
.tes-lbd-lead-card{
  border-radius:18px!important;
  border:1px solid #e6e8ef!important;
  box-shadow:0 10px 24px rgba(17,24,39,.06)!important;
}

.tes-lbd-status-pill{
  background:#eef2ff!important;
  color:#312e81!important;
}

/* Mobile consistency */
@media(max-width:760px){
  .tes-lbd-wrap,
  .tes-lbd-hybrid-wrap{
    padding-left:10px!important;
    padding-right:10px!important;
  }

  .tes-lbd-hybrid-hero,
  .tes-lbd-hybrid-how,
  .tes-lbd-lead-form,
  .tes-lbd-profile-section,
  .tes-lbd-search-panel,
  .tes-lbd-results-panel{
    border-radius:22px!important;
  }

  .tes-lbd-hybrid-hero{
    padding:22px 18px!important;
  }

  .tes-lbd-hybrid-hero h1{
    font-size:34px!important;
  }

  .tes-lbd-hybrid-lead{
    font-size:16px!important;
  }

  .tes-lbd-hybrid-price-box div{
    padding:12px!important;
  }

  .tes-lbd-hybrid-how-grid div{
    padding:13px!important;
  }

  .tes-lbd-profile-cover,
  .tes-lbd-business-cover,
  .tes-lbd-profile-banner{
    min-height:190px;
  }

  .tes-lbd-profile-section h2{
    font-size:34px!important;
  }
}

/* v0.9.4 request-first flow */
.tes-lbd-request-wrap{max-width:900px!important}
.tes-lbd-request-note{margin:16px auto 0!important;max-width:680px;text-align:center;background:#fff8e6;border:1px solid rgba(244,200,74,.35);border-radius:999px;padding:10px 14px;color:#14213d!important;font-weight:900!important}
.tes-lbd-simple-request-form{max-width:760px;margin:18px auto 0}
.tes-lbd-simple-request-form .tes-lbd-lead-step{display:block!important;padding:20px!important}
.tes-lbd-simple-request-form .tes-lbd-lead-step h2{font-size:clamp(28px,5vw,38px)!important}
.tes-lbd-simple-request-form .tes-lbd-btn{width:100%;margin-top:6px}
.tes-lbd-simple-request-form .tes-lbd-form-intro h2{font-size:clamp(30px,5vw,42px)!important}
.tes-lbd-request-how .tes-lbd-hybrid-how-grid div{min-height:auto!important}
@media(max-width:760px){.tes-lbd-request-note{border-radius:18px;font-size:14px}}

/* v0.9.5 dedicated admin hub build */


/* v0.9.6 single admin hub + simplified request form */
.tes-lbd-simple-request-form .tes-lbd-lead-step{
  max-width:620px;
  margin-left:auto;
  margin-right:auto;
}

.tes-lbd-simple-request-form .tes-lbd-lead-step label{
  margin-bottom:14px!important;
}

.tes-lbd-simple-request-form .tes-lbd-btn{
  margin-top:12px!important;
}

.tes-lbd-simple-request-form .tes-lbd-check{
  display:none!important;
}


/* v0.9.7 one Local Businesses admin menu only; requests sent to admin@tenerifeentertainmentscene.com */

/* v0.9.8 hides old automatic CPT Local Businesses menu; keeps dedicated admin hub only */
