/*
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: 3rem;
	
	
	/* 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: "Outfit", sans-serif;
	--body-font-color: #444;

	--heading-font-family: "Outfit", sans-serif;
	--heading-font-color: #222;
	--heading-font-weight: 600;

	--link-color: var(--primary-color);
	--link-color-hover: var(--primary-color);
	
	/* Menu */
	--menu-alignment: flex-end; /* use "center" for centering links */
	--menu-bg-color: #F2EBE6; /* wrapper */
	
	--menu-top-color: #333;
	--menu-top-color-hover: var(--primary-color);
	--menu-top-bg-color: transparent;
	--menu-top-bg-color-hover: transparent;
	--menu-top-color-border: transparent;

	--menu-sub-color: #333;
	--menu-sub-color-hover: var(--primary-color);
	--menu-sub-bg-color: #F2EBE6;
	--menu-sub-bg-color-hover: #fff;

	/* Forms */
	--input-color: #000;
	--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;
	
	/* Utility */
	--menu-bg-height: 82px;
	
}
/* END Globals */



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



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



/*	=================================
	Typography
=================================  */

body {
	font-weight: 400;
}

strong {
	font-weight: 500;
}


/* 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; }
}
.heading-main {
	line-height: 1.1;
}
.heading-sub {
	letter-spacing: .5rem
}

/* Buttons */
.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;
}



/* Forms */
.banner-form {
	--input-color: #000;
	--input-bg-color: #fff;	
}
.ginput_container_select select {
	-webkit-appearance: none;
	background-color: transparent;
	z-index: 2;
	position: relative;
}
.ginput_container_select {
	position: relative;
	background: var(--input-bg-color, #fff);
	border-radius: var(--input-border-radius, 0.5rem);
	z-index: 1;
	
}
.ginput_container_select:before {
	content: "\f13a";
	font-family:  "Font Awesome 6 Pro", "Font Awesome 6 Free";
	position: absolute;
	right: 1rem;
	top: 1rem;
}

.banner-form textarea::placeholder,
.banner-form input::placeholder {
	color: #000;
}

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

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


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

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

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


/* == 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 > li > a {
	font-weight: 700;
}

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:after {
	content: "\f061";
	font-family:  "Font Awesome 6 Pro", "Font Awesome 6 Free";
	margin-left: .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;
	}
}


@media( min-width: 768px ) {
	#header-wrapper #primary-nav-wrapper {
		padding: 1rem 1rem 1rem 4rem;
		background-color: var(--menu-bg-color);
	}
	
	/* Menu Right Shape */
	#header-wrapper:after {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		height: 100%;
		width: 40%;
		right: 0;
		z-index: -1;
		background: linear-gradient( 
			to top,
			var(--menu-bg-color) 0px,
			var(--menu-bg-color) var(--menu-bg-height),
			#fff var(--menu-bg-height),
			#fff 100%
		);
	}
	
	
}

@media( min-width: 1310px ) {
	/* menu Left Shape */
	#primary-nav-wrapper:before {
		content: "";
		position: absolute;
		bottom: 0;
		left: -40px;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 0 40px var(--menu-bg-height) 0px;
		border-color: var(--menu-bg-color) var(--menu-bg-color) transparent transparent
	}

}

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

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

#header-above a {
	color: inherit !important;
}

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

#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: center;
	}
	
	.header-logo img {
		/* max-height: var(--menu-bg-height); */
		padding: 0;
		transform: scale(1.6);
		transition: all .3s ease;
	}
	
	.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);
	}

}

/* Trustio */
#header-above .ti-small-logo {
	display: none;
}
#header-above .ti-header {
	padding: 0;
}


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

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

/* 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(--secondary-color);
	color: #fff;
}

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

@media( min-width: 768px ) {
	#header-wrapper.is-sticky .header-logo img {
		transform: none;
		transition: all .3s ease;
	}
}


.menu-btn {
	transition: all .3s ease;
}
.menu-phone {
	transition: all .3s ease;
	padding-left: 1rem;
	opacity: 0;
	position: absolute !important;
	right: 0;
	z-index: -1;
}

.menu-phone a {
	padding: .9rem 1rem !important;
}

#header-wrapper.is-sticky .menu-phone:before {
	content: "";
	margin-left: 1rem;
	height: 100%;
	width: 1px;
	background: #000;
	position: absolute;
	left: 0;
	top: 0;
} 

@media(min-width:1340px) {
	#header-wrapper.is-sticky {
		--menu-bg-height: 80px;
	}
	#header-wrapper.is-sticky .menu-phone {
		transition: all .3s ease;
		opacity: 1;
		z-index: 1;
	}
	
	#header-wrapper.is-sticky .menu-btn {
		transform: translateX(-200px);
	}
	
}





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


/* == Page Title Wrapper ==  */
#page-title-wrapper {}
#page-title-wrapper .entry-header {}
#page-title-wrapper .entry-title {
	text-transform: none;
}
#page-title-wrapper .subheading {}
#page-title-wrapper .cta {}
#page-title-wrapper .btn {}

@media( min-width: 768px ) {
	#page-title-wrapper {
		padding: 10rem 30px;
		background-color: rgba(68, 115, 142, 0.7);
		font-weight: 500;
	}
}

/* == Featured Image == */
.page-template.sidebar-none .featured-image-wrapper.alignfull {
	margin-top: -40px;
}


/* Post */
.wp-block-post {
	margin-bottom: 2rem;
}

.wp-block-post-title a:not(:hover) {
	color: var(--heading-font-color);
}

.wp-block-post-featured-image {
	margin-bottom: 1rem;
}

.wp-block-post-featured-image.is-style-modern {
	box-shadow: 0 3px 12px -1px rgba(7, 10, 25, .2), 0 22px 27px -20px rgba(7, 10, 25, .2);
	transition: opacity .3s ease;
}

.wp-block-post-featured-image.is-style-modern:hover {
	opacity: .7;
}
	

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


#footer-before {
	padding: 5px 30px;
	background-color: var(--secondary-color);
	color: #fff;
	--heading-font-color: #fff;
	--link-color: #fff;
	--link-color-hover: var(--accent-color);
}

#footer-before .row {
	align-items: center;
	text-align: center;
}

#footer-before img {
	width: 150px;
	margin: 0 auto;
	transform: scale(1.4);
}

#footer-before p {
	font-weight: bold;
	font-size: 1.3rem;
}

#footer-widgets-wrapper {
	padding: 20px 30px;
	background-image: url('/wp-content/themes/bne-minimal/assets/images/widget-bg.webp');
	background-repeat: repeat-all;
	--link-color: var(--body-font-color);
}

#footer-widgets-wrapper .menu {
	list-style: none;
	padding-left: 1rem;
}
#footer-widgets-wrapper .menu a {
	position: relative;
}
#footer-widgets-wrapper .menu a:before {
	content: "\f0da";
	font-family:  "Font Awesome 6 Pro", "Font Awesome 6 Free";
	position: absolute;
	left: -1rem;
}
#footer-widgets-wrapper .widget-title {
	margin-top: 2rem;
	position: relative;
	margin-bottom: 1rem;
}
#footer-widgets-wrapper .widget-title:after {
	content: "";
	width: 5rem;
	height: 2px;
	background-color: var(--primary-color);
	position: absolute;
	bottom: -.5rem;
	left: 0;
}

#footer-wrapper {
	background-color: #084173;
	color: #fff;
	--heading-font-color: #fff;
	--link-color: #fff;
	--link-color-hover: var(--accent-color);
	padding: 30px 30px;
}



@media(min-width:768px) {
	
	.footer-copy {
		padding: 0;
	}
	#footer-menu {
		justify-content: end;
	}
}


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

/* Sidebar Menu */
#sidebar .menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#sidebar .menu li {
	padding: 0 !important;
	position: relative;
	background-color: #fff;
	margin-bottom: 10px;
	box-shadow: 0px 0px 10px 0px rgba(43, 52, 59, 0.1);
	transition: all 0.4s ease 0s;
}

#sidebar .menu li:hover {
	background-color: #000;
}

#sidebar .menu li a {
	display: block;
	padding: 18px 20px;
	position: relative;
	z-index: 1;
	font-weight: 600;
	font-size: 16px;
	color: #364352;
	transition: all 0.4s ease 0s;
}

#sidebar .menu li a:after {
	content: "\f0da";
	font-family:  "Font Awesome 6 Pro", "Font Awesome 6 Free";
	position: absolute;
	right: 1rem;
}

#sidebar .menu li:hover a {
	color: #fff;
}

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




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

/* Trustio */

.trustio-reviews-slider .ti-name {
	font-size: 2rem !important;
}