/*
 * THEME PATCH P2 (register: automation/audits/THEME-PATCHES-1311.md, table «د»; spec B1-06 §2.4 / §3b step 9).
 * The theme's dotted link row (.collapse-footer-menu-inner): «المزيد» bottom row (more_footer_menu) on desktop and the
 * same row at the bottom of the mobile side menu (mobile_footer_menu). Foxiz has no spacing or dot-colour option
 * (its dot = currentcolor at .25, 10px).
 * Sherif 13/11: «الايقونه… بعيده عن الكلمه… ولازق لي… نقطه… المفروض تبقى اقرب للايقونه بتاعتها وابعد للنقطه»
 * = icon close to its own word (5px), a light-blue dot far from both neighbours (14px each side, 8px on phones).
 * Sherif 12/11 (B1-13, 562 #5 / 567): «النقط… أكبر وواضحة» = 6px, the size live today in 15934 (spec B1-13-36-1411).
 * Dark: --g-color is the light blue there, so the same token at 70% stays light blue.
 * B1-FIX-1911: the dot rules go through the theme's wrapper .collapse-footer-menu, because the theme's own
 * `.collapse-footer-menu-inner li:not(:last-child):after` (3px, currentcolor .25, margins 10px) has the same weight and
 * loads later in the merged CSS, so live showed 3px dots instead of the agreed 6px.
 * Removal condition: Foxiz adds a gap / dot colour option for this row.
 */
.collapse-footer-menu-inner {
	flex-wrap: nowrap;
	justify-content: center;
	gap: 0;
}

.collapse-footer-menu-inner li {
	white-space: nowrap;
}

.collapse-footer-menu-inner li > a > span {
	gap: 5px;
}

.collapse-footer-menu-inner .menu-item-svg {
	margin: 0;
}

.collapse-footer-menu .collapse-footer-menu-inner li:not(:last-child)::after {
	inline-size: 6px;
	block-size: 6px;
	margin-inline: 14px;
	background-color: color-mix(in srgb, var(--g-color) 55%, transparent);
	opacity: 1;
}

[data-theme="dark"] .collapse-footer-menu .collapse-footer-menu-inner li:not(:last-child)::after {
	background-color: color-mix(in srgb, var(--g-color) 70%, transparent);
}

@media (max-width: 767px) {
	.collapse-footer-menu .collapse-footer-menu-inner li:not(:last-child)::after {
		margin-inline: 8px;
	}

	.collapse-footer-menu-inner li > a > span {
		font-size: 14px;
	}
}
