.bpw-mm {
	--bpw-mm-accent: #C8102E;
	--bpw-mm-text: #1A1A1A;
	--bpw-mm-muted: #5F5F5F;
	--bpw-mm-line: #ECEAE6;
	--bpw-mm-soft: #F7F6F3;
	--bpw-mm-bar-h: 80px;
	position: relative;
	direction: rtl;
	text-align: right;
	font-family: inherit;
}
.bpw-mm *, .bpw-mm *::before, .bpw-mm *::after { box-sizing: border-box; }
.bpw-mm a { text-decoration: none; }

/* الشريط */
.bpw-mm__bar {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: stretch;
	justify-content: center;
	flex-wrap: nowrap;
	height: var(--bpw-mm-bar-h);
}
.bpw-mm__top { position: static; margin: 0; padding: 0; display: flex; }
.bpw-mm .bpw-mm__link {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 14px;
	color: var(--bpw-mm-text);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
	white-space: nowrap;
	border-bottom: 3px solid transparent;
	transition: color .15s ease, border-color .15s ease;
}
.bpw-mm .bpw-mm__link:hover,
.bpw-mm__top.is-open > .bpw-mm__link,
.bpw-mm__top.is-current > .bpw-mm__link { color: var(--bpw-mm-accent); }
.bpw-mm__top.is-open > .bpw-mm__link { border-bottom-color: var(--bpw-mm-accent); }
.bpw-mm .bpw-mm__link:focus-visible { outline: 2px solid var(--bpw-mm-accent); outline-offset: -4px; border-radius: 4px; }
.bpw-mm__chev { transition: transform .2s ease; flex: 0 0 auto; }
.bpw-mm__top.is-open .bpw-mm__chev { transform: rotate(180deg); }

/* اللوحة */
.bpw-mm__panel {
	position: absolute;
	top: 100%;
	z-index: 9999;
	background: #FFFFFF;
	border-radius: 0 0 14px 14px;
	box-shadow: 0 24px 48px rgba(0, 0, 0, .14);
	border-top: 1px solid var(--bpw-mm-line);
	padding: 28px;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease;
}
.bpw-mm__panel[hidden] { display: none; }
.bpw-mm__top.is-open > .bpw-mm__panel { opacity: 1; transform: none; }

/* قائمة منسدلة عادية */
.bpw-mm__top.is-simple { position: relative; }
.bpw-mm__panel--simple {
	right: 0;
	left: auto;
	width: 300px;
	padding: 10px;
	border-radius: 0 0 12px 12px;
}
.bpw-mm__panel--simple .bpw-mm__row { padding: 8px 10px; }

.bpw-mm__inner {
	display: grid;
	grid-template-columns: repeat(var(--bpw-mm-cols, 3), minmax(0, 1fr));
	gap: 28px;
}
.bpw-mm__inner--news { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
.bpw-mm__col { min-width: 0; }
.bpw-mm__label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--bpw-mm-muted);
	margin-bottom: 8px;
	padding: 0 10px;
}
.bpw-mm a.bpw-mm__label--link:hover { color: var(--bpw-mm-accent); }

.bpw-mm .bpw-mm__row {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px;
	border-radius: 8px;
	color: var(--bpw-mm-text);
	transition: background .15s ease;
}
.bpw-mm .bpw-mm__row:hover, .bpw-mm .bpw-mm__row:focus-visible { background: var(--bpw-mm-soft); color: var(--bpw-mm-text); outline: none; }
.bpw-mm__ico {
	flex: 0 0 36px;
	height: 36px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.bpw-mm__ico svg { transform: scaleX(-1); }
.bpw-mm__ico.is-red { background: #FBECEE; color: #C8102E; }
.bpw-mm__ico.is-green { background: #E6F2EA; color: #00732F; }
.bpw-mm__row-text { display: flex; flex-direction: column; min-width: 0; }
.bpw-mm__row-title { font-weight: 700; font-size: 15px; line-height: 1.5; }
.bpw-mm__row-desc { font-size: 13px; color: var(--bpw-mm-muted); line-height: 1.5; }
.bpw-mm .bpw-mm__row:hover .bpw-mm__row-title { color: var(--bpw-mm-accent); }

/* كارت مميز */
.bpw-mm .bpw-mm__card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 280px;
	border-radius: 12px;
	overflow: hidden;
	background: #8F887E;
	color: #FFFFFF;
	isolation: isolate;
}
.bpw-mm__card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	z-index: -2;
	transition: transform .4s ease;
}
.bpw-mm .bpw-mm__card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.05) 100%);
}
.bpw-mm .bpw-mm__card:hover .bpw-mm__card-img { transform: scale(1.04); }
.bpw-mm__card-body { display: flex; flex-direction: column; gap: 4px; padding: 20px; }
.bpw-mm__card-badge { align-self: flex-start; background: var(--bpw-mm-accent); color: #FFFFFF; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 3px; margin-bottom: 6px; }
.bpw-mm__card-title { font-size: 19px; font-weight: 800; line-height: 1.4; color: #FFFFFF; }
.bpw-mm__card-text { font-size: 14px; color: rgba(255,255,255,.9); }

/* لوحة الأخبار */
.bpw-mm__col--cats { display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--bpw-mm-line); padding-left: 20px; }
.bpw-mm .bpw-mm__cat {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 12px;
	border-radius: 8px;
	font-weight: 700;
	color: var(--bpw-mm-text);
}
.bpw-mm .bpw-mm__cat:hover { background: var(--bpw-mm-soft); color: var(--bpw-mm-accent); }
.bpw-mm__count { font-weight: 500; font-size: 13px; color: var(--bpw-mm-muted); background: var(--bpw-mm-soft); border-radius: 20px; padding: 0 8px; }
.bpw-mm__posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bpw-mm .bpw-mm__post { display: flex; flex-direction: column; gap: 6px; color: var(--bpw-mm-text); }
.bpw-mm__post-img { display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #D9D6D0; }
.bpw-mm__post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.bpw-mm .bpw-mm__post:hover img { transform: scale(1.04); }
.bpw-mm__post-cat { font-size: 12px; font-weight: 700; color: var(--bpw-mm-accent); }
.bpw-mm__post-title { font-weight: 700; font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bpw-mm .bpw-mm__post:hover .bpw-mm__post-title { color: var(--bpw-mm-accent); }
.bpw-mm__post-date { font-size: 12px; color: var(--bpw-mm-muted); }

/* زر الموبايل */
.bpw-mm .bpw-mm__burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--bpw-mm-text);
	cursor: pointer;
	box-shadow: none;
}
.bpw-mm .bpw-mm__burger:hover, .bpw-mm .bpw-mm__burger:focus { background: var(--bpw-mm-soft); color: var(--bpw-mm-text); }

/* قائمة الموبايل (تُنقل إلى body بالسكريبت) */
.bpw-mm__mobile {
	--bpw-mm-accent: #C8102E;
	--bpw-mm-text: #1A1A1A;
	--bpw-mm-line: #ECEAE6;
	--bpw-mm-soft: #F7F6F3;
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: #FFFFFF;
	display: flex;
	flex-direction: column;
	direction: rtl;
	text-align: right;
	font-family: inherit;
	color: var(--bpw-mm-text);
}
.bpw-mm__mobile[hidden] { display: none; }
.bpw-mm__mobile a { text-decoration: none; }
.bpw-mm__m-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--bpw-mm-line); }
.bpw-mm__m-title { font-weight: 800; font-size: 17px; }
.bpw-mm__mobile .bpw-mm__close {
	width: 44px; height: 44px; padding: 0; margin: 0; border: 0; border-radius: 50%;
	background: var(--bpw-mm-soft); color: var(--bpw-mm-text);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: none;
}
.bpw-mm__m-body { flex: 1; overflow-y: auto; padding: 4px 16px 16px; -webkit-overflow-scrolling: touch; }
.bpw-mm__mobile .bpw-mm__m-top,
.bpw-mm__mobile .bpw-mm__m-toggle {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	min-height: 52px;
	padding: 12px 0;
	margin: 0;
	border: 0;
	border-bottom: 1px solid var(--bpw-mm-line);
	border-radius: 0;
	background: transparent;
	color: var(--bpw-mm-text);
	font: inherit;
	font-weight: 700;
	font-size: 17px;
	text-align: right;
	cursor: pointer;
	box-shadow: none;
}
.bpw-mm__mobile .bpw-mm__m-toggle:hover, .bpw-mm__mobile .bpw-mm__m-toggle:focus { background: transparent; color: var(--bpw-mm-accent); }
.bpw-mm__mobile .is-current > .bpw-mm__m-toggle, .bpw-mm__mobile .bpw-mm__m-top.is-current { color: var(--bpw-mm-accent); }
.bpw-mm__mobile .bpw-mm__m-toggle[aria-expanded="true"] { color: var(--bpw-mm-accent); border-bottom-color: transparent; }
.bpw-mm__mobile .bpw-mm__m-toggle[aria-expanded="true"] .bpw-mm__chev { transform: rotate(180deg); }
.bpw-mm__m-sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 4px 0 14px; border-bottom: 1px solid var(--bpw-mm-line); }
.bpw-mm__m-sub[hidden] { display: none; }
.bpw-mm__mobile .bpw-mm__m-link {
	display: flex; align-items: center; min-height: 44px;
	background: var(--bpw-mm-soft); border-radius: 8px; padding: 10px 12px;
	font-size: 14px; font-weight: 600; color: var(--bpw-mm-text); line-height: 1.4;
}
.bpw-mm__mobile .bpw-mm__m-link--main { grid-column: 1 / -1; background: transparent; border: 1px solid var(--bpw-mm-line); }
.bpw-mm__m-foot { padding: 14px 16px; border-top: 1px solid var(--bpw-mm-line); display: flex; flex-direction: column; gap: 8px; }
.bpw-mm__mobile .bpw-mm__m-cta { text-align: center; background: var(--bpw-mm-accent); color: #FFFFFF; padding: 13px; border-radius: 8px; font-weight: 700; }
.bpw-mm__m-contact { text-align: center; font-size: 13px; color: #5F5F5F; direction: ltr; }
body.bpw-mm-lock { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	.bpw-mm__panel, .bpw-mm__chev, .bpw-mm__card-img, .bpw-mm__post-img img { transition: none; }
}
