/*
 * MBM Theme - Main Styles
*/

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */

:root {
	/* Colors */
	--color-text: #808080;
	--color-bg: #ffffff;
	--color-white: #ffffff;
	--color-black: #000000;
	--color-muted: #6b7280;
	--color-link: var(--color-muted);
	--color-link-hover: var(--color-text);
	--color-primary: #d3b21d;
	--color-yellow: var(--color-primary);
	--color-top-bar: #5a757c;
	--color-muted-teal: var(--color-top-bar);
	--color-menu-bg: var(--color-top-bar);
	--color-menu-border: rgba(255, 255, 255, 0.16);
	--color-header-text: var(--color-muted);
	--color-on-primary: var(--color-white);
	--color-on-top-bar: var(--color-white);
	--color-on-dark: var(--color-white);
	--color-border-soft: #dddddd;
	--color-surface-soft: #f3f3f3;
	--color-surface-muted: #f7f7f7;
	--color-section-gray: #e8e8e8;
	--color-section-white: #ffffff;
	--color-section-dark-blue: #273135;
	--color-section-light-cream: #f9f8f3;
	--color-slate: #3a4a50;
	--color-shadow: rgba(0, 0, 0, 0.12);
	--color-overlay-soft: rgba(0, 0, 0, 0.04);

	/* Typography */
	--font-family: "roboto", sans-serif;
	--font-family-title: "Mulish", sans-serif;
	--font-size-base: 1.1rem;
	--font-weight-regular: 300;
	--font-weight-normal: 400;
	--font-weight-semibold: 700;
	--line-height-base: 1.5;
	--section-title-color: var(--color-text);
	--section-title-font-family: var(--font-family-title);
	--section-title-font-size: clamp(1.75rem, 3vw, 2.5rem);
	--section-title-font-weight: var(--font-weight-semibold);
	--section-title-line-height: 1.2;
	--section-text-color: var(--color-text);
	--section-text-font-size: var(--font-size-base);
	--section-text-font-weight: var(--font-weight-regular);
	--section-text-line-height: var(--line-height-base);

	/* Breakpoints (for reference; use in media queries) */
	--bp-mobile: 767px;
	--bp-tablet: 991px;
	--bp-desktop: 992px;
	--bp-nav: 1340px;

	/* Transitions */
	--transition-color: color 0.4s;
	--transition-link-underline: all 0.3s;

	/* Header */
	--header-desktop-height: 96px;
	--top-bar-height: 40px;
	--wp-admin-bar-height: 0px;
	--site-header-height: var(--header-desktop-height);
}

body.admin-bar {
	--wp-admin-bar-height: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		--wp-admin-bar-height: 46px;
	}
}

/* ==========================================================================
   2. Fonts
   ========================================================================== */

