/**
 * Global shared site shell (header/footer/mobile drawer/scroll-top).
 * Intentionally scoped to shell selectors only.
 * Canonical visual parity with the homepage masthead/footer: all routes load this file;
 * do not duplicate shell rules in page-specific stylesheets.
 */

#masthead {
	position: static;
	z-index: 1100;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid rgba(226, 232, 240, 0.9);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

#masthead .site-header-item.site-header-item-main-navigation {
	margin-right: 0.75rem;
}

#masthead .site-main-header-wrap .site-container {
	max-width: 1240px;
}

#masthead .site-main-header-inner-wrap {
	min-height: 72px;
}

#masthead .site-branding .custom-logo {
	max-height: 56px;
	width: auto;
}

#masthead #site-navigation #primary-menu {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

#masthead #site-navigation #primary-menu > li > a {
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: #1f2937;
	padding: 0.55rem 0.78rem;
	border-radius: 10px;
	transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

#masthead #site-navigation #primary-menu > li:hover > a,
#masthead #site-navigation #primary-menu > li.current-menu-item > a,
#masthead #site-navigation #primary-menu > li.current_page_item > a {
	color: #0f172a;
	background: rgba(15, 23, 42, 0.05);
}

#masthead #site-navigation .sub-menu {
	margin-top: 0.45rem;
	padding: 0.55rem;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
	min-width: 238px;
}

#masthead #site-navigation .sub-menu li a {
	font-size: 0.88rem;
	font-weight: 600;
	color: #334155;
	padding: 0.5rem 0.62rem;
	border-radius: 8px;
}

#masthead #site-navigation .sub-menu li a:hover {
	background: #f1f5f9;
	color: #0f172a;
}

#masthead .search-toggle-open,
#masthead .menu-toggle-open {
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 1px solid #dbe3ed;
	background: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

#masthead .search-toggle-open {
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#masthead .search-toggle-open:hover {
	border-color: #cbd5e1;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
	transform: translateY(-1px);
}

.rtg-header-cta-wrap {
	display: flex;
	align-items: center;
}

.rtg-header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	border: 1px solid #1e3a5f;
	background: linear-gradient(135deg, #1e3a5f 0%, #2b6cb0 100%);
	color: #ffffff !important;
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.015em;
	line-height: 1;
	text-decoration: none !important;
	box-shadow: 0 8px 16px rgba(30, 58, 95, 0.22);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.rtg-header-cta:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
	box-shadow: 0 12px 20px rgba(30, 58, 95, 0.28);
}

#mobile-drawer {
	display: none;
}

#mobile-drawer.is-open {
	display: block;
}

#mobile-drawer .drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	z-index: 1090;
}

#mobile-drawer .drawer-inner {
	position: fixed;
	right: 0;
	top: 0;
	bottom: 0;
	width: min(90vw, 380px);
	background: #ffffff;
	z-index: 1091;
	box-shadow: -8px 0 24px rgba(15, 23, 42, 0.16);
	overflow-y: auto;
}

#mobile-drawer .drawer-header {
	display: flex;
	justify-content: flex-end;
	padding: 0.75rem;
}

#mobile-drawer .drawer-content {
	padding: 1rem 1rem 1.5rem;
}

.rtg-mobile-cta-wrap {
	margin: 0 0 0.85rem;
}

.rtg-header-cta--mobile {
	width: 100%;
	padding: 0.75rem 1rem;
	font-size: 0.9rem;
}

#mobile-drawer #mobile-site-navigation .menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

#mobile-drawer #mobile-site-navigation .menu > li > a {
	display: block;
	padding: 0.65rem 0.25rem;
	font-weight: 600;
	color: #1f2937;
	border-bottom: 1px solid #eef2f7;
}

#mobile-drawer #mobile-site-navigation .sub-menu {
	list-style: none;
	padding: 0.15rem 0 0.45rem 0.9rem;
	margin: 0;
}

#mobile-drawer #mobile-site-navigation .sub-menu a {
	display: block;
	padding: 0.42rem 0;
	color: #4b5563;
	font-size: 0.92rem;
}

.elementor-location-footer,
.elementor.elementor-2350.elementor-location-footer,
.elementor-2350,
.elementor-2350 .elementor-element.elementor-element-2fc3bf4,
.elementor-2350 .elementor-element.elementor-element-2fc3bf4:not(.elementor-motion-effects-element-type-background),
.elementor-2350 .elementor-element.elementor-element-2fc3bf4 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background: #ffffff !important;
}

.elementor-location-footer .elementor-element-2fc3bf4 {
	max-width: 1240px;
	width: calc(100% - 2rem);
	margin: 0 auto 30px;
	background: #f4f7fb !important;
	border-top: 1px solid #dbe5f0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	padding: 0.9rem 1rem;
	gap: 0.9rem;
	margin-top: 0.2rem;
}

.elementor-location-footer .elementor-element-2fc3bf4 > .e-con {
	width: auto;
	max-width: none;
	flex: 1 1 0;
	min-width: 0;
}

.elementor-location-footer .elementor-element-5429007 {
	justify-content: flex-start;
}

.elementor-location-footer .elementor-element-bd7ffba {
	justify-content: center;
}

.elementor-location-footer .elementor-element-9b970bc {
	justify-content: flex-end;
}

.elementor-location-footer .elementor-element-d2d8b67,
.elementor-location-footer .elementor-element-d2d8b67 .elementor-widget-container {
	overflow: visible;
}

