/*
Theme Name: Colorado HVAC Companies
Description: Directory theme for Colorado HVAC Companies — Colorado heating, cooling and HVAC companies, including plumbing & HVAC combo shops. Built on the Directory Base platform (v1.1.1).
Version: 1.0.1
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: directory-base
*/

/* -------------------------------------------------------------------------
 * Design tokens + base
 * ---------------------------------------------------------------------- */

:root {
	--dbt-navy: #0D3242;
	--dbt-navy-dark: #082631;
	--dbt-green: #0E7CB5;
	--dbt-green-dark: #0A5E8A;
	--dbt-yellow: #F97316;
	--dbt-yellow-dark: #EA580C;
	--dbt-bg: #FFFFFF;
	--dbt-bg-warm: #FDF3EA;
	--dbt-bg-light: #EDF5F8;
	--dbt-text: #1D2A38;
	--dbt-muted: #5A6B7C;
	--dbt-border: #DFE6EC;
	--dbt-radius: 18px;
	--dbt-shadow: 0 8px 28px rgba(13, 50, 66, 0.10);
	--dbt-shadow-hover: 0 16px 38px rgba(13, 50, 66, 0.16);
	--dbt-font-head: 'Archivo', 'Manrope', sans-serif;
	--dbt-font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	overflow-x: clip;
}

body {
	font-family: var(--dbt-font-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--dbt-text);
	background: var(--dbt-bg);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--dbt-font-head);
	color: var(--dbt-navy);
	line-height: 1.15;
	margin: 0 0 0.5em;
}

h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--dbt-green); text-decoration: none; }
a:hover { color: var(--dbt-green-dark); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.dbt-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.dbt-narrow { max-width: 820px; }

.dbt-section { padding: 64px 0; }

.dbt-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 32px;
}

.dbt-section-head p { color: var(--dbt-muted); margin: 0; }

.dbt-section-head-center { justify-content: center; text-align: center; }

.dbt-section-link {
	font-weight: 700;
	white-space: nowrap;
}

/* -------------------------------------------------------------------------
 * Buttons — the site-wide standard
 * ---------------------------------------------------------------------- */

.dbt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--dbt-font-body);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1;
	padding: 12px 22px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	text-decoration: none !important;
	min-height: 44px;
}

/* Primary: solid green, WHITE text. */
.dbt-btn-primary {
	background: var(--dbt-green);
	color: #FFFFFF !important;
	border-color: var(--dbt-green);
}
.dbt-btn-primary:hover {
	background: var(--dbt-green-dark);
	border-color: var(--dbt-green-dark);
	color: #FFFFFF !important;
}

/* Secondary: white background, navy outline, navy text. */
.dbt-btn-outline {
	background: #FFFFFF;
	color: var(--dbt-navy) !important;
	border-color: var(--dbt-navy);
}
.dbt-btn-outline:hover {
	background: var(--dbt-navy);
	color: #FFFFFF !important;
}

/* Navy solid. */
.dbt-btn-navy {
	background: var(--dbt-navy);
	color: #FFFFFF !important;
	border-color: var(--dbt-navy);
}
.dbt-btn-navy:hover {
	background: var(--dbt-navy-dark);
	color: #FFFFFF !important;
}

/* Yellow accent (on navy surfaces). */
.dbt-btn-yellow {
	background: var(--dbt-yellow);
	color: var(--dbt-navy) !important;
	border-color: var(--dbt-yellow);
}
.dbt-btn-yellow:hover {
	background: var(--dbt-yellow-dark);
	border-color: var(--dbt-yellow-dark);
	color: var(--dbt-navy) !important;
}

.dbt-btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.dbt-btn-block { display: flex; width: 100%; }

/* -------------------------------------------------------------------------
 * Header
 * ---------------------------------------------------------------------- */

.dbt-header {
	background: var(--dbt-navy);
	border-top: 5px solid var(--dbt-yellow);
	position: relative;
	z-index: 100;
}

.dbt-header-inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	gap: 28px;
}

.dbt-brand { display: flex; align-items: center; gap: 12px; flex: 0 1 auto; min-width: 0; }

.dbt-brand .custom-logo { max-height: 48px; max-width: 120px; width: auto; }

.dbt-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	font-family: var(--dbt-font-head);
	font-weight: 800;
	font-size: 1.25rem;
	color: #FFFFFF !important;
	text-decoration: none !important;
	line-height: 1.1;
}