/* Roboto */
@font-face {
	font-family: "roboto";
	src: url("../fonts/roboto/Roboto-Thin-webfont.woff2") format("woff2");
	font-weight: 100;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "roboto";
	src: url("../fonts/roboto/Roboto-ThinItalic-webfont.woff2") format("woff2");
	font-weight: 100;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "roboto";
	src: url("../fonts/roboto/Roboto-Light-webfont.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "roboto";
	src: url("../fonts/roboto/Roboto-LightItalic-webfont.woff2") format("woff2");
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "roboto";
	src: url("../fonts/roboto/Roboto-Regular-webfont.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "roboto";
	src: url("../fonts/roboto/Roboto-Italic-webfont.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "roboto";
	src: url("../fonts/roboto/Roboto-Medium-webfont.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "roboto";
	src: url("../fonts/roboto/Roboto-MediumItalic-webfont.woff2") format("woff2");
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "roboto";
	src: url("../fonts/roboto/Roboto-Bold-webfont.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "roboto";
	src: url("../fonts/roboto/Roboto-BoldItalic-webfont.woff2") format("woff2");
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "roboto";
	src: url("../fonts/roboto/Roboto-Black-webfont.woff2") format("woff2");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "roboto";
	src: url("../fonts/roboto/Roboto-BlackItalic-webfont.woff2") format("woff2");
	font-weight: 900;
	font-style: italic;
	font-display: swap;
}

/* Roboto Condensed */
@font-face {
	font-family: "roboto-condensed";
	src: url("../fonts/roboto/RobotoCondensed-Light-webfont.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "roboto-condensed";
	src: url("../fonts/roboto/RobotoCondensed-LightItalic-webfont.woff2") format("woff2");
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "roboto-condensed";
	src: url("../fonts/roboto/RobotoCondensed-Regular-webfont.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "roboto-condensed";
	src: url("../fonts/roboto/RobotoCondensed-Italic-webfont.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "roboto-condensed";
	src: url("../fonts/roboto/RobotoCondensed-Bold-webfont.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "roboto-condensed";
	src: url("../fonts/roboto/RobotoCondensed-BoldItalic-webfont.woff2") format("woff2");
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

/* ==========================================================================
   3. Base
   ========================================================================== */

html {
	width: 100%;
}

body {
	font-family: var(--font-family);
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-regular);
	color: var(--color-text);
	background-color: var(--color-bg);
	width: 100%;
}

#main {
	overflow-x: hidden;
}

/* Admin bar: hidden when theme option is on and user has no override (body.mbm-hide-admin-bar) */
body.mbm-hide-admin-bar {
	--wp-admin-bar-height: 0px;
}

body.mbm-hide-admin-bar #wpadminbar {
	display: none !important;
}

html:has(body.mbm-hide-admin-bar) {
	margin-top: 0 !important;
}

@media screen and (max-width: 782px) {
	html:has(body.mbm-hide-admin-bar) {
		margin-top: 0 !important;
	}
}

/* ==========================================================================
   4. Typography
   ========================================================================== */

strong {
	font-weight: var(--font-weight-semibold);
}

.mbm-section-title,
.simple-content__title,
.hero__title,
.text-and-video-two-columns__title,
.two-columns__title,
.meet-our-doctors__title,
.image-and-content-card__title,
.grid-cards-info__title,
.patients-story-grid-videos__title,
.top-services-grid__title,
.columns-grid__title,
.accordion-section__title,
.schedule-appointment-form__title {
	color: var(--section-title-color);
	font-family: var(--section-title-font-family);
	font-optical-sizing: auto;
	font-size: var(--section-title-font-size);
	font-weight: var(--section-title-font-weight);
	line-height: var(--section-title-line-height);
}

@media (max-width: 499px) {
	.mbm-section-title {
		text-align: center;
	}
}

.mbm-section-text,
.simple-content__text,
.text-and-video-two-columns__text,
.two-columns__text,
.two-columns__list li,
.meet-our-doctors__text,
.image-and-content-card__text,
.image-and-content-list__list li,
.columns-grid__column-text,
.accordion-section__panel-inner,
.grid-cards-info__card-text {
	color: var(--section-text-color);
	font-size: var(--section-text-font-size);
	font-weight: var(--section-text-font-weight);
	line-height: var(--section-text-line-height);
}

@media (max-width: 499px) {
	.mbm-section-text {
		font-size: 1.2rem;
		line-height: 1.4;
		font-weight: var(--section-text-font-weight);
		text-align: center;
	}
}

ul,
ol {
	padding-left: 1rem;
}

ul li {
	line-height: var(--line-height-base);
}

ul li.menu-item {
	line-height: 1em;
}

/* ==========================================================================
   5. Links
   ========================================================================== */

a,
a:link,
a:visited,
a:active {
	text-decoration: none;
	color: var(--color-link);
	transition: var(--transition-color);
}

a:hover {
	color: var(--color-link-hover);
}

/* ==========================================================================
   6. Utilities
   ========================================================================== */

/* [hide_on_mobile] shortcode */
@media (max-width: 767px) {
	.hide-on-mobile {
		display: none !important;
	}
}

/* ==========================================================================
   7. Header
   ========================================================================== */

header#main-header.site-header {
	position: relative;
	z-index: 200;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: visible;
	background: var(--color-bg);
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.site-top-bar {
	margin: 0;
	padding: 0;
	background: var(--color-top-bar);
	color: var(--color-on-top-bar);
}

.site-top-bar__inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1.25rem;
	min-height: var(--top-bar-height);
	padding: 0.45rem 1rem;
}

.site-top-bar__phone,
.site-top-bar__phone:link,
.site-top-bar__phone:visited,
.site-top-bar__phone:active {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-on-top-bar);
	font-size: 0.875rem;
	line-height: 1.2;
	text-decoration: none;
}

.site-top-bar__phone:hover {
	color: var(--color-on-top-bar);
	opacity: 0.85;
}

.site-top-bar__social {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-top-bar__social a,
.site-top-bar__social a:link,
.site-top-bar__social a:visited,
.site-top-bar__social a:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--color-on-top-bar);
	font-size: 0.95rem;
	line-height: 1;
	text-decoration: none;
}

.site-top-bar__social a:hover {
	color: var(--color-on-top-bar);
	opacity: 0.85;
}

.site-header__main {
	overflow: visible;
	background: var(--color-bg);
}

.site-header__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 1.25rem;
	min-height: var(--header-desktop-height);
	padding: 0.75rem 1rem;
	overflow: visible;
}

@media (min-width: 1360px) {
	.site-header__inner {
		grid-template-columns: auto auto auto;
	}
}

.site-header__logo {
	justify-self: start;
	max-width: 280px;
}

.site-header__logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 72px;
}

.site-header__nav {
	justify-self: center;
	min-width: 0;
	overflow: visible;
}

.menu-column,
.primary-menu-container {
	overflow: visible;
}

.site-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	justify-self: end;
	gap: 1rem;
}

.mbm-button.site-header__cta--menu {
	display: none;
}

body.has-sticky-header {
	padding-top: var(--site-header-height, var(--header-desktop-height));
}

body.has-sticky-header header#main-header.site-header {
	position: fixed;
	top: var(--wp-admin-bar-height);
	left: 0;
	right: 0;
}

