/*
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.05.24
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: "Jost", sans-serif;
	--body-font-color: #333;

	--heading-font-family: "Jost", sans-serif;
	--heading-font-color: #333;
	--heading-font-weight: 900;

	--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: #696E77;
	--menu-top-color-hover: #000;
	--menu-top-bg-color: #F3F5F9;
	--menu-top-bg-color-hover: #F3F5F9;
	--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: 0;
	/* --btn-color: #fff */
	/* --btn-text-color: #333 */
	
	
	/* 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;
}

@media( max-width: 768px ) {
	.bg-pos-sm-left {
		--bg-position: left !important;
	}
}


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



/* jost-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/jost-v20-latin-regular.woff2') format('woff2');
}

/* jost-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  src: url('assets/fonts/jost-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* jost-900 - latin */
@font-face {
  font-display: swap;
  font-family: 'Jost';
  font-style: normal;
  font-weight: 900;
  src: url('assets/fonts/jost-v20-latin-900.woff2') format('woff2');
}


/* == General == */
body {
	font-weight: 400;
}
strong {
	font-weight: 600;
}

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

h1, h2, h3, h4, h5, h6 {
	letter-spacing: -1px;
}
h1 strong, 
h2 strong, 
h3 strong {
	font-weight: var(--heading-font-weight, 400);
}


/* == 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 == */
.btn, 
button, 
.wp-block-button__link, 
.nav-links .page-numbers, 
input[type="submit"] {
	font-weight: 600;
}

.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.is-style-flat a {
	background: none !important;
	box-shadow: none;
	color: #000 !important;
}
.wp-block-button.is-style-flat a.has-text-color.has-secondary-color:hover {
	color: var(--secondary-color) !important;
}

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

/* Right Chevron */
.wp-block-button.icon-after-right 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="M471.1 297.4C483.6 309.9 483.6 330.2 471.1 342.7L279.1 534.7C266.6 547.2 246.3 547.2 233.8 534.7C221.3 522.2 221.3 501.9 233.8 489.4L403.2 320L233.9 150.6C221.4 138.1 221.4 117.8 233.9 105.3C246.4 92.8 266.7 92.8 279.2 105.3L471.2 297.3z"/></svg>');
}

/* Phone */
.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>');
}




/* == Forms == */





/*	=================================
	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-phone {
		margin-left: .5rem;
	}

}

ul.primary-nav .menu-btn a {
	background-color: var(--tertiary-color);
	color: #fff;
	border: 1px solid transparent;
	border-radius: 0 0.5rem 0.5rem 0;
	font-weight: 600;
	padding-right: 2rem;
	padding-left: 2rem;
}

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

}

ul.primary-nav .menu-phone .menu-label {
	display: inline-flex;
	align-items: center;
}

ul.primary-nav .menu-phone a:before {
	/* SVG Phone */
	content: "";
	height: 1.5em;
	width: 1.5em;
	margin-right: 0.5em;	
	background-color: currentColor;
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: 1.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: 1rem ;
	font-weight: bold;
	align-items: center;
	background-color: transparent;
	color: #000;
}
ul.primary-nav .menu-phone .menu-label {
	flex-direction: column;
	row-gap: .4rem;
	align-items: start;
}
ul.primary-nav .menu-phone .menu-label-sub {
	font-size: .9rem;
	color: #777;
	font-weight: normal;
	
}


/* == General Menu Adjustments == */
@media(min-width: 768px) {
	ul.primary-nav > li:first-child {
		margin-left: 2rem;
	}
	ul.primary-nav > li:first-child:before {
		content: "";
		width: 2rem;
		background-color: var(--menu-top-bg-color);
		height: 100%;
		position: absolute;
		left: -2rem;
		border-radius: 0.5rem 0 0 0.5rem;
	}
}

ul.primary-nav > li > a {
	font-weight: bold;
}
ul.primary-nav > li > a .menu-label {}



/* == 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: var(--menu-top-bg-color);
		/* 
		--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-above {
	background-color: #16243D;
	padding: 0.5rem 30px;
	display: none;
	color: #97A2B7;
}

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

#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: left;
	}
	
	.header-logo img {
		/* max-height: var(--menu-bg-height); */
		padding: 0;
	}
	
	.header-widget-area {
		display: flex;
		gap: 2rem;
		font-size: .9rem;
		font-weight: normal;
		align-items: center;
		padding-right: 1rem;
	}
	
	.header-widget-area p {
		margin: 0;
	}
	
	/* Widget Alignment */
	.header-widget-area .widget:nth-child(3) {
		margin-left: auto; 
	}
	
	.header-widget-area .menu {
		display: flex;
		list-style: none;
		column-gap: 1rem;
	}
	.header-widget-area .menu a {
		color: #97A2B7;
	}
	.header-widget-area .menu a:hover {
		color: white;
	}
	
}



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

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

