/* =========================================================================
   AON Mobile Accordion
   Applies ONLY when JS adds body.aon-mobile-mode (viewport <= 1024px).
   Desktop keeps the original Akordian accordion untouched.
   ========================================================================= */

/* ------------------------------------------------------------------ */
/* Panel visibility                                                    */
/* ------------------------------------------------------------------ */

body.aon-mobile-mode .aon-panel-hidden {
	display: none !important;
}

body.aon-mobile-mode .aon-panel-active {
	display: block !important;
	position: relative !important;
	width: 100% !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	height: auto !important;
	min-height: calc(100vh - 64px); /* leave room for the tab bar */
	transform: none !important;
	overflow: visible !important;
}

/* Neutralize the desktop accordion's column layout on the active panel */
body.aon-mobile-mode .aon-panel-active .h-100,
body.aon-mobile-mode .aon-panel-active .page-block {
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	position: relative !important;
	display: block !important;
	writing-mode: horizontal-tb !important;
}

/* Panel content becomes normal vertical flow with breathing room */
body.aon-mobile-mode .aon-panel-active .content {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	overflow: visible !important;
	padding: 20px 18px 90px; /* bottom padding clears the fixed tab bar */
	box-sizing: border-box;
}

body.aon-mobile-mode .aon-panel-active .content.grid {
	display: block !important;
}

/* ------------------------------------------------------------------ */
/* Panel header — becomes a simple top bar instead of a vertical spine */
/* ------------------------------------------------------------------ */

body.aon-mobile-mode .aon-panel-active > .h-100 > header,
body.aon-mobile-mode .aon-panel-active header {
	position: relative !important;
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	width: 100% !important;
	height: auto !important;
	min-height: 0;
	padding: 14px 18px !important;
	writing-mode: horizontal-tb !important;
	transform: none !important;
	cursor: default;
	box-sizing: border-box;
}

body.aon-mobile-mode .aon-panel-active header .title,
body.aon-mobile-mode .aon-panel-active header .title-number {
	writing-mode: horizontal-tb !important;
	transform: none !important;
	position: static !important;
	font-size: 16px;
	letter-spacing: .04em;
}

body.aon-mobile-mode .aon-panel-active header .title-number {
	opacity: .45;
	font-size: 13px;
}

/* ------------------------------------------------------------------ */
/* Hide desktop-only chrome on mobile                                  */
/* ------------------------------------------------------------------ */

body.aon-mobile-mode .mouse {
	display: none !important;
}

body.aon-mobile-mode .toggle-nav {
	display: none !important;
}

/* The old long-scroll mobile nav is replaced by the tab bar */
body.aon-mobile-mode nav.mobile-nav {
	display: none !important;
}

/* ------------------------------------------------------------------ */
/* Bottom tab bar                                                      */
/* ------------------------------------------------------------------ */

.aon-mobile-tabs {
	display: none;
}

body.aon-mobile-mode .aon-mobile-tabs {
	display: flex;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	background: rgba(17, 17, 17, .97);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 -2px 12px rgba(0, 0, 0, .25);
	padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
	justify-content: space-around;
	align-items: stretch;
}

.aon-mobile-tab {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	background: transparent;
	border: 0;
	border-radius: 10px;
	color: #b8bcc4;
	font-family: inherit;
	padding: 7px 4px;
	margin: 0 2px;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
	-webkit-tap-highlight-color: transparent;
}

.aon-mobile-tab__num {
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	opacity: .7;
}