body.has-sticky-header header#main-header.site-header.site-header--scrolled {
	box-shadow: 0 0 20px -10px var(--color-black);
}

body.has-smart-header header#main-header.site-header.site-header--hidden {
	transform: translateY(-100%);
}

/* ==========================================================================
   8. Navigation (Desktop)
   ========================================================================== */

#top-menu.nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.1rem 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 1599px) {
	#top-menu.nav {
		gap: 1.1rem 1.5rem;
	}
}

#top-menu.nav > li {
	position: relative;
}

#top-menu.nav li a {
	position: relative;
	display: block;
	color: var(--color-header-text);
	font-size: 0.95rem;
	font-family: var(--font-family);
	font-weight: var(--font-weight-normal);
	line-height: 1.2;
	text-decoration: none;
}

#top-menu.nav > li > a,
#top-menu.nav > li > .menu-item__bar > a {
	display: inline-block;
	transition: color 0.35s ease;
}

#top-menu.nav > li > a::after,
#top-menu.nav > li > .menu-item__bar > a::after {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 0;
	height: 1px;
	background-color: var(--color-primary);
	content: "";
	transition: width 0.35s ease;
	pointer-events: none;
}

#top-menu.nav > li > a:hover,
#top-menu.nav > li > .menu-item__bar > a:hover,
#top-menu.nav > li.current-menu-item > a,
#top-menu.nav > li.current_page_item > a,
#top-menu.nav > li.current-menu-ancestor > .menu-item__bar > a,
#top-menu.nav > li.current-menu-parent > .menu-item__bar > a,
#top-menu.nav > li.current_page_ancestor > .menu-item__bar > a,
#top-menu.nav > li.current_page_parent > .menu-item__bar > a {
	color: var(--color-primary);
	font-weight: var(--font-weight-semibold);
}

#top-menu.nav > li > a:hover::after,
#top-menu.nav > li > .menu-item__bar > a:hover::after,
#top-menu.nav > li.current-menu-item > a::after,
#top-menu.nav > li.current_page_item > a::after,
#top-menu.nav > li.current-menu-ancestor > .menu-item__bar > a::after,
#top-menu.nav > li.current-menu-parent > .menu-item__bar > a::after,
#top-menu.nav > li.current_page_ancestor > .menu-item__bar > a::after,
#top-menu.nav > li.current_page_parent > .menu-item__bar > a::after {
	width: 100%;
}

.menu-item__bar {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.menu-item__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-header-text);
	cursor: pointer;
}

.menu-item__chevron {
	font-size: 0.7rem;
	transition: transform 0.2s ease;
}

