/* ==========================================================================
   Best Classifieds - Main Stylesheet v2.0.0
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
	--bc-primary: #0F4C3A;
	--bc-primary-dark: #0A3528;
	--bc-accent: #C9A961;
	--bc-accent-dark: #A8893F;
	--bc-bg: #FAF8F4;
	--bc-bg-alt: #F5F1E9;
	--bc-surface: #FFFFFF;
	--bc-text: #1A1A1A;
	--bc-text-muted: #5A5A5A;
	--bc-text-subtle: #8A8A8A;
	--bc-border: #E8E2D5;
	--bc-border-soft: #F0EBDF;
	--bc-footer-bg: #1A1A1A;
	--bc-footer-text: #9A968B;

	--bc-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--bc-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	--bc-radius-sm: 3px;
	--bc-radius: 6px;
	--bc-radius-lg: 8px;

	--bc-container: 1280px;
	--bc-gutter: 32px;

	--bc-shadow-sm: 0 1px 2px rgba(26, 26, 26, 0.04);
	--bc-shadow: 0 2px 8px rgba(26, 26, 26, 0.06);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--bc-font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--bc-text);
	background: var(--bc-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
img { border: 0; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--bc-font-heading);
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 0.6em;
	color: var(--bc-text);
	letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin: 0 0 1em; }

a {
	color: var(--bc-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	transition: color 0.15s ease;
}
a:hover, a:focus { color: var(--bc-primary-dark); }

a:focus, button:focus, input:focus, select:focus, textarea:focus {
	outline: 2px solid var(--bc-accent);
	outline-offset: 2px;
}

ul, ol { padding-left: 1.4em; }
blockquote {
	border-left: 3px solid var(--bc-accent);
	padding: 0.5em 1.2em;
	margin: 1.5em 0;
	font-family: var(--bc-font-heading);
	font-style: italic;
	color: var(--bc-text-muted);
}
code, pre {
	font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
	font-size: 0.9em;
	background: var(--bc-bg-alt);
	padding: 0.15em 0.4em;
	border-radius: var(--bc-radius-sm);
}
pre { padding: 1em; overflow-x: auto; }

hr { border: 0; border-top: 1px solid var(--bc-border); margin: 2em 0; }

input, select, textarea, button { font: inherit; }

::selection { background: var(--bc-accent); color: var(--bc-text); }

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: var(--bc-bg);
	border-radius: var(--bc-radius);
	clip: auto !important;
	color: var(--bc-primary);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
.skip-link {
	background: var(--bc-primary);
	color: var(--bc-bg) !important;
	position: absolute;
	left: -9999px;
	z-index: 999999;
}
.skip-link:focus { left: 5px; top: 5px; padding: 12px 20px; }

/* ---------- Layout ---------- */
.bc-container {
	max-width: var(--bc-container);
	margin: 0 auto;
	padding: 0 var(--bc-gutter);
}

.bc-site { background: var(--bc-bg); }

.bc-layout-right, .bc-layout-left {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px;
	margin-top: 32px;
	margin-bottom: 64px;
}
.bc-layout-left { grid-template-columns: 320px minmax(0, 1fr); }
.bc-layout-left .bc-content-area { order: 2; }
.bc-layout-left .bc-sidebar { order: 1; }
.bc-layout-none { display: block; margin-top: 32px; margin-bottom: 64px; }

/* ---------- Buttons ---------- */
.bc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	font-size: 14px;
	font-weight: 500;
	font-family: var(--bc-font-body);
	border-radius: var(--bc-radius-sm);
	border: 1px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.15s ease;
	white-space: nowrap;
	line-height: 1.4;
}
.bc-btn-primary {
	background: var(--bc-primary);
	color: var(--bc-bg);
	border-color: var(--bc-primary);
}
.bc-btn-primary:hover, .bc-btn-primary:focus {
	background: var(--bc-primary-dark);
	color: var(--bc-bg);
	border-color: var(--bc-primary-dark);
}
.bc-btn-outline {
	background: transparent;
	color: var(--bc-primary);
	border-color: var(--bc-primary);
}
.bc-btn-outline:hover, .bc-btn-outline:focus {
	background: var(--bc-primary);
	color: var(--bc-bg);
}
.bc-btn-gold {
	background: var(--bc-accent);
	color: var(--bc-text);
	border-color: var(--bc-accent);
}
.bc-btn-gold:hover, .bc-btn-gold:focus {
	background: var(--bc-accent-dark);
	color: var(--bc-text);
	border-color: var(--bc-accent-dark);
}
.bc-btn-block { width: 100%; }
.bc-btn:not(:last-child) { margin-bottom: 8px; }

.bc-link-text { color: var(--bc-text); text-decoration: none; font-size: 14px; }
.bc-link-text:hover { color: var(--bc-primary); }
.bc-link-arrow {
	color: var(--bc-primary);
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: 500;
}

/* ---------- Header ---------- */
.bc-site-header {
	background: var(--bc-bg);
	border-bottom: 1px solid var(--bc-border);
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(8px);
}
.bc-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 18px;
	padding-bottom: 18px;
}
.bc-site-branding { flex-shrink: 0; }
.bc-site-title {
	font-family: var(--bc-font-heading);
	font-size: 22px;
	font-weight: 500;
	margin: 0;
	letter-spacing: -0.3px;
}
.bc-site-title a {
	color: var(--bc-primary);
	text-decoration: none;
}
.custom-logo { max-height: 44px; width: auto; }

.bc-primary-nav { flex: 1; display: flex; justify-content: center; }
.bc-primary-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 28px;
}
.bc-primary-nav a {
	color: var(--bc-text);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.15s ease;
	padding: 8px 0;
}
.bc-primary-nav a:hover, .bc-primary-nav .current-menu-item > a {
	color: var(--bc-primary);
}

.bc-header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.bc-menu-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--bc-border);
	border-radius: var(--bc-radius-sm);
	padding: 8px 10px;
	cursor: pointer;
	color: var(--bc-text);
}
.bc-menu-toggle .ti { font-size: 22px; }

/* ---------- Hero ---------- */
.bc-hero {
	background: linear-gradient(180deg, var(--bc-bg) 0%, var(--bc-bg-alt) 100%);
	padding: 80px 0 72px;
	border-bottom: 1px solid var(--bc-border);
	text-align: center;
}
.bc-hero-inner { max-width: 720px; margin: 0 auto; }

.bc-eyebrow {
	font-size: 11px;
	letter-spacing: 2.5px;
	color: var(--bc-accent);
	text-transform: uppercase;
	margin-bottom: 14px;
	font-weight: 500;
}

.bc-hero-title {
	font-family: var(--bc-font-heading);
	font-size: 3.4rem;
	font-weight: 400;
	line-height: 1.05;
	margin: 0 0 18px;
	letter-spacing: -1.2px;
}
.bc-hero-title em { color: var(--bc-primary); font-style: italic; }

.bc-hero-subtitle {
	font-size: 16px;
	color: var(--bc-text-muted);
	max-width: 480px;
	margin: 0 auto 36px;
	line-height: 1.6;
}

