/* ========================================================================
   Healthcare DME footer
   A compact, responsive presentation for Avada's existing footer widgets.
   ===================================================================== */

.hdme-scope .fusion-footer-widget-area {
	position: relative;
	padding: 1.75rem 0 1.25rem !important;
	border-top: 5px solid var(--hdme-blue-500);
	background:
		radial-gradient(circle at 82% 12%, rgba(54, 110, 183, 0.2), transparent 30%),
		linear-gradient(145deg, #111b27 0%, #0b131d 100%) !important;
}

.hdme-scope .fusion-footer-widget-area::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.025), transparent);
}

.hdme-scope .fusion-footer-widget-area > .fusion-row {
	position: relative;
	width: min(1180px, calc(100% - 40px));
	max-width: 1180px;
	margin-inline: auto;
}

.hdme-scope .fusion-footer-widget-area .fusion-columns {
	display: grid !important;
	grid-template-columns: minmax(250px, 1.15fr) minmax(220px, 1fr) minmax(260px, 1.1fr) minmax(190px, 0.8fr);
	gap: clamp(1rem, 2vw, 1.75rem);
	align-items: start;
	width: 100% !important;
	margin: 0 !important;
}

.hdme-scope .fusion-footer-widget-area .fusion-column {
	float: none !important;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
}

.hdme-scope .fusion-footer-widget-area .widget {
	margin: 0 0 var(--hdme-space-3) !important;
}

.hdme-scope .fusion-footer-widget-area .widget-title,
.hdme-scope .fusion-footer-widget-area h3,
.hdme-scope .fusion-footer-widget-area h4 {
	position: relative;
	margin: 0 0 12px !important;
	padding-bottom: 8px;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: var(--hdme-weight-bold);
	letter-spacing: 0.07em;
	line-height: 1.3;
	text-align: left;
	text-transform: uppercase;
}

.hdme-scope .fusion-footer-widget-area .widget-title::after,
.hdme-scope .fusion-footer-widget-area h3::after,
.hdme-scope .fusion-footer-widget-area h4::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 42px;
	height: 3px;
	border-radius: 3px;
	background: var(--hdme-blue-400);
}

.hdme-scope .fusion-footer-widget-area p {
	margin: 0 0 0.55rem;
	font-size: 0.9rem;
	line-height: 1.45;
	text-align: left;
}

.hdme-scope .fusion-footer-widget-area ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hdme-scope .fusion-footer-widget-area .widget_nav_menu ul.menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 5px 8px;
}

.hdme-scope .fusion-footer-widget-area .widget_nav_menu li {
	min-width: 0;
	padding: 0 !important;
	border: 0 !important;
}

.hdme-scope .fusion-footer-widget-area .widget_nav_menu li a {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 36px;
	padding: 5px 8px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: var(--hdme-radius);
	background: rgba(255, 255, 255, 0.035);
	font-size: 0.84rem;
	line-height: 1.3;
	text-align: left;
	text-decoration: none !important;
	overflow: hidden;
	transition: background-color var(--hdme-transition), border-color var(--hdme-transition), transform var(--hdme-transition);
}

.hdme-scope .fusion-footer-widget-area .widget_nav_menu li::before {
	display: none !important;
	content: none !important;
}

.hdme-scope .fusion-footer-widget-area .widget_nav_menu li a::before {
	content: "\203A";
	position: static !important;
	inset: auto !important;
	transform: none !important;
	flex: 0 0 auto;
	width: 12px;
	height: auto;
	margin: 0 6px 0 0 !important;
	color: #7db7f2;
	font-size: 1.15em;
	font-weight: 700;
	line-height: 1;
	text-align: center;
}

.hdme-scope .fusion-footer-widget-area .widget_nav_menu li a:hover,
.hdme-scope .fusion-footer-widget-area .widget_nav_menu li a:focus-visible {
	border-color: rgba(125, 183, 242, 0.5);
	background: rgba(54, 110, 183, 0.22);
	color: #fff;
	transform: translateY(-1px);
}