#top-menu.nav .menu-item-has-children:hover > .menu-item__bar .menu-item__chevron,
#top-menu.nav .menu-item-has-children:focus-within > .menu-item__bar .menu-item__chevron,
#top-menu.nav .menu-item-has-children.is-top-menu-active > .menu-item__bar .menu-item__chevron {
	transform: rotate(180deg);
}

#top-menu.nav .sub-menu {
	position: absolute;
	top: calc(100% + 0.85rem);
	left: 90%;
	z-index: 300;
	min-width: 260px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--color-bg);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, 8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

#top-menu.nav .sub-menu::before {
	position: absolute;
	top: -0.85rem;
	right: 0;
	left: 0;
	height: 0.85rem;
	content: "";
}

#top-menu.nav .menu-item-has-children:hover > .sub-menu,
#top-menu.nav .menu-item-has-children:focus-within > .sub-menu,
#top-menu.nav .menu-item-has-children.is-top-menu-active > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

#top-menu.nav .sub-menu li a {
	padding: 0.95rem 1rem;
    font-size: 1rem;
    white-space: nowrap;
}

#top-menu.nav .sub-menu li a:hover,
#top-menu.nav .sub-menu li.current-menu-item > a,
#top-menu.nav .sub-menu li.current_page_item > a {
	background: var(--color-yellow);
	color: var(--color-on-primary);
	font-weight: var(--font-weight-semibold);
}

.site-header__menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-header-text);
	cursor: pointer;
	outline: none;
}

.site-header__menu-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.site-header__menu-toggle-box {
	position: relative;
	display: block;
	width: 20px;
	height: 14px;
}

