/*
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: 2026.08.26
Text Domain: bne
License: GPL2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* Globals */
:root {
	/* Layout */
	--content-area-width: 1400px;
	/* Sidebar gap on desktop */
	--sidebar-gutter: 3rem;
	
	/* Sections */
	--body-bg-color: #fff;
	--header-bg-color: var(--primary-color);
	--footer-bg-color: var(--primary-color);
	
	/* Typography Fluid Calculations */
	--font-base-min: 1rem; /* 16px */
	--font-base-max: 1.125rem; /* 20px */
	--font-scale-min: 1.15;
	--font-scale-max: 1.25;
	--font-fluidity: 0vw;  /* Set to 0 to remove */
	
	/* Body */	
	--body-font-family: system-ui; /* WP Font Library */
	--body-font-color: #333;
	--body-font-weight: 400; /* Default */
	--body-font-strong: 700; /* With <strong> */

	/* Headings */
	--heading-font-family: "Playfair Display", system-ui; /* WP Font Library */
	--heading-font-color: #333;
	--heading-font-weight: 800; /* Default */
	--heading-font-strong: 800; /* With <strong> */

	/* Links */
	--link-color: #005994;
	--link-color-hover: #005994;
	
	/* Menu */
	--menu-fs: 16px;
	--menu-alignment: flex-end; /* use "center" for centering links */
	--menu-bg-color: var(--header-bg-color); /* wrapper */
	
	--menu-top-color: #fff;
	--menu-top-color-hover: var(--secondary-color);
	--menu-top-bg-color: transparent;
	--menu-top-bg-color-hover: transparent;
	--menu-top-color-border: transparent;

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

	/* Forms */
	--input-color: #535165;
	--input-bg-color: #f4f4f4;
	--input-border-color: #f4f4f4;
	--input-border-radius: 0.5rem;
	--input-shadow: none;
	
	/* Buttons */
	--btn-weight: bold;
	--btn-padding: 15px 22px;
	--btn-fs: 14px;
	--btn-border-radius: .25rem;
	--btn-submit-text-size: 1.125rem;
	--btn-submit-padding: .625rem 1rem;
	--btn-submit-width: auto;
	
	/* Media */
	--wp--style--block-gap: 1.2rem;

	/* Utility */
	--border-radius: 1rem;
	
	
	
}
/* 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.columns-sm-2 > .wp-block-column {
		flex-basis: 40% !important;
	}
}

.border-radius {
	border-radius: var(--border-radius) !important;
}

/* == Sticky Column == */
@media( min-width: 768px ) {
	#main-content-wrapper:has(.sticky-col) {
		overflow: initial;
	}
	#main-content-wrapper .sticky-col {
		position: sticky;
		top: calc( ( var(--header-height) + 80 ) * 1px );
		height: fit-content;
	}
}




/*	=================================
	Typography
	Self Hosted Font Generator: gwfh.mranftl.com/fonts/
	As of WP 7.0 Can use the Font Library 
	then var(--wp--preset--font-family--XXXX)
=================================  */


/* == General == */
.heading-main {
	line-height: 1.2;
	font-family: var(--heading-font-family);
}
.heading-sub {
	line-height: 1.1;
}

.text-stroke .heading-main {
	-webkit-text-stroke: 2px white;
}



/* == 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: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;
}
.wp-block-button.is-style-outline a.has-light-color:hover {
	color: #000 !important;
} */



/* == Icons  == */
/* Use "icon-after-{xxx}" and "icon-before-{xxx}" */

.icon-before-phone a:before {
	mask-image: url('assets/icons/phone.svg');
}

.icon-after-arrow_right a:after {
	mask-image: url('assets/icons/arrow_right.svg');
}



/* == Forms == */

/* == Tables == */

/* == List == */



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




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

/* == Mobile Menu btn == */
.mobile-nav-btn {
	background: var(--secondary-color);
	color: #000;
}