.aon-mobile-tab__label {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	line-height: 1.2;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.aon-mobile-tab.is-active {
	background: rgba(255, 255, 255, .12);
	color: #ffffff;
}

.aon-mobile-tab.is-active .aon-mobile-tab__num {
	opacity: 1;
}

/* ------------------------------------------------------------------ */
/* Home (intro) panel tweaks                                           */
/* ------------------------------------------------------------------ */

body.aon-mobile-mode .aon-panel-active.home .content > div:first-child {
	padding: 40px 20px;
}

body.aon-mobile-mode .aon-panel-active.home h1.mega {
	font-size: clamp(34px, 9vw, 56px);
	line-height: 1.1;
	word-break: break-word;
}

body.aon-mobile-mode .aon-panel-active.home h1.delta {
	font-size: clamp(18px, 5vw, 26px);
}

/* Make embedded page content behave on small screens */
body.aon-mobile-mode .aon-panel-active img,
body.aon-mobile-mode .aon-panel-active iframe,
body.aon-mobile-mode .aon-panel-active video {
	max-width: 100%;
	height: auto;
}

body.aon-mobile-mode .aon-panel-active .elementor-section,
body.aon-mobile-mode .aon-panel-active .elementor-container {
	width: 100% !important;
	max-width: 100% !important;
}

/* =========================================================================
   PHONE LAYER — v1.1  (body.aon-phone-mode, <= 600px)
   Bottom tab bar hidden; heart-burger button (top right) opens a
   slide-in menu instead.
   ========================================================================= */

/* Hide the tablet tab bar on phones; reclaim its bottom padding */
body.aon-phone-mode .aon-mobile-tabs {
	display: none !important;
}

body.aon-phone-mode .aon-panel-active .content {
	padding-bottom: 30px;
	padding-top: 10px;
}

body.aon-phone-mode .aon-panel-active {
	min-height: 100vh;
}

/* ------------------------------------------------------------------ */
/* Heart-burger toggle button                                          */
/* ------------------------------------------------------------------ */

.aon-heart-burger {
	display: none;
}

body.aon-phone-mode .aon-heart-burger {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	position: fixed;
	top: calc(12px + env(safe-area-inset-top, 0px));
	right: 14px;
	z-index: 10001;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: rgba(17, 17, 17, .92);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 3px 12px rgba(0, 0, 0, .3);
	cursor: pointer;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
	transition: transform .2s ease, background .2s ease;
}

body.aon-phone-mode .aon-heart-burger:active {
	transform: scale(.92);
}

.aon-heart-burger__heart {
	color: #cf6d8b;
	font-size: 15px;
	line-height: 1;
	transition: transform .25s ease;
}

.aon-heart-burger__line {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: #ffffff;
	transition: transform .25s ease, opacity .25s ease;
}

/* Open state: heart pops, lines form an X */
body.aon-drawer-open .aon-heart-burger__heart {
	transform: scale(1.25);
}

body.aon-drawer-open .aon-heart-burger__line:nth-of-type(2) {
	transform: translateY(2.5px) rotate(45deg);
}

body.aon-drawer-open .aon-heart-burger__line:nth-of-type(3) {
	transform: translateY(-2.5px) rotate(-45deg);
}

/* ------------------------------------------------------------------ */
/* Slide-in drawer                                                     */
/* ------------------------------------------------------------------ */

.aon-drawer-overlay {
	position: fixed;
	inset: 0;
	z-index: 9998;
	background: rgba(20, 12, 16, .45);
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease;
}

body.aon-drawer-open .aon-drawer-overlay {
	opacity: 1;
	pointer-events: auto;
}

.aon-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 10000;
	width: min(78vw, 320px);
	background: #ffffff;
	box-shadow: -6px 0 24px rgba(0, 0, 0, .18);
	transform: translateX(105%);
	transition: transform .28s cubic-bezier(.22, .82, .3, 1);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	padding-bottom: env(safe-area-inset-bottom, 0px);
}

body.aon-drawer-open .aon-drawer {
	transform: translateX(0);
}

.aon-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: calc(16px + env(safe-area-inset-top, 0px)) 18px 14px;
	background: linear-gradient(135deg, #f6d8e0, #fdf3ee);
	border-bottom: 2px solid #c5a253;
}

.aon-drawer__brand {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #3a3340;
}

.aon-drawer__heart {
	color: #cf6d8b;
	margin-right: 6px;
}

.aon-drawer__close {
	border: 0;
	background: transparent;
	font-size: 26px;
	line-height: 1;
	color: #3a3340;
	cursor: pointer;
	padding: 4px 8px;
	-webkit-tap-highlight-color: transparent;
}

.aon-drawer__list {
	list-style: none;
	margin: 0;
	padding: 10px 0;
}

.aon-drawer__list li {
	margin: 0;
}

.aon-drawer__link {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	border: 0;
	background: transparent;
	padding: 15px 20px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #5a5560;
	text-align: left;
	cursor: pointer;
	border-left: 3px solid transparent;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
	-webkit-tap-highlight-color: transparent;
}

.aon-drawer__link:active {
	background: #faf6f4;
}

.aon-drawer__num {
	font-size: 12px;
	font-weight: 700;
	color: #c5a253;
	min-width: 22px;
}

.aon-drawer__link.is-active {
	border-left-color: #cf6d8b;
	background: #fdf3f5;
	color: #cf6d8b;
}

.aon-drawer__link.is-active .aon-drawer__num {
	color: #cf6d8b;
}

/* Keep panel headers clear of the fixed button on phones */
body.aon-phone-mode .aon-panel-active header {
	padding-right: 70px !important;
}

/* ------------------------------------------------------------------ */
/* Home mobile chrome: compact logo, scrollable social dock, policies  */
/* ------------------------------------------------------------------ */