.dbt-wordmark-ball {
	width: 18px; height: 18px;
	border-radius: 50%;
	background: var(--dbt-yellow);
	box-shadow: inset -3px -3px 0 rgba(13, 50, 66, 0.18);
	flex-shrink: 0;
}

.dbt-wordmark-accent { color: var(--dbt-yellow); }

.dbt-wordmark-text { min-width: 0; }

.dbt-nav {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 20px;
}

.dbt-nav-list {
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	gap: 20px;
}

.dbt-nav-list a {
	color: #FFFFFF;
	font-weight: 600;
	font-size: 0.98rem;
	text-decoration: none !important;
	padding: 6px 2px;
	border-bottom: 3px solid transparent;
	white-space: nowrap;
}

.dbt-nav-list a:hover,
.dbt-nav-list .current-menu-item > a,
.dbt-nav-list .current_page_item > a {
	color: #FFFFFF;
	border-bottom-color: var(--dbt-yellow);
}

.dbt-nav-toggle {
	display: none;
	margin-left: auto;
	background: transparent;
	border: 1.5px solid rgba(255, 255, 255, 0.5);
	border-radius: 10px;
	padding: 10px 11px;
	cursor: pointer;
}

.dbt-nav-toggle-bar {
	display: block;
	width: 22px; height: 2px;
	background: #FFFFFF;
	margin: 4px 0;
}

/* -------------------------------------------------------------------------
 * Hero + search pill
 * ---------------------------------------------------------------------- */

.dbt-hero {
	background-color: var(--dbt-navy);
	background-size: cover;
	background-position: center;
	color: #FFFFFF;
	padding: 84px 0 72px;
	text-align: center;
}

.dbt-hero-inner { max-width: 860px; margin: 0 auto; padding: 0 24px; }

.dbt-hero-badge {
	display: inline-block;
	background: var(--dbt-yellow);
	color: var(--dbt-navy);
	font-weight: 800;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 7px 16px;
	border-radius: 999px;
	margin: 0 0 22px;
}

.dbt-hero-title {
	color: #FFFFFF;
	font-size: 3.4rem;
	font-weight: 900;
	letter-spacing: -0.01em;
	margin-bottom: 18px;
}

.dbt-hero-accent { color: var(--dbt-yellow); display: block; }

.dbt-hero-sub {
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.88);
	max-width: 640px;
	margin: 0 auto 34px;
}

/* Unified white pill: input + city select + green button as the right end. */
.dbt-search-pill {
	display: flex;
	align-items: stretch;
	background: #FFFFFF;
	border: 3px solid #FFFFFF;
	border-radius: 999px;
	overflow: hidden;
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
	max-width: 760px;
	margin: 0 auto;
	text-align: left;
}

.dbt-search-field {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 6px 0 20px;
	min-width: 0;
}

.dbt-search-field i { color: var(--dbt-muted); flex-shrink: 0; }

.dbt-search-keyword { flex: 1 1 auto; }

.dbt-search-city { flex: 0 1 210px; border-left: 1px solid var(--dbt-border); }

.dbt-search-field input,
.dbt-search-field select {
	border: 0;
	outline: 0;
	background: transparent;
	font-family: var(--dbt-font-body);
	font-size: 1rem;
	color: var(--dbt-text);
	height: 58px;
	width: 100%;
	min-width: 0;
}

.dbt-search-btn {
	flex-shrink: 0;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--dbt-green);
	color: #FFFFFF;
	font-family: var(--dbt-font-body);
	font-size: 1.02rem;
	font-weight: 800;
	border: 0;
	border-radius: 0 999px 999px 0;
	padding: 0 38px;
	cursor: pointer;
	min-height: 58px;
}

.dbt-search-btn:hover { background: var(--dbt-green-dark); }

.dbt-hero-stats {
	display: flex;
	justify-content: center;
	gap: 22px;
	flex-wrap: wrap;
	margin-top: 40px;
}

.dbt-stat {
	background: rgba(255, 255, 255, 0.10);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 16px;
	padding: 16px 30px;
	min-width: 180px;
}

.dbt-stat-num {
	display: block;
	font-family: var(--dbt-font-head);
	font-size: 2rem;
	font-weight: 900;
	color: var(--dbt-yellow);
	line-height: 1.1;
}

