/*
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: 1280px;
	/* Sidebar gap on desktop */
	--sidebar-gutter: 3rem;
	
	/* Sections */
	--body-bg-color: #F9F9FF;
	--header-bg-color: #fff;
	--footer-bg-color: #EFF3FF;
	
	/* 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: "Plus Jakarta Sans", system-ui; /* WP Font Library */
	--body-font-color: #4B4650;
	--body-font-weight: 400; /* Default */
	--body-font-strong: 600; /* With <strong> */

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

	/* Links */
	--link-color: var(--secondary-color);
	--link-color-hover: var(--secondary-color);
	
	/* Menu */
	--menu-fs: 16px;
	--menu-alignment: flex-end; /* use "center" for centering links */
	--menu-bg-color: #fff; /* wrapper */
	
	--menu-top-color: #4B4650;
	--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: #4B4650;
	--menu-sub-color-hover: #fff;
	--menu-sub-bg-color: #fff;
	--menu-sub-bg-color-hover: var(--secondary-color);

	/* Forms */
	--input-color: #535165;
	--input-bg-color: #EFF3FF;
	--input-border-color: #f4f4f4;
	--input-border-radius: 0.5rem;
	--input-shadow: none;
	
	/* Buttons */
	--btn-weight: 400;
	--btn-padding: 15px 22px;
	--btn-fs: 14px;
	--btn-border-radius: 1rem;
	--btn-submit-text-size: 1.125rem;
	--btn-submit-padding: .625rem 1rem;
	--btn-submit-width: 100%;
	--btn-weight: 600;
	
	/* 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 );
		transform: rotate(-1deg);
		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)
	
	// Presets
	--wp--preset--font-size--small: xx;
	--wp--preset--font-size--medium: xx;
	--wp--preset--font-size--large: xx;
=================================  */

/* Headings */
h3 {
	font-family: var(--body-font-family);
	font-size: 18px;
	--wp--preset--font-size--medium: 1.1rem;
	font-weight: 600;
}

p + h3 {
	margin-top: 2rem;
}

.bne-container.text-light h3 + p {
	opacity: .7;
}

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

.bne-heading.has-subheading-above.subheading-styled .heading-sub {
	padding: .5rem 1rem;
	line-height: 1;
	white-space: nowrap;
	border-radius: var(--border-radius);
	background-color: #d9e3f7;
	width: fit-content;
	color: var(--secondary-color);
	font-size: .8rem;
}
  

/* P Labels */
.is-style-label {
	font-weight: 600 !important;
	--wp--preset--font-size--small: 10px;
}




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

.wp-block-button + .wp-block-button.is-style-link {
	margin-left: 10px;
}
.wp-block-button.is-style-link > .wp-block-button__link {
	border-bottom: none;
	text-decoration-line: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}


/* Button - External Link Icon 
	Use "icon-after-{xxx}" and "icon-before-{xxx}"
*/
.wp-block-button.icon-after-external a:after {
	mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M290.4 19.8C295.4 7.8 307.1 0 320 0L480 0c17.7 0 32 14.3 32 32l0 160c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9L400 157.3 246.6 310.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L354.7 112 297.4 54.6c-9.2-9.2-11.9-22.9-6.9-34.9zM0 176c0-44.2 35.8-80 80-80l80 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-80 0c-8.8 0-16 7.2-16 16l0 256c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-80c0-17.7 14.3-32 32-32s32 14.3 32 32l0 80c0 44.2-35.8 80-80 80L80 512c-44.2 0-80-35.8-80-80L0 176z"/></svg>');
}

/* Button - Phone Icon */
.wp-block-button.icon-before-phone a:before {
	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>');
}