.bc-hero-search {
	background: var(--bc-surface);
	max-width: 640px;
	margin: 0 auto;
	border: 1px solid var(--bc-border);
	border-radius: var(--bc-radius);
	padding: 8px;
	display: flex;
	gap: 8px;
	align-items: center;
}
.bc-hero-search-input {
	flex: 1;
	border: none;
	outline: none;
	padding: 12px 16px;
	font-size: 14px;
	background: transparent;
	color: var(--bc-text);
	min-width: 0;
}
.bc-hero-search-input:focus { outline: none; }
.bc-search-divider {
	width: 1px;
	height: 24px;
	background: var(--bc-border);
	flex-shrink: 0;
}
.bc-search-location-stub {
	padding: 12px 16px;
	font-size: 14px;
	color: var(--bc-text-muted);
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.bc-hero-popular {
	margin-top: 28px;
	font-size: 13px;
	color: var(--bc-text-muted);
}
.bc-hero-popular a { color: var(--bc-primary); }

/* ---------- Sections ---------- */
.bc-section { padding: 80px 0; }
.bc-section-light { background: var(--bc-surface); border-top: 1px solid var(--bc-border); border-bottom: 1px solid var(--bc-border); }

.bc-section-header { margin-bottom: 40px; }
.bc-section-header-center { text-align: center; }
.bc-section-header-split {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
}
.bc-section-title {
	font-family: var(--bc-font-heading);
	font-size: 2.2rem;
	font-weight: 400;
	margin: 0;
	letter-spacing: -0.5px;
}
.bc-section-subtitle {
	font-family: var(--bc-font-heading);
	font-size: 1.5rem;
	font-weight: 400;
	margin: 0 0 18px;
}

/* ---------- Categories Grid ---------- */
.bc-categories-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.bc-category-card {
	background: var(--bc-surface);
	border: 1px solid var(--bc-border);
	padding: 28px 18px;
	text-align: center;
	border-radius: var(--bc-radius);
	text-decoration: none;
	color: var(--bc-text);
	transition: all 0.15s ease;
	display: block;
}
.bc-category-card:hover, .bc-category-card:focus {
	border-color: var(--bc-primary);
	color: var(--bc-text);
	transform: translateY(-2px);
}
.bc-category-card .ti {
	font-size: 26px;
	color: var(--bc-primary);
	display: block;
	margin-bottom: 12px;
}
.bc-category-name {
	display: block;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 4px;
}
.bc-category-count {
	display: block;
	font-size: 12px;
	color: var(--bc-text-muted);
}

/* ---------- Listings Grid ---------- */
.bc-listings-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.bc-listing-card {
	background: var(--bc-surface);
	border: 1px solid var(--bc-border);
	border-radius: var(--bc-radius);
	overflow: hidden;
	transition: all 0.2s ease;
	display: flex;
	flex-direction: column;
}
.bc-listing-card:hover {
	border-color: var(--bc-primary);
	transform: translateY(-3px);
	box-shadow: var(--bc-shadow);
}
.bc-listing-featured {
	border-color: var(--bc-accent);
	background: linear-gradient(180deg, #FFFCF4 0%, var(--bc-surface) 100%);
}

.bc-listing-card-image {
	display: block;
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--bc-bg-alt);
}
.bc-listing-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.bc-listing-card:hover .bc-listing-card-image img { transform: scale(1.04); }

.bc-listing-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--bc-text-subtle);
	font-size: 32px;
}

.bc-listing-price-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: var(--bc-bg);
	color: var(--bc-text);
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 500;
	border-radius: var(--bc-radius-sm);
	font-family: var(--bc-font-heading);
}
.bc-price-currency { font-size: 0.85em; margin-right: 1px; }
.bc-price-amount { font-weight: 600; }

.bc-listing-featured-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--bc-accent);
	color: var(--bc-text);
	padding: 4px 10px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	border-radius: var(--bc-radius-sm);
}

.bc-listing-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.bc-listing-card-cat {
	font-size: 11px;
	color: var(--bc-accent);
	letter-spacing: 1.2px;
	text-transform: uppercase;
	margin-bottom: 8px;
	font-weight: 500;
}
.bc-listing-card-title {
	font-family: var(--bc-font-heading);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	margin: 0 0 10px;
}
.bc-listing-card-title a { color: var(--bc-text); text-decoration: none; }
.bc-listing-card-title a:hover { color: var(--bc-primary); }
.bc-listing-card-meta {
	font-size: 12px;
	color: var(--bc-text-muted);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: auto;
}
.bc-listing-card-location { display: inline-flex; align-items: center; gap: 4px; }
.bc-listing-card-location .ti { font-size: 13px; }

/* ---------- CTA Banner ---------- */
.bc-cta-banner {
	padding: 64px 0;
	background: var(--bc-primary);
	color: var(--bc-bg);
	text-align: center;
}
.bc-cta-title {
	font-family: var(--bc-font-heading);
	font-size: 2rem;
	font-weight: 400;
	margin: 0 0 12px;
	color: var(--bc-bg);
	letter-spacing: -0.4px;
}
.bc-cta-subtitle {
	font-size: 14px;
	color: rgba(250, 248, 244, 0.8);
	margin: 0 0 28px;
}

/* ---------- Single Listing ---------- */
.bc-breadcrumbs {
	padding: 18px 0;
	background: var(--bc-bg);
	border-bottom: 1px solid var(--bc-border);
	font-size: 12px;
	color: var(--bc-text-muted);
}
.bc-breadcrumbs a { color: var(--bc-text-muted); text-decoration: none; }
.bc-breadcrumbs a:hover { color: var(--bc-primary); }
.bc-breadcrumb-sep { margin: 0 8px; color: var(--bc-accent); }
.bc-breadcrumbs [aria-current="page"] { color: var(--bc-text); }

.bc-listing-layout {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 48px;
	margin: 48px auto 64px;
}
.bc-listing-hero-image {
	border: 1px solid var(--bc-border);
	border-radius: var(--bc-radius);
	overflow: hidden;
	margin-bottom: 24px;
	aspect-ratio: 16 / 10;
	background: var(--bc-bg-alt);
}
.bc-listing-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.bc-listing-description {
	background: var(--bc-surface);
	border: 1px solid var(--bc-border);
	border-radius: var(--bc-radius);
	padding: 32px;
}
.bc-listing-content { font-size: 15px; line-height: 1.75; color: #3A3A3A; }
.bc-listing-content p:last-child { margin-bottom: 0; }

.bc-listing-sidebar { position: relative; }
.bc-listing-card-detail {
	background: var(--bc-surface);
	border: 1px solid var(--bc-border);
	border-radius: var(--bc-radius);
	padding: 28px;
	position: sticky;
	top: 90px;
}
.bc-listing-title {
	font-family: var(--bc-font-heading);
	font-size: 1.75rem;
	font-weight: 400;
	line-height: 1.2;
	margin: 8px 0 16px;
	letter-spacing: -0.5px;
}
.bc-listing-price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--bc-border);
}
.bc-listing-price > span:first-child {
	font-family: var(--bc-font-heading);
	font-size: 2.2rem;
	font-weight: 500;
	color: var(--bc-primary);
}
.bc-listing-price-note { font-size: 13px; color: var(--bc-text-muted); }