.dbt-stat-label { font-weight: 600; color: #FFFFFF; }

/* On light backgrounds (About page). */
.dbt-about-stats .dbt-stat { background: var(--dbt-navy); border-color: var(--dbt-navy); }
.dbt-about-stats { margin-top: 40px; }

/* -------------------------------------------------------------------------
 * Popular chips
 * ---------------------------------------------------------------------- */

.dbt-popular { background: var(--dbt-bg-warm); padding: 22px 0; }

.dbt-popular-inner {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.dbt-popular-label { font-weight: 800; color: var(--dbt-navy); font-family: var(--dbt-font-head); }

.dbt-chip {
	display: inline-block;
	background: #FFFFFF;
	border: 1.5px solid var(--dbt-border);
	color: var(--dbt-navy) !important;
	font-weight: 700;
	font-size: 0.95rem;
	padding: 8px 18px;
	border-radius: 999px;
	text-decoration: none !important;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.dbt-chip:hover { border-color: var(--dbt-green); background: #F0F7F2; }

.dbt-chip-light { background: var(--dbt-bg-light); }

/* -------------------------------------------------------------------------
 * Listing cards
 * ---------------------------------------------------------------------- */

.dbt-featured { background: var(--dbt-bg-warm); }

.dbt-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
}

.dbt-card {
	background: #FFFFFF;
	border-radius: var(--dbt-radius);
	box-shadow: var(--dbt-shadow);
	min-width: 0;
	overflow: visible;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.dbt-card:hover { box-shadow: var(--dbt-shadow-hover); transform: translateY(-3px); }

.dbt-card-media {
	position: relative;
	display: block;
	border-radius: var(--dbt-radius) var(--dbt-radius) 0 0;
	overflow: hidden;
}

.dbt-card-media img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.dbt-card-city-badge {
	position: absolute;
	left: 14px; bottom: 14px;
	background: var(--dbt-navy);
	color: #FFFFFF;
	font-size: 0.82rem;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 999px;
}

.dbt-card-body {
	padding: 20px 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.dbt-card-rating { display: flex; align-items: center; gap: 7px; }

.dbt-stars { color: var(--dbt-yellow); font-size: 0.92rem; letter-spacing: 1px; }

.dbt-stars .fa-regular { color: #EA580C; }

.dbt-card-rating-value { font-weight: 800; color: var(--dbt-navy); }
.dbt-card-rating-count { color: var(--dbt-muted); font-size: 0.9rem; }

.dbt-card-title { margin: 0; font-size: 1.22rem; }
.dbt-card-title a { color: var(--dbt-navy); text-decoration: none !important; }
.dbt-card-title a:hover { color: var(--dbt-green); }

.dbt-card-meta { color: var(--dbt-muted); font-size: 0.94rem; margin: 0; }
.dbt-card-meta a { color: var(--dbt-muted); }

.dbt-card-excerpt { color: var(--dbt-muted); margin: 0; font-size: 0.97rem; }

.dbt-card-actions {
	margin-top: auto;
	padding-top: 12px;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
}

.dbt-card-actions .dbt-btn { flex: 1 1 0; min-width: 0; padding: 11px 18px; font-size: 0.70rem; white-space: nowrap; text-align: center; }

/* Overflow (⋮) menu */
.dbt-menu-wrap { position: relative; margin-left: 0; flex: 0 0 auto; }

.dbt-menu-btn {
	flex-shrink: 0;
	width: 44px; height: 44px;
	border-radius: 50%;
	border: 1.5px solid var(--dbt-border);
	background: #FFFFFF;
	color: var(--dbt-navy);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dbt-menu-btn:hover { border-color: var(--dbt-navy); }

.dbt-menu {
	position: absolute;
	right: 0;
	bottom: calc(100% + 8px);
	min-width: 200px;
	background: #FFFFFF;
	border: 1px solid var(--dbt-border);
	border-radius: 14px;
	box-shadow: var(--dbt-shadow-hover);
	list-style: none;
	margin: 0; padding: 8px;
	z-index: 60;
}

.dbt-menu li { margin: 0; }

.dbt-menu a,
.dbt-menu button {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	background: transparent;
	font-family: var(--dbt-font-body);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--dbt-text) !important;
	text-align: left;
	border-radius: 9px;
	cursor: pointer;
	text-decoration: none !important;
}

.dbt-menu a:hover,
.dbt-menu button:hover { background: var(--dbt-bg-light); }

.dbt-menu .is-saved { color: var(--dbt-green) !important; }

/* -------------------------------------------------------------------------
 * City cards
 * ---------------------------------------------------------------------- */

.dbt-city-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.dbt-city-card {
	display: flex;
	flex-direction: column;
	gap: 3px;
	background: linear-gradient(140deg, var(--dbt-navy) 0%, #17456F 100%);
	border-radius: var(--dbt-radius);
	padding: 24px 22px;
	color: #FFFFFF !important;
	text-decoration: none !important;
	box-shadow: var(--dbt-shadow);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dbt-city-card:hover { transform: translateY(-3px); box-shadow: var(--dbt-shadow-hover); }

.dbt-city-card-name { font-family: var(--dbt-font-head); font-weight: 800; font-size: 1.25rem; }

.dbt-city-card-count { color: var(--dbt-yellow); font-weight: 700; font-size: 0.95rem; }

.dbt-city-card-cta { margin-top: 10px; font-weight: 700; font-size: 0.92rem; color: #FFFFFF; }

/* -------------------------------------------------------------------------
 * How it works / steps
 * ---------------------------------------------------------------------- */

.dbt-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.dbt-step {
	text-align: center;
	background: #FFFFFF;
	border: 1px solid var(--dbt-border);
	border-radius: var(--dbt-radius);
	padding: 34px 26px;
}

.dbt-step-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px; height: 64px;
	border-radius: 50%;
	background: var(--dbt-green);
	color: #FFFFFF;
	font-size: 1.5rem;
	margin-bottom: 16px;
}

.dbt-step p { color: var(--dbt-muted); margin: 0; }

/* -------------------------------------------------------------------------
 * Claim band
 * ---------------------------------------------------------------------- */

.dbt-claim-band { background: var(--dbt-navy); padding: 56px 0; }

.dbt-claim-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
}

.dbt-claim-band h2 { color: #FFFFFF; margin-bottom: 8px; }
.dbt-claim-band p { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 640px; }

/* -------------------------------------------------------------------------
 * Testimonials
 * ---------------------------------------------------------------------- */

.dbt-testimonials { background: var(--dbt-bg-light); }

.dbt-testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.dbt-testimonial {
	background: #FFFFFF;
	border-radius: var(--dbt-radius);
	box-shadow: var(--dbt-shadow);
	padding: 28px;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.dbt-testimonial blockquote { margin: 0; color: var(--dbt-text); }

.dbt-testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }

.dbt-testimonial-avatar {
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--dbt-green);
	color: #FFFFFF;
	font-family: var(--dbt-font-head);
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* -------------------------------------------------------------------------
 * FAQ
 * ---------------------------------------------------------------------- */

.dbt-faq-wrap { max-width: 860px; }

.dbt-faq-list { display: flex; flex-direction: column; gap: 12px; }

.dbt-faq {
	background: #FFFFFF;
	border: 1px solid var(--dbt-border);
	border-radius: 14px;
	padding: 4px 22px;
}

.dbt-faq summary {
	font-family: var(--dbt-font-head);
	font-weight: 700;
	color: var(--dbt-navy);
	font-size: 1.06rem;
	padding: 16px 0;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.dbt-faq summary::-webkit-details-marker { display: none; }

.dbt-faq summary::after {
	content: '+';
	color: var(--dbt-green);
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1;
}

.dbt-faq[open ] summary::after { content: '–'; }

.dbt-faq-answer { color: var(--dbt-muted); padding-bottom: 10px; }

/* -------------------------------------------------------------------------
 * Page hero (inner pages) + breadcrumbs
 * ---------------------------------------------------------------------- */

.dbt-page-hero {
	background: linear-gradient(140deg, var(--dbt-navy) 0%, #17456F 100%);
	color: #FFFFFF;
	padding: 54px 0 48px;
}

.dbt-page-hero h1 { color: #FFFFFF; margin-bottom: 10px; }

.dbt-page-hero-sub { font-size: 1.12rem; color: rgba(255, 255, 255, 0.88); margin: 0; }
.dbt-page-hero-sub a { color: var(--dbt-yellow); }

.dbt-page-hero-desc { color: rgba(255, 255, 255, 0.85); margin-top: 12px; max-width: 760px; }
.dbt-page-hero-desc p:last-child { margin-bottom: 0; }

.dbt-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	font-size: 0.92rem;
	font-weight: 600;
	margin: 0 0 16px;
	color: rgba(255, 255, 255, 0.75);
}

.dbt-breadcrumb a { color: var(--dbt-yellow); }

.dbt-breadcrumb-dark { color: var(--dbt-muted); }
.dbt-breadcrumb-dark a { color: var(--dbt-green); }

/* -------------------------------------------------------------------------
 * Layout with sidebar / listing controls
 * ---------------------------------------------------------------------- */

.dbt-layout-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 36px;
	align-items: start;
}

.dbt-main-col { min-width: 0; }

.dbt-sidebar { min-width: 0; }

.dbt-listing-controls {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 26px;
}

.dbt-filter {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #FFFFFF;
	border: 1.5px solid var(--dbt-border);
	border-radius: 999px;
	padding: 0 18px;
	flex: 1 1 260px;
	max-width: 420px;
}

.dbt-filter i { color: var(--dbt-muted); }

.dbt-filter input {
	border: 0; outline: 0;
	height: 46px;
	width: 100%;
	font-family: var(--dbt-font-body);
	font-size: 0.98rem;
	background: transparent;
}

.dbt-sort { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--dbt-navy); }

.dbt-sort select {
	font-family: var(--dbt-font-body);
	font-size: 0.98rem;
	padding: 10px 14px;
	border: 1.5px solid var(--dbt-border);
	border-radius: 999px;
	background: #FFFFFF;
}

.dbt-no-results {
	background: var(--dbt-bg-warm);
	border-radius: 14px;
	padding: 22px;
	text-align: center;
	color: var(--dbt-muted);
	font-weight: 600;
}

.dbt-sidebar .dbt-sticky { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 22px; }

.dbt-side-card {
	background: #FFFFFF;
	border: 1px solid var(--dbt-border);
	border-radius: var(--dbt-radius);
	box-shadow: var(--dbt-shadow);
	padding: 24px;
	margin-bottom: 22px;
}

.dbt-sidebar .dbt-sticky .dbt-side-card { margin-bottom: 0; }

.dbt-side-card h3 { margin-bottom: 14px; }

.dbt-side-list { list-style: none; margin: 0 0 12px; padding: 0; }

.dbt-side-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid var(--dbt-border);
}

.dbt-side-list li:last-child { border-bottom: 0; }

.dbt-side-list a { font-weight: 600; color: var(--dbt-text); }
.dbt-side-list a:hover { color: var(--dbt-green); }

.dbt-side-count {
	background: var(--dbt-bg-light);
	color: var(--dbt-navy);
	font-weight: 800;
	font-size: 0.82rem;
	border-radius: 999px;
	padding: 2px 10px;
}

.dbt-side-more { font-weight: 700; }

.dbt-side-claim { background: var(--dbt-navy); border-color: var(--dbt-navy); color: #FFFFFF; }
.dbt-side-claim h3 { color: #FFFFFF; }
.dbt-side-claim p { color: rgba(255, 255, 255, 0.85); }

/* Pagination */
.pagination,
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 34px; }

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px; height: 44px;
	padding: 0 12px;
	border: 1.5px solid var(--dbt-border);
	border-radius: 999px;
	font-weight: 700;
	color: var(--dbt-navy) !important;
	background: #FFFFFF;
	text-decoration: none !important;
}

.page-numbers.current { background: var(--dbt-green); border-color: var(--dbt-green); color: #FFFFFF !important; }
.page-numbers:hover { border-color: var(--dbt-navy); }

/* -------------------------------------------------------------------------
 * Single listing
 * ---------------------------------------------------------------------- */

.dbt-single { padding: 34px 0 64px; }

.dbt-single-title { margin-bottom: 10px; }

.dbt-single-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	color: var(--dbt-muted);
	margin-bottom: 20px;
}

.dbt-single-rating strong { color: var(--dbt-navy); font-size: 1.1rem; }

.dbt-single-city { margin-left: 8px; font-weight: 700; color: var(--dbt-navy); }

.dbt-single-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }

.dbt-single-actions .dbt-menu-wrap { margin-left: 0; }

.dbt-menu-btn-lg { width: 48px; height: 48px; }

.dbt-single-photo { margin-bottom: 30px; }

.dbt-single-photo img {
	width: 100%;
	max-height: 480px;
	object-fit: cover;
	border-radius: var(--dbt-radius);
	box-shadow: var(--dbt-shadow);
}

.dbt-single-about { margin-bottom: 30px; }

.dbt-details-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-bottom: 30px;
}

.dbt-detail {
	background: var(--dbt-bg-light);
	border-radius: 14px;
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.dbt-detail-label { font-weight: 800; color: var(--dbt-navy); font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.04em; }
.dbt-detail-value { overflow-wrap: anywhere; }

.dbt-enrichment { margin-bottom: 26px; }

.dbt-chip-row { display: flex; flex-wrap: wrap; gap: 9px; }

.dbt-attr-chip {
	background: #EFF7F1;
	border: 1.5px solid #BFE0CC;
	color: var(--dbt-green-dark);
	font-weight: 700;
	font-size: 0.9rem;
	padding: 6px 14px;
	border-radius: 999px;
}

.dbt-map-block { margin-bottom: 34px; }
.dbt-map-block img { border-radius: var(--dbt-radius); box-shadow: var(--dbt-shadow); margin-bottom: 14px; }

.dbt-single-faqs { margin-bottom: 10px; }

.dbt-contact-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dbt-contact-list li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.dbt-contact-list i { color: var(--dbt-green); margin-top: 5px; }

.dbt-nearby { margin-top: 50px; }

/* -------------------------------------------------------------------------
 * Generic content / posts / contact / 404
 * ---------------------------------------------------------------------- */

.dbt-content { font-size: 1.05rem; }
.dbt-content h2, .dbt-content h3 { margin-top: 1.4em; }
.dbt-content ul, .dbt-content ol { margin: 0 0 1em; padding-left: 1.4em; }
.dbt-content img { border-radius: 12px; }

.dbt-page-intro { margin-bottom: 28px; color: var(--dbt-muted); }

.dbt-search-subhead { margin: 10px 0 20px; }
.dbt-search-subhead:not(:first-child) { margin-top: 44px; }

.dbt-post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; font-weight: 700; }
.dbt-post-nav-next { margin-left: auto; text-align: right; }

.dbt-contact-card {
	background: var(--dbt-bg-warm);
	border-radius: var(--dbt-radius);
	padding: 36px;
	text-align: center;
	margin-bottom: 30px;
}

.dbt-404 { text-align: center; }
.dbt-404-search { margin-top: 28px; }

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */

.dbt-footer {
	background: var(--dbt-navy);
	color: rgba(255, 255, 255, 0.88);
	margin-top: 0;
}

.dbt-footer-inner { max-width: 1200px; margin: 0 auto; padding: 56px 24px 40px; }

.dbt-footer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 34px;
}

.dbt-footer h4,
.dbt-footer .widget-title {
	color: #FFFFFF;
	font-size: 1.08rem;
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 3px solid var(--dbt-yellow);
	display: inline-block;
}

.dbt-footer a { color: rgba(255, 255, 255, 0.88); }
.dbt-footer a:hover { color: var(--dbt-yellow); }

.dbt-footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.dbt-footer-contact i { color: var(--dbt-yellow); margin-right: 8px; }

.dbt-social-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; gap: 14px; }
.dbt-social-list a { font-weight: 700; }

.dbt-footer .widget { margin-bottom: 18px; }
.dbt-footer .widget ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }

.dbt-footer-bottom { background: var(--dbt-navy-dark); }

.dbt-footer-bottom-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 18px 24px;
	text-align: center;
}

.dbt-footer-bottom p { margin: 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.7); }

