/*
Theme Name: BNE Minimal
Description: A starter template ready for full customizations. Inspired by Sweetness, a full fledge theme by BNE Creative.
Author: Kerry Kline
Author URI: https://www.bnecreative.com
Version: 2024.10.13
Text Domain: bne
License: GPL2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* Globals */
:root {
	/* Defined in options
	--btn-color
	--btn-text-color
	--primary-color
	--secondary-color
	--tertiary-color
	--accent-color
	*/

	/* Layout */
	--content-area-width: 1400px;
	/* Sidebar gap on desktop */
	--sidebar-gutter: 5rem;
	
	
	/* Typography */
	--fs-base: 16px;
	/* --fs-ratio: 1.3; */
		
	/* Fluid Generator: https://fluidtypography.com */
	/* Clamp: (min, fluid, max) */
	--fs-h1: clamp(2rem, 5.196vw + 1.155rem, 2.5rem); 
	--fs-h2: clamp(1.5rem, 1.617vw + 1.519rem, 2rem);
	--fs-h3: clamp(1.3rem, 1.386vw + 1.079rem, 1.5rem);
	--fs-h4: clamp(1.125rem, 1.155vw + 0.826rem, 1.3rem);
	--fs-h5: clamp(1rem, 0.693vw + 0.821rem, 1.125rem);
	--fs-h6: clamp(0.875rem, 0.462vw + 0.755rem, 1rem);
	
	--body-font-family: "Roboto", serif;
	--body-font-color: #222;

	--heading-font-family: "Poppins", serif;
	--heading-font-color: #000;
	--heading-font-weight: 600;

	--link-color: #005994;
	--link-color-hover: #005994;
	
	/* Menu */
	--menu-alignment: flex-end; /* use "center" for centering links */
	--menu-bg-color: transparent; /* wrapper */
	
	--menu-top-color: #333;
	--menu-top-color-hover: #000;
	--menu-top-bg-color: transparent;
	--menu-top-bg-color-hover: transparent;
	--menu-top-color-border: transparent;

	--menu-sub-color: #333;
	--menu-sub-color-hover: #333;
	--menu-sub-bg-color: #f4f4f4;
	--menu-sub-bg-color-hover: #fff;

	/* Forms */
	--input-color: #535165;
	--input-bg-color: #f4f4f4;
	--input-border-radius: 0.5rem;
	--input-shadow: none;
	
	/* Buttons */
	--btn-submit-text-size: 1.125rem;
	--btn-submit-padding: .625rem 1rem;
	--btn-submit-width: auto;
	--btn-border-radius: .25rem;
	/* --btn-color: #fff */
	/* --btn-text-color: #333 */
	
	
	/* Media */
	--wp--style--block-gap: 1.2rem;
	
}
/* END Globals */



/* 	=================================
	Utilities
=================================  */



/* WP Columns */
@media( min-width: 1024px ) {
	:where( .wp-block-columns.is-layout-flex ) {
		column-gap: 4em;
	}
}

.border-left-drk {
	border-left: 5px solid #000;
}

@media(min-width: 1024px ) {
	.offset-t5,
	.wp-block-columns.no-gutters.offset-t5 {
		margin-top: -5rem !important;
		z-index: 1;
		position: relative;
	}
}

@media( max-width: 768px ) {
	.hide_bg_mobile .bne-container-image {
		display: none;
	}
}
/*	=================================
	Typography
=================================  */



/* Mobile Typography Resets */
/* let's make sure any inline font changes in WP blocks are reset for mobile */
@media(max-width:600px) {
	h1, .h1 { font-size: var(--fs-h1) !important; }
	h2, .h2 { font-size: var(--fs-h2) !important; }
	h3, .h3 { font-size: var(--fs-h3) !important; }
	h4, .h4 { font-size: var(--fs-h4) !important; }
	h5, .h5 { font-size: var(--fs-h5) !important; }
	h6, .h6 { font-size: var(--fs-h6) !important; }
}

.wp-block-button.is-style-outline:hover a:not(.has-text-color) .btn-icon,
.wp-block-button.is-style-outline a:not(.has-text-color):hover {
	color: var(--btn-color) !important;
}

strong {
	font-weight: 700;
}

.heading-main {
	line-height: 1.1;
	
}

/* Forms */
.form-wht {
	--input-bg-color: #fff;
}
input[type="submit"] {
	--btn-color: #000;
	--btn-text-color: #fff;
	--btn-submit-width: 150px;
}

/* 

/*	=================================
	Media
=================================  */

@media(max-width:500px) {
	.wp-block-image .alignleft,
	.wp-block-image .alignright {
		float: none;
	}
}

.handyman-absolute {
	display: none;
}
@media( min-width: 1024px ) {
	.handyman-absolute {
		display: block;
		position: absolute;
		bottom: -15px;
		right: 0;
		max-width: 40%;
	}
}


/*	=================================
	Main Menu
=================================  */

/* == Mobile Menu btn == */
.mobile-nav-btn {
	background-color: var(--tertiary-color);
	height: 100%;
	width: fit-content;
	color: #000;
}

.mobile-nav-btn span {
	display: block;
}

ul.primary-nav > li > a {
	font-weight: bold;
	font-size: 1.1rem;
	text-transform: uppercase;
}

/* == Menu Button CTA == */
@media( min-width: 768px ) {
	ul.primary-nav {
		align-items: center; /* Aligns with menu btns */
	}
	.menu-btn {
		margin-left: auto;
	}
}

ul.primary-nav .menu-btn a {
	background-color: var(--primary-color);
	color: #fff;
	border: 1px solid transparent;
	border-radius: var(--btn-border-radius);
	font-weight: bold;
}