.bc-listing-specs {
	margin: 0 0 20px;
	padding: 0;
}
.bc-listing-specs > div {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	font-size: 14px;
	border-bottom: 1px solid var(--bc-border-soft);
}
.bc-listing-specs > div:last-child { border-bottom: none; }
.bc-listing-specs dt { color: var(--bc-text-muted); margin: 0; }
.bc-listing-specs dd { color: var(--bc-text); font-weight: 500; margin: 0; }

.bc-listing-contact { margin: 16px 0 0; }
.bc-listing-author {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--bc-border);
	display: flex;
	align-items: center;
	gap: 12px;
}
.bc-avatar { border-radius: 50%; }
.bc-author-name { font-size: 14px; font-weight: 500; color: var(--bc-text); }
.bc-author-meta { font-size: 12px; color: var(--bc-text-muted); }

/* ---------- Sidebar Widgets ---------- */
.bc-sidebar { font-size: 14px; }
.bc-sidebar .widget {
	background: var(--bc-surface);
	border: 1px solid var(--bc-border);
	border-radius: var(--bc-radius);
	padding: 24px;
	margin-bottom: 20px;
}
.widget-title {
	font-family: var(--bc-font-heading);
	font-size: 1.1rem;
	font-weight: 500;
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--bc-border);
}
.bc-sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.bc-sidebar li { padding: 6px 0; }
.bc-sidebar a { color: var(--bc-text); text-decoration: none; }
.bc-sidebar a:hover { color: var(--bc-primary); }

.bc-widget-listings .bc-widget-listing {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 8px 0;
}
.bc-widget-thumb {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border-radius: var(--bc-radius-sm);
	overflow: hidden;
}
.bc-widget-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bc-widget-content { flex: 1; min-width: 0; }
.bc-widget-title {
	display: block;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	margin-bottom: 2px;
}
.bc-widget-price {
	display: block;
	font-size: 13px;
	color: var(--bc-primary);
	font-family: var(--bc-font-heading);
	font-weight: 500;
}
.bc-widget-categories li { display: flex; align-items: center; gap: 8px; }
.bc-widget-categories .ti { color: var(--bc-primary); font-size: 16px; }
.bc-cat-count { color: var(--bc-text-muted); font-size: 12px; margin-left: auto; }

/* ---------- Search Form ---------- */
.bc-search-form {
	display: flex;
	gap: 8px;
	align-items: stretch;
}
.bc-search-field {
	flex: 1;
	padding: 11px 14px;
	border: 1px solid var(--bc-border);
	border-radius: var(--bc-radius-sm);
	font-size: 14px;
	background: var(--bc-surface);
	color: var(--bc-text);
	min-width: 0;
}

/* ---------- Pagination ---------- */
.bc-archive-page .navigation,
.navigation.pagination {
	margin: 48px 0;
	text-align: center;
}
.nav-links {
	display: inline-flex;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: center;
}
.nav-links a, .nav-links span {
	padding: 8px 14px;
	border: 1px solid var(--bc-border);
	border-radius: var(--bc-radius-sm);
	color: var(--bc-text);
	text-decoration: none;
	font-size: 14px;
	background: var(--bc-surface);
}
.nav-links a:hover { background: var(--bc-primary); color: var(--bc-bg); border-color: var(--bc-primary); }
.nav-links .current { background: var(--bc-primary); color: var(--bc-bg); border-color: var(--bc-primary); }

/* ---------- Page Header ---------- */
.bc-page-header { margin-bottom: 32px; }
.bc-page-title {
	font-family: var(--bc-font-heading);
	font-size: 2.2rem;
	font-weight: 400;
	margin: 0 0 8px;
	letter-spacing: -0.4px;
}
.bc-archive-description { color: var(--bc-text-muted); font-size: 15px; }

.bc-entry-header { margin-bottom: 24px; }
.bc-entry-title {
	font-family: var(--bc-font-heading);
	font-size: 2.2rem;
	font-weight: 400;
	margin: 0 0 12px;
	letter-spacing: -0.5px;
}
.bc-entry-title a { color: var(--bc-text); text-decoration: none; }
.bc-entry-title a:hover { color: var(--bc-primary); }
.bc-entry-meta { font-size: 13px; color: var(--bc-text-muted); }
.bc-entry-meta a { color: var(--bc-text-muted); }
.bc-entry-thumb { margin-bottom: 24px; border-radius: var(--bc-radius); overflow: hidden; aspect-ratio: 16 / 9; }
.bc-entry-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bc-entry-content { font-size: 16px; line-height: 1.8; }
.bc-entry-content > * + * { margin-top: 1em; }
.bc-entry-footer {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--bc-border);
	font-size: 13px;
	color: var(--bc-text-muted);
}
.bc-entry-footer span:not(:last-child)::after { content: ' · '; margin: 0 4px; }
.bc-entry-footer a { color: var(--bc-text-muted); }

/* ---------- Comments ---------- */
.bc-comments-area {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--bc-border);
}
.bc-comments-title {
	font-family: var(--bc-font-heading);
	font-size: 1.5rem;
	font-weight: 400;
	margin-bottom: 24px;
}
.bc-comment-list { list-style: none; margin: 0 0 32px; padding: 0; }
.bc-comment-list .comment, .bc-comment-list .pingback {
	padding: 16px 0;
	border-bottom: 1px solid var(--bc-border-soft);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--bc-border);
	border-radius: var(--bc-radius-sm);
	font-size: 14px;
	background: var(--bc-surface);
	margin-bottom: 12px;
}
.comment-form .submit {
	background: var(--bc-primary);
	color: var(--bc-bg);
	border: none;
	padding: 11px 22px;
	font-size: 14px;
	font-weight: 500;
	border-radius: var(--bc-radius-sm);
	cursor: pointer;
}

/* ---------- 404 ---------- */
.bc-404 { padding: 96px 0; text-align: center; }
.bc-404-inner { max-width: 480px; margin: 0 auto; }
.bc-404-title {
	font-family: var(--bc-font-heading);
	font-size: 6rem;
	color: var(--bc-primary);
	margin: 0 0 16px;
	font-weight: 500;
	letter-spacing: -3px;
}
.bc-404-text { font-size: 16px; color: var(--bc-text-muted); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.bc-site-footer { margin-top: 64px; }
.bc-footer-widgets {
	background: var(--bc-bg-alt);
	padding: 56px 0;
	border-top: 1px solid var(--bc-border);
}
.bc-footer-widgets-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}
.bc-footer-col .widget-title {
	font-family: var(--bc-font-heading);
	font-size: 1rem;
	font-weight: 500;
	margin: 0 0 16px;
	color: var(--bc-text);
	border: none;
	padding: 0;
}
.bc-footer-col ul { list-style: none; padding: 0; margin: 0; }
.bc-footer-col li { padding: 4px 0; }
.bc-footer-col a { color: var(--bc-text-muted); text-decoration: none; font-size: 14px; }
.bc-footer-col a:hover { color: var(--bc-primary); }