/* -------------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.dbt-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dbt-city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dbt-layout-sidebar { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
	.dbt-hero-title { font-size: 2.8rem; }
	.dbt-nav-list { gap: 16px; }
}

@media (max-width: 768px) {
	body { font-size: 16px; }
	h1 { font-size: 2rem; }
	h2 { font-size: 1.65rem; }
	.dbt-section { padding: 46px 0; }

	.dbt-header-inner { gap: 14px; padding: 12px 16px; }

	.dbt-brand .custom-logo { display: none; }

	.dbt-wordmark { font-size: 1.05rem; }

	.dbt-nav-toggle {
		display: inline-flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		flex: 0 0 auto;
		min-width: 44px;
		min-height: 44px;
		visibility: visible;
		position: relative;
		z-index: 5;
	}

	.dbt-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0; right: 0;
		background: var(--dbt-navy-dark);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 14px 24px 22px;
		margin-left: 0;
	}

	.dbt-nav.is-open { display: flex; }

	.dbt-nav-list { flex-direction: column; gap: 0; }
	.dbt-nav-list a { display: block; padding: 12px 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }

	.dbt-header-cta { margin-top: 16px; }

	.dbt-hero { padding: 60px 0 54px; }
	.dbt-hero-title { font-size: 2.3rem; }

	.dbt-search-pill { flex-wrap: nowrap; }
	.dbt-search-city { display: none; }
	.dbt-search-btn { padding: 0 24px; }

	.dbt-layout-sidebar { grid-template-columns: 1fr; }
	.dbt-sidebar .dbt-sticky { position: static; }

	.dbt-steps,
	.dbt-testimonial-grid { grid-template-columns: 1fr; }

	.dbt-city-grid { grid-template-columns: repeat(2, 1fr); }
	.dbt-footer-grid { grid-template-columns: repeat(2, 1fr); }
	.dbt-details-grid { grid-template-columns: 1fr; }

	.dbt-section-head { flex-direction: column; align-items: flex-start; }
	.dbt-section-head-center { align-items: center; }

	.dbt-claim-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
	.dbt-card-grid { grid-template-columns: minmax(0, 1fr); }
	.dbt-city-grid { grid-template-columns: minmax(0, 1fr); }
	.dbt-footer-grid { grid-template-columns: 1fr; }
	.dbt-hero-title { font-size: 2rem; }
	.dbt-hero-stats { gap: 12px; }
	.dbt-stat { min-width: 0; flex: 1 1 100%; }
	.dbt-card-actions { flex-wrap: nowrap; }
	.dbt-card-actions .dbt-btn { flex: 1 1 0; min-width: 0; padding: 11px 10px; font-size: 0.70rem; white-space: nowrap; }
	.dbt-menu-wrap { margin-left: 0; flex: 0 0 auto; }
	.dbt-wordmark { font-size: 1.05rem; }
	.dbt-container { padding: 0 16px; }
	.dbt-listing-controls { flex-direction: column; align-items: stretch; }
	.dbt-filter { max-width: none; }
	.dbt-sort { justify-content: space-between; }
}

/* -------------------------------------------------------------------------
 * Header logo — Custom Logo as a rounded tile (from the source theme)
 * The Custom Logo image is shown as a deliberate rounded tile directly
 * on the navy header — no white badge, no padding, no shadow. Set the
 * logo per site in Customizer > Site Identity (see REBRAND_CHECKLIST.md).
 * The text wordmark beside it is the site name (blogname); the
 * .dbt-wordmark-accent span is available in header.php if a two-tone
 * wordmark is wanted. On small screens the wordmark shrinks and may
 * wrap to two lines, so the logo tile and the hamburger toggle both
 * stay fully visible.
 * ---------------------------------------------------------------------- */
