/*
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.07.20
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: 50px;
	
	/* Sections */
	--body-bg-color: #fff;
	--header-bg-color: #fff;
	--footer-bg-color: #F6F7F7;
	
	/* 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: var(--wp--preset--font-family--poppins, system-ui);
	--body-font-color: #444;
	--body-font-weight: 300;
	--body-font-weight-strong: 700;

	/* Headings */
	--heading-font-family: var(--wp--preset--font-family--montserrat, system-ui);
	--heading-font-color: #333;
	--heading-font-weight: 200;

	/* Links */
	--link-color: #035B91;
	--link-color-hover: #035B91;
	
	/* Menu */
	--menu-fs: 16px;
	--menu-alignment: flex-end; /* use "center" for centering links */
	--menu-bg-color: #ffffff; /* wrapper */
	
	--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);

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

	/* Forms */
	--input-color: #535165;
	--input-bg-color: #f4f4f4;
	--input-border-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;
	
	
	/* Media */
	--wp--style--block-gap: 1.2rem;

	/* Utility */
	--border-radius: 1rem;
	
	
	
}
/* END Globals */



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

/* Page Transition */
/* @media(min-width: 768px) {
	@view-transition {
		navigation: auto;
	}
} */


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



/* Accessibility */
.wp-block-button__link .screen-reader-text {
	color: inherit;
}


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

strong {
	font-weight: var(--body-font-weight-strong);
}



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

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


/* == Forms == */

/* == Tables == */




/*	=================================
	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: 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 {
	font-size: var(--menu-fs, 16px);
	font-family: var(--heading-font-family);
	font-weight: 400;
}
ul.primary-nav > li > a {
	
}
ul.primary-nav > li > a .menu-label {}

/* Sub Menu */
#primary-nav-wrapper ul.primary-nav > li.has-sub-menu > ul.sub-menu:before {
	content: "";
	position: absolute;
	height: 0;
	width: 0;
	top: -10px;
	left: 50%;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid var(--menu-sub-bg-color, #fff);
	transform: translateX(-50%);
	filter: drop-shadow(0px -1px 1px rgba(0,0,0,0.2));
}
@media(min-width: 768px) {
	#primary-nav-wrapper ul.primary-nav > li.has-sub-menu > ul.sub-menu {
		border-radius: 1rem;
		transform: translateX(-50%);
		left: 50%;
		background: var(--menu-sub-bg-color, #f4f4f4);
		padding: 0.5rem;
		width: 225px;
		top: calc( 100% - 2px);
		border-top: 3px solid var(--menu-top-color-border);
	}
	
	#primary-nav-wrapper ul.primary-nav > li.has-sub-menu > ul.sub-menu a {
		margin: 0.2rem 0;
		border-radius: 0.5rem;
		padding: 0.8rem 1rem;
		/* font-size: 14px;
		font-weight: bold; */
	}
	#primary-nav-wrapper ul.primary-nav > li.has-sub-menu > ul.sub-menu li:last-child a {
		margin-bottom: 0;
	}
	
	/* Level 3 */
	ul.primary-nav .sub-menu .sub-menu {
		top: 0;
		left: calc(100% + 0.5rem);
		border-radius: 0 1rem 1rem 0;
	}
}




/* == Menu Button == */
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: var(--primary-color);
	box-shadow: none;

}

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

ul.primary-nav .menu-btn .menu-label:before {
	/* SVG Phone */
	content: "";
	height: 1em;
	width: 1em;
	margin-right: 0.5em;	
	background-color: currentColor;
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: 1em;
	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 ;
}


/* == 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-above {
	background-color: var(--primary-color);
	padding: 1rem 30px;
	display: none;
	color: #fff;
}

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

#header-wrapper .row {
	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;
}

/* Logo Text */
.header-logo .site-name {}
.header-logo .site-title {}
.header-logo .site-description {}

.desktop-phone-number {
	font-size: 1.6rem;
	font-weight: 400;
}
.header-widget-area {
	display: none;
}

@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;
		max-height: 100%;
	}
	
	.header-widget-area {
		display: flex;
		gap: 2rem;
		font-size: .9rem;
		font-weight: bold;
		align-items: center;
		padding-right: 1rem;
		justify-content: end;
	}
	
	.header-widget-area p,
	.header-widget-area .wp-block-buttons {
		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 {
		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
	}
	#header-wrapper .row {
		align-items: stretch !important;
	}
}

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

@media(max-width: 768px) {
	.logo-col {
		justify-content: left;
		display: flex;
	}
	.logo-col .site-name {
		padding: 5px 0 5px 30px;
	}
	.logo-col img {
		padding: .1rem;
	}
}


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