.bc-footer-bottom {
	background: var(--bc-footer-bg);
	color: var(--bc-footer-text);
	padding: 28px 0;
	font-size: 13px;
}
.bc-footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}
.bc-footer-bottom a { color: var(--bc-footer-text); text-decoration: none; }
.bc-footer-bottom a:hover { color: var(--bc-bg); }
.bc-footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; }

/* ---------- Editor / Block defaults ---------- */
.alignwide { max-width: var(--bc-container); margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--bc-text-muted); text-align: center; padding: 8px 0; }

.has-primary-color { color: var(--bc-primary); }
.has-primary-background-color { background-color: var(--bc-primary); }
.has-accent-color { color: var(--bc-accent); }
.has-accent-background-color { background-color: var(--bc-accent); }
.has-background-background-color { background-color: var(--bc-bg); }
.has-foreground-color { color: var(--bc-text); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.bc-categories-grid { grid-template-columns: repeat(3, 1fr); }
	.bc-listings-grid { grid-template-columns: repeat(2, 1fr); }
	.bc-listing-layout { grid-template-columns: 1fr; gap: 32px; }
	.bc-listing-card-detail { position: static; }
}

@media (max-width: 768px) {
	:root { --bc-gutter: 20px; }
	.bc-hero-title { font-size: 2.4rem; letter-spacing: -0.6px; }
	.bc-section-title, .bc-page-title, .bc-entry-title { font-size: 1.75rem; }
	.bc-section { padding: 56px 0; }
	.bc-hero { padding: 56px 0 48px; }

	.bc-menu-toggle { display: inline-flex; align-items: center; }
	.bc-primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--bc-bg);
		border-bottom: 1px solid var(--bc-border);
		display: none;
		padding: 16px var(--bc-gutter);
	}
	.bc-primary-nav.is-open { display: block; }
	.bc-primary-nav ul { flex-direction: column; gap: 0; }
	.bc-primary-nav li { padding: 8px 0; border-bottom: 1px solid var(--bc-border-soft); }
	.bc-primary-nav li:last-child { border-bottom: none; }

	.bc-header-actions .bc-link-text { display: none; }

	.bc-categories-grid { grid-template-columns: repeat(2, 1fr); }
	.bc-listings-grid { grid-template-columns: 1fr; }

	.bc-hero-search { flex-direction: column; padding: 12px; }
	.bc-search-divider, .bc-search-location-stub { display: none; }
	.bc-hero-search-input, .bc-hero-search button { width: 100%; }

	.bc-section-header-split { flex-direction: column; align-items: flex-start; gap: 12px; }

	.bc-layout-right, .bc-layout-left { grid-template-columns: 1fr; gap: 32px; }
	.bc-layout-left .bc-content-area, .bc-layout-left .bc-sidebar { order: initial; }

	.bc-footer-widgets-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
	.bc-footer-bottom-inner { flex-direction: column; text-align: center; }

	.bc-404-title { font-size: 4rem; }
}

@media (max-width: 480px) {
	.bc-hero-title { font-size: 2rem; }
	.bc-categories-grid { grid-template-columns: repeat(2, 1fr); }
	.bc-footer-widgets-grid { grid-template-columns: 1fr; }
	.bc-listing-description { padding: 20px; }
	.bc-listing-card-detail { padding: 20px; }
}

/* ---------- Print ---------- */
@media print {
	.bc-site-header, .bc-site-footer, .bc-listing-sidebar, .bc-cta-banner, .bc-hero-search, .bc-menu-toggle { display: none; }
	body { background: white; color: black; }
	a { color: black; text-decoration: underline; }
}

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================================
   HOMEPAGE WOW UPGRADE — appended block, overrides earlier rules
   ============================================================================ */

/* --- Hero: bigger, richer, with subtle pattern --- */
.bc-front-page .bc-hero {
	padding: 100px 0 96px;
	position: relative;
	/* No overflow:hidden — would clip the live-search dropdown when it extends below the hero. */
	background:
		radial-gradient(ellipse at top, rgba(15, 76, 58, 0.04) 0%, transparent 55%),
		radial-gradient(ellipse at bottom right, rgba(201, 169, 97, 0.06) 0%, transparent 50%),
		linear-gradient(180deg, var(--bc-bg) 0%, var(--bc-bg-alt) 100%);
	z-index: 5;
}
.bc-front-page .bc-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(15,76,58,.03) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(15,76,58,.03) 1px, transparent 1px);
	background-size: 40px 40px;
	mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
	pointer-events: none;
	z-index: 0;
}
.bc-front-page .bc-hero-inner { max-width: 820px; position: relative; z-index: 1; }

.bc-front-page .bc-hero-title {
	font-size: 4.6rem;
	letter-spacing: -2px;
	line-height: 1;
	margin-bottom: 22px;
}
.bc-front-page .bc-hero-subtitle {
	font-size: 18px;
	max-width: 560px;
	margin-bottom: 44px;
	line-height: 1.7;
}
.bc-front-page .bc-hero-search {
	max-width: 720px;
	padding: 10px;
	box-shadow: 0 12px 40px -12px rgba(15, 76, 58, 0.18), 0 0 0 1px rgba(15,76,58,.04);
	border-radius: 12px;
}
.bc-front-page .bc-hero-search-input { padding: 16px 20px; font-size: 15px; }
.bc-front-page .bc-hero-search .bc-btn { padding: 14px 28px; font-size: 14px; }

/* --- Trust strip below hero --- */
.bc-trust-strip {
	background: var(--bc-bg-alt);
	border-bottom: 1px solid var(--bc-border);
	padding: 24px 0;
}
.bc-trust-row {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 56px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--bc-text-muted);
}
.bc-trust-item {
	display: flex;
	align-items: center;
	gap: 8px;
}
.bc-trust-num {
	font-family: var(--bc-font-heading);
	font-size: 22px;
	color: var(--bc-primary);
	font-weight: 500;
}
.bc-trust-item .ti { color: var(--bc-accent); font-size: 18px; }

/* --- Categories: bigger asymmetric grid --- */
.bc-front-page .bc-categories-section { padding: 88px 0; }
.bc-front-page .bc-categories-grid {
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.bc-front-page .bc-category-card {
	padding: 40px 24px 32px;
	border-radius: 14px;
	position: relative;
	overflow: hidden;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	background: linear-gradient(180deg, var(--bc-surface) 0%, var(--bc-bg) 100%);
}
.bc-front-page .bc-category-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at top right, rgba(15,76,58,.05) 0%, transparent 60%);
	opacity: 0;
	transition: opacity 0.25s;
}
.bc-front-page .bc-category-card:hover {
	transform: translateY(-4px);
	border-color: var(--bc-primary);
	box-shadow: 0 16px 40px -12px rgba(15, 76, 58, 0.18);
}
.bc-front-page .bc-category-card:hover::before { opacity: 1; }
.bc-front-page .bc-category-card .ti {
	font-size: 38px;
	margin-bottom: 16px;
	transition: transform 0.25s;
}
.bc-front-page .bc-category-card:hover .ti { transform: scale(1.1); }
.bc-front-page .bc-category-name {
	font-family: var(--bc-font-heading);
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 4px;
}
.bc-front-page .bc-category-count {
	font-size: 13px;
	color: var(--bc-text-muted);
}