/* == Menu Button CTA == */
@media( min-width: 768px ) {
	ul.primary-nav {
		align-items: center; /* Aligns with menu btns */
	}
	.menu-btn {
		margin-left: 1rem;
		
	}
	
	/* Fly in button on sticky */
	/*
	.menu-btn {
		margin-left:-175px;
		transform: translateX(175px);
		opacity: 0;
		transition: all .3s ease;
	}
	.menu-btn a {
		border-radius: var(--border-radius) !important;
	}
	
	.is-sticky .menu-btn {
		margin-left: 1rem;
		transform: translateX(0);
		opacity: 1;
	}
	*/
}


/* == General Menu Adjustments == */
ul.primary-nav a {}
ul.primary-nav > li > a {}
ul.primary-nav > li > a .menu-label {}

/* == Menu Button == */
ul.primary-nav .menu-btn a {
	background: var(--btn-color);
	font-weight: bold;
}
ul.primary-nav .menu-btn:hover a {}
ul.primary-nav .menu-btn.icon-before-phone .menu-label:before {
	/* SVG Phone Icon  */
	mask-image: url('assets/icons/phone.svg');
}


/* == Mobile Menu 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 );
		width: 100vw;
		/* 
		--menu-bg-color: #fff;
		--menu-top-color: #333;
		--menu-top-color-hover: #000;
		--menu-top-bg-color: transparent;
		--menu-top-bg-color-hover: #fff;
		--menu-top-color-border: var(--primary-color); 
		*/
		
	}
}



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

.header-logo {}
.header-logo img {}

/* Logo Text */
.header-logo .site-name { color: #fff; }
.header-logo .site-title { color: inherit; font-weight: bold; }
.header-logo .site-description { color: var(--secondary-color); }

#header-wrapper {
	color: #fff;
}

@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:not(.is-sticky) {
		top: calc( var(--header-above-height) * 1px );
	}
	
	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, #0099ff);
		--menu-top-bg-color: transparent;
		--menu-top-bg-color-hover: transparent;
		--menu-top-color-border: var(--primary-color, #0099ff);
	}

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

/* Mobile Sticky */
.mobile-header-btns {}
.mobile-header-btns .header-cta {
	/*
	background-color: var(--secondary-color, #7892BC);
	color: #fff;
	*/
}

#header-wrapper.is-sticky {}



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


/* == Page Title Wrapper ==  */
#page-title-wrapper {}
#page-title-wrapper .entry-header {}
#page-title-wrapper .entry-title {}
#page-title-wrapper .subheading {}
#page-title-wrapper .cta {}
#page-title-wrapper .btn {}


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


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

#footer-wrapper {
	--fs-body: 14px;
	color: #93989E;
	--link-color: #93989E;
	--link-color-hover: var(--secondary-color);
	--heading-font-color: #fff;
}

#footer-wrapper .widget h3,
#footer-wrapper .widget-title {
	position: relative;
	margin-bottom: 2rem;
	text-transform: uppercase;
	font-size: 16px;
}

#footer-wrapper .widget h3:after,
#footer-wrapper .widget-title:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 100%;
	border-bottom: 1px solid var(--secondary-color);
	opacity: .5;
}

#footer-wrapper .widget .menu {
	padding-left: 0;
	list-style: none;
}
#footer-wrapper .widget .menu li {
	margin-bottom: .8rem;
}

.footer-credits {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid rgb(82, 81, 81);
}

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





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




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

/* == BNE Container == */
/* Adjust to --content-area-width + 30*/
@media(max-width: 1430px) {
	.bne-container.has-right-bg .bne-container-content {
		padding-left: 30px;
	}
	.bne-container.has-left-bg .bne-container-content {
		padding-right: 30px;
	}
}

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

/* Marquee == */
.marquee {
	/*
	--bg-color:;
	--border-color:;
	--font-size:;
	--font-family:;
	--text-color:;
	*/
}

/* == Event Card == */
.wp-block-bne-event-card {
	height: 100%; 
}
.wp-block-bne-event-card .bec-body h3 {
	font-size: 1.5rem;
}