.site-header__menu-toggle-line {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.site-header__menu-toggle-line:nth-child(1) {
	top: 0;
}

.site-header__menu-toggle-line:nth-child(2) {
	top: 6px;
}

.site-header__menu-toggle-line:nth-child(3) {
	top: 12px;
}

.site-header__menu-toggle.is-active .site-header__menu-toggle-line:nth-child(1) {
	top: 6px;
	transform: rotate(45deg);
}

.site-header__menu-toggle.is-active .site-header__menu-toggle-line:nth-child(2) {
	opacity: 0;
}

.site-header__menu-toggle.is-active .site-header__menu-toggle-line:nth-child(3) {
	top: 6px;
	transform: rotate(-45deg);
}

@media (min-width: 1340px) {
	.menu-item__toggle {
		pointer-events: none;
	}
}

/* ==========================================================================
   9. Mobile Menu
   ========================================================================== */

@media (max-width: 1339px) {
	body.mobile-menu-open {
		width: 100%;
		overflow: hidden;
	}

	body.mobile-menu-open header#main-header.site-header {
		transform: none;
	}

	.site-top-bar__inner {
		justify-content: space-between;
		gap: 0.75rem;
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}

	.site-top-bar__phone span {
		font-size: 0.8rem;
	}

	.site-header__inner {
		display: flex;
		justify-content: space-between;
		padding: 0.65rem 0.75rem;
	}

	.site-header__logo {
		max-width: 280px;
	}

	.site-header__logo img {
		max-height: 52px;
	}

	.site-header__nav {
		width: 0;
		height: 0;
		min-height: 0;
		overflow: visible;
	}

	.site-header__actions {
		justify-self: unset;
	}

	.site-header__cta--header.mbm-button {
		height: 44px;
		padding: 0 1.15rem;
		font-size: 0.85rem;
	}

	.site-header__menu-toggle {
		display: inline-flex;
	}

	.menu-column {
		position: fixed;
		top: var(--site-header-height, var(--header-desktop-height));
		left: 0;
		z-index: 200;
		width: 100%;
		height: calc(100dvh - var(--site-header-height, var(--header-desktop-height)));
		padding: 2rem 1.5rem;
		background: var(--color-menu-bg);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateX(100%);
		transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
	}

	.menu-column.show {
		opacity: 1;
		visibility: visible;
		transform: translateX(0);
	}

	#top-menu.nav {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
	}

	#top-menu.nav > li {
		border-bottom: 1px solid var(--color-menu-border);
	}

	#top-menu.nav li a {
		width: 100%;
		color: var(--color-on-dark);
		padding: 1rem 0;
		font-size: 1.15rem;
	}

	#top-menu.nav > li > a,
	#top-menu.nav > li > .menu-item__bar > a {
		display: inline-block;
		width: auto;
		transition: color 0.35s ease;
	}

	#top-menu.nav > li > a::after,
	#top-menu.nav > li > .menu-item__bar > a::after {
		position: absolute;
		bottom: 0.85rem;
		left: 0;
		width: 0;
		height: 1px;
		background-color: var(--color-primary);
		content: "";
		transition: width 0.35s ease;
		pointer-events: none;
	}

	#top-menu.nav > li > a:hover,
	#top-menu.nav > li > .menu-item__bar > a:hover,
	#top-menu.nav > li.current-menu-item > a,
	#top-menu.nav > li.current_page_item > a,
	#top-menu.nav > li.current-menu-ancestor > .menu-item__bar > a,
	#top-menu.nav > li.current-menu-parent > .menu-item__bar > a,
	#top-menu.nav > li.current_page_ancestor > .menu-item__bar > a,
	#top-menu.nav > li.current_page_parent > .menu-item__bar > a {
		color: var(--color-primary);
		font-weight: var(--font-weight-semibold);
	}

	#top-menu.nav > li > a:hover::after,
	#top-menu.nav > li > .menu-item__bar > a:hover::after,
	#top-menu.nav > li.current-menu-item > a::after,
	#top-menu.nav > li.current_page_item > a::after,
	#top-menu.nav > li.current-menu-ancestor > .menu-item__bar > a::after,
	#top-menu.nav > li.current-menu-parent > .menu-item__bar > a::after,
	#top-menu.nav > li.current_page_ancestor > .menu-item__bar > a::after,
	#top-menu.nav > li.current_page_parent > .menu-item__bar > a::after {
		width: 100%;
	}

	#top-menu.nav .sub-menu li.current-menu-item > a,
	#top-menu.nav .sub-menu li.current_page_item > a {
		color: var(--color-primary);
		font-weight: var(--font-weight-semibold);
	}

	.menu-item__bar {
		display: flex;
		justify-content: space-between;
		width: 100%;
	}

	.menu-item__toggle {
		width: 44px;
		height: 52px;
		color: var(--color-on-dark);
		pointer-events: auto;
	}

	#top-menu.nav .menu-item-has-children:hover > .sub-menu,
	#top-menu.nav .menu-item-has-children:focus-within > .sub-menu,
	#top-menu.nav .menu-item-has-children.is-top-menu-active > .sub-menu {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: none;
	}

	#top-menu.nav .menu-item-has-children.is-submenu-open > .sub-menu {
		display: block;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
	}

	#top-menu.nav .menu-item-has-children.is-submenu-open > .menu-item__bar .menu-item__chevron {
		transform: rotate(180deg);
	}

	#top-menu.nav .sub-menu {
		position: static;
		display: none;
		left: auto;
		min-width: 0;
		padding: 0 0 0.75rem 1rem;
		background: transparent;
		box-shadow: none;
		transform: none;
		transition: none;
	}

	#top-menu.nav .sub-menu::before {
		display: none;
	}

	#top-menu.nav .sub-menu li {
		border-bottom: 0;
	}

	#top-menu.nav .sub-menu li a {
		padding: 0.55rem 0;
		font-size: 1rem;
		white-space: normal;
	}

	#top-menu.nav .sub-menu li a:hover {
		background: transparent;
	}
}

@media (max-width: 500px) {
	.mbm-button.site-header__cta--header {
		display: none;
	}

	.mbm-button.site-header__cta--menu {
		display: inline-flex;
		justify-content: center;
		width: 100%;
		margin-top: 1.5rem;
	}

	#top-menu.nav .sub-menu li a {
		padding: 0.55rem;
	}

	#top-menu.nav .sub-menu li.current-menu-item > a,
	#top-menu.nav .sub-menu li.current_page_item > a {
		color: #ffffff;
	}
}

