/* ETW footer polish — self-sufficient dark-blue footer (Phase 2, 2026-07-14).
 * Self-contained (does NOT rely on the theme's cached dynamic CSS for colors).
 * Scope is strictly .footer-widgets — never touches header / banner / slider / copyright bar. */

/* 1) Footer widget area = brand dark blue; strip the white widget cards so the blue shows through.
 *    #site-footer prefix raises specificity above the theme's cached dynamic `.footer-widgets` rule. */
#site-footer .footer-widgets,
#site-footer .footer-widgets.light-text,
#site-footer .footer-widgets.dark-text,
#site-footer.site-footer {
	background: #1a4580 !important;
	background-color: #1a4580 !important;
}
.footer-widgets .footer-widget,
.footer-widgets .footer-widget .widget,
.footer-widgets .widget,
.footer-widgets .listing-item,
.footer-widgets .menu li,
.footer-widgets .widget_nav_menu li,
.footer-widgets li {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border-color: rgba(255,255,255,.12) !important;
}

/* 2) Widget headings: kill the grey block (it sits on span.h-text), clean gold underline, white text */
.footer-widgets .section-heading,
.footer-widgets .section-heading .h-text,
.footer-widgets .section-heading span,
.footer-widgets .widget-title,
.footer-widgets .widgettitle {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: #ffffff !important;
}
.footer-widgets .section-heading,
.footer-widgets .widget-title,
.footer-widgets .widgettitle {
	border: 0 !important;
	border-bottom: 2px solid #dbac00 !important;
	padding: 0 0 8px 0 !important;
	margin: 0 0 16px 0 !important;
}
.footer-widgets .section-heading:before,
.footer-widgets .section-heading:after,
.footer-widgets .section-heading .h-text:before,
.footer-widgets .section-heading .h-text:after {
	display: none !important;
	background: transparent !important;
}

/* 3) Newsletter "الاشتراك" button: red -> brand blue (keep the email input readable) */
.footer-widgets .newsletter-subscribe,
.footer-widgets button.newsletter-subscribe,
.footer-widgets .bs-subscribe-newsletter button {
	background: #20559e !important;
	background-color: #20559e !important;
	border-color: #20559e !important;
	color: #ffffff !important;
}
.footer-widgets .newsletter-subscribe:hover,
.footer-widgets button.newsletter-subscribe:hover {
	background-color: #163f78 !important;
}
.footer-widgets .newsletter-email,
.footer-widgets input[type="email"],
.footer-widgets input[type="text"] {
	color: #333333 !important;
	background: #ffffff !important;
}

/* 4) All footer widget text/links white/readable on the dark-blue background */
.footer-widgets,
.footer-widgets p,
.footer-widgets li,
.footer-widgets a,
.footer-widgets .menu li a,
.footer-widgets .widget_nav_menu li a,
.footer-widgets .listing-item .post-title a,
.footer-widgets .widget_text,
.footer-widgets .widget_text .textwidget,
.footer-widgets .widget_text .textwidget * {
	color: #e9eef6 !important;
}
.footer-widgets a:hover { color: #ffffff !important; }

/* 5) Risk-warning text widget: full column width, natural wrapping (no cramped 1-word lines) */
.footer-widgets .widget_text .textwidget {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	text-align: right;
	line-height: 1.9;
	word-break: normal !important;
	overflow-wrap: normal !important;
	white-space: normal !important;
}
