/*
Theme Name: PTK Knox
Theme URI: https://protreeknox.com/
Description: Pro Tree of Knoxville child theme with global PTK navbar (HTML) and luxe base styling. Parent: Divi.
Author: Pro Tree of Knoxville
Template: Divi
Version: 1.0.3
*/

/* PTK base styles are loaded via ptk-luxe-theme.css (enqueued by functions.php) */

/* Suppress the default Divi header/footer when the global PTK navbar is active */
body.ptk-global-nav #top-header,
body.ptk-global-nav #main-header,
body.ptk-global-nav #main-footer {
	display: none !important;
}

body.ptk-global-nav #main-content {
	padding-top: 0;
}

body.ptk-global-nav #main-content .container {
	padding-top: 0;
}

/* Hide the old Divi Theme Builder footer + #main-footer if present */
body.ptk-global-nav footer.et-l.et-l--footer,
body.ptk-global-nav #main-footer {
	display: none !important;
}

/* --- PTK blog module: tighten vertical whitespace --- */
#ptkblog .ptkblog-hero {
	padding: 48px 0 32px !important;
}

#ptkblog .ptkblog-filterbar {
	padding: 12px 0 !important;
}

#ptkblog .ptkblog-filters {
	gap: 8px !important;
}

#ptkblog .ptkblog-section {
	padding: 40px 0 64px !important;
}

#ptkblog .ptkblog-loadwrap {
	margin-top: 32px !important;
}

#ptkblog .ptkblog-cta {
	padding: 56px 0 !important;
}

@media (max-width: 640px) {
	#ptkblog .ptkblog-hero {
		padding: 36px 0 28px !important;
	}
	#ptkblog .ptkblog-section {
		padding: 32px 0 52px !important;
	}
	#ptkblog .ptkblog-cta {
		padding: 48px 0 !important;
	}
}

/* --- PTK case studies module: tighten vertical whitespace --- */
#ptkcase .ptkcase-hero {
	padding: 48px 0 32px !important;
}

#ptkcase .ptkcase-section {
	padding: 40px 0 64px !important;
}

#ptkcase .ptkcase-loadwrap {
	margin-top: 32px !important;
}

#ptkcase .ptkcase-cta {
	padding: 56px 0 !important;
}

@media (max-width: 640px) {
	#ptkcase .ptkcase-hero {
		padding: 36px 0 28px !important;
	}
	#ptkcase .ptkcase-section {
		padding: 32px 0 52px !important;
	}
	#ptkcase .ptkcase-cta {
		padding: 48px 0 !important;
	}
}

/* --- BBB Trust seal: constrain to the 150px seal box (img is 2x) --- */
#ptk2 .ptk2-trust #bbblink img,
#ptk2 .ptk2-trust .ruhzbum img {
	max-width: 150px !important;
	height: auto !important;
}

/* --- PTK home module: tighten vertical whitespace --- */
#ptk2 .ptk2-hero {
	min-height: auto !important;
	padding: 96px 0 72px !important;
}

#ptk2 .ptk2-section {
	padding: 64px 0 !important;
}

#ptk2 .ptk2-cta {
	padding: 80px 0 !important;
}

#ptk2 .ptk2-head--wrap {
	margin: 0 auto 40px !important;
}

#ptk2 .ptk2-hero .ptk2-hero-stats {
	margin-top: 40px !important;
}

@media (max-width: 640px) {
	#ptk2 .ptk2-hero {
		padding: 72px 0 56px !important;
	}
	#ptk2 .ptk2-section {
		padding: 48px 0 !important;
	}
	#ptk2 .ptk2-cta {
		padding: 60px 0 !important;
	}
}