/*
Theme Name:        Listings Biz Base
Theme URI:         https://listingsbiz.com/
Author:            Mudassar Shakeel
Author URI:        https://mudassar.work/
Description:       A plain, lightweight base theme for Listings Biz. No design of its own — the header, footer, home page, blog, docs and directory pages come from the Listings Biz plugins. Clean default layout, fast, accessible, block-editor ready.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.8
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       listingsbiz-base
Tags:              blog, one-column, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
*/

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:#fff;color:var(--lbiz-text,#14141F);font-family:var(--lbiz-font-body,"Mona Sans"),"Mona Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,video,iframe,embed,object{max-width:100%}
img,video{height:auto}
a{color:var(--lbiz-primary,#FF7445)}
a:hover{color:var(--lbiz-primary-hover,#E9602F)}
:focus-visible{outline:2px solid var(--lbiz-primary,#FF7445);outline-offset:2px}
h1,h2,h3,h4,h5,h6{font-family:inherit;font-style:normal;line-height:1.2;letter-spacing:-.015em;margin:1.6em 0 .6em;color:inherit}
h1{font-size:clamp(30px,4vw,42px)}h2{font-size:clamp(24px,3vw,30px)}h3{font-size:21px}h4{font-size:18px}
p,ul,ol,figure,blockquote,pre,table{margin:0 0 1.2em}
hr{border:0;border-top:1px solid #E7E7EE;margin:2em 0}
pre{overflow:auto;background:#F6F6F8;border-radius:10px;padding:16px}
table{border-collapse:collapse;width:100%}
th,td{border-bottom:1px solid #E7E7EE;padding:8px 10px;text-align:left}
input,select,textarea,button{font:inherit}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus{clip:auto;width:auto;height:auto;margin:0;z-index:100000;top:8px;left:8px;padding:10px 16px;background:#14141F;color:#fff;border-radius:8px;text-decoration:none}

/* ---------- layout ---------- */
.lbt-wrap{width:100%;max-width:var(--lbiz-max-width,1200px);margin:0 auto;padding:0 24px}
.lbt-main{display:block;min-height:50vh}
.lbt-content{padding:48px 0 64px}
.lbt-narrow{max-width:760px;margin:0 auto}
.lbt-page-title{margin-top:0}
.lbt-entry-content>*:first-child{margin-top:0}
.lbt-entry-content .alignwide{max-width:1200px;width:calc(100vw - 48px);margin-left:50%;transform:translateX(-50%)}
.lbt-entry-content .alignfull{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw)}
.alignleft{float:left;margin:.3em 1.5em 1em 0}.alignright{float:right;margin:.3em 0 1em 1.5em}.aligncenter{margin-left:auto;margin-right:auto;display:block}
.wp-caption-text,figcaption{font-size:14px;color:#6B6B78;text-align:center}
.sticky,.bypostauthor,.gallery-caption{}
/* Full width / canvas templates: no padding — the page content controls everything. */
.lbt-full .lbt-content{padding:0}
.lbt-full .lbt-entry-content>*{margin-bottom:0}

/* ---------- fallback header / footer (only when the Header & Footer plugin is off) ---------- */
.lbt-header{border-bottom:1px solid #E7E7EE;background:#fff}
.lbt-header .lbt-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:64px;flex-wrap:wrap}
.lbt-brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:19px;color:inherit;text-decoration:none}
.lbt-brand img{max-height:40px;width:auto}
.lbt-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:18px;flex-wrap:wrap}
.lbt-nav a{color:#4B4B57;text-decoration:none;font-weight:500}
.lbt-nav a:hover,.lbt-nav .current-menu-item>a{color:#14141F}
.lbt-nav .sub-menu{display:none}
.lbt-footer{border-top:1px solid #E7E7EE;padding:28px 0;font-size:14px;color:#6B6B78}
.lbt-footer .lbt-wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.lbt-footer ul{list-style:none;margin:0;padding:0;display:flex;gap:16px;flex-wrap:wrap}
.lbt-footer a{color:inherit}

/* ---------- posts list (only when the Blog plugin is off) ---------- */
.lbt-post{padding:0 0 32px;margin:0 0 32px;border-bottom:1px solid #E7E7EE}
.lbt-post h2{margin:0 0 8px}
.lbt-post h2 a{color:inherit;text-decoration:none}
.lbt-meta{font-size:14px;color:#6B6B78;margin-bottom:12px}
.lbt-thumb img{border-radius:12px;margin-bottom:16px}
.nav-links{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.nav-links .page-numbers{padding:8px 13px;border:1px solid #E7E7EE;border-radius:8px;text-decoration:none;color:inherit}
.nav-links .current{background:#14141F;color:#fff;border-color:#14141F}
.post-navigation .nav-links{justify-content:space-between}

/* ---------- forms + comments ---------- */
.search-form{display:flex;gap:8px;max-width:520px}
.search-form label{flex:1}
.search-field,.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;border:1px solid #DCDCE4;border-radius:10px;padding:10px 12px;background:#fff}
.search-submit,.comment-form .submit{border:0;border-radius:10px;padding:10px 18px;background:var(--lbiz-primary,#FF7445);color:#fff;font-weight:600;cursor:pointer}
.comment-list{list-style:none;padding:0}
.comment-list .children{list-style:none;padding-left:24px}
.comment-body{border-bottom:1px solid #E7E7EE;padding:14px 0}
.comment-author img{border-radius:50%;vertical-align:middle;margin-right:8px}
.comment-metadata{font-size:13px;color:#6B6B78}

@media (max-width:640px){.lbt-wrap{padding:0 16px}.lbt-content{padding:32px 0 48px}.lbt-entry-content .alignwide{width:calc(100vw - 32px)}}
.lbt-widgets{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px;margin-bottom:20px}
.lbt-widgets .widget-title{font-size:15px;margin:0 0 10px;color:#14141F}
.lbt-widgets ul{display:block}.lbt-widgets li{margin:4px 0}