/* == Page Title Wrapper ==  */
#page-title-wrapper {
	background-image: url('https://www.arrowsmiledental.com/wp-content/themes/bne-minimal/assets/images/page-title-bg.jpg');
	box-shadow: 0px 0px 10px rgba(0,0,0,.4);
	color: white;
}
#page-title-wrapper .entry-header {
	max-width: 100%;
}
#page-title-wrapper .entry-title {
	margin-bottom: 0;
	color: white;
	font-size: 1.5rem;
	font-family: var(--heading-font-family);
	font-weight: 700;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, .5);
	text-transform: uppercase;
}
#page-title-wrapper .subheading {
	color: #fff;
	font-size: 3rem;
	font-weight: 400;
	font-family: var(--heading-font-family);
	line-height: 1.1;
	margin-top: 1rem;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, .2);
}
#page-title-wrapper .cta {
	margin-top: 2rem;
	font-size: 1.4rem;
	font-weight: 500;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, .2);
}
#page-title-wrapper .btn {
	margin-right: 10px;
	background-color: var(--primary-color);
}


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


/* == Blog == */
.post-template article.post {
	max-width: 1024px;
	margin: 3rem auto;
	box-shadow: 0 2rem 7rem -1rem rgba(0, 0, 0, 0.15);
	padding: 3rem 5rem;
}
@media (max-width: 768px) {
	.post-template article.post {
		padding: 3rem 1.5rem;
	}
}


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

/* == Footer Action Bar == */
#footer-action {
	background-image: url('https://www.arrowsmiledental.com/wp-content/themes/bne-minimal/assets/images/mosaic_light.webp');
	background-repeat: repeat-all;
	background-size: auto;
	background-color: var(--primary-color);
	padding: 60px 30px 60px 30px;
	box-shadow: 0px 0px 10px rgba(0,0,0,.3);
	z-index: 1;
}

#footer-action h2, 
#footer-action p {
	color: white;
}

#footer-action h2 {
	margin-top: 0;
	font-size: 3rem;
}



#footer-wrapper {
	border-top: 1px solid #ddd;
	/* 
	--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 {
	font-size: 30px;
	font-weight: 400;
}


#footer-wrapper .wp-block-separator {
	margin: 1rem auto;
	height: 4px;
}

.footer-sub-content {
	background-color: var(--tertiary-color);
	color: white;
	padding: 20px 30px;
	--fs-body: 14px;
	--link-color: #fff;
	--link-color-hover: #fff;
}

@media(max-width: 768px) {
	.footer-credits {
		margin-bottom: 1rem;
	}
}


#footer-menu {
	font-size: 14px;
	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;
	}
}


/* Block: Media Text */
.wp-block-media-text {
	max-width: 98%;
	margin: 0 auto;
}
@media( min-width: 768px ) {
	.wp-block-media-text:not(.alignfull) {
		margin-top: 6rem;
		margin-bottom: 6rem;
	}
}

.wp-block-media-text img {
	padding: 0;
	border: none;
	background: none;
	border-radius: 0;
	box-shadow: 0 3px 12px -1px rgba(7, 10, 25, .2), 0 22px 27px -20px rgba(7, 10, 25, .2);
	transition: all .3s ease;
}
.wp-block-media-text__media {
	position: relative;
}

/* Dots */
.wp-block-media-text.has-dots .wp-block-media-text__media:after {
	content: "";
	background-image: url('https://www.arrowsmiledental.com/wp-content/themes/bne-minimal/assets/images/dots.webp');
	position: absolute;
	bottom: -50px;
	right: -20px;
	width: 200px;
	height: 200px;
	background-size: cover;
	z-index: -1;
}
.wp-block-media-text.dots-bl .wp-block-media-text__media:after {
	right: auto;
	left: -20px;
}

.wp-block-media-text.dots-bl .wp-block-media-text__media:after {
	right: auto;
	left: -20px;
}

.wp-block-media-text.dots-tl .wp-block-media-text__media:after {
	bottom: auto;
	right: auto;
	top: -50px;
	left: -20px;
}

/* Offset Image */
@media(min-width:768px) {
	.wp-block-media-text.offset-img-r .wp-block-media-text__media {
		transform:translateX(20px);
	}
}


/* == Block: BNE Advanced Heading == */
.offset-subheading .heading-sub {
	position: absolute;
	font-size: 200px;
	z-index: -1;
	font-family: var(--heading-font-family);
	transform: translate(80%, -60%);
}

@media(max-width: 768px) {
	.offset-subheading .heading-sub {
		font-size: 100px !important;
		transform: translate(60%, -60%);
	}
}

/* == Block: Icon List  == */
.wp-block-bne-list {
	margin-top: 2rem;
}


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

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

/* == Cherry Widget Embed == */
#wrapper .cherrywidget span,
#wrapper .cherrywidget h2,
#wrapper .cherrywidget button {
	font-family: var(--body-font-family) !important;
}


.cherrywidget #slider svg {
	margin: 0 !important; 
	display: inline-block;
}

