/*
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: 2025.02.01
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: system-ui;
	--body-font-color: #666;

	--heading-font-family: 'Poppins';
	--heading-font-color: #333;
	--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: transparent; /* wrapper */
	
	--menu-top-color: #fff;
	--menu-top-color-hover: var(--primary-color);
	--menu-top-bg-color: transparent;
	--menu-top-bg-color-hover: transparent;
	--menu-top-color-border: var(--primary-color);

	--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.5rem;
	--btn-submit-padding: 1rem 2rem;
	--btn-submit-width: auto;
	--btn-border-radius: .25rem;
	/* --btn-color: #fff */
	/* --btn-text-color: #333 */
	
	
	/* Media */
	--wp--style--block-gap: 1.2rem;
	
}
/* END Globals */

body {
	background-color: #F0EEEF;
}


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



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



/*	=================================
	Typography
	Self Hosted Font Generator: gwfh.mranftl.com/fonts/
=================================  */

/* poppins-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/poppins-v22-latin-regular.woff2') format('woff2');
}
/* poppins-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/poppins-v22-latin-700.woff2') format('woff2');
}
/* poppins-900 - latin */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  src: url('assets/fonts/poppins-v22-latin-900.woff2') format('woff2');
}


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


/* Buttons */
.wp-block-button.is-style-outline .has-light-color:hover {
	color: var(--btn-color) !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;
}


/* Without FA */
.wp-block-post-date:before,
.wp-block-post-terms:before {
	display: none;
}



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

.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: 2rem;
	}
}

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 {
	display: inline-flex;
}
ul.primary-nav .menu-btn .menu-label:before {
	/* FA Phone */
	/*
	content: "\f095";
	font-family:  "Font Awesome 6 Pro", "Font Awesome 6 Free";
	margin-right: .5rem; 
	*/
	
	/* SVG Phone */
	content: "";
	background-color: currentColor;
	background-size: 1em 1em;
	mask-repeat: no-repeat;
	mask-position: center;
	height: 1em;
	width: 1em;
	margin-right: 0.5em;
	mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24c-17.4 4.8-29.5 20.6-29.5 38.6 0 247.4 200.6 448 448 448 18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6l-40.4 49.3c-70.4-33.3-127.4-90.3-160.7-160.7l49.3-40.3c13.7-11.2 18.4-30 11.6-46.3l-40-96z"/></svg>');
	
}
ul.primary-nav > li > a {
	font-weight: bold;
	font-size: 18px;
}
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: #0D0D0D;
		width: 100vw;
	}
}



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


#header-wrapper {
	padding: 0;
	box-shadow: 0px 0px 3px rgba(0,0,0,.4);
	background-color: #0D0D0D;
	border-bottom: 1px solid #444;
	
}

#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-wrapper {
		padding: 2rem 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:not(.is-sticky) {
		background-color: transparent;
		box-shadow: none;
		border: none;
	}
	
	
}




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

#header-wrapper.is-sticky {
	border: none;
	transition: all .3s ease;
}


/* 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
}



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


/* == Page Title Wrapper ==  */
#page-title-wrapper {
	background-image: none;
	background-color: #0D0D0D;
}
#page-title-wrapper.has-bg-image {
	background-color: rgba(68, 115, 142, 0.35);
}
#page-title-wrapper .entry-header {}
#page-title-wrapper .entry-title {
	position: relative;
}
#page-title-wrapper .subheading {}
#page-title-wrapper .cta {}
#page-title-wrapper .btn {}

@media(min-width: 768px) {
	#page-title-wrapper {
		padding: 7rem 30px;
	}
}


#page-title-wrapper .entry-title:after {

	position: absolute;
	bottom: -30px;
	left: 50%;
	transform: translate(-50%);
	
	content: "";
	background-color: currentColor;
	background-size: 1em 1em;
	mask-repeat: no-repeat;
	mask-position: center;
	height: 1.5rem;
	width: 1.5rem;
	margin-right: 0.5em;
	mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"/></svg>');
	
}

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


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

#footer-wrapper {
	background-color: #191919;
	color: #fff;
	--heading-font-color: #fff;
	--link-color: #fff;
}

.footer-below {
	border-top: 1px solid #777;
}
.footer-below > * {
	padding: 0;
}
@media( min-width: 768px ) {
	.footer-widgets {
		padding-top: 80px;
		padding-bottom: 80px;
	}
	.footer-below {
		padding-top: 20px;
	}
	#footer-menu {
		justify-content: end;
	}
}



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




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

/* == Blog Post List == */
.post-card-list .wp-block-separator {
	margin-left: 0;
	border-width: 1px;
}

.post-card-list .taxonomy-category a {
	padding: .3rem 1.2rem;
	background-color: var(--secondary-color);
	color: white;
	text-transform: uppercase;
}

.post-card-list .wp-block-post-featured-image {
	margin: 0;
}

/* == WP Search == */
.wp-block-search__inside-wrapper {
	border: none;
}

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