.dbt-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
}
.dbt-brand .custom-logo {
  display: block;
  height: 54px;
  width: 54px;
  max-width: none;
  max-height: none;
  object-fit: cover;
}
.dbt-brand .dbt-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  font-family: 'Archivo', 'Manrope', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  text-decoration: none;
  white-space: normal;
}
.dbt-brand .dbt-wordmark-text {
  min-width: 0;
}
.dbt-brand .dbt-wordmark-accent {
  color: #F97316;
}
.dbt-nav-toggle {
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .dbt-brand {
    gap: 10px;
  }
  .dbt-brand .custom-logo-link {
    border-radius: 10px;
  }
  .dbt-brand .custom-logo {
    display: block;
    height: 42px;
    width: 42px;
    max-height: none;
    max-width: none;
  }
  .dbt-brand .dbt-wordmark {
    gap: 8px;
    font-size: 1rem;
    line-height: 1.15;
  }
}
@media (max-width: 480px) {
  .dbt-brand .dbt-wordmark {
    font-size: 0.95rem;
  }
}

/* -------------------------------------------------------------------------
 * Advertise landing page (page-advertise.php) — scoped dbt-adv-* styles.
 * Reuses the site-wide buttons, hero stats, steps, FAQ and claim band;
 * only the hero variant, pricing cards, check lists and who band are new.
 * ---------------------------------------------------------------------- */

