/*
  xLocums footer legal-row spacing fix (1.7.9.17)
  Enqueued when xl_footer_archive_fix_enabled is on.
  Scope every rule under body.xl-footer-archive-fix.
  Loads after footer-compact.css and blog-fixes.css so these rules win.
  Do not put less-than or greater-than signs in comments.
*/

/* The legal section must hug its content. The 640px flex basis from
   footer-compact.css was stretching this to about 660px on every page. */
body.xl-footer-archive-fix #colophon,
body.xl-footer-archive-fix #colophon .elementor-element-978ff07 {
	height: auto !important;
	min-height: 0 !important;
}

body.xl-footer-archive-fix #colophon .elementor-element-c1005e0 {
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	margin-top: 4px !important;
	margin-bottom: 0 !important;
	padding: 8px 20px 14px 20px !important;
}

body.xl-footer-archive-fix #colophon .elementor-element-c1005e0 > .elementor-container {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	align-content: flex-start !important;
	height: auto !important;
	min-height: 0 !important;
	width: 100%;
	max-width: 1140px;
	box-sizing: border-box;
}

body.xl-footer-archive-fix #colophon .elementor-element-c1005e0 > .elementor-container > .elementor-column {
	display: none !important;
}

body.xl-footer-archive-fix #colophon .xl-footer-compact-legal,
body.xl-footer-compact.xl-footer-archive-fix #colophon .xl-footer-compact-legal,
body.xl-footer-legal-fix.xl-footer-archive-fix #colophon .xl-footer-compact-legal {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	align-content: flex-start !important;
	text-align: center !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	flex: 0 0 auto !important;
	gap: 8px !important;
	box-sizing: border-box;
}

body.xl-footer-archive-fix #colophon .xl-footer-compact-legal-links,
body.xl-footer-compact.xl-footer-archive-fix #colophon .xl-footer-compact-legal-links,
body.xl-footer-legal-fix.xl-footer-archive-fix #colophon .xl-footer-compact-legal-links {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	align-items: baseline !important;
	align-content: flex-start !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	flex: 0 0 auto !important;
	flex-basis: auto !important;
	flex-grow: 0 !important;
	flex-shrink: 0 !important;
	gap: 6px 0 !important;
	box-sizing: border-box;
}

body.xl-footer-archive-fix #colophon .xl-footer-compact-legal-links a {
	white-space: nowrap;
}

body.xl-footer-archive-fix #colophon .xl-footer-compact-legal-links a:not(:last-child)::after {
	content: "·";
	display: inline-block;
	margin: 0 10px;
	color: #99A0AD;
	opacity: .75;
	pointer-events: none;
	font-weight: 400;
}

body.xl-footer-archive-fix #colophon .xl-footer-compact-legal .hfe-copyright-wrapper,
body.xl-footer-archive-fix #colophon .xl-footer-compact-legal .hfe-copyright-wrapper span {
	flex: 0 0 auto !important;
	width: 100%;
	margin: 0 !important;
	text-align: center !important;
	white-space: normal;
}

/* Original legal stacks and leftover copyright stay hidden. */
body.xl-footer-archive-fix #colophon .elementor-element-2681fc5,
body.xl-footer-archive-fix #colophon .elementor-element-f53e1b9,
body.xl-footer-archive-fix #colophon .elementor-element-a3e8967 {
	display: none !important;
}

@media (max-width: 767px) {
	body.xl-footer-archive-fix #colophon .elementor-element-c1005e0 {
		padding: 8px 20px 32px 20px !important;
	}

	body.xl-footer-archive-fix #colophon .xl-footer-compact-legal-links a {
		white-space: normal;
	}

	body.xl-footer-archive-fix #colophon .xl-footer-compact-legal-links a:not(:last-child)::after {
		margin: 0 8px;
	}
}