/* Keep the complete home presentation inside the first mobile screen. */
body.aon-mobile-mode #home .elementor-widget-bdevs-home-section > .elementor-widget-container {
	display: flex !important;
	flex-direction: column !important;
	min-height: 100vh;
	min-height: 100svh;
	padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
	box-sizing: border-box;
	overflow: visible;
}

body.aon-phone-mode #home .elementor-widget-bdevs-home-section > .elementor-widget-container {
	padding-bottom: env(safe-area-inset-bottom, 0px);
}

body.aon-mobile-mode #home .h-100 {
	display: flex !important;
	flex: 1 1 auto;
	flex-direction: column !important;
	height: auto !important;
	min-height: 0 !important;
}

body.aon-mobile-mode #home .content {
	display: flex !important;
	flex: 1 1 auto;
	min-height: 0;
	padding: 10px 18px 14px !important;
	box-sizing: border-box;
}

body.aon-mobile-mode #home .content > div:first-child {
	align-self: center;
	width: 100%;
	padding: clamp(24px, 7vh, 58px) 16px !important;
	box-sizing: border-box;
}

/* Home header becomes a slim utility bar rather than a desktop rail. */
body.aon-mobile-mode #home .active.h-100 > header {
	display: flex !important;
	flex: 0 0 auto;
	align-items: center;
	justify-content: flex-start;
	gap: 11px;
	width: 100% !important;
	min-height: 54px;
	padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 8px !important;
	border-left: 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
	box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
	box-sizing: border-box;
	overflow: hidden;
}

body.aon-mobile-mode #home .logo {
	position: static !important;
	flex: 0 0 auto;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	line-height: 0;
	text-align: left;
}

body.aon-mobile-mode #home .logo > a,
body.aon-mobile-mode #home .site-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	line-height: 0;
}

body.aon-mobile-mode #home .site-logo__img,
body.aon-mobile-mode #home .logo img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 26px !important;
	max-height: 26px !important;
	object-fit: contain;
	transform: none !important;
}

/* Social connections become a discreet horizontal icon dock. */
body.aon-mobile-mode #home .aon-social-links {
	position: static !important;
	display: flex !important;
	flex: 1 1 auto;
	align-items: center;
	justify-content: flex-end;
	gap: 7px;
	width: auto !important;
	max-width: 100%;
	max-height: none !important;
	margin: 0 0 0 auto !important;
	padding: 0 !important;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	overscroll-behavior-inline: contain;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

body.aon-mobile-mode #home .aon-social-links::-webkit-scrollbar {
	display: none;
}

body.aon-mobile-mode #home .aon-social-links__item {
	display: block;
	flex: 0 0 auto;
	width: auto !important;
	margin: 0;
	padding: 0;
	border: 0 !important;
	background: transparent;
	scroll-snap-align: end;
}

body.aon-mobile-mode #home .aon-social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px !important;
	height: 34px !important;
	min-height: 34px !important;
	padding: 0 !important;
	border: 1px solid currentColor;
	border-radius: 50%;
	background: rgba(17, 17, 17, .16);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

body.aon-mobile-mode #home .aon-social-links__item:hover,
body.aon-mobile-mode #home .aon-social-links__item:focus-within {
	background: transparent;
}

body.aon-mobile-mode #home .aon-social-links a:hover,
body.aon-mobile-mode #home .aon-social-links a:focus-visible {
	background: rgba(17, 17, 17, .24);
	color: var(--aon-home-header-alt-color, #f4b7cf) !important;
	border-color: currentColor;
	outline: 2px solid transparent;
	outline-offset: 2px;
}

body.aon-mobile-mode #home .aon-social-svg {
	width: 16px !important;
	height: 16px !important;
}

/* Policy links become a minimal black footer with horizontal scrolling. */
body.aon-mobile-mode #home .aon-home-policy-links {
	position: relative !important;
	left: auto !important;
	bottom: auto !important;
	z-index: 40;
	display: grid !important;
	grid-template-columns: 0 minmax(0, 1fr) 0;
	align-items: stretch;
	flex: 0 0 auto;
	width: 100% !important;
	min-height: 46px;
	margin: 0 !important;
	padding: 0 !important;
	transform: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #050505 !important;
	box-shadow: 0 -8px 24px rgba(0, 0, 0, .18);
	box-sizing: border-box;
	overflow: hidden;
}

body.aon-mobile-mode #home .aon-home-policy-links.is-overflowing {
	grid-template-columns: 42px minmax(0, 1fr) 42px;
}

body.aon-mobile-mode #home .aon-policy-scroll {
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

body.aon-mobile-mode #home .aon-policy-scroll::-webkit-scrollbar {
	display: none;
}

body.aon-mobile-mode #home .aon-home-policy-links .policy-studio-links {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: stretch;
	justify-content: flex-start;
	gap: 0 !important;
	width: max-content;
	min-width: 100%;
	margin: 0 !important;
	padding: 0 !important;
}

body.aon-mobile-mode #home .aon-home-policy-links .policy-studio-links a {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 15px;
	border: 0;
	border-right: 1px solid rgba(255, 255, 255, .12);
	border-radius: 0;
	background: transparent;
	color: #ffffff !important;
	font-size: 10px !important;
	font-weight: 650;
	line-height: 1.15;
	letter-spacing: .055em;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;
	white-space: nowrap;
	scroll-snap-align: start;
	box-sizing: border-box;
}

body.aon-mobile-mode #home .aon-home-policy-links .policy-studio-links a:hover,
body.aon-mobile-mode #home .aon-home-policy-links .policy-studio-links a:focus-visible {
	background: rgba(255, 255, 255, .08);
	color: var(--aon-home-header-alt-color, #f4b7cf) !important;
	text-decoration: none !important;
}

body.aon-mobile-mode #home .aon-home-policy-links .policy-studio-links span {
	display: none !important;
}

body.aon-mobile-mode #home .aon-policy-arrow {
	display: none;
	position: relative;
	z-index: 2;
	align-items: center;
	justify-content: center;
	width: 42px;
	min-width: 42px;
	padding: 0;
	border: 0;
	background: #050505;
	color: #ffffff;
	font: 300 27px/1 Arial, sans-serif;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

body.aon-mobile-mode #home .aon-home-policy-links.is-overflowing .aon-policy-arrow {
	display: flex;
}

body.aon-mobile-mode #home .aon-policy-arrow--prev {
	border-right: 1px solid rgba(255, 255, 255, .14);
}

body.aon-mobile-mode #home .aon-policy-arrow--next {
	border-left: 1px solid rgba(255, 255, 255, .14);
}

body.aon-mobile-mode #home .aon-policy-arrow:disabled {
	opacity: .28;
	cursor: default;
}

/* Phone polish: leave room for the heart menu and reduce visual weight. */
body.aon-phone-mode #home .active.h-100 > header {
	min-height: 50px;
	gap: 8px;
	padding: calc(7px + env(safe-area-inset-top, 0px)) 66px 7px 12px !important;
}

body.aon-phone-mode #home .site-logo__img,
body.aon-phone-mode #home .logo img {
	max-width: 21px !important;
	max-height: 21px !important;
}

body.aon-phone-mode #home .aon-social-links {
	gap: 6px;
}

body.aon-phone-mode #home .aon-social-links a {
	width: 31px !important;
	height: 31px !important;
	min-height: 31px !important;
	box-shadow: none;
}

body.aon-phone-mode #home .aon-social-svg {
	width: 14px !important;
	height: 14px !important;
}

body.aon-phone-mode #home .content {
	padding: 4px 14px 10px !important;
}

body.aon-phone-mode #home .content > div:first-child {
	padding: clamp(18px, 5vh, 38px) 10px !important;
}

body.aon-phone-mode #home .aon-home-policy-links {
	min-height: 44px;
}

body.aon-phone-mode #home .aon-home-policy-links.is-overflowing {
	grid-template-columns: 38px minmax(0, 1fr) 38px;
}

body.aon-phone-mode #home .aon-policy-arrow {
	width: 38px;
	min-width: 38px;
	font-size: 25px;
}

body.aon-phone-mode #home .aon-home-policy-links .policy-studio-links a {
	min-height: 44px;
	padding: 0 13px;
	font-size: 9.5px !important;
}

/* Extra-small screens keep two tidy columns without crushing the labels. */
@media (max-width: 359px) {
	body.aon-phone-mode #home .active.h-100 > header {
		padding-right: 62px !important;
	}

	body.aon-phone-mode #home .aon-social-links a {
		width: 29px !important;
		height: 29px !important;
		min-height: 29px !important;
	}

	body.aon-phone-mode #home .aon-home-policy-links .policy-studio-links a {
		font-size: 9.25px !important;
	}
}

/* Short landscape phones need a little less vertical chrome. */
@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
	body.aon-mobile-mode #home .active.h-100 > header {
		min-height: 44px;
		padding-top: 5px !important;
		padding-bottom: 5px !important;
	}

	body.aon-mobile-mode #home .content > div:first-child {
		padding-top: 12px !important;
		padding-bottom: 12px !important;
	}

	body.aon-mobile-mode #home .aon-home-policy-links {
		padding: 6px !important;
		margin-bottom: 6px !important;
	}

	body.aon-mobile-mode #home .aon-home-policy-links .policy-studio-links a {
		min-height: 25px;
		font-size: 9px !important;
	}
}