/* --- "How it works" section --- */
.bc-how-section {
	padding: 88px 0;
	background: var(--bc-surface);
	border-top: 1px solid var(--bc-border);
	border-bottom: 1px solid var(--bc-border);
}
.bc-how-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-top: 48px;
}
.bc-how-step {
	text-align: center;
	padding: 0 16px;
}
.bc-how-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--bc-primary);
	color: var(--bc-bg);
	font-family: var(--bc-font-heading);
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 20px;
}
.bc-how-step h3 {
	font-family: var(--bc-font-heading);
	font-size: 22px;
	font-weight: 400;
	margin: 0 0 10px;
}
.bc-how-step p {
	color: var(--bc-text-muted);
	font-size: 15px;
	line-height: 1.65;
	margin: 0;
}

/* --- Testimonial strip before CTA --- */
.bc-testimonial-strip {
	padding: 72px 0;
	text-align: center;
}
.bc-testimonial-quote {
	font-family: var(--bc-font-heading);
	font-size: 1.9rem;
	line-height: 1.45;
	font-weight: 400;
	max-width: 720px;
	margin: 0 auto 24px;
	color: var(--bc-text);
	letter-spacing: -0.3px;
}
.bc-testimonial-quote::before { content: '“'; color: var(--bc-accent); font-size: 1.3em; line-height: 0; vertical-align: -0.2em; margin-right: 6px; }
.bc-testimonial-quote::after { content: '”'; color: var(--bc-accent); font-size: 1.3em; line-height: 0; vertical-align: -0.2em; margin-left: 4px; }
.bc-testimonial-attribution {
	font-size: 13px;
	color: var(--bc-text-muted);
	letter-spacing: 0.5px;
}
.bc-testimonial-attribution strong { color: var(--bc-text); font-weight: 500; }

/* --- Listings section spacing & card polish --- */
.bc-front-page .bc-latest-section { padding: 96px 0; }
.bc-listing-card {
	border-radius: 12px;
	transition: all 0.25s ease;
}
.bc-listing-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.18);
	border-color: var(--bc-primary);
}
.bc-listing-card-image { aspect-ratio: 4 / 3; }

/* --- CTA banner: bigger, more designed --- */
.bc-cta-banner {
	padding: 88px 24px !important;
	position: relative;
	overflow: hidden;
}
.bc-cta-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.2) 0%, transparent 50%),
		radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
	pointer-events: none;
}
.bc-cta-banner > * { position: relative; z-index: 1; }
.bc-cta-banner h2 {
	font-size: 2.6rem !important;
	letter-spacing: -1px;
}

/* --- Section headers: bigger --- */
.bc-front-page .bc-section-title { font-size: 2.6rem; letter-spacing: -0.8px; }
.bc-front-page .bc-section-header-center { margin-bottom: 56px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
	.bc-front-page .bc-hero-title { font-size: 3.4rem; }
	.bc-front-page .bc-categories-grid { grid-template-columns: repeat(3, 1fr); }
	.bc-trust-row { gap: 32px; }
	.bc-how-grid { gap: 24px; }
}
@media (max-width: 768px) {
	.bc-front-page .bc-hero { padding: 64px 0 56px; }
	.bc-front-page .bc-hero-title { font-size: 2.5rem; letter-spacing: -1px; margin-bottom: 16px; }
	.bc-front-page .bc-hero-subtitle { font-size: 16px; margin-bottom: 28px; }
	.bc-front-page .bc-categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.bc-front-page .bc-category-card { padding: 24px 14px 20px; }
	.bc-front-page .bc-category-card .ti { font-size: 30px; margin-bottom: 12px; }
	.bc-front-page .bc-section-title { font-size: 1.9rem; }
	.bc-how-grid { grid-template-columns: 1fr; gap: 32px; }
	.bc-trust-row { gap: 20px; font-size: 12px; }
	.bc-trust-num { font-size: 18px; }
	.bc-testimonial-quote { font-size: 1.4rem; }
	.bc-cta-banner h2 { font-size: 1.9rem !important; }
}

/* ============================================================================
   LIVE SEARCH — premium dropdown, category-aware icons
   ============================================================================ */

.bc-live-search {
	position: relative;
	gap: 0;
}
.bc-live-search .bc-search-icon {
	color: var(--bc-text-muted);
	font-size: 18px;
	margin-left: 14px;
	flex-shrink: 0;
	opacity: 0.7;
}
.bc-live-search .bc-hero-search-input {
	padding-left: 12px;
	padding-right: 8px;
}
.bc-live-search .bc-hero-search-input::-webkit-search-decoration,
.bc-live-search .bc-hero-search-input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}
.bc-search-clear {
	background: transparent;
	border: 0;
	color: var(--bc-text-muted);
	cursor: pointer;
	padding: 6px;
	margin-right: 4px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	transition: background 0.15s;
}
.bc-search-clear:hover { background: rgba(0,0,0,.05); color: var(--bc-text); }