ul.primary-nav .menu-btn:hover a {
	background-color: #fff;
	color: var(--primary-color);
	border-color: red;
	box-shadow: none;

}
ul.primary-nav .menu-btn .menu-label:before {
	content: "\f095";
	font-family:  "Font Awesome 6 Pro", "Font Awesome 6 Free";
	margin-right: .5rem;
}

ul.primary-nav .menu-phone a {
	font-size: 1.3rem ;
}

/* == Mobile Adjustments == */
@media(max-width: 768px) {
	body.has-mobile-nav.admin-bar #header-wrapper:not(.is-sticky) #primary-nav-wrapper {
		top: calc( (var(--header-height) * 1px ) + 46px);
	}
	
	/* Mobile Menu */
	body.has-mobile-nav #primary-nav-wrapper {
		top: calc( var(--header-height) * 1px );
		--menu-bg-color: #fff;
		width: 100vw;
	}
}



/*	=================================
	Header
=================================  */

#header-above {
	background-color: var(--primary-color);
	padding: 1rem 30px;
	display: none;
	color: #fff;
}

#header-above a[href^="tel:"],
#header-above a[href^="mailto:"] {
	color: #fff;
	
}

/* Header Review Badge */
#header-above .ti-small-logo {
	display: none;
}
#header-above .ti-header {
	padding: 0 !important;
}

#header-wrapper {
	padding: 0;
	box-shadow: 0px 0px 3px rgba(0,0,0,.4);
}

#header-wrapper .row {
	align-items: stretch;
	gap: 0;
	margin: 0;
}

#header-wrapper .row > * {
	padding: 0;
}

.header-logo {}

.header-logo a {
	display: block;
}

.header-logo img {
	padding: .8rem;
	max-height: 70px;
	width: auto;
	text-align: center;
}

@media( min-width: 768px ) {
	#header-above {
		display: block;
	}
	
	#header-wrapper {
		padding: 1rem 30px;
	}
	
	
	.header-logo {
		text-align: left;
	}
	
	.header-logo img {
		/* max-height: var(--menu-bg-height); */
		padding: 0;
	}
	
	.header-widget-area {
		display: flex;
		gap: 2rem;
		font-size: .9rem;
		font-weight: bold;
		align-items: center;
		padding-right: 1rem;
	}
	
	.header-widget-area p {
		margin: 0;
	}
	
	/* Widget Alignment */
	.header-widget-area .widget:last-of-type {
		margin-left: auto; 
	}
	
}



/* == Transparent Header == */
@media(min-width: 768px) {
	body.has-transparent-header #header-wrapper {
		background-color: rgba(0, 0, 0, 0.2);
	}

}




/*	=================================
	Sticky Header
=================================  */

/* Enable Mobile Sticky */
@media (max-width: 768px) {
	
	#wrapper {
		overflow: initial;
	}
	
	#header-wrapper {
		position: sticky;
		top:0
	}
	
	.header-logo {
		text-align: center;
	}

}

/* Mobile Sticky Header */
.mobile-header-btns {
	display: flex;
	align-items: stretch;
	height: 70px
}
.mobile-header-btns > * {
	box-shadow: none;
	border: none;
}
.mobile-header-btns .header-cta {
	height: 100%;
	max-width: fit-content;
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	padding: .8rem 1rem;
	background-color: var(--primary-color);
	color: #fff;
}

.mobile-header-btns .header-cta span {
	display: block
}



/*	=================================
	Main
=================================  */


/* == Page Title Wrapper ==  */
#page-title-wrapper {
	background-color: rgba(42, 78, 99, 0.90);
}
#page-title-wrapper .entry-header {}
#page-title-wrapper .entry-title {}
#page-title-wrapper .subheading {}
#page-title-wrapper .cta {}
#page-title-wrapper .btn {}

@media( min-width: 768px ) {
	#page-title-wrapper {
		padding: 5rem 30px;
		background-position: center;
	}
	#page-title-wrapper .entry-title {
		font-size: 4rem;
		font-weight: bold;
		text-transform: none;
	}
}
/* == Featured Image == */
.page-template.sidebar-none .featured-image-wrapper.alignfull {
	margin-top: -40px;
}


/*	=================================
	Footer
=================================  */

#footer-wrapper {
	background-color: var(--primary-color);
	color: #fff;
	--link-color: var(--tertiary-color);
	--link-color-hover: #fff;
	--heading-font-color: #fff;
}

.menu-footer-menu-container {
	border-top: 1px solid rgba(204,204,204,0.22);
	border-bottom: 1px solid rgba(204,204,204,0.22);
	padding: 3.2rem 0;
}

#footer-menu {
	padding: 0;
}

#footer-menu a {
	color: #fff;
	font-weight: bold;
	font-size: 1.1rem;
}

@media( min-width: 768px ) {
	#footer-menu li {
		flex: 1 1 auto;
		text-align: center;
	}
	
	#footer-menu li:not(:last-of-type) {
		border-right: 1px solid rgba(204,204,204,0.22);
	}
}


.footer-widgets > .row {
	align-items: center;
}


/*	=================================
	Widgets / Sidebar
=================================  */




/*	=================================
	Blocks
=================================  */

/* Post Template */
.wp-block-post-template.is-style-card .wp-block-post {
	background-color: var(--light-color);
}
.wp-block-post-excerpt__more-text a:after {
	content: "\f061";
	font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
	margin-left: .5rem;
}

.number-box {
	padding: 1rem 2rem;
	font-size: 30px;
	font-weight: bold;
}

/*	=================================
	Plugins
=================================  */


/* Filter Gallery */
#wrapper .simplefilter li:not(.active)
{ color: #000 !important; }

#wrapper .simplefilter li:hover
{ color: #fff !important; }