/* Hero: navy gradient band like .dbt-page-hero, centred, with room for
 * the CTA row and stats. The marketing headline is the page H1. */
.dbt-adv-hero {
	background: linear-gradient(140deg, var(--dbt-navy) 0%, #17456F 100%);
	color: #FFFFFF;
	padding: 72px 0 64px;
	text-align: center;
}

.dbt-adv-hero h1 {
	color: #FFFFFF;
	font-size: 2.9rem;
	max-width: 820px;
	margin: 0 auto 18px;
}

.dbt-adv-hero-sub {
	font-size: 1.15rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
	max-width: 780px;
	margin: 0 auto;
}

.dbt-adv-hero-cta {
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 32px;
}

.dbt-adv-hero .dbt-hero-stats { margin-top: 44px; }

/* Secondary hero button: transparent with a white outline on navy. */
.dbt-adv-btn-ghost {
	background: transparent;
	color: #FFFFFF !important;
	border-color: rgba(255, 255, 255, 0.75);
}
.dbt-adv-btn-ghost:hover {
	background: #FFFFFF;
	color: var(--dbt-navy) !important;
	border-color: #FFFFFF;
}

/* Pricing */
.dbt-adv-pricing { background: var(--dbt-bg-light); }

.dbt-adv-price-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px;
	max-width: 980px;
	margin: 10px auto 0;
	align-items: stretch;
}

.dbt-adv-price-card {
	position: relative;
	background: #FFFFFF;
	border: 1px solid var(--dbt-border);
	border-radius: var(--dbt-radius);
	box-shadow: var(--dbt-shadow);
	padding: 38px 34px;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.dbt-adv-price-card h3 { font-size: 1.35rem; margin-bottom: 8px; }

.dbt-adv-price {
	font-family: var(--dbt-font-head);
	font-size: 2.6rem;
	font-weight: 900;
	line-height: 1.05;
	color: var(--dbt-navy);
	margin: 0 0 4px;
}

.dbt-adv-price-per { font-size: 1.15rem; font-weight: 700; color: var(--dbt-muted); }

.dbt-adv-price-note { color: var(--dbt-muted); font-weight: 600; margin: 0 0 22px; }

.dbt-adv-badge {
	position: absolute;
	top: -15px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--dbt-yellow);
	color: var(--dbt-navy);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 7px 16px;
	border-radius: 999px;
	white-space: nowrap;
	box-shadow: var(--dbt-shadow);
}

/* Featured card: navy treatment so the paid tier reads as the offer. */
.dbt-adv-price-card-featured {
	background: linear-gradient(140deg, var(--dbt-navy) 0%, #17456F 100%);
	border-color: var(--dbt-navy);
	color: #FFFFFF;
}

.dbt-adv-price-card-featured h3 { color: #FFFFFF; }
.dbt-adv-price-card-featured .dbt-adv-price { color: #FFFFFF; }
.dbt-adv-price-card-featured .dbt-adv-price-per { color: var(--dbt-yellow); }
.dbt-adv-price-card-featured .dbt-adv-price-note { color: rgba(255, 255, 255, 0.82); }
.dbt-adv-price-card-featured .dbt-adv-checks li { color: rgba(255, 255, 255, 0.94); }
.dbt-adv-price-card-featured .dbt-adv-checks li::before { color: var(--dbt-yellow); }

/* Check-mark lists (CSS glyph, no emoji). */
.dbt-adv-checks {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.dbt-adv-checks li { position: relative; padding-left: 30px; }

.dbt-adv-checks li::before {
	content: "\2713";
	position: absolute;
	left: 2px;
	top: 0;
	color: var(--dbt-green);
	font-weight: 800;
}

.dbt-adv-price-card .dbt-btn { margin-top: auto; }

/* Numbered step discs reuse .dbt-step-icon; just set the numeral type. */
.dbt-adv-step-num { font-family: var(--dbt-font-head); font-weight: 800; }

/* Who it's for band */
.dbt-adv-who { background: var(--dbt-bg-warm); text-align: center; }
.dbt-adv-who p { color: var(--dbt-muted); font-size: 1.08rem; margin: 0; }

@media (max-width: 768px) {
	.dbt-adv-hero { padding: 54px 0 48px; }
	.dbt-adv-hero h1 { font-size: 2.1rem; }
	.dbt-adv-hero-sub { font-size: 1.05rem; }

	.dbt-adv-hero-cta { flex-direction: column; align-items: stretch; max-width: 340px; margin-left: auto; margin-right: auto; }

	.dbt-adv-price-grid { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
	.dbt-adv-price-card { padding: 32px 24px; }
	.dbt-adv-price { font-size: 2.3rem; }
}