.wp-block-button.icon-after-right_arrow a:after {
	mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path d="M566.6 342.6C579.1 330.1 579.1 309.8 566.6 297.3L406.6 137.3C394.1 124.8 373.8 124.8 361.3 137.3C348.8 149.8 348.8 170.1 361.3 182.6L466.7 288L96 288C78.3 288 64 302.3 64 320C64 337.7 78.3 352 96 352L466.7 352L361.3 457.4C348.8 469.9 348.8 490.2 361.3 502.7C373.8 515.2 394.1 515.2 406.6 502.7L566.6 342.7z"/></svg>');
}


/* == Forms == */

/* == Tables == */

table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	color: #fff;
	font-size: 16px;
	line-height: 1.65;
	margin: 2rem auto;
}

table caption {
	text-align: left;
	color: #e8e0f7;
	font-size: 14px;
	padding-bottom: 20px;
}

table th, table td {
	text-align: left;
	padding: 20px 24px !important;
	vertical-align: top;
	overflow-wrap: anywhere;
	border: 0;
}

table thead {
	background: #584474;
	border: none !important;
}

table thead th {
	font-weight: 600;
	border: none !important;
}

table tbody tr:nth-child(even) {
	background: #503875;
}

table th:first-child {
	width: 24%;
}

table th, table td {
	font-weight: 600;
	border: none !important;
}


/* == List == */

/* == Quotes == */
blockquote.wp-block-quote.is-style-fancy {
	padding: 1rem;
	background-color: #EFF3FF;
	border-left: 4px solid var(--secondary-color);
	border-radius: 1rem;
	font-family: ui-serif, Georgia, Cambria, Times New Roman, Times, serif;
	font-size: 1.2rem;
	line-height: 1.1;
	text-align: initial;
}
blockquote.wp-block-quote.is-style-fancy::before {
	display: none;
}

blockquote.wp-block-quote.is-style-fancy p {
	font-style: italic;
	color: var(--primary-color);
}

blockquote.wp-block-quote.is-style-fancy cite {
	font-size: 12px;
	font-weight: normal;
}

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




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

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


/* == 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 {
	line-height: 1.1;
	font-weight: 600;
}
ul.primary-nav > li > a .menu-label {}

/* == Menu Button == */
ul.primary-nav .menu-btn a {
	background-color: var(--secondary-color);
	color: #fff;
	font-weight: bold;
	font-size: 1rem;
}
ul.primary-nav .menu-btn:hover a {}
ul.primary-nav .menu-btn.icon-before-phone .menu-label:before {
	/* SVG Phone Icon  */
	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>'); 
}


/* == 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 {}
.header-logo .site-title {}
.header-logo .site-description {}


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

@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 {
		--fs-body: 14px; /* reset */
		font-size: .8rem;
		display: flex;
		gap: 2rem;
		font-weight: bold;
		align-items: center;
		padding-right: 1rem;
	}
	
	.header-widget-area p {
		margin: 0;
	}
	
	/* Widget Alignment */
	.header-widget-area .widget:nth-child(3) {
		margin-left: auto; 
	}
	
}



/* == 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: 16px;
	color: #fff;
	--footer-bg-color: #fff;
	--heading-font-color: #fff;
	--link-color: var(--tertiary-color);
	--link-color-hover: #fff; 
	*/
}

/* #footer-wrapper .widget h3,
#footer-wrapper .widget-title {
	position: relative;
	margin-bottom: 2rem;
}

#footer-wrapper .widget h3:after,
#footer-wrapper .widget-title:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 150px;
	border-bottom: 4px solid var(--tertiary-color);
} */

.footer-credits {
	margin-bottom: 1rem;
}

@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;
	}
}

/* Non Fullwidth */
.bne-container.has-bg-image .bne-container-image,
.bne-container.has-bg-image .bne-container-image img {
	border-radius: var(--border-radius) !important;
}

/* == BNE Cards == */
.wp-block-bne-card.bne-card-grid .card-body:has(p.is-style-label) {
	position: initial;
}
.wp-block-bne-card.bne-card-grid .card-body .is-style-label {
	position: absolute;
	top: 10px;
	left: 10px;
}

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

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

