/*
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: 1200px;
	/* 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: "Inter", sans-serif;
	--body-font-color: #666;

	--heading-font-family: "Plus Jakarta Sans", sans-serif;
	--heading-font-color: #333;
	--heading-font-weight: 700;

	--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: 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.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;
	}
	
	.wp-block-columns + .wp-block-columns {
		margin-top: 3rem;
	}
}
@media( max-width: 768px ) {
	.wp-block-columns.is-layout-flex.columns-sm-2 > .wp-block-column {
		flex-basis: 40% !important;
	}
}

@media(min-width: 768px) {
	.scroll-indicator:after {
		content: "SCROLL \23AF\23AF\23AF";
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateX(-50%) rotate(90deg);
		transform-origin: right;
	}
}



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

/* plus-jakarta-sans-regular - latin */
@font-face {
	font-display: swap;
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 400;
	src: url('https://www.coopergradingllc.com/wp-content/themes/bne-minimal/assets/fonts/plus-jakarta-sans-v8-latin-regular.woff2') format('woff2');
}

/* plus-jakarta-sans-700 - latin */
@font-face {
	font-display: swap;
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 700;
	src: url('https://www.coopergradingllc.com/wp-content/themes/bne-minimal/assets/fonts/plus-jakarta-sans-v8-latin-700.woff2') format('woff2');
}

/* inter-regular - latin */
@font-face {
	font-display: swap;
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	src: url('https://www.coopergradingllc.com/wp-content/themes/bne-minimal/assets/fonts/inter-v18-latin-regular.woff2') format('woff2');
}

/* inter-700 - latin */
@font-face {
	font-display: swap;
	font-family: 'Inter';
	font-style: normal;
	font-weight: 700;
	src: url('https://www.coopergradingllc.com/wp-content/themes/bne-minimal/assets/fonts/inter-v18-latin-700.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; }
}

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

.bne-heading.has-subheading-above .heading-sub {
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight: 700;
}

/* 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 */
.form-white {
	--input-border-radius: 0;
	--input-bg-color: transparent;
	
}
.form-white input[type="text"], 
.form-white input[type="email"],  
.form-white input[type="tel"], 
.form-white input[type="number"], 
.form-white textarea {
	background-color: transparent;
	border-width: 1px;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-color: #000; 
	font-weight: normal;
}
.form-white input::placeholder,
.form-white textarea::placeholder {
	color: #000 !important;
	font-weight: normal;
	font-size: 14px;
}


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

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

.wp-block-gallery.scale-5.has-nested-images figure.wp-block-image img {
	max-width: 50% !important;
}


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

/* == Mobile Menu btn == */
.mobile-nav-btn {
	background-color: #000;
	color: #fff;
	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: auto;
	} */
}

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

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

}
ul.primary-nav .menu-btn .menu-label {
	display: inline-flex;
}
/* ul.primary-nav .menu-btn .menu-label:before {
	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 .menu-phone a {
	font-size: 1.3rem ;
}

ul.primary-nav > li > a {
	text-transform: uppercase;
}

/* == Desktop Adjustments == */
@media(min-width: 768px) {
	ul.primary-nav > li {
		padding: 1rem;
	}
	
	ul.primary-nav > li:not(.menu-btn) > a {
		padding: 0 0 .5rem 0;
		margin-top: .5rem; /* Counters the padding difference to center against the btn */
	}

}


/* == 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-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-wrapper {
		padding: 1rem 30px;
	}
	
	
	.header-logo {
		text-align: left;
	}
	
	.header-logo img {
		/* max-height: var(--menu-bg-height); */
		padding: 0;
	}
	
	
}



/* == Transparent Header == */
@media(min-width: 768px) {
	body.has-transparent-header #header-wrapper {
		background-color: rgba(0, 0, 0, 0.2);
		--menu-top-color: #fff;
		--menu-top-color-hover: #fff;
		--menu-top-bg-color: transparent;
		--menu-top-bg-color-hover: transparent;
		--menu-top-color-border: var(--primary-color);
	}
	
	body.has-transparent-header #header-wrapper.is-sticky {
		background-color: #fff !important;
		transition: all .3s ease;
		--menu-top-color: #000;
		--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);
	}

	
	body.has-transparent-header .default-logo {
		display: none;
	}
	body.has-transparent-header .transparent-logo {
		display: inline-block;
	}
	
	body.has-transparent-header #header-wrapper.is-sticky .transparent-logo {
		display: none;
	}
	body.has-transparent-header #header-wrapper.is-sticky .default-logo {
		display: inline-block;
	}


}




/*	=================================
	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(--primary-color);
	color: #000;
}

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



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



/* == Page Title Wrapper ==  */
#page-title-wrapper {
	background-color: rgba(0, 0, 0, 0.51);
}
#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 .entry-title {
		font-size: 4.25rem;
	}
}

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


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

#footer-wrapper {
	background-color: #000;
	color: #BDBDBD;
	--link-color: #fff;
	--link-color-hover: var(--primary-color);
	--heading-font-color: var(--primary-color);
	font-size: .8rem;
}
#footer-wrapper strong {
	color: #fff;
}
.footer-copy {
	border-top: 1px solid #444;
	font-size: .8rem;
}


@media( min-width: 768px ) {
	#footer-menu {
		font-size: .8rem;
		padding-left: 0;
		justify-content: start;
	}
}


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




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




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