/**
 * IRBIB Prepared Fixes — Module 2: mobile menu.
 * Everything is inside the mobile media query, so desktop is untouched.
 *
 * v1.0.2 — based on the header block's own source (read live):
 * the menu is <aside class="irb26-drawer" id="irb26-drawer" role="dialog"
 * aria-label="منوی موبایل بانک برند">. Its background is painted by the
 * module's JavaScript (an inline !important background on the drawer),
 * because the block's own openDrawer() re-applies `background:#fff
 * !important` inline on every open and no stylesheet can outrank that.
 * This stylesheet covers the parts a stylesheet CAN win:
 *  - the section labels (.irb26-drawer-label — plain divs, grey #647392
 *    with a light divider line) become white with a translucent line;
 *  - the social row links become white so their icons stay visible on
 *    the blue panel;
 *  - a no-JS/pre-open fallback blue on the drawer itself.
 * The light cards inside (quick-access tiles, white accordions with
 * dark text) are deliberately left exactly as designed.
 */
@media (max-width: 1024px) {
	/* Fallback only — the effective paint is the module JS's inline
	   !important background (see header note). */
	#irb26-drawer,
	[role="dialog"][aria-label="منوی موبایل بانک برند"] {
		background: #0026dd !important;
		background-color: #0026dd !important;
	}

	/* Section labels («دسترسی سریع», «فهرست اصلی سایت»): white on blue. */
	#irb26-drawer .irb26-drawer-label,
	[role="dialog"][aria-label="منوی موبایل بانک برند"] .irb26-drawer-label {
		color: #ffffff !important;
	}
	#irb26-drawer .irb26-drawer-label:after,
	[role="dialog"][aria-label="منوی موبایل بانک برند"] .irb26-drawer-label:after {
		background: rgba(255, 255, 255, .35) !important;
	}

	/* Social row: keep the icons visible on the blue background. */
	#irb26-drawer .irb26-social a,
	[role="dialog"][aria-label="منوی موبایل بانک برند"] .irb26-social a {
		color: #fff !important;
	}
}