.hdme-scope .fusion-footer-widget-area iframe {
	display: block;
	width: 100% !important;
	max-width: 100%;
	border: 1px solid rgba(255, 255, 255, 0.14) !important;
	border-radius: var(--hdme-radius-lg);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.hdme-scope .fusion-footer-widget-area .hdme-footer-map {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hdme-scope .fusion-footer-widget-area .hdme-footer-google-review {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
}

.hdme-scope .fusion-footer-widget-area .hdme-footer-google-review picture {
	display: block;
}

.hdme-scope .fusion-footer-widget-area .hdme-footer-google-review img {
	display: block;
	max-width: min(100%, 155px);
	max-height: 82px;
	width: auto;
	height: auto;
	margin: 0 auto !important;
	object-fit: contain;
}

.hdme-scope .fusion-footer-widget-area .hdme-footer-payments {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
}

.hdme-scope .fusion-footer-widget-area .hdme-footer-payments > p {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
	margin: 0 !important;
	text-align: center;
}

.hdme-scope .fusion-footer-widget-area .hdme-footer-payments picture {
	display: block;
}

.hdme-scope .fusion-footer-widget-area .hdme-footer-payments img {
	display: block;
	max-width: min(100%, 132px);
	max-height: 58px;
	width: auto;
	height: auto;
	margin: 0 auto !important;
	object-fit: contain;
}

.hdme-scope .fusion-footer-widget-area .hdme-footer-payments > p > br {
	display: none;
}

.hdme-scope .fusion-footer-widget-area .hdme-footer-payments > p:last-child > a:last-child {
	margin-top: 6px;
	font-size: 0.66rem;
	line-height: 1.35;
	text-align: center;
}

.hdme-scope .fusion-footer-copyright-area {
	padding: 15px 0 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: #070d14 !important;
}

.hdme-scope .fusion-footer-copyright-area .fusion-row {
	width: min(1180px, calc(100% - 40px));
	max-width: 1180px;
	margin-inline: auto;
}

.hdme-scope .fusion-copyright-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 34px;
}

.hdme-scope .fusion-copyright-notice,
.hdme-scope .fusion-copyright-notice p {
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.5;
}

.hdme-scope .fusion-footer-copyright-area .fusion-social-links-footer {
	margin: 0;
	white-space: nowrap;
}

@media (max-width: 1023px) {
	.hdme-scope .fusion-footer-widget-area .fusion-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem 1.5rem;
	}

	.hdme-scope .fusion-footer-widget-area .fusion-column {
		padding-bottom: 1rem !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
}

@media (max-width: 640px) {
	.hdme-scope .fusion-footer-widget-area {
		padding-block: 1.4rem 1rem !important;
	}

	.hdme-scope .fusion-footer-widget-area > .fusion-row,
	.hdme-scope .fusion-footer-copyright-area .fusion-row {
		width: min(100% - 28px, 1180px);
	}

	.hdme-scope .fusion-footer-widget-area .fusion-columns {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}

	.hdme-scope .fusion-footer-widget-area .fusion-column {
		padding-bottom: 0.9rem !important;
	}

	.hdme-scope .fusion-footer-widget-area .widget_nav_menu ul.menu {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hdme-scope .fusion-footer-widget-area .widget-title,
	.hdme-scope .fusion-footer-widget-area h3,
	.hdme-scope .fusion-footer-widget-area h4,
	.hdme-scope .fusion-footer-widget-area p {
		text-align: left;
	}

	.hdme-scope .fusion-footer-widget-area iframe {
		height: 165px !important;
	}

	.hdme-scope .fusion-footer-widget-area .hdme-footer-google-review img {
		max-width: 140px;
		max-height: 75px;
	}

	.hdme-scope .fusion-footer-widget-area .hdme-footer-payments {
		gap: 8px;
	}

	.hdme-scope .fusion-copyright-content {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 360px) {
	.hdme-scope .fusion-footer-widget-area .widget_nav_menu ul.menu {
		grid-template-columns: minmax(0, 1fr);
	}
}
