/* Muslimi – RTL donation landing (Humaniti × Muslimi, Palestine). */
:root {
	--mu-black: #000;
	--mu-dark: #2d2d2d;
	--mu-text: #2d2d2d;
	--mu-blue: #1c41cc;
	--mu-navy: #1f4999;
	--mu-red: #ee3424;
	--mu-red-dark: #d52a1b;
	--mu-yellow: #ffe300;
	--mu-green: #42b99f;
	--mu-orange: #f08a24;
	--mu-form-blue: #4a7be0;
	--mu-form-tint: #edf2fd;
	--mu-radius: 12px;
	--mu-font: "Rubik", "Raleway", "Poppins", Tahoma, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--mu-font);
	color: var(--mu-text);
	background: #fff;
	direction: rtl;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
body.mu-modal-open { overflow: hidden; }

.mu-wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.mu-wrap--narrow { max-width: 900px; }

/* Buttons */
.mu-btn {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--mu-font); font-weight: 700; text-decoration: none; text-align: center;
	border: 0; cursor: pointer; transition: transform .15s ease, filter .15s ease, background-color .15s ease;
	line-height: 1.2;
}
.mu-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.mu-btn--blue { background: var(--mu-blue); color: #fff; font-size: 16px; padding: 11px 20px; border-radius: 5px; }
.mu-btn--red { background: var(--mu-red); color: #fff; font-size: 24px; padding: 18px 24px; border-radius: 999px; }
.mu-btn--white { background: #fff; color: #1f4999; font-size: 24px; border-radius: 999px; }
.mu-btn--xl { min-height: 74px; padding: 18px 24px; }
.mu-btn--block { display: flex; width: 100%; }
.mu-btn--sm { font-size: 16px; padding: 12px 16px; border-radius: 6px; }

/* Header */
.mu-header { background: var(--mu-black); position: sticky; top: 0; z-index: 50; }
.mu-header__row { display: flex; align-items: center; justify-content: space-between; height: 100px; direction: ltr; }
.mu-header__logo img { width: 200px; height: auto; }
.admin-bar .mu-header { top: 32px; }

/* Hero */
.mu-hero {
	background: #2d2d2d var(--hero-bg) center top / cover no-repeat;
	color: #fff; text-align: center; padding: 30px 0 80px;
}
.mu-hero__inner { display: flex; flex-direction: column; align-items: center; }
.mu-hero__logo { width: 200px; margin-bottom: 35px; }
.mu-hero__title { font-size: 42px; font-weight: 500; line-height: 1.38; margin: 0 0 10px; max-width: 1062px; }
.mu-hero__sub { color: var(--mu-yellow); font-size: 28px; font-weight: 500; line-height: 1.35; margin: 0 0 30px; max-width: 1062px; }
.mu-video { position: relative; width: 100%; aspect-ratio: 2 / 1; background: #000; }
.mu-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.mu-goal { width: 100%; max-width: 1020px; margin: 30px auto 0; }
.mu-goal__meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 0 0 10px; }
.mu-goal__raised { font-size: 28px; font-weight: 600; line-height: 1.2; }
.mu-goal__target { font-size: 18px; font-weight: 400; }
.mu-goal__bar { position: relative; height: 20px; background: #fff; border: 1px solid #86c38a; border-radius: 999px; overflow: hidden; }
.mu-goal__fill { position: absolute; top: 0; bottom: 0; right: 0; width: var(--pct, 0%); background: #86c38a; border-radius: 0 999px 999px 0; }
.mu-goal__pct { position: absolute; top: 50%; right: calc(var(--pct, 0%) + 6px); transform: translateY(-50%); font-style: normal; font-size: 13px; line-height: 1; color: #222; direction: ltr; }
.mu-hero__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; width: calc(100% + 120px); max-width: 1180px; margin-top: 38px; }
.mu-hero__pay { width: 250px; margin: 35px auto 15px; }
.mu-trust { list-style: none; padding: 0; margin: 0 0 15px; font-size: 18px; font-weight: 500; }
.mu-trust li { margin: 4px 0; }
.mu-trust li::before {
	content: "✓"; display: inline-flex; align-items: center; justify-content: center;
	width: 18px; height: 18px; margin-left: 7px; border-radius: 50%; background: #fff; color: #2d2d2d; font-size: 12px; font-weight: 700; vertical-align: 1px;
}
.mu-hero__legal { font-size: 18px; font-weight: 500; margin: 10px 0 0; }
.mu-orange { color: var(--mu-orange); }

/* Main column + sidebar */
.mu-body { background: rgb(47, 47, 47) var(--body-bg) center top / cover no-repeat; padding: 40px 0 100px; }
.mu-body__row { display: grid; grid-template-columns: minmax(0, 1fr) 333px; gap: 40px; align-items: start; }
.mu-card { background: #fff; border-radius: 10px; }
.mu-content { padding: 40px 30px 25px; }
.mu-text { font-weight: 500; line-height: 1.55; text-align: right; margin-top: 20px; color: var(--mu-text); }
.mu-text:first-child { margin-top: 0; }
.mu-text b, .mu-text strong { font-weight: 700; }
.mu-text div { min-height: 0; }
.mu-img { margin: 20px 0 0; }
.mu-img img { width: 100%; border: 1px solid #eee; }
.mu-btn-wrap { margin: 20px 0 0; }
.mu-content .mu-btn--red { font-size: 24px; min-height: 64px; }

.mu-side { display: flex; flex-direction: column; gap: 40px; align-self: stretch; }
.mu-side .mu-widget:last-child { position: sticky; top: 120px; }
.mu-widget { background: #fff; border-radius: 22px; padding: 36px 24px 28px; box-shadow: 0 6px 24px rgba(0, 0, 0, .12); }
.mu-widget__title { font-size: 24px; font-weight: 400; text-align: center; margin: 0 0 30px; color: #111; }
.mu-widget__empty { text-align: center; color: #666; margin: 10px 0 20px; }
.mu-donors { list-style: none; margin: 0 0 30px; padding: 0; }
.mu-donors li { margin: 0 0 36px; font-size: 14px; }
.mu-donors li:last-child { margin-bottom: 0; }
.mu-donors p { margin: 0; }
.mu-donors__line { font-size: 15px; color: #111; line-height: 1.5; }
.mu-donors__line strong { font-weight: 700; }
.mu-donors__amt { color: #4a95ef; font-weight: 700; }
.mu-donors__place { font-size: 13px; color: #111; margin-top: 8px !important; display: flex; align-items: center; gap: 6px; }
.mu-donors__place span { order: 0; }
.mu-flag { width: 18px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.mu-donors__time { font-size: 13px; color: #777; margin-top: 6px !important; }
.mu-donors__comment { font-size: 13px; color: #111; margin-top: 6px !important; }
/* Recent donations ticker: 5-item window, list slides up on entrance (like the Fundraise Up widget). */
.mu-ticker { position: relative; overflow: hidden; max-height: 560px; margin-bottom: 30px; }
.mu-ticker .mu-donors { margin: 0; will-change: transform; }
.mu-ticker.is-animating .mu-donors { transition: transform .6s cubic-bezier(.25, .8, .25, 1); }
.mu-ticker .mu-donors li { padding-bottom: 36px; margin: 0; transition: opacity .6s ease; }
.mu-ticker .mu-donors li.is-hidden { opacity: 0; }
.mu-donors--ranked { counter-reset: rank; }
.mu-donors--ranked li { counter-increment: rank; position: relative; padding-right: 32px; }
.mu-donors--ranked li::before { content: counter(rank); position: absolute; right: 2px; top: 0; font-size: 15px; color: #111; }
.mu-widget .mu-btn--sm { border-radius: 6px; padding: 16px; font-size: 16px; font-weight: 500; box-shadow: 0 3px 6px rgba(0, 0, 0, .2); }

/* Issuu report */
.mu-report { padding: 40px 0; background: #fff; }
.mu-report__frame { position: relative; aspect-ratio: 5 / 3; margin-bottom: 30px; }
.mu-report__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* FAQ */
.mu-faq { padding: 40px 0 60px; background: #fff; }
.mu-faq__title { font-size: 42px; font-weight: 500; text-align: center; color: rgb(47, 47, 47); margin: 0 0 40px; }
.mu-faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; max-width: 1040px; margin: 0 auto; align-items: start; }
.mu-faq__item { background: var(--mu-green); border-radius: 3px; box-shadow: 0 2px 5px rgba(0, 0, 0, .15); }
.mu-faq__item summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 15px;
	padding: 15px 15px; min-height: 60px; font-size: 22px; font-weight: 500; color: #111;
}
.mu-faq__item summary::-webkit-details-marker { display: none; }
.mu-faq__icon { font-size: 22px; font-weight: 700; line-height: 1; transition: transform .2s; flex: none; }
.mu-faq__item[open] .mu-faq__icon { transform: rotate(45deg); }
.mu-faq__a { background: #fff; color: rgb(96, 96, 96); font-size: 20px; padding: 18px 20px; line-height: 1.6; }
.mu-faq__a a { color: var(--mu-navy); }

/* Footer */
.mu-footer { background: #2d2d2d; color: #fff; text-align: center; padding: 70px 0 40px; }
.mu-footer__logo { margin: 0 auto 18px; width: 90px; }
.mu-footer__copy { margin: 0 0 10px; font-size: 14px; }
.mu-footer__links { display: flex; justify-content: center; gap: 22px; margin: 0; font-size: 14px; }
.mu-footer__links a { text-decoration: none; }
.mu-footer__links a:hover { text-decoration: underline; }

/* Donation modal (Fundraise Up style) */
.mu-modal { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 16px; overflow: auto; }
.mu-modal[hidden] { display: none; }
.mu-modal__backdrop { position: fixed; inset: 0; background: rgba(15, 18, 30, .72); backdrop-filter: blur(2px); }
.mu-modal__close { position: fixed; top: 16px; left: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: #333; font-size: 24px; line-height: 1; cursor: pointer; z-index: 2; }
.mu-modal__dialog { position: relative; display: flex; direction: ltr; gap: 20px; max-width: 870px; width: 100%; align-items: stretch; }
.mu-modal__form, .mu-modal__story { direction: rtl; }
.mu-modal__form { background: #fff; border-radius: 16px; width: 350px; flex: none; padding: 26px 30px; }
.mu-modal__story { background: #fff; border-radius: 16px; overflow: hidden; flex: 1; display: flex; flex-direction: column; }
.mu-modal__cover { width: 100%; aspect-ratio: 1032 / 577; object-fit: cover; }
.mu-modal__body { padding: 20px 26px; display: flex; flex-direction: column; flex: 1; }
.mu-modal__brands { height: 44px; width: auto; margin: 0 0 16px auto; margin-inline: 0 auto; align-self: flex-start; }
.mu-modal__body h3 { font-size: 22px; margin: 0 0 12px; }
.mu-modal__body p { font-size: 15px; line-height: 1.7; margin: 0 0 20px; color: #333; }
.mu-modal__manage { margin-top: auto; font-size: 12px; color: #555; }
.mu-modal__foot { position: relative; display: flex; gap: 20px; justify-content: center; font-size: 12px; margin: 14px 0 0; }
.mu-modal__foot a { color: #ddd; }

/* Donation form */
.mu-form { font-size: 15px; color: #1d1d1f; }
.mu-form__head { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 20px; font-weight: 600; margin-bottom: 22px; }
.mu-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #d5d8de; border-radius: 8px; margin-bottom: 14px; }
.mu-tab { background: #fff; border: 2px solid transparent; border-radius: 7px; padding: 10px; font: 500 15px var(--mu-font); cursor: pointer; color: #222; }
.mu-tab.is-active { background: var(--mu-form-tint); border-color: var(--mu-form-blue); }
.mu-heart { color: #e8457a; }
.mu-list { border: 1px solid #d5d8de; border-radius: 8px; }
.mu-list__item { position: relative; display: block; padding: 12px 14px; cursor: pointer; border-bottom: 1px solid #e3e5ea; }
.mu-list__item:last-child { border-bottom: 0; }
.mu-list__item input { position: absolute; opacity: 0; pointer-events: none; }
.mu-list__amount { display: block; font-weight: 600; font-size: 16px; direction: ltr; text-align: right; }
.mu-list__impact { display: block; font-size: 13px; color: #333; margin-top: 2px; }
.mu-list__item:has(input:checked) { background: var(--mu-form-tint); outline: 2px solid var(--mu-form-blue); border-radius: 8px; z-index: 1; }
.mu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.mu-chip { border: 1px solid #d5d8de; background: #fff; border-radius: 8px; padding: 12px 6px; font: 500 15px var(--mu-font); cursor: pointer; }
.mu-chip.is-active { background: var(--mu-form-tint); border: 2px solid var(--mu-form-blue); }
.mu-amount { display: flex; align-items: center; border: 1px solid #d5d8de; border-radius: 8px; margin-top: 12px; padding: 0 14px; }
.mu-amount[hidden] { display: none; }
.mu-amount input { flex: 1; border: 0; font: 600 22px var(--mu-font); padding: 12px 0; outline: none; background: transparent; min-width: 0; }
.mu-amount__cur { color: #666; font-size: 13px; }
.mu-select { display: block; position: relative; border: 1px solid #d5d8de; border-radius: 8px; padding: 6px 14px 4px; margin-top: 14px; }
.mu-select__label { display: block; font-size: 11px; color: #666; }
.mu-select select { width: 100%; border: 0; background: transparent; font: 500 15px var(--mu-font); padding: 2px 0 6px; outline: none; cursor: pointer; }
.mu-check { display: flex; align-items: center; gap: 8px; margin: 14px 0 6px; cursor: pointer; font-size: 14px; }
.mu-check input { width: 18px; height: 18px; accent-color: var(--mu-form-blue); }
.mu-extra { margin: 6px 0 8px; }
.mu-extra input, .mu-extra textarea { width: 100%; border: 1px solid #d5d8de; border-radius: 8px; padding: 10px 12px; font: 14px var(--mu-font); }
.mu-link { display: block; background: none; border: 0; padding: 0; margin: 24px 0 14px; text-decoration: underline; font: 13px var(--mu-font); cursor: pointer; color: #222; }
.mu-submit { width: 100%; border: 0; border-radius: 8px; background: var(--mu-form-blue); color: #fff; font: 500 16px var(--mu-font); padding: 15px; cursor: pointer; }
.mu-submit:hover { background: #3a69cc; }
.mu-form-card { max-width: 380px; border: 1px solid #e3e5ea; border-radius: 16px; padding: 24px; margin: 20px 0; }

/* Inner pages / WooCommerce */
.mu-page { background: #f4f5f8; padding: 50px 0 80px; min-height: 60vh; }
.mu-entry { padding: 36px 40px; }
.mu-entry__title { font-size: 32px; margin: 0 0 24px; }
.woocommerce .button, .woocommerce button.button, .woocommerce #respond input#submit, .woocommerce a.button {
	background: var(--mu-red); color: #fff; border-radius: 999px; font-family: var(--mu-font); font-weight: 700; padding: 14px 26px;
}
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order { background: var(--mu-form-blue); border-radius: 8px; width: 100%; font-size: 18px; padding: 16px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	border: 1px solid #d5d8de; border-radius: 8px; padding: 11px 12px; font-family: var(--mu-font);
}
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { float: none; width: 100%; }
.woocommerce table.shop_table { border-radius: 10px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 18px; }
.mu-price-note { color: #2f7ce0; font-weight: 600; }
.woocommerce-info, .woocommerce-message { border-top-color: var(--mu-navy); }

/* Responsive */
@media (max-width: 991px) {
	.mu-body__row { grid-template-columns: 1fr; }
	.mu-side .mu-widget:last-child { position: static; }
}
@media (max-width: 767px) {
	.mu-wrap { padding: 0 16px; }
	.mu-header__row { height: 70px; }
	.mu-header__logo img { width: 140px; }
	.mu-hero__title { font-size: 26px; }
	.mu-hero__sub { font-size: 18px; }
	.mu-hero__ctas { grid-template-columns: 1fr; gap: 14px; width: 100%; }
	.mu-goal__raised { font-size: 20px; }
	.mu-goal__target { font-size: 14px; }
	.mu-btn--xl, .mu-btn--red, .mu-btn--white { font-size: 20px; }
	.mu-hero__legal, .mu-trust { font-size: 15px; }
	.mu-content { padding: 24px 16px; }
	.mu-text { font-size: 18px !important; }
	.mu-faq__title { font-size: 32px; }
	.mu-faq__grid { grid-template-columns: 1fr; }
	.mu-faq__item summary { font-size: 18px; }
	.mu-faq__a { font-size: 16px; }
	.mu-modal { justify-content: flex-start; }
	.mu-modal__dialog { flex-direction: column; }
	.mu-modal__form { width: 100%; padding: 22px 18px; }
	.mu-modal__story { display: none; }
	.mu-entry { padding: 24px 18px; }
	.admin-bar .mu-header { top: 0; }
}
