/*
  xLocums footer badge photos (DE-110 follow-up).
  Enqueued when xl_footer_badge_photos_enabled is on.
  Scope every rule under body.xl-footer-badge-photos.
  Restores left-justified badge wording (overrides the legal-fix
  centered-wording rules) and puts a small cutout photo on a white
  well at the right, in place of the star and the empty blue area.
  Brand blue #4169E1 and navy #001233. No yellow hovers or borders.
  Do not put less-than or greater-than signs in comments.
*/

body.xl-footer-badge-photos #colophon .xl-footer-compact-badges .xl-plate__accent,
body.xl-footer-badge-photos .xl-footer-compact-badges .xl-plate__accent,
body.xl-footer-badge-photos .xl-plate .xl-plate__accent{
	display:none !important;
}

/* Left-aligned text, photo on the right. Beats the legal-fix
   centered-wording selectors. */
body.xl-footer-badge-photos #colophon .xl-footer-compact-badges .xl-plate__badge,
body.xl-footer-badge-photos.xl-footer-compact #colophon .xl-footer-compact-badges .xl-plate__badge,
body.xl-footer-badge-photos.xl-footer-legal-fix #colophon .xl-footer-compact-badges .xl-plate__badge,
body.xl-footer-badge-photos.xl-footer-compact.xl-footer-legal-fix .xl-footer-compact-badges .xl-plate__badge,
body.xl-footer-badge-photos .xl-plate a.xl-plate__badge{
	display:flex !important;
	flex-direction:row !important;
	flex-wrap:nowrap !important;
	align-items:center !important;
	justify-content:flex-start !important;
	gap:8px !important;
	width:220px;
	height:64px;
	padding:6px 6px 6px 12px !important;
	background:#0A1F4A;
	border:1.5px solid rgba(65,105,225,.65) !important;
	border-bottom-color:#4169E1 !important;
	border-radius:4px;
	box-shadow:0 2px 0 rgba(65,105,225,0.18), 0 6px 14px rgba(0,0,0,0.28);
	text-decoration:none !important;
	color:#FBFAF6 !important;
	overflow:hidden;
}

body.xl-footer-badge-photos #colophon .xl-footer-compact-badges .xl-plate__badge:hover,
body.xl-footer-badge-photos #colophon .xl-footer-compact-badges .xl-plate__badge:focus-visible,
body.xl-footer-badge-photos.xl-footer-compact.xl-footer-legal-fix .xl-footer-compact-badges .xl-plate__badge:hover,
body.xl-footer-badge-photos.xl-footer-compact.xl-footer-legal-fix .xl-footer-compact-badges .xl-plate__badge:focus-visible,
body.xl-footer-badge-photos .xl-plate a.xl-plate__badge:hover,
body.xl-footer-badge-photos .xl-plate a.xl-plate__badge:focus-visible{
	border-color:#4169E1 !important;
	border-bottom-color:#6E8EF0 !important;
	box-shadow:0 2px 0 rgba(65,105,225,0.28), 0 10px 18px rgba(0,0,0,0.34);
	transform:translateY(-2px);
}

body.xl-footer-badge-photos #colophon .xl-footer-compact-badges .xl-plate__text,
body.xl-footer-badge-photos.xl-footer-legal-fix #colophon .xl-footer-compact-badges .xl-plate__text,
body.xl-footer-badge-photos.xl-footer-compact.xl-footer-legal-fix .xl-footer-compact-badges .xl-plate__text{
	display:flex !important;
	flex-direction:column;
	justify-content:center;
	align-items:flex-start;
	min-width:0;
	flex:1 1 auto;
	gap:3px;
	text-align:left;
}

body.xl-footer-badge-photos #colophon .xl-footer-compact-badges .xl-plate__label,
body.xl-footer-badge-photos.xl-footer-legal-fix #colophon .xl-footer-compact-badges .xl-plate__label,
body.xl-footer-badge-photos.xl-footer-compact.xl-footer-legal-fix .xl-footer-compact-badges .xl-plate__label{
	flex:0 0 auto;
	order:0;
	display:block;
	width:auto;
	text-align:left !important;
	font-family:"Work Sans",Sans-serif !important;
	font-size:8px;
	font-weight:600;
	letter-spacing:0.12em;
	text-transform:uppercase;
	line-height:1;
	color:#F3D07A !important;
}

body.xl-footer-badge-photos #colophon .xl-footer-compact-badges .xl-plate__mark,
body.xl-footer-badge-photos.xl-footer-legal-fix #colophon .xl-footer-compact-badges .xl-plate__mark,
body.xl-footer-badge-photos.xl-footer-compact.xl-footer-legal-fix .xl-footer-compact-badges .xl-plate__mark{
	flex:0 0 auto;
	order:0;
	display:block;
	text-align:left !important;
	font-family:"Kumbh Sans",Sans-serif !important;
	font-size:18px;
	font-weight:800;
	letter-spacing:-0.04em;
	line-height:1;
	color:#FBFAF6 !important;
	white-space:nowrap;
}

body.xl-footer-badge-photos .xl-plate__x{
	color:#7EA2FF !important;
}

/* White photo well on the right. */
body.xl-footer-badge-photos .xl-plate__photo{
	display:block;
	flex:0 0 52px;
	width:52px;
	height:52px;
	margin:0 0 0 auto;
	overflow:hidden;
	border-radius:4px;
	background:#ffffff;
	box-shadow:inset 0 0 0 1px rgba(0,18,51,0.08);
}

body.xl-footer-badge-photos .xl-plate__photo picture,
body.xl-footer-badge-photos .xl-plate__photo img{
	display:block;
	width:52px;
	height:52px;
	object-fit:contain;
	object-position:center center;
	background:#ffffff;
	border:0;
}

/* Taller badges need a little more room above the divider. */
body.xl-footer-badge-photos.xl-footer-compact #colophon .elementor-element-bd7a2d6{
	padding-bottom:76px !important;
}

@media (prefers-reduced-motion:reduce){
	body.xl-footer-badge-photos #colophon .xl-footer-compact-badges .xl-plate__badge,
	body.xl-footer-badge-photos #colophon .xl-footer-compact-badges .xl-plate__badge:hover,
	body.xl-footer-badge-photos #colophon .xl-footer-compact-badges .xl-plate__badge:focus-visible{
		transition:none;
		transform:none;
	}
}

@media (max-width:767px){
	body.xl-footer-badge-photos.xl-footer-compact #colophon .elementor-element-bd7a2d6{
		padding-bottom:0 !important;
	}
	body.xl-footer-badge-photos #colophon .xl-footer-compact-badges .xl-plate,
	body.xl-footer-badge-photos.xl-footer-compact .xl-footer-compact-badges .xl-plate{
		flex-direction:column;
		align-items:center;
		justify-content:center;
		flex-wrap:nowrap;
		gap:10px;
		width:100%;
		padding:0 !important;
	}
	body.xl-footer-badge-photos #colophon .xl-footer-compact-badges .xl-plate__badge,
	body.xl-footer-badge-photos.xl-footer-compact.xl-footer-legal-fix .xl-footer-compact-badges .xl-plate__badge,
	body.xl-footer-badge-photos .xl-plate a.xl-plate__badge{
		width:300px !important;
		max-width:calc(100% - 24px) !important;
		height:64px;
		padding:6px 6px 6px 12px !important;
		gap:8px !important;
	}
	body.xl-footer-badge-photos #colophon .xl-footer-compact-badges .xl-plate__mark,
	body.xl-footer-badge-photos.xl-footer-legal-fix #colophon .xl-footer-compact-badges .xl-plate__mark{
		font-size:18px;
	}
	body.xl-footer-badge-photos .xl-plate__photo,
	body.xl-footer-badge-photos .xl-plate__photo picture,
	body.xl-footer-badge-photos .xl-plate__photo img{
		flex-basis:52px;
		width:52px;
		height:52px;
	}
}