.elementor-location-footer .elementor-element-d2d8b67 img {
	width: clamp(280px, 28vw, 420px) !important;
	height: auto !important;
	max-height: 56px !important;
	max-width: 100%;
	display: block;
}

.elementor-location-footer .elementor-element-29ef1b8 p,
.elementor-location-footer .elementor-element-7213ff1 p,
.elementor-location-footer .elementor-element-29ef1b8 a {
	font-size: 14px;
	line-height: 1.35;
	color: #1f3348;
	opacity: 1;
}

.elementor-location-footer .elementor-element-29ef1b8 a {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.elementor-location-footer .elementor-element-29ef1b8 .elementor-widget-container {
	text-align: center;
}

.elementor-location-footer .elementor-element-5ab787d {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.38rem;
}

.elementor-location-footer .elementor-element-7213ff1 .elementor-widget-container {
	text-align: right;
}

.elementor-element-7e1e3ea {
	position: fixed;
	right: 18px;
	bottom: 22px;
	z-index: 40;
	background: transparent;
	padding: 0;
	pointer-events: none;
}

.elementor-element-7e1e3ea > .e-con-inner {
	justify-content: flex-end;
}

.elementor-element-580c911 {
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
	pointer-events: none;
}

body.rtg-show-scrolltop .elementor-element-580c911 {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.elementor-element-580c911 .elementor-button {
	min-width: 42px;
	height: 42px;
	padding: 0;
	border-radius: 999px;
	background: #234b70;
	border: 1px solid #173754;
	box-shadow: 0 10px 18px rgba(15, 23, 42, 0.3);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 1 !important;
}

.elementor-element-580c911 .elementor-button:hover {
	background: #1b3f60;
	transform: translateY(-1px);
	box-shadow: 0 12px 20px rgba(15, 23, 42, 0.36);
}

.elementor-element-580c911 .elementor-button-text {
	display: none;
}

.elementor-element-580c911 .elementor-button-icon {
	margin: 0;
}

.elementor-element-580c911 .elementor-button-icon svg {
	width: 16px;
	height: 16px;
	fill: #ffffff;
}

.elementor-location-footer .elementor-element-a7926cc .elementor-icon svg {
	width: 13px;
	height: 13px;
	fill: currentColor !important;
	display: block;
}

.elementor-location-footer .elementor-element-a7926cc .elementor-icon {
	width: 31px;
	height: 31px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	border: 1px solid #c7d5e5;
	border-radius: 999px;
	color: #1d3a57;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
	transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	opacity: 1;
}

.elementor-location-footer .elementor-element-a7926cc .elementor-icon:hover {
	background: #f2f7fc;
	border-color: #9fb6cc;
	color: #14324f;
	transform: translateY(-1px);
}

.elementor-location-footer .elementor-element-a7926cc .elementor-social-icon {
	--e-social-icon-icon-color: #1d3a57 !important;
	color: #1d3a57 !important;
}

/* Kill legacy in-main TOP section strip/background (keep floating button in footer template) */
#main-content .elementor-element-7e1e3ea,
#main-content .elementor-element-580c911 {
	display: none !important;
}

@media (max-width: 1024px) {
	#masthead .site-main-header-inner-wrap {
		min-height: 64px;
	}

	#masthead .site-branding .custom-logo {
		max-height: 48px;
	}

	#masthead .site-header-item-main-navigation,
	#masthead .search-toggle-open-container,
	.rtg-header-cta-wrap {
		display: none;
	}

	#masthead .mobile-navigation-wrap {
		display: flex;
		align-items: center;
		gap: 0.45rem;
	}
}

@media (min-width: 1025px) {
	#masthead .mobile-navigation-wrap {
		display: none;
	}
}

@media (max-width: 900px) {
	.elementor-location-footer .elementor-element-2fc3bf4 {
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 0.5rem;
		padding: 0.72rem 0.75rem;
	}

	.elementor-location-footer .elementor-element-2fc3bf4 > .e-con {
		flex: 1 1 100%;
		justify-content: center;
	}

	.elementor-location-footer .elementor-element-d2d8b67 img {
		width: min(260px, 82vw) !important;
		max-width: min(260px, 82vw);
		margin: 0 auto !important;
	}

	.elementor-location-footer .elementor-element-5ab787d {
		align-items: center;
	}

	.elementor-location-footer .elementor-element-7213ff1 .elementor-widget-container,
	.elementor-location-footer .elementor-element-29ef1b8 .elementor-widget-container {
		text-align: center;
	}
}

@media (max-width: 767px) {
	.elementor-location-footer .elementor-element-2fc3bf4 {
		width: calc(100% - 1.4rem);
		padding: 0.62rem 0.72rem 0.58rem;
		row-gap: 0.4rem;
	}

	.elementor-location-footer .elementor-element-d2d8b67 img {
		max-height: 48px;
		max-width: min(70vw, 186px);
	}

	.elementor-location-footer .elementor-element-29ef1b8 p,
	.elementor-location-footer .elementor-element-7213ff1 p {
		font-size: 0.8rem;
	}

	.elementor-location-footer .elementor-element-9b970bc,
	.elementor-location-footer .elementor-element-5ab787d,
	.elementor-location-footer .elementor-element-7213ff1 .elementor-widget-container {
		align-items: center;
		text-align: center;
	}

	.elementor-element-7e1e3ea {
		right: 12px;
		bottom: 14px;
	}

	.elementor-element-580c911 .elementor-button {
		min-width: 40px;
		height: 40px;
	}
}