/* The dropdown panel */
.bc-search-results {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	background: var(--bc-surface, #fff);
	border: 1px solid var(--bc-border);
	border-radius: 14px;
	box-shadow:
		0 24px 48px -12px rgba(0, 0, 0, 0.18),
		0 0 0 1px rgba(0, 0, 0, 0.02);
	max-height: 540px;
	overflow-y: auto;
	z-index: 9999;
	text-align: left;
	padding: 8px;
	animation: bc-search-pop 0.15s ease-out;
}

/* Make sure the search form itself creates a stacking context above sibling sections. */
.bc-live-search { z-index: 9998; }
.bc-front-page .bc-hero-inner { position: relative; z-index: 6; }
@keyframes bc-search-pop {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}

.bc-search-loading,
.bc-search-empty {
	padding: 24px 20px;
	text-align: center;
	color: var(--bc-text-muted);
	font-size: 13px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}
/* Keep [hidden] working even with display:flex above */
.bc-search-loading[hidden],
.bc-search-empty[hidden],
.bc-search-categories-row[hidden],
.bc-search-section-label[hidden],
.bc-search-footer[hidden] {
	display: none !important;
}
.bc-search-loading .ti {
	font-size: 22px;
	color: var(--bc-primary);
	animation: bc-spin 0.7s linear infinite;
}
.bc-search-empty .ti {
	font-size: 28px;
	color: var(--bc-text-muted);
	opacity: 0.5;
}
@keyframes bc-spin { to { transform: rotate(360deg); } }

.bc-search-section-label {
	font-size: 10px;
	letter-spacing: 1.6px;
	color: var(--bc-text-muted);
	text-transform: uppercase;
	font-weight: 600;
	padding: 12px 14px 6px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.bc-search-section-label .bc-search-count {
	background: rgba(0,0,0,.06);
	color: var(--bc-text-muted);
	padding: 1px 7px;
	border-radius: 10px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0;
}

/* Category pills row */
.bc-search-categories-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 12px 12px 6px;
	border-bottom: 1px solid var(--bc-border);
	margin-bottom: 4px;
}
.bc-search-cat-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: var(--bc-bg-alt);
	border: 1px solid var(--bc-border);
	border-radius: 50px;
	font-size: 12px;
	color: var(--bc-text);
	text-decoration: none;
	transition: all 0.15s;
	font-weight: 500;
}
.bc-search-cat-pill .ti {
	font-size: 14px;
	color: var(--bc-primary);
}
.bc-search-cat-pill span {
	color: var(--bc-text-muted);
	font-size: 11px;
	font-weight: 400;
}
.bc-search-cat-pill:hover,
.bc-search-cat-pill.is-active {
	background: var(--bc-primary);
	color: #fff;
	border-color: var(--bc-primary);
}
.bc-search-cat-pill:hover .ti,
.bc-search-cat-pill.is-active .ti { color: #fff; }
.bc-search-cat-pill:hover span,
.bc-search-cat-pill.is-active span { color: rgba(255,255,255,.75); }

/* Listing results */
.bc-search-result {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 12px 14px;
	border-radius: 10px;
	text-decoration: none;
	color: var(--bc-text);
	transition: background 0.12s;
	border-left: 3px solid transparent;
}
.bc-search-result:hover,
.bc-search-result.is-active {
	background: var(--bc-bg-alt);
	border-left-color: var(--bc-primary);
}
.bc-search-result-icon {
	width: 36px;
	height: 36px;
	background: var(--bc-bg-alt);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.12s;
}
.bc-search-result-icon .ti {
	font-size: 18px;
	color: var(--bc-primary);
}
.bc-search-result:hover .bc-search-result-icon,
.bc-search-result.is-active .bc-search-result-icon {
	background: var(--bc-primary);
}
.bc-search-result:hover .bc-search-result-icon .ti,
.bc-search-result.is-active .bc-search-result-icon .ti {
	color: #fff;
}
.bc-search-result-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.bc-search-result-title {
	font-family: var(--bc-font-heading);
	font-size: 15px;
	font-weight: 500;
	color: var(--bc-text);
	line-height: 1.3;
	letter-spacing: -0.2px;
}
.bc-search-result-title mark {
	background: var(--bc-accent);
	color: var(--bc-text);
	padding: 0 2px;
	border-radius: 2px;
	font-weight: 600;
}
.bc-search-result-excerpt {
	font-size: 12.5px;
	color: var(--bc-text-muted);
	line-height: 1.45;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}
.bc-search-result-excerpt mark {
	background: rgba(201, 169, 97, 0.25);
	color: inherit;
	padding: 0 1px;
}
.bc-search-result-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11.5px;
	color: var(--bc-text-muted);
	margin-top: 4px;
}
.bc-search-meta-loc { display: inline-flex; align-items: center; gap: 4px; }
.bc-search-meta-loc .ti { font-size: 12px; opacity: 0.7; }
.bc-search-meta-price {
	color: var(--bc-primary);
	font-weight: 600;
	font-size: 12px;
}

/* Footer */
.bc-search-footer {
	border-top: 1px solid var(--bc-border);
	margin-top: 6px;
	padding: 10px 14px;
}
.bc-search-view-all {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--bc-primary);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	transition: gap 0.12s;
}
.bc-search-view-all:hover { gap: 8px; color: var(--bc-primary-dark); }

/* Mobile */
@media (max-width: 768px) {
	.bc-search-results {
		max-height: 60vh;
		left: -8px;
		right: -8px;
	}
	.bc-search-result-excerpt { display: none; }
	.bc-search-result-icon {
		width: 32px;
		height: 32px;
	}
	.bc-search-categories-row { padding: 10px 8px 4px; }
	.bc-search-cat-pill { font-size: 11px; padding: 5px 10px; }
}

/* ============================================================================
   MOBILE EXCELLENCE — comprehensive responsive pass
   Targets: 768px (tablet), 600px (large phone), 480px (phone), 380px (small phone)
   ============================================================================ */

/* ---------- 768px and below — TABLET + LARGER PHONES ---------- */
@media (max-width: 768px) {

	/* Hero — recalibrate spacing and typography */
	.bc-front-page .bc-hero {
		padding: 56px 0 48px;
	}
	.bc-front-page .bc-hero-title {
		font-size: 2.4rem;
		letter-spacing: -0.8px;
		line-height: 1.05;
		margin-bottom: 14px;
	}
	.bc-front-page .bc-hero-subtitle {
		font-size: 15px;
		margin-bottom: 24px;
		max-width: 100%;
	}

	/* Search box — restructure for vertical stack */
	.bc-front-page .bc-hero-search,
	.bc-hero-search.bc-live-search {
		flex-direction: column;
		gap: 8px;
		padding: 8px;
		border-radius: 12px;
		max-width: 100%;
	}
	.bc-live-search .bc-search-icon {
		display: none; /* save space; the input is full-width */
	}
	.bc-hero-search-input {
		width: 100%;
		padding: 14px 16px;
		font-size: 16px; /* >=16px prevents iOS auto-zoom on focus */
		border-radius: 8px;
	}
	.bc-search-clear {
		position: absolute;
		right: 16px;
		top: 18px;
	}
	.bc-search-divider { display: none; }
	.bc-search-location-stub {
		display: none; /* hide on mobile to keep search compact */
	}
	.bc-hero-search button[type="submit"],
	.bc-front-page .bc-hero-search .bc-btn {
		width: 100%;
		padding: 13px 16px;
		font-size: 14px;
	}

	/* Search dropdown — full-width, taller, position correctly */
	.bc-search-results {
		left: 0;
		right: 0;
		top: 100%;
		margin-top: 8px;
		max-height: 65vh;
		border-radius: 12px;
	}
	.bc-search-result {
		gap: 10px;
		padding: 11px 12px;
	}
	.bc-search-result-icon {
		width: 36px;
		height: 36px;
	}
	.bc-search-result-title { font-size: 14px; }
	.bc-search-result-excerpt { font-size: 12px; }
	.bc-search-categories-row { padding: 10px 8px 6px; gap: 5px; }
	.bc-search-cat-pill { font-size: 11px; padding: 5px 10px; }

	/* Trust strip — tighter, scrollable horizontally if needed */
	.bc-trust-strip { padding: 18px 0; }
	.bc-trust-row {
		gap: 16px 24px;
		font-size: 12px;
		justify-content: flex-start;
		overflow-x: auto;
		padding: 0 var(--bc-gutter);
		scrollbar-width: none;
		-ms-overflow-style: none;
		flex-wrap: nowrap;
		white-space: nowrap;
	}
	.bc-trust-row::-webkit-scrollbar { display: none; }
	.bc-trust-num { font-size: 17px; }
	.bc-trust-item { flex-shrink: 0; }

	/* Categories — 2 column grid, tighter cards */
	.bc-front-page .bc-categories-section { padding: 56px 0; }
	.bc-front-page .bc-categories-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.bc-front-page .bc-category-card {
		padding: 26px 14px 22px;
		border-radius: 12px;
	}
	.bc-front-page .bc-category-card .ti {
		font-size: 28px;
		margin-bottom: 10px;
	}
	.bc-front-page .bc-category-name {
		font-size: 15px;
	}
	.bc-front-page .bc-category-count { font-size: 12px; }

	/* Listings — 1 column, tighter spacing */
	.bc-front-page .bc-latest-section { padding: 56px 0; }
	.bc-listings-grid { grid-template-columns: 1fr; gap: 16px; }

	/* Section titles — proportional */
	.bc-front-page .bc-section-title {
		font-size: 2rem;
		letter-spacing: -0.6px;
	}
	.bc-front-page .bc-section-header-center {
		margin-bottom: 32px;
	}

	/* How it works — single column with horizontal rule between */
	.bc-how-section { padding: 56px 0; }
	.bc-how-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.bc-how-step { padding: 0; }
	.bc-how-step h3 { font-size: 19px; }
	.bc-how-step p { font-size: 14px; }

	/* Testimonial */
	.bc-testimonial-strip { padding: 48px 0; }
	.bc-testimonial-quote {
		font-size: 1.4rem;
		line-height: 1.4;
	}

	/* CTA banner */
	.bc-cta-banner {
		padding: 64px 20px !important;
	}
	.bc-cta-banner h2 {
		font-size: 1.9rem !important;
		letter-spacing: -0.5px;
	}

	/* Listing single page — restack */
	.bc-listing-layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.bc-listing-card-detail {
		position: static;
		padding: 20px;
	}

	/* Header — make logo + nav toggle behave */
	.bc-site-header { padding: 14px 0; }
	.bc-site-branding { font-size: 1.15rem; }
	.bc-header-actions { gap: 8px; }
	.bc-header-actions .bc-btn {
		padding: 8px 14px;
		font-size: 13px;
	}

	/* Footer — 2x2 then 1 col */
	.bc-footer-widgets-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px 20px;
	}
	.bc-site-footer { padding: 48px 0 32px; }

	/* Forms full-width */
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="number"],
	input[type="search"],
	textarea,
	select {
		font-size: 16px; /* prevent iOS zoom */
	}

	/* Touch target sizing — buttons + links min 44px */
	.bc-btn,
	button,
	.bc-search-cat-pill {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
	.bc-search-cat-pill { min-height: 36px; }
}

/* ---------- 600px and below — LARGER PHONES ---------- */
@media (max-width: 600px) {

	/* Tighter category grid */
	.bc-front-page .bc-categories-grid { gap: 8px; }
	.bc-front-page .bc-category-card { padding: 22px 12px 18px; }

	/* Listing card meta — stack price below location */
	.bc-listing-card-content { padding: 14px; }
	.bc-listing-meta {
		flex-wrap: wrap;
		gap: 6px 10px;
	}
}

/* ---------- 480px and below — STANDARD PHONES ---------- */
@media (max-width: 480px) {
	:root { --bc-gutter: 16px; }

	.bc-front-page .bc-hero { padding: 40px 0 36px; }
	.bc-front-page .bc-hero-title {
		font-size: 2rem;
		letter-spacing: -0.5px;
	}
	.bc-front-page .bc-hero-subtitle {
		font-size: 14px;
		margin-bottom: 20px;
	}

	/* Hero search — even tighter */
	.bc-hero-search.bc-live-search { padding: 6px; gap: 6px; }
	.bc-hero-search-input { padding: 12px 14px; }

	/* Section titles */
	.bc-front-page .bc-section-title {
		font-size: 1.7rem;
	}

	/* Trust strip — show fewer items, smaller font */
	.bc-trust-row { gap: 12px 18px; }
	.bc-trust-num { font-size: 16px; }

	/* Categories single column on tiny phones */
	.bc-front-page .bc-categories-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}
	.bc-front-page .bc-category-card {
		padding: 20px 10px 16px;
	}
	.bc-front-page .bc-category-card .ti {
		font-size: 24px;
		margin-bottom: 8px;
	}
	.bc-front-page .bc-category-name { font-size: 14px; }
	.bc-front-page .bc-category-count { font-size: 11px; }

	/* CTA */
	.bc-cta-banner h2 { font-size: 1.6rem !important; }
	.bc-cta-banner p { font-size: 13px; }

	/* Testimonial */
	.bc-testimonial-quote { font-size: 1.2rem; }

	/* Footer — single column at this size */
	.bc-footer-widgets-grid { grid-template-columns: 1fr; gap: 24px; }

	/* Listing card title */
	.bc-listing-card-title { font-size: 16px; }
}

/* ---------- 380px and below — SMALL PHONES (iPhone SE etc.) ---------- */
@media (max-width: 380px) {
	.bc-front-page .bc-hero-title { font-size: 1.75rem; }
	.bc-front-page .bc-categories-grid {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.bc-front-page .bc-category-card {
		padding: 18px 14px;
		display: flex;
		align-items: center;
		gap: 14px;
		text-align: left;
	}
	.bc-front-page .bc-category-card .ti {
		margin-bottom: 0;
		font-size: 22px;
	}

	.bc-search-result-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}
}

/* ---------- LANDSCAPE PHONE — short height, no auto height-clipping ---------- */
@media (max-height: 480px) and (orientation: landscape) {
	.bc-front-page .bc-hero { padding: 32px 0 28px; }
	.bc-front-page .bc-hero-title { font-size: 1.8rem; margin-bottom: 8px; }
	.bc-front-page .bc-hero-subtitle { margin-bottom: 16px; }
	.bc-search-results { max-height: 70vh; }
}

/* ============================================================================
   WIDE SCREEN EXCELLENCE — laptops 1440px, 24"/27" displays 1920px+
   ============================================================================ */

/* ---------- 1280px+ — modern laptops (already covered by --bc-container: 1280px) ---------- */

/* ---------- 1440px+ — large laptops + smaller desktops ---------- */
@media (min-width: 1440px) {
	:root { --bc-container: 1380px; --bc-gutter: 40px; }

	.bc-front-page .bc-hero { padding: 120px 0 110px; }
	.bc-front-page .bc-hero-inner { max-width: 880px; }
	.bc-front-page .bc-hero-title {
		font-size: 5.2rem;
		letter-spacing: -2.4px;
	}
	.bc-front-page .bc-hero-subtitle { font-size: 19px; max-width: 600px; }
	.bc-front-page .bc-hero-search { max-width: 760px; padding: 12px; }
	.bc-front-page .bc-hero-search-input { padding: 18px 22px; font-size: 16px; }

	/* Categories — slightly bigger, more breathing room */
	.bc-front-page .bc-categories-grid { gap: 22px; }
	.bc-front-page .bc-category-card { padding: 44px 26px 36px; }
	.bc-front-page .bc-category-card .ti { font-size: 42px; margin-bottom: 18px; }
	.bc-front-page .bc-category-name { font-size: 19px; }

	/* Listings — keep 3 cols on the homepage but bigger */
	.bc-listings-grid { gap: 28px; }

	/* Section titles bigger */
	.bc-front-page .bc-section-title { font-size: 2.9rem; letter-spacing: -1px; }

	/* Listing detail — give more space to the gallery */
	.bc-listing-layout {
		grid-template-columns: 1.7fr 1fr;
		gap: 56px;
		margin: 56px auto 80px;
	}
	.bc-listing-card-detail { padding: 32px; }

	/* CTA */
	.bc-cta-banner { padding: 110px 24px !important; }
	.bc-cta-banner h2 { font-size: 3rem !important; }

	/* Trust strip more room */
	.bc-trust-row { gap: 72px; font-size: 14px; }
	.bc-trust-num { font-size: 24px; }
}

