/* ===============================
   EASYMATHS LEGAL FOOTER
=============================== */

.em-legal-footer{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	align-items:center;
	gap:8px 22px;
	margin:0 auto;
	padding:18px 20px 10px;
	max-width:900px;
	font-size:14px;
	line-height:1.4;
	text-align:center;
}

.em-legal-footer a{
	color:#64748b;
	text-decoration:none;
	font-weight:500;
}

.em-legal-footer a:hover{
	color:#0f172a;
	text-decoration:underline;
}

/* Tighten Astra footer widget row containing legal links */
.ast-footer-copyright,
.site-below-footer-wrap,
.site-primary-footer-wrap,
.site-above-footer-wrap{
	padding-top:12px !important;
	padding-bottom:12px !important;
}

.footer-widget-area[data-section="section-footer-menu"],
.footer-widget-area[data-section="sidebar-widgets-footer-widget-1"],
.footer-widget-area{
	margin-top:0 !important;
	margin-bottom:0 !important;
	padding-top:0 !important;
	padding-bottom:0 !important;
}

.em-legal-footer{
	margin:0 auto !important;
	padding:10px 20px !important;
	min-height:0 !important;
}

.em-legal-footer{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	align-items:center;
	gap:6px 22px;
	margin:0 auto !important;
	padding:6px 20px !important;
	max-width:900px;
	font-size:13px;
	line-height:1.35;
	text-align:center;
}

.em-legal-footer a{
	color:#64748b;
	text-decoration:none;
	font-weight:500;
}

.em-legal-footer a:hover{
	color:#0f172a;
	text-decoration:underline;
}

/* Reduce Astra footer row height */
.site-above-footer-wrap,
.site-primary-footer-wrap,
.site-below-footer-wrap{
	padding-top:8px !important;
	padding-bottom:8px !important;
}

.site-footer-section{
	margin-top:0 !important;
	margin-bottom:0 !important;
	padding-top:0 !important;
	padding-bottom:0 !important;
}
/* ===============================
   CONSENT BLOCK
=============================== */

.em-form-consent{
	margin-top:20px;
	padding:16px;
	border:1px solid #e5e7eb;
	border-radius:16px;
	background:#f8fafc;
	font-size:14px;
	color:#334155;
}

.em-consent-check{
	display:flex;
	align-items:flex-start;
	gap:10px;
	margin-bottom:12px;
	line-height:1.5;
}

.em-consent-check input{
	margin-top:3px;
	flex-shrink:0;
}

.em-consent-check a{
	color:#2563eb;
	text-decoration:none;
	font-weight:600;
}

.em-consent-check a:hover{
	text-decoration:underline;
}

.em-consent-note{
	margin:10px 0 14px;
	font-size:13px;
	color:#64748b;
}