@media (max-width: 767px) {
	.site-header__cta--header .mbm-button__text {
		max-width: 6.5rem;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.menu-column {
		padding: 1.5rem 1.15rem;
	}
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   10. WordPress required (alignments, captions, sticky)
   ========================================================================== */

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.wp-caption {
	border: 1px solid var(--color-border-soft);
	text-align: center;
	background-color: var(--color-surface-soft);
	padding-top: 4px;
	margin: 10px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

.sticky {
	background: var(--color-surface-muted);
	padding: 0 10px 10px;
}

.sticky h2 {
	padding-top: 10px;
}

/* ==========================================================================
   11. Containers
   ========================================================================== */

.container {
	max-width: 1140px;
}

.mbm-container-large {
	max-width: 1320px;
}

.mbm-container-full {
	max-width: none;
	padding-right: 0;
	padding-left: 0;
}

/* ==========================================================================
   12. Section Background Colors
   ========================================================================== */

.background-white {
	background-color: var(--color-section-white);
}

.background-gray {
	background-color: var(--color-section-gray);
}

.background-dark-blue,
.background-dark_blue {
	background-color: var(--color-section-dark-blue);
	color: var(--color-on-dark);
	--section-title-color: var(--color-on-dark);
	--section-text-color: var(--color-on-dark);
}

.background-light-cream,
.background-light_cream {
	background-color: var(--color-section-light-cream);
}

/* ==========================================================================
   13. Shared Section Background Image / Parallax
   ========================================================================== */

.has-section-bg-image {
	position: relative;
	isolation: isolate;
	color: var(--color-on-dark);
	--section-title-color: var(--color-on-dark);
	--section-text-color: var(--color-on-dark);
}

.has-section-bg-image > *:not(.mbm-section-bg) {
	position: relative;
	z-index: 1;
}

.mbm-section-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.mbm-section-bg__image {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: var(--section-bg);
	background-image: var(--section-bg-set, var(--section-bg));
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.overlay-dark-blue.has-section-bg-image .mbm-section-bg__image {
	z-index: 0;
}

.overlay-dark-blue.has-section-bg-image .mbm-section-bg::after {
	position: absolute;
	inset: 0;
	z-index: 2;
	content: "";
	background-color: #3a4a50;
	mix-blend-mode: lighten;
}

.overlay-light.has-section-bg-image,
.overlay-light-blue.has-section-bg-image,
.overlay-light-gray.has-section-bg-image {
	color: var(--color-text);
	--section-title-color: var(--color-text);
	--section-text-color: var(--color-text);
}

.overlay-light.has-section-bg-image .mbm-section-bg::after {
	position: absolute;
	inset: 0;
	z-index: 2;
	content: "";
	background-color: rgba(255, 255, 255, 0.78);
}

.overlay-light-gray.has-section-bg-image .mbm-section-bg::after {
	position: absolute;
	inset: 0;
	z-index: 2;
	content: "";
	background-color: rgb(232 232 232 / 78%);
}

.overlay-light-blue.has-section-bg-image .mbm-section-bg::after {
	position: absolute;
	inset: 0;
	z-index: 2;
	content: "";
	background-color: rgb(90 117 124 / 90%);
}

.has-section-parallax .mbm-section-bg__image {
	top: -30%;
	right: 0;
	bottom: -30%;
	left: 0;
	height: auto;
	will-change: transform;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
}

/* ==========================================================================
   14. Site Footer
   ========================================================================== */

.site-footer {
	position: relative;
	color: var(--color-on-dark);
	background-color: var(--color-section-dark-blue);
	background-image: url('../../images/dark-footer-pattern-BG.webp');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.site-footer__container {
	padding-top: clamp(3rem, 6vw, 4.5rem);
	padding-bottom: 1.35rem;
}

.site-footer__main {
	padding-bottom: clamp(2rem, 4vw, 2.75rem);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}

.site-footer__logo {
	display: inline-block;
	margin-bottom: 2rem;
}

.site-footer__logo img {
	display: block;
	width: auto;
    max-height: 60px;
}

.site-footer__phone {
	margin: 0 0 1rem;
	font-size: 1rem;
	line-height: 1.5;
}

.site-footer__phone-label {
	display: block;
	margin-bottom: 0.15rem;
	color: rgba(255, 255, 255, 0.72);
}

.site-footer__phone a,
.site-footer__phone a:link,
.site-footer__phone a:visited,
.site-footer__phone a:active {
	color: var(--color-white);
	font-weight: var(--font-weight-semibold);
}

.site-footer__address {
	margin: 0 0 1rem;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.95rem;
	line-height: 1.6;
}

.site-footer__brand-body {
	display: flex;
	align-items: flex-start;
	gap: clamp(1.25rem, 3vw, 2rem);
}

.site-footer__brand-contact {
	flex: 0 1 auto;
	min-width: 0;
}

.site-footer__brand-contact .site-footer__address {
	margin-bottom: 1rem;
}

.site-footer__brand-contact .site-footer__phone:last-child,
.site-footer__brand-contact .site-footer__address:last-child {
	margin-bottom: 0;
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__social a,
.site-footer__social a:link,
.site-footer__social a:visited,
.site-footer__social a:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	background: var(--color-primary);
	color: var(--color-on-primary);
	font-size: 0.95rem;
	text-decoration: none;
}

.site-footer__social a:hover {
	opacity: 0.88;
}

.site-footer__badge {
	flex-shrink: 0;
	margin: 0;
}

.site-footer__badge a {
	display: inline-block;
	line-height: 0;
	vertical-align: top;
}

.site-footer__badge a:hover {
	opacity: 0.88;
}

.site-footer__badge img {
	display: block;
    width: auto;
    max-height: 122px;
}

.site-footer__menu-title {
	position: relative;
	margin: 0 0 1.35rem;
	padding-bottom: 0.85rem;
	color: var(--color-white);
	font-family: var(--font-family-title);
	font-size: 1rem;
	font-weight: var(--font-weight-semibold);
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.site-footer__menu-title::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	width: 2.5rem;
	height: 2px;
	background: var(--color-primary);
	content: "";
}

.site-footer__menu-list,
.site-footer__menu-list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__menu-list li + li {
	margin-top: 0.65rem;
}

.site-footer__menu-list a,
.site-footer__menu-list a:link,
.site-footer__menu-list a:visited,
.site-footer__menu-list a:active {
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.95rem;
	line-height: 1.45;
}

.site-footer__phone a,
.site-footer__phone a:link,
.site-footer__phone a:visited,
.site-footer__phone a:active,
.site-footer__menu-list a,
.site-footer__menu-list a:link,
.site-footer__menu-list a:visited,
.site-footer__menu-list a:active,
.site-footer__review,
.site-footer__review:link,
.site-footer__review:visited,
.site-footer__review:active,
.site-footer__developer a,
.site-footer__developer a:link,
.site-footer__developer a:visited,
.site-footer__developer a:active {
	position: relative;
	display: inline-block;
	text-decoration: none;
	transition: color 0.35s ease;
}

.site-footer__phone a::after,
.site-footer__menu-list a::after,
.site-footer__review::after,
.site-footer__developer a::after {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 0;
	height: 1px;
	background-color: var(--color-primary);
	content: "";
	transition: width 0.35s ease;
	pointer-events: none;
}

.site-footer__phone a:hover,
.site-footer__menu-list a:hover,
.site-footer__menu-list .current-menu-item > a,
.site-footer__menu-list .current-menu-item > a:link,
.site-footer__menu-list .current-menu-item > a:visited,
.site-footer__menu-list .current_page_item > a,
.site-footer__menu-list .current_page_item > a:link,
.site-footer__menu-list .current_page_item > a:visited,
.site-footer__review:hover,
.site-footer__developer a:hover {
	color: var(--color-primary);
}

.site-footer__menu-list .current-menu-item > a,
.site-footer__menu-list .current_page_item > a {
	font-weight: var(--font-weight-semibold);
}

.site-footer__phone a:hover::after,
.site-footer__menu-list a:hover::after,
.site-footer__menu-list .current-menu-item > a::after,
.site-footer__menu-list .current_page_item > a::after,
.site-footer__review:hover::after,
.site-footer__developer a:hover::after {
	width: 100%;
}

.site-footer__divider {
	height: 1px;
	margin-bottom: 1rem;
	background: var(--color-primary);
}

.site-footer__bar {
	border-top: 0;
}

.site-footer__bar-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 1.5rem;
	align-items: center;
	padding: 0;
}

.site-footer__copyright {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-transform: uppercase;
}

.site-footer__review,
.site-footer__review:link,
.site-footer__review:visited,
.site-footer__review:active,
.site-footer__review--text {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.9rem;
	font-weight: var(--font-weight-semibold);
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
}

.site-footer__developer,
.site-footer__developer.developer-credit {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.45rem;
	margin-left: auto;
	font-size: 0.9rem;
	line-height: 1.4;
}

.site-footer__developer span {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
	color: #b9b9b9;
	transition: color 0.35s ease;
}

.site-footer__developer a,
.site-footer__developer a:link,
.site-footer__developer a:visited,
.site-footer__developer a:active {
	color: inherit;
}

.site-footer__developer span:has(a:hover),
.site-footer__developer a:hover {
	color: var(--color-primary);
}

.site-footer__developer img {
	display: block;
	width: auto;
	height: 18px;
    position: relative;
    top: -3px;
	opacity: .5;
	transition: opacity 0.35s ease;
}

.site-footer__developer:hover img {
	opacity: 1;
}

@media (max-width: 991px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 767px) {
	.site-footer__container {
		padding-top: 2.5rem;
		padding-bottom: 1.25rem;
	}

	.site-footer__main {
		padding-bottom: 2rem;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.site-footer__bar-inner {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}

	.site-footer__copyright,
	.site-footer__review,
	.site-footer__review--text {
		text-align: center;
	}

	.site-footer__developer,
	.site-footer__developer.developer-credit {
		justify-content: center;
		margin-left: 0;
	}
}

/* ==========================================================================
   15. Floating Contact
   ========================================================================== */

.site-floating-contact,
.site-floating-contact:link,
.site-floating-contact:visited,
.site-floating-contact:active {
	position: fixed;
	top: 50%;
	right: 0;
	z-index: 110;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1.35rem 0.7rem;
	background: var(--color-primary);
	color: var(--color-on-primary);
	border-radius: 12px 0 0 12px;
	text-decoration: none;
	transform: translateY(-50%);
	box-shadow: -4px 0 18px rgba(0, 0, 0, 0.12);
	transition: opacity 0.2s ease, background-color 0.2s ease;
}

.site-floating-contact:hover {
	color: var(--color-on-primary);
	opacity: 0.92;
}

.site-floating-contact__label {
	display: block;
	font-family: var(--font-family);
	font-size: 0.85rem;
	font-weight: var(--font-weight-semibold);
	letter-spacing: 0.12em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

@media (max-width: 767px) {
	.site-floating-contact,
	.site-floating-contact:link,
	.site-floating-contact:visited,
	.site-floating-contact:hover,
	.site-floating-contact:active {
		display: none;
	}
}


@media (max-width: 767px) {
	.container {
		padding-right: calc(var(--bs-gutter-x) * 1);
    	padding-left: calc(var(--bs-gutter-x) * 1);
	}
}

@media (max-width: 499px) {
	.site-footer__logo {
		display: flex;
	}
	.site-footer__brand {
        display: grid;
        justify-items: center;
    }

	.site-footer__brand-body {
		flex-direction: column;
		align-items: center;
		width: 100%;
	}

	.site-footer__brand-contact {
		text-align: center;
	}

	.site-footer__menu {
		display: none;
	}

	.site-footer__social a,
	.site-footer__social a:link,
	.site-footer__social a:visited,
	.site-footer__social a:active {
		width: 3rem;
		height: 3rem;
		font-size: 1.2rem;
	}
}



.uwy.userway_p1 .userway_buttons_wrapper {
	top: auto !important;
    left: 4.5rem !important;
    bottom: 1rem !important;
}

.uwy.utb .uai img:not(.userway_check_on) {
	width: 54px !important;
    height: 54px !important;
}

.uwy.utb .uai, .uwy.utb .ulsti, .uwy.utb .ups {
    width: 54px !important;
    height: 54px !important;
}

body.deardoc-ready rw-widget-floating.rw-bar,
body.deardoc-ready rw-widget-floating.rw-mini {
	left: calc(4.5rem + 0.75rem) !important;
	right: auto !important;
	bottom: 1rem !important;
}

body.deardoc-ready rw-widget-floating.rw-full {
	left: calc(4.5rem + 0.75rem) !important;
	right: auto !important;
	bottom: 1rem !important;
}