/* Shared footer fixes – Sreejana Medley site */

/* Elementor footer structure overrides */
.elementor-2991 .elementor-element.elementor-element-9c585b8 {
	--margin-top: 0 !important;
}

.elementor-2991 .elementor-element.elementor-element-5fda2d6 {
	--width: 100% !important;
}

.elementor-2991 .elementor-element.elementor-element-c067394 {
	--width: 100% !important;
}

.elementor-2991 .elementor-element.elementor-element-c067394:not(.elementor-motion-effects-element-type-background),
.elementor-2991 .elementor-element.elementor-element-c067394 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background-color: #fff !important;
}

.elementor-2991 .elementor-element.elementor-element-1fa4437 {
	--margin-top: 0 !important;
	--margin-bottom: 0 !important;
}

.elementor-2991 .elementor-element.elementor-element-706fedb .elementor-heading-title {
	color: #fff !important;
}

body .elementor-location-footer .elementor-element.footer.footer-blue-bg,
body .elementor-location-footer .elementor-element.footer.footer-logo-section {
	background-color: #fff !important;
}

.elementor-location-footer .footer.footer-location {
	margin-top: 0 !important;
}

.elementor-location-footer .footer.footer-copyright {
	margin: 0 auto !important;
}

.elementor-location-footer .footer.footer-blue-bg > div {
	padding-top: 0 !important;
	margin-bottom: 0 !important;
}

.elementor-element.footer.footer-location.e-con-full.e-flex.e-con.e-child > .elementor-element {
	flex: 0 0 33.33%;
	max-width: 100%;
	padding: 38px 0 0;
}

.elementor-element.footer.footer-location.e-con-full.e-flex.e-con.e-child > .medley-office-details {
	flex: 0 0 100%;
	max-width: 100%;
	padding: 0;
}