/* ---------- 1680px+ — 24" displays @ 1080p, MacBook Pro 16" ---------- */
@media (min-width: 1680px) {
	:root { --bc-container: 1520px; --bc-gutter: 48px; }

	.bc-front-page .bc-hero { padding: 140px 0 120px; }
	.bc-front-page .bc-hero-title { font-size: 5.8rem; letter-spacing: -2.6px; }

	/* Listings → 4 columns at this width — fills the space without stretching */
	.bc-listings-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }

	/* Categories: still 4 columns but bigger cards */
	.bc-front-page .bc-categories-grid { gap: 24px; }
	.bc-front-page .bc-category-card { padding: 52px 28px 42px; border-radius: 16px; }
	.bc-front-page .bc-category-card .ti { font-size: 46px; margin-bottom: 20px; }
	.bc-front-page .bc-category-name { font-size: 20px; }
	.bc-front-page .bc-category-count { font-size: 14px; }

	/* Listing single page — wider gallery */
	.bc-listing-layout {
		grid-template-columns: 2fr 1fr;
		gap: 64px;
		margin: 64px auto 96px;
	}

	/* Hero search even wider */
	.bc-front-page .bc-hero-search { max-width: 820px; }
}

/* ---------- 1920px+ — 24/27" displays @ 1440p+, full HD ---------- */
@media (min-width: 1920px) {
	:root { --bc-container: 1680px; --bc-gutter: 56px; }

	.bc-front-page .bc-hero {
		padding: 160px 0 140px;
		min-height: 78vh; /* hero gets some screen presence */
		display: flex;
		align-items: center;
	}
	.bc-front-page .bc-hero-inner { max-width: 980px; margin: 0 auto; }
	.bc-front-page .bc-hero-title {
		font-size: 6.4rem;
		letter-spacing: -3px;
		line-height: 0.98;
	}
	.bc-front-page .bc-hero-subtitle {
		font-size: 21px;
		max-width: 680px;
		margin-bottom: 56px;
	}
	.bc-front-page .bc-hero-search { max-width: 880px; padding: 14px; }
	.bc-front-page .bc-hero-search-input { padding: 20px 24px; font-size: 17px; }

	/* Categories — at this width, 8 in a single row reads beautifully */
	.bc-front-page .bc-categories-grid {
		grid-template-columns: repeat(8, 1fr);
		gap: 18px;
	}
	.bc-front-page .bc-category-card { padding: 36px 18px 30px; }
	.bc-front-page .bc-category-card .ti { font-size: 36px; margin-bottom: 14px; }
	.bc-front-page .bc-category-name { font-size: 16px; }

	/* Listings stay at 4 columns but with more breathing room */
	.bc-listings-grid { gap: 36px; }

	/* Section titles dominant */
	.bc-front-page .bc-section-title { font-size: 3.4rem; letter-spacing: -1.2px; }
	.bc-front-page .bc-categories-section,
	.bc-front-page .bc-latest-section,
	.bc-how-section { padding: 120px 0; }

	/* CTA grand */
	.bc-cta-banner { padding: 140px 24px !important; }
	.bc-cta-banner h2 { font-size: 3.6rem !important; }

	/* Listing detail — generous */
	.bc-listing-layout {
		grid-template-columns: 2.2fr 1fr;
		gap: 72px;
		margin: 72px auto 112px;
	}
	.bc-listing-card-detail { padding: 36px; }
}

/* ---------- 2560px+ — 27" 5K, 32" 4K ---------- */
@media (min-width: 2560px) {
	:root { --bc-container: 1920px; --bc-gutter: 64px; }

	.bc-front-page .bc-hero-title { font-size: 7.2rem; }
	.bc-front-page .bc-hero-subtitle { font-size: 22px; }
	.bc-listings-grid { grid-template-columns: repeat(4, 1fr); gap: 40px; }

	/* Section titles even bigger */
	.bc-front-page .bc-section-title { font-size: 3.8rem; }
}

/* ============================================================================
   CONTACT REVEAL — show email/phone on first click, navigate on second
   ============================================================================ */
.bc-reveal-contact {
	cursor: pointer;
	transition: all 0.18s ease;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: inherit;
	letter-spacing: 0;
}
.bc-reveal-contact .ti {
	font-size: 17px;
	flex-shrink: 0;
}
.bc-reveal-contact.is-revealed {
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
	letter-spacing: 0.3px;
	animation: bc-reveal-pop 0.25s ease-out;
}
.bc-reveal-contact.is-revealed .bc-reveal-label {
	overflow-wrap: anywhere;
	word-break: break-all;
}
@keyframes bc-reveal-pop {
	from { transform: scale(0.96); opacity: 0.7; }
	to   { transform: scale(1); opacity: 1; }
}

/* ============================================================================
   WordPress.org Theme Review — required style classes
   These selectors are checked for during the WordPress.org theme review.
   ============================================================================ */

/* Sticky posts — emphasized in archive lists. */
.sticky {
	position: relative;
}
.sticky::before {
	content: '';
	position: absolute;
	left: -3px;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--bc-accent, #C9A961);
	border-radius: 2px;
}

/* Gallery captions inside [gallery] shortcode and core gallery block. */
.gallery-caption {
	font-size: 12px;
	color: var(--bc-text-muted, #6b6b6b);
	line-height: 1.5;
	margin: 0.5em 0 0;
	font-style: italic;
}

/* Comment from the post author — give them a gentle highlight in comment threads. */
.bypostauthor {
	background: var(--bc-bg-alt, #F5F0E8);
	border-left: 3px solid var(--bc-primary, #0F4C3A);
	padding-left: 16px;
	border-radius: 0 6px 6px 0;
}

/* Footer credit — "Powered by Best Classifieds WordPress Theme" */
.bc-footer-credit {
	font-size: 13px;
	opacity: 0.75;
	white-space: nowrap;
}
.bc-footer-credit a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px dotted currentColor;
	transition: opacity 0.15s ease;
}
.bc-footer-credit a:hover {
	opacity: 1;
}
@media (max-width: 768px) {
	.bc-footer-credit {
		white-space: normal;
		text-align: center;
		width: 100%;
	}
}