@media(max-width: 768px) {
	.logo-col {
		justify-content: center;
		display: flex;
	}
	.logo-col img {
		padding: 1rem;
	}
}


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

/* Box Icons - Corner Gradient */
.bne-card.icon-box-corner .card-body {
	overflow: hidden;
}
.bne-card.icon-box-corner .card-body:before {
	content: "";
	position: absolute;
	top: -50px;
	right: 0;
	height: 200px;
	width: 200px;
	background-image: url('assets/images/shape-right-top.webp');
	background-size: cover;
	opacity: .1;
	
}
.bne-card.icon-box-corner .wp-block-boldblocks-svg-block {
	position: relative;
	z-index: 1;
	margin-bottom: 50px;
}

.bne-card.icon-box-corner .wp-block-boldblocks-svg-block:before {
	content: "";
	position: absolute;
	left: -100px;
	top: -100px;
	border-radius: 50%;
	background-image: linear-gradient(0deg, #015fc9 0%, #0ce0ff 100%);
	width: 200px;
	height: 200px;
	z-index: -1;
}

/* Service Cards */
.bne-card.card-service .card-img {
	overflow: hidden;
}
.bne-card.card-service .card-img img {
	transition: all .3s ease;
}
.bne-card.card-service:hover .card-img img {
	transform: scale(1.2);
	filter: brightness(.7); 
}
.bne-card.card-service .wp-block-boldblocks-svg-block {
	position: absolute;
	right: 10px;
	top: -40px;
	background-color: #fff;
	border-radius: var(--border-radius);
	box-shadow: 0px 0px 10px rgba(0,0,0,.2);
	padding: .5rem;
	transition: all .4s ease;
}

.bne-card.card-service .wp-block-boldblocks-svg-block svg {
	transition: all .4s ease;
	--svg--fill-color: var(--primary-color);
}

.bne-card.card-service:hover .wp-block-boldblocks-svg-block {
	background-color: var(--primary-color);
}

.bne-card.card-service:hover .wp-block-boldblocks-svg-block svg {
	--svg--fill-color: #fff !important;
}


/* WHY US */
.get-quote-section {
	--input-color: #111;
	--input-bg-color: #fff;
	--input-shadow: 0px 0px 1px #555;
}
@media( min-width: 768px) {
	.get-quote-section .wp-block-image {
		margin-bottom: -120px;
	}
}



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

#footer-wrapper {
	background-image: url('assets/images/footer-bg.webp');
	color: #bbb;
	--heading-font-color: #fff;
	--link-color: #fff;
	--link-color-hover: var(--tertiary-color);
}
#footer-wrapper strong {
	color: #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-copy {}




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

/* Image KenBurns */
@media(min-width: 768px) {
	.bne-container.banner-shapes.image-kens {
		--bg-image: none !important;
		overflow: hidden;
	}
	
	.bne-container.banner-shapes.image-kens .bne-container-image {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
	.bne-container.banner-shapes.image-kens .bne-container-image img {
		display: block !important;
		
	}
	.bne-container.banner-shapes.image-kens .bne-container-image img {
		transform: scale(1.1) translate(0, 0);
		animation: kenburns-effect 10s linear 0s infinite alternate forwards
	}
}

@keyframes kenburns-effect {
	0% {
		transform: scale(1.1) translate(0, 0);
	}

	100% {
		transform: scale(1.3) translate(5%, 5%);
	}
}

/* Image Angled Shapes Slide In */
.bne-container.banner-shapes .bne-container-content {
	z-index: 1;
}
.bne-container.banner-shapes:before {
	content: "";
	background-image: url('assets/images/blue-angle-overlay.webp');
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-position: center;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
	animation: moveX 2s ease-in-out 0s;
	animation-fill-mode: forwards;
	transform: translateX(0);
	z-index: 1;
}

@keyframes moveX {
	from {
		transform: translateX(-100%);
	}

	to {
		transform: translateX(0)
	}
}



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