/* Footer layout & color fixes */
.elementor-location-footer > .elementor-element.footerUpper,
.elementor-location-footer > .elementor-element.footer.footer-copyright,
.elementor-location-footer > .elementor-element.footer.footer-blue-bg,
.elementor-location-footer > .elementor-element.footer.footer-logo-section,
.elementor-location-footer > .elementor-element.middleFooter {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.elementor-location-footer > .elementor-element.footerUpper,
.elementor-location-footer > .elementor-element.footer.footer-copyright {
	padding-left: var(--padding, 30px);
	padding-right: var(--padding, 30px);
}

.elementor-element.e-con-full.footerUpper.e-flex.e-con.e-parent {
	flex-direction: column !important;
	align-items: stretch;
	gap: 24px;
	flex-wrap: nowrap !important;
	background-color: var(--button-bgcolor, #004fff) !important;
}

.elementor-element.e-con-full.footerUpper.e-flex.e-con.e-parent > .elementor-element.elementor-element-295ce4d {
	flex: 0 0 100%;
	max-width: 100%;
	width: 100%;
}

.elementor-element.e-con-full.footerUpper.e-flex.e-con.e-parent p.elementor-heading-title.elementor-size-default {
	color: #fff;
}

.elementor-element.footer.footer-location.e-con-full.e-flex.e-con.e-child {
	margin-top: 0 !important;
	width: 100% !important;
}

.elementor-element.e-con-full.medley-office-details.e-flex.e-con.e-child {
	display: grid !important;
	flex-direction: unset !important;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 40px;
	row-gap: 8px;
	width: 100%;
	padding-top: 0;
}

.medley-office-details .elementor-widget-container p,
.medley-office-details .elementor-widget-container h3 {
	text-align: left;
}

.elementor-element.e-con-full.medley-office-details.e-flex.e-con.e-child > .elementor-element:nth-child(1) {
	grid-column: 1;
	grid-row: 1;
}

.elementor-element.e-con-full.medley-office-details.e-flex.e-con.e-child > .elementor-element:nth-child(2) {
	grid-column: 1;
	grid-row: 2;
}

.elementor-element.e-con-full.medley-office-details.e-flex.e-con.e-child > .elementor-element:nth-child(3) {
	grid-column: 2;
	grid-row: 1;
}

.elementor-element.e-con-full.medley-office-details.e-flex.e-con.e-child > .elementor-element:nth-child(4) {
	grid-column: 2;
	grid-row: 2;
}

.elementor-element.e-con-full.medley-office-details.e-flex.e-con.e-child > .elementor-element:nth-child(5) {
	grid-column: 3;
	grid-row: 1;
}

.elementor-element.e-con-full.medley-office-details.e-flex.e-con.e-child > .elementor-element:nth-child(6) {
	grid-column: 3;
	grid-row: 2;
}

.medley-office-details h3.elementor-heading-title,
.medley-office-details p,
.medley-office-details a,
.elementor-element.footer.footer-location.e-con-full.e-flex.e-con.e-child a {
	color: #fff !important;
}

.medley-office-details h3.elementor-heading-title {
	font-family: Outfit, sans-serif;
	font-size: 16px;
	font-weight: 500;
	margin: 0 0 10px;
	text-transform: none;
	letter-spacing: normal;
	line-height: 1.4;
}

.medley-office-details p {
	font-family: Outfit, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
	margin: 0 0 16px;
	letter-spacing: -.46px;
}

.medley-office-details a {
	text-decoration: none;
}

.medley-office-details a:hover {
	text-decoration: underline;
}

.elementor-element.footer.footer-copyright.e-con-full.e-flex.e-con.e-parent {
	margin: 0 !important;
	background-color: var(--button-bgcolor, #004fff) !important;
}

.elementor-element.footer.footer-copyright.e-con-full.e-flex.e-con.e-parent h2,
.elementor-element.footer.footer-copyright.e-con-full.e-flex.e-con.e-parent .elementor-heading-title {
	color: #fff !important;
}

.elementor-element.e-con-full.e-flex.e-con.e-parent.middleFooter {
	justify-content: space-between;
	align-items: flex-start;
	gap: 32px;
}

.elementor-element.e-con-full.e-flex.e-con.e-parent.middleFooter > div {
	flex: 0 0 auto;
	max-width: none;
	width: auto;
}

.elementor-element.e-con-full.e-flex.e-con.e-parent.middleFooter > div:last-child {
	flex: 0 0 420px;
	max-width: 420px;
	margin-left: auto;
}

.elementor-element.e-con-full.e-flex.e-con.e-parent.middleFooter .elementor-icon-list-items {
	display: flex;
	flex-direction: column;
}

.elementor-element.e-con-full.e-flex.e-con.e-parent.middleFooter .elementor-icon-list-item {
	display: block;
	width: 100%;
}

.elementor-element.footer.footer-blue-bg.e-con-full.e-flex.e-con.e-parent {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
	justify-content: space-between;
	align-items: center;
}

.elementor-location-footer .elementor-element.e-con-full.footerRtLogo.e-flex.e-con.e-child {
	justify-content: flex-end;
	align-items: center;
	gap: 48px;
}

.elementor-location-footer .elementor-element.e-con-full.footerRtLogo.e-flex.e-con.e-child > div a img {
	margin-left: 0;
}

.elementor-location-footer .elementor-element.e-con-full.e-parent.footer-logo-section {
	width: 100%;
	max-width: 100%;
	justify-content: space-between;
	align-items: center;
}

@media screen and (max-width: 1199px) {
	.elementor-element.footer.footer-location.e-con-full.e-flex.e-con.e-child > .elementor-element {
		flex: 0 0 33.33%;
		max-width: 33.33%;
		padding: 38px 0 0;
	}
}

@media screen and (max-width: 991px) {
	.elementor-element.e-con-full.medley-office-details.e-flex.e-con.e-child {
		grid-template-columns: 1fr;
		row-gap: 20px;
	}

	.elementor-element.e-con-full.medley-office-details.e-flex.e-con.e-child > .elementor-element:nth-child(n) {
		grid-column: 1;
		grid-row: auto;
	}

	.elementor-element.e-con-full.e-flex.e-con.e-parent.middleFooter > div,
	.elementor-element.e-con-full.e-flex.e-con.e-parent.middleFooter > div:last-child {
		flex: 0 0 100%;
		max-width: 100%;
		margin-left: 0;
	}
}

@media screen and (max-width: 767px) {
	.elementor-element.footer.footer-location.e-con-full.e-flex.e-con.e-child > .elementor-element,
	.elementor-element.footer.footer-location.e-con-full.e-flex.e-con.e-child > .medley-office-details {
		flex: 0 0 100%;
		max-width: 100%;
		padding: 20px 0 0;
	}

	.elementor-location-footer .elementor-element.e-con-full.footerRtLogo.e-flex.e-con.e-child {
		flex: 0 0 100%;
		max-width: 100%;
		justify-content: flex-start;
	}
}
