/* Static mirror fixes */
[hidden] { display: none !important; }
template { display: none !important; }
div[hidden] { display: none !important; }
main { display: block; flex: 1 1 auto; }
footer { position: relative; z-index: 1; clear: both; }
body { min-height: 100vh; display: flex; flex-direction: column; }
header.sticky, nav.sticky { display: block; }

/* Hide React hydration skeletons (removed by assets/js/static-fix.js; belt-and-braces) */
main > .flex.min-h-\[60vh\] .animate-spin { display: none !important; }
main ul:has(.animate-pulse):not(:has(a[href])) { display: none !important; }
section.bg-gradient-to-b:has(.animate-pulse):not(:has(a[href], img[src])) { display: none !important; }
div.sticky.bottom-0:has(.animate-pulse):not(:has(form, img[src], a[href])) { display: none !important; }

/* Campaign detail: keep support form and Recent supporters as separate stacked blocks */
.order-2 .space-y-5.lg\:sticky {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-self: flex-start;
  max-height: calc(100vh - 6rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.order-2 .space-y-5.lg\:sticky > .rounded-xl.border {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  background: #fff;
}
.order-2 .hidden.pt-3.lg\:block,
[data-ou-recent-supporters="1"] {
  position: relative;
  z-index: 0;
  flex-shrink: 0;
  overflow: hidden;
  background: #fff;
}
/* Keep the recent-row highlight behind name/amount (not covering them). */
[data-ou-recent-supporters="1"] .group.relative {
  isolation: isolate;
}
[data-ou-recent-supporters="1"] .group.relative > .absolute {
  z-index: -1;
}
[data-ou-recent-supporters="1"] .group.relative > .flex {
  position: relative;
  z-index: 1;
}

/* Carousel track motion */
[role="region"][aria-roledescription="carousel"] .overflow-hidden > .flex {
  display: flex !important;
  transition: transform 0.45s ease;
}

/* Desktop appeals row: equal-height cards in the grid */
#appeals-list [data-ou-appeals-grid],
#appeals .ou-home-appeals-grid {
  align-items: start !important;
}
#appeals-list [data-ou-appeals-grid] > [data-ou-appeal-card],
#appeals [class*="grid-cols-3"] > .relative.rounded-2xl,
#appeals [class*="grid-cols-2"] > .relative.rounded-2xl,
#appeals .ou-home-appeals-grid > .w-full:not(.ou-carousel-hide),
#appeals .ou-home-appeals-grid > .relative.rounded-2xl:not(.ou-carousel-hide) {
  display: flex !important;
  flex-direction: column !important;
  align-self: start !important;
  height: auto !important;
  min-height: 0;
}
#appeals .ou-home-appeals-grid > .ou-carousel-hide,
#appeals-list [data-ou-appeals-grid] > .ou-carousel-hide,
#appeals-list [data-ou-appeals-grid] > [data-ou-appeal-card].ou-filter-hide {
  display: none !important;
}
#appeals .ou-home-appeals-grid > .w-full > .drop-shadow-ou {
  display: flex !important;
  flex-direction: column !important;
  flex: 0 1 auto;
  height: auto !important;
  min-height: 0;
}
#appeals-list [data-ou-appeal-card] > .ou-appeal-card__body,
#appeals .drop-shadow-ou > .ou-appeal-card__body {
  display: flex !important;
  flex-direction: column !important;
  flex: 0 1 auto !important;
}
#appeals-list [data-ou-appeal-card] > .ou-appeal-card__media,
#appeals .drop-shadow-ou > .ou-appeal-card__media {
  aspect-ratio: 3 / 2 !important;
  flex-shrink: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}
#appeals-list [data-ou-appeal-card] .ou-appeal-card__excerpt,
#appeals .drop-shadow-ou .ou-appeal-card__excerpt {
  height: auto !important;
  min-height: 0 !important;
  max-height: 4.5rem !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
#appeals-list [data-ou-appeal-card] .ou-appeal-card__cta,
#appeals .drop-shadow-ou .ou-appeal-card__cta {
  margin-top: 1rem !important;
  padding-top: 0 !important;
}

/*
 * Homepage #appeals — match One Ummah original layout.
 * Tailwind bundle is missing xl:block / lg:grid / lg:hidden / xl:mt-24 / xl:gap-x-16,
 * so those utilities are forced here.
 */
#appeals .ou-home-appeals-desktop {
  display: none !important;
}
#appeals .ou-home-appeals-mobile {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1.25rem 0;
}
@media (min-width: 1280px) {
  #appeals .ou-home-appeals-desktop {
    display: block !important;
  }
  #appeals .ou-home-appeals-desktop .hidden.xl\:block,
  #appeals .ou-home-appeals-desktop [class*="xl:block"] {
    display: block !important;
  }
  #appeals .ou-home-appeals-mobile {
    display: none !important;
  }
}
#appeals .ou-home-appeals-desktop > .hidden.xl\:block > .relative.mx-auto.flex,
#appeals .ou-home-appeals-desktop .relative.mx-auto.flex.justify-center {
  align-items: center !important;
}
#appeals .ou-home-appeals-desktop button[aria-label="previous"],
#appeals .ou-home-appeals-desktop button[aria-label="next"] {
  align-self: center !important;
  flex-shrink: 0;
}
#appeals .ou-home-appeals-grid {
  display: grid !important;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1.5rem;
  align-items: start !important;
}
@media (min-width: 1280px) {
  #appeals .ou-home-appeals-grid {
    column-gap: 4rem;
  }
  #appeals .ou-home-appeals-grid > [class*="xl:mt-24"]:not(.ou-carousel-hide) {
    margin-top: 6rem;
  }
}

/* Campaign/appeal cards: soft OU shadow via box-shadow (filter breaks equal-height stretch) */
main .drop-shadow-ou {
  border-radius: 1rem;
  background-color: #fff;
  filter: none;
  box-shadow: 0 0 10px rgba(56, 24, 48, 0.08);
}
main .drop-shadow-ou > div[class*="aspect-"][class*="w-full"],
main .drop-shadow-ou > .ou-appeal-card__media {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 1rem 1rem 0 0 !important;
  aspect-ratio: 3 / 2;
}
main .drop-shadow-ou > div[class*="aspect-"][class*="w-full"] img,
main .drop-shadow-ou > .ou-appeal-card__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Appeals listing Donate button — white chip + soft shadow like One Ummah */
#appeals-list [data-ou-appeal-card] a.bg-background,
#appeals [class*="drop-shadow-ou"] a.bg-background {
  background-color: #fff !important;
  color: var(--im-accent-text) !important;
  border: 0;
  border-radius: 0.375rem;
  box-shadow: 0 0 10px rgba(56, 24, 48, 0.08);
  filter: none !important;
  font-weight: 600;
}
#appeals-list [data-ou-appeal-card] a.bg-background:hover,
#appeals [class*="drop-shadow-ou"] a.bg-background:hover {
  background-color: #f8fafc !important;
  color: var(--im-secondary) !important;
}

/* Appeals archive: full-width 3-column grid */
#appeals-list [class*="xl:grid-cols-3"] {
  display: grid !important;
  width: 100%;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 640px) {
  #appeals-list [class*="sm:grid-cols-2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  #appeals-list [class*="xl:grid-cols-3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  #appeals-list [class*="md:gap-16"] {
    gap: 4rem !important;
  }
}
#appeals-list .mx-auto.flex.flex-col.lg\:flex-row {
  flex-direction: column !important;
  width: 100%;
}

/* Appeals archive filters — match One Ummah combobox look */
#appeals-list #filters select {
  color: #111827;
  background-color: #fff;
  padding-right: 2rem;
  cursor: pointer;
}
html[dir="rtl"] #appeals-list #filters select {
  padding-right: 0.75rem;
  padding-left: 2rem;
}
html[dir="rtl"] #appeals-list #filters svg.pointer-events-none {
  right: auto;
  left: 0.75rem;
}

/* Carousel controls always clickable when enabled by JS */
[role="region"][aria-roledescription="carousel"] button:not(:disabled),
section[aria-roledescription="carousel"] button[aria-label*="slide"] {
  cursor: pointer;
}

@keyframes oneummah-hero-progress {
  from { width: 0%; }
  to { width: 100%; }
}

/* Header UI: search, cart, mobile menu, appeals dropdown */
body.ou-ui-open { overflow: hidden; }

.ou-ui-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.45);
}

.ou-ui-panel {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: flex;
  padding: 1rem;
}

.ou-ui-panel[hidden],
.ou-ui-dropdown[hidden],
.ou-ui-overlay[hidden] {
  display: none !important;
}

.ou-ui-panel--center { align-items: flex-start; justify-content: center; padding-top: 10vh; }
.ou-ui-panel--right { justify-content: flex-end; padding: 0; }
.ou-ui-panel--left { justify-content: flex-start; padding: 0; }

.ou-ui-card {
  width: min(560px, 100%);
  max-height: min(80vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.ou-ui-card--drawer {
  width: min(380px, 100vw);
  height: 100%;
  max-height: none;
  border-radius: 0;
}

.ou-ui-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.ou-ui-card__head h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

.ou-ui-card__body { padding: 1rem 1.25rem 1.25rem; }

.ou-ui-close {
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
  padding: 0.25rem 0.5rem;
}

.ou-ui-close:hover { color: #111827; }

.ou-ui-input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.7rem 0.9rem;
  font-size: 1rem;
  outline: none;
}

.ou-ui-input:focus {
  border-color: #381830;
  box-shadow: 0 0 0 3px rgba(0, 153, 209, 0.15);
}

.ou-ui-results {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.85rem;
}

.ou-ui-results--compact {
  margin-top: 0.5rem;
  max-height: min(420px, 55vh);
  overflow: auto;
}

#ou-appeals-dropdown {
  width: min(420px, calc(100vw - 24px));
}

#ou-appeals-dropdown .ou-ui-result {
  background: transparent;
  padding: 0.55rem 0.35rem;
  border-radius: 0.35rem;
}

#ou-appeals-dropdown .ou-ui-result:hover {
  background: #f3f4f6;
}

#ou-appeals-dropdown .ou-ui-result__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
}

#ou-appeals-dropdown .ou-ui-dropdown__inner > a {
  display: block;
  margin-bottom: 0.35rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #f3f4f6;
  font-weight: 600;
  color: #381830;
}

.ou-ui-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.6rem;
  text-decoration: none;
  color: inherit;
  background: #f8fafc;
}

.ou-ui-result:hover { background: #eef6fb; }

.ou-ui-result--row {
  align-items: flex-start;
}

.ou-ui-result__title {
  display: block;
  font-weight: 600;
  color: #111827;
}

.ou-ui-result__meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: #6b7280;
  text-transform: capitalize;
}

.ou-ui-empty { margin: 0.5rem 0; color: #374151; }
.ou-ui-muted { margin: 0; color: #6b7280; font-size: 0.9rem; }

.ou-ui-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.ou-ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.7rem 1rem;
  font-weight: 600;
  text-decoration: none;
}

.ou-ui-btn--primary {
  background: #381830;
  color: #fff;
}

.ou-ui-btn--primary:hover { background: #2A1530; }

.ou-ui-btn--ghost {
  border: 1px solid #d1d5db;
  color: #111827;
  background: #fff;
}

.ou-ui-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ou-ui-nav a {
  display: block;
  padding: 0.8rem 0.4rem;
  border-bottom: 1px solid #f3f4f6;
  color: #111827;
  text-decoration: none;
  font-weight: 500;
}

.ou-ui-nav a:hover { color: #381830; }

.ou-ui-nav a.is-active,
.ou-ui-nav a[aria-current="page"] {
  color: var(--im-accent-text, #20b078);
  font-weight: 700;
  border-bottom-color: rgba(32, 176, 120, 0.35);
}

.ou-ui-dropdown {
  position: absolute;
  z-index: 95;
  width: min(320px, calc(100vw - 24px));
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  padding: 0.75rem;
}

.ou-ui-dropdown__inner > a {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #381830;
  text-decoration: none;
}

.ou-ui-badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #381830;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ou-ui-remove {
  border: 0;
  background: transparent;
  color: #9ca3af;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.ou-ui-remove:hover { color: #111827; }

/* Make header icon buttons feel clickable without React */
button[aria-label="Search menu"],
button[aria-label="View items in cart"],
button:has(.lucide-menu),
nav button {
  cursor: pointer;
}

/* Donate page (live-style step 1) */
.ou-donate-tab {
  border: 0;
  border-radius: 0.7rem;
  background: transparent;
  padding: 0.7rem 0.85rem;
  text-align: center;
  color: #6b7280;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ou-donate-tab--active {
  background: #fff;
  color: #381830;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.ou-donate-tab--active .text-xs,
.ou-donate-tab--active span:last-child {
  color: #6b7280;
}

#ou-donate-form label.border-ou-primary {
  border-color: #381830;
}

.ou-donate-choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.8rem 0.9rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ou-donate-choice:hover {
  border-color: rgba(0, 153, 209, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ou-donate-choice:has(input:checked) {
  border-color: #381830;
  background: rgba(0, 153, 209, 0.06);
  box-shadow: 0 0 0 1px #381830;
}

.ou-donate-choice input {
  accent-color: #381830;
}

/* Impact Makers brand colors */
:root {
  --im-primary: #20B078;
  --im-primary-rgb: 32 176 120;
  --im-accent: #381830;
  --im-accent-rgb: 56 24 48;
  --im-accent-text: #20B078;
  --im-text-dark: #284B5C;
  --im-accent-green: #381830;
  --im-secondary: #1a9464;
  --primary: 320 40% 16%;
  --primary-foreground: 0 0% 100%;
}

/* Accent green (logo leaf) for shapes, links, highlights */
.bg-ou-primary {
  background-color: #381830 !important;
}
.bg-ou-primary\/5 { background-color: rgb(56 24 48 / 0.05) !important; }
.bg-ou-primary\/10 { background-color: rgb(56 24 48 / 0.10) !important; }
.bg-ou-primary\/20 { background-color: rgb(56 24 48 / 0.20) !important; }
.bg-ou-primary\/90,
.hover\:bg-ou-primary\/90:hover {
  background-color: #2A1530 !important;
}
.hover\:bg-ou-primary\/5:hover { background-color: rgb(56 24 48 / 0.05) !important; }
.hover\:bg-ou-secondary:hover,
.bg-ou-secondary {
  background-color: #381830 !important;
}

/* Chrome stays deep purple from logo calligraphy */
header.bg-ou-primary,
header .bg-ou-primary,
.bg-primary,
button.bg-ou-primary,
button.bg-primary,
a.bg-ou-primary,
a .bg-ou-primary,
a > .bg-ou-primary {
  background-color: #20B078 !important;
}
button.bg-ou-primary:hover,
button.bg-primary:hover,
.hover\:bg-primary\/90:hover,
a.bg-ou-primary:hover {
  background-color: #1a9464 !important;
}

.text-ou-grey-dark,
[class*="text-ou-grey-dark"] {
  color: var(--im-text-dark) !important;
}

.text-ou-primary,
.text-primary,
\[\&_strong\]\:text-ou-primary strong,
[class*="text-ou-primary"] {
  color: var(--im-accent-text) !important;
}
.hover\:text-ou-primary:hover,
.hover\:text-primary:hover,
.hover\:text-ou-secondary:hover {
  color: var(--im-secondary) !important;
}

.border-ou-primary,
.border-primary,
button.border-ou-primary,
[class*="border-ou-primary"] {
  border-color: #381830 !important;
}
.ring-ou-primary,
.ring-primary,
.focus\:ring-ring:focus {
  --tw-ring-color: #381830 !important;
}

.from-ou-primary,
.from-ou-primary\/5,
.from-ou-primary\/10,
.from-ou-primary\/20 {
  --tw-gradient-from: #381830 !important;
}
.to-ou-primary,
.to-ou-primary\/5,
.to-ou-primary\/10,
.to-ou-primary\/40 {
  --tw-gradient-to: #381830 !important;
}
.via-ou-primary,
.via-ou-primary\/5 {
  --tw-gradient-stops: var(--tw-gradient-from), #381830, var(--tw-gradient-to) !important;
}

/* Soft page backgrounds (logo purple + teal, light and readable) */
.bg-gradient-linear-cta,
.bg-gradient-linear,
.bg-gradient-linear-blue,
.bg-gradient-linear-cta-flip {
  background-color: #f6f3f5 !important;
  background-image: linear-gradient(
    135deg,
    #f8f4f7 0%,
    #f2faf5 48%,
    #e8f8f1 100%
  ) !important;
}

/* Text on light CTA sections must stay dark for contrast */
.bg-gradient-linear-cta,
.bg-gradient-linear,
.bg-gradient-linear-blue,
.bg-gradient-linear-cta-flip {
  color: #20B078;
}
.bg-gradient-linear-cta h1,
.bg-gradient-linear-cta h2,
.bg-gradient-linear-cta h3,
.bg-gradient-linear-cta .text-white,
.bg-gradient-linear h1,
.bg-gradient-linear h2,
.bg-gradient-linear h3,
.bg-gradient-linear .text-white,
.bg-gradient-linear-blue h1,
.bg-gradient-linear-blue h2,
.bg-gradient-linear-blue h3,
.bg-gradient-linear-blue .text-white,
.bg-gradient-linear-cta-flip h1,
.bg-gradient-linear-cta-flip h2,
.bg-gradient-linear-cta-flip h3,
.bg-gradient-linear-cta-flip .text-white {
  color: #20B078 !important;
}
.bg-gradient-linear-cta .text-white\/80,
.bg-gradient-linear-cta .text-white\/90,
.bg-gradient-linear .text-white\/80,
.bg-gradient-linear .text-white\/90,
.bg-gradient-linear-blue .text-white\/80,
.bg-gradient-linear-blue .text-white\/90,
.bg-gradient-linear-cta-flip .text-white\/80,
.bg-gradient-linear-cta-flip .text-white\/90 {
  color: rgb(32 176 120 / 0.72) !important;
}

/* Decorative shapes (petals/leaves) always #381830 */
.bg-ou-primary,
.bg-gradient-linear-cta .bg-ou-primary,
.bg-gradient-linear .bg-ou-primary,
.bg-gradient-linear-cta-flip .bg-ou-primary,
.bg-gradient-linear-blue .bg-ou-primary,
main span.bg-ou-primary,
main div.bg-ou-primary,
[class*="bg-\[\#381830\]"],
[class*="bg-\[\#20B078\]"],
[class*="bg-\[\#20b078\]"],
[class*="bg-\[\#381830\]"],
[class*="bg-\[\#381830\]"],
[class*="bg-\[\#381830\]"],
[class*="bg-\[\#381830\]"],
[class*="bg-\[\#149098\]"] {
  background-color: #381830 !important;
}

/* Light primary tints must stay soft (readable notices) */
.bg-ou-primary\/5 { background-color: rgb(56 24 48 / 0.05) !important; }
.bg-ou-primary\/10 { background-color: rgb(56 24 48 / 0.10) !important; }
.bg-ou-primary\/20 { background-color: rgb(56 24 48 / 0.20) !important; }

/* Dark sections use green chrome */
footer.bg-gradient-linear-blue:not(.ou-site-footer) {
  background-color: #20B078 !important;
  background-image: none !important;
  color: #fff;
}
footer.bg-gradient-linear-blue,
footer.bg-gradient-linear-blue .text-white {
  color: #fff !important;
}

/* Donate hero soft wash — default pages keep light wash */
main .bg-gradient-linear-cta {
  background-image: linear-gradient(180deg, #efe8ed 0%, #f4fbf6 55%, #ffffff 100%) !important;
}

/* Donate page hero matches One Ummah: solid green CTA with white text */
html[data-ou-page="donate"] main .ou-donate-hero.bg-gradient-linear-cta,
html[data-ou-page="donate"] main .bg-gradient-linear-cta.ou-donate-hero {
  background-color: #20b078 !important;
  background-image:
    radial-gradient(circle at 12% 20%, rgb(255 255 255 / 0.18), transparent 28rem),
    radial-gradient(circle at 88% 10%, rgb(56 24 48 / 0.22), transparent 26rem),
    linear-gradient(135deg, #178f63 0%, #20b078 54%, #35c993 100%) !important;
  color: #fff !important;
}
html[data-ou-page="donate"] main .ou-donate-hero h1,
html[data-ou-page="donate"] main .ou-donate-hero h2,
html[data-ou-page="donate"] main .ou-donate-hero h3,
html[data-ou-page="donate"] main .ou-donate-hero .text-white,
html[data-ou-page="donate"] main .ou-donate-hero svg {
  color: #fff !important;
  stroke: #fff !important;
}
html[data-ou-page="donate"] main .ou-donate-hero .text-white\/80,
html[data-ou-page="donate"] main .ou-donate-hero .text-white\/90 {
  color: rgb(255 255 255 / 0.85) !important;
}

/* Keep overlapping donate step card above the hero */
html[data-ou-page="donate"] main .relative.z-10 {
  position: relative;
  z-index: 10;
}

.ou-donate-freq {
  background: #f8fafc;
  color: #6b7280;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.ou-donate-freq--active {
  background: #fff;
  color: #20b078;
  box-shadow: inset 0 -3px 0 #20b078;
}

/* Accent text/pins stay purple */
[class*="text-\[\#381830\]"],
[class*="text-\[\#20B078\]"],
[class*="text-\[\#20b078\]"] {
  color: var(--im-accent-text) !important;
}

.ou-ui-btn--primary,
.ou-donate-tab--active {
  background: #20B078 !important;
  color: #fff !important;
}
.ou-ui-btn--primary:hover {
  background: #1a9464 !important;
}
.ou-donate-tab--active {
  background: #fff !important;
  color: #20B078 !important;
}
#ou-appeals-dropdown .ou-ui-dropdown__inner > a,
.ou-ui-result__title {
  color: inherit;
}
#ou-appeals-dropdown .ou-ui-dropdown__inner > a {
  color: var(--im-accent-text) !important;
}
.ou-ui-badge {
  background: #381830 !important;
}

/* Icons (lucide, header buttons, inline SVG) always #381830 — not white chrome icons */
button[aria-label="Search menu"],
button[aria-label="View items in cart"],
button.border-ou-primary,
button.text-ou-primary,
nav .text-ou-primary,
nav button.border-ou-primary,
main svg.lucide:not(.text-white),
main .text-ou-primary,
main .text-ou-primary svg,
a.text-ou-primary svg,
[class*="text-ou-primary"]:not(.text-white),
[class*="text-ou-primary"]:not(.text-white) svg,
.fill-ou-primary,
.stroke-ou-primary,
svg[class*="text-ou-primary"] {
  color: #381830 !important;
}
button[aria-label="Search menu"] svg,
button[aria-label="View items in cart"] svg,
button.border-ou-primary svg,
button.text-ou-primary svg,
nav button.border-ou-primary svg,
main svg.lucide:not(.text-white),
[class*="text-ou-primary"]:not(.text-white) svg,
svg[class*="text-ou-primary"],
.stroke-ou-primary,
[class*="stroke-ou-primary"] {
  stroke: #381830 !important;
}
.fill-ou-primary,
svg.fill-ou-primary,
[class*="fill-ou-primary"] {
  fill: #381830 !important;
  color: #381830 !important;
}
button[aria-label="Search menu"],
button[aria-label="View items in cart"],
button.border-ou-primary {
  border-color: #381830 !important;
  color: #381830 !important;
}
/* Keep white icons on green header bar */
header .text-white,
header .text-white svg,
header button.text-white,
header button.text-white svg {
  color: #fff !important;
  stroke: #fff !important;
}

/* Logo sizing */
header img[src*="logos/logo.png"],
nav img[src*="logos/logo.png"],
header img[src*="site_header_branding"],
nav img[src*="site_header_branding"],
nav .ou-header-logo img {
  height: 4.5rem;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* Desktop header: balanced logo / nav / actions */
@media (min-width: 1024px) {
  nav .ou-header-logo {
    margin-inline-end: 0;
  }

  nav .ou-main-nav-wrap {
    padding-inline: 1.25rem 0.5rem;
  }

  nav .ou-main-nav {
    margin-inline-start: 0;
  }

  nav .ou-nav-link {
    position: relative;
    padding-block: 0.35rem;
  }

  nav .ou-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: currentColor;
    color: #20b078;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
  }

  nav .ou-nav-link:hover::after,
  nav .ou-nav-link:focus-visible::after,
  nav .ou-nav-link.is-active::after,
  nav .ou-nav-link[aria-current="page"]::after {
    transform: scaleX(1);
  }

  nav .ou-nav-link.is-active,
  nav .ou-nav-link[aria-current="page"] {
    color: var(--im-accent-text, #20b078);
  }
}
footer img[src*="logos/logo.png"],
footer img[src*="logos/logo-white.png"],
footer .ou-footer-logo {
  height: 5.5rem;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  filter: none !important;
  background: transparent !important;
  padding: 0;
}

/* Site footer layout */
footer.ou-site-footer {
  overflow: hidden;
  background-color: #20b078 !important;
  background-image:
    radial-gradient(circle at 10% 10%, rgb(255 255 255 / 0.18), transparent 24rem),
    radial-gradient(circle at 90% 90%, rgb(56 24 48 / 0.22), transparent 26rem),
    linear-gradient(135deg, #178f63 0%, #20b078 54%, #35c993 100%) !important;
  color: #fff;
}

footer.ou-site-footer,
footer.ou-site-footer .text-white,
footer.ou-site-footer a,
footer.ou-site-footer p,
footer.ou-site-footer h3 {
  color: #fff !important;
}

footer.ou-site-footer .ou-footer-shell {
  position: relative;
  padding-top: 3rem;
}

footer.ou-site-footer .ou-footer-shell::before {
  display: none;
}

footer.ou-site-footer .ou-footer-grid {
  display: grid;
  gap: 2rem;
  padding: 2rem;
  width: min(100%, 1120px);
  margin-inline: auto;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgb(56 24 48 / 0.98), rgb(67 31 58 / 0.94)),
    #381830 !important;
  box-shadow: 0 24px 70px rgb(22 84 60 / 0.35);
}

footer.ou-site-footer .ou-footer-brand,
footer.ou-site-footer .ou-footer-links-col,
footer.ou-site-footer .ou-footer-contact-col {
  min-width: 0;
  padding: 0;
  max-width: 100%;
}

@media (min-width: 768px) {
  footer.ou-site-footer .ou-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer.ou-site-footer .ou-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  footer.ou-site-footer .ou-footer-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 3rem;
    padding: 3rem 3.25rem 2.5rem;
    align-items: start;
  }

  footer.ou-site-footer .ou-footer-brand {
    grid-column: auto;
  }

  footer.ou-site-footer .ou-footer-links-col,
  footer.ou-site-footer .ou-footer-contact-col {
    padding-top: 0.4rem;
  }
}

footer.ou-site-footer .ou-footer-logo {
  height: 5.25rem;
  max-width: 14rem;
  width: auto;
  max-inline-size: 100%;
}

footer.ou-site-footer .ou-footer-office {
  margin-top: 1.25rem;
  max-width: 26rem;
  min-width: 0;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84) !important;
}

footer.ou-site-footer .ou-footer-office p {
  margin: 0;
}

footer.ou-site-footer .ou-footer-office p + p {
  margin-top: 0.25rem;
}

footer.ou-site-footer .ou-footer-heading {
  position: relative;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1.35rem;
  padding-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.96) !important;
}

footer.ou-site-footer .ou-footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.25rem;
  height: 0.18rem;
  border-radius: 9999px;
  background: #20b078;
}

footer.ou-site-footer .ou-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.78rem;
}

footer.ou-site-footer .ou-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.96rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

footer.ou-site-footer .ou-footer-links a::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 9999px;
  background: #20b078;
  transition: background 0.15s ease;
}

footer.ou-site-footer .ou-footer-links a:hover {
  color: #fff !important;
  transform: translateX(3px);
}

footer.ou-site-footer .ou-footer-links a:hover::before {
  background: #fff;
}

footer.ou-site-footer .ou-footer-contact {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

footer.ou-site-footer .ou-footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

footer.ou-site-footer .ou-footer-contact__icon,
footer.ou-site-footer .ou-footer-social__link svg {
  width: 1.15rem !important;
  height: 1.15rem !important;
  min-width: 1.15rem !important;
  max-width: 1.15rem !important;
  max-height: 1.15rem !important;
  flex: 0 0 1.15rem;
  color: #20b078 !important;
  stroke: currentColor !important;
  fill: currentColor !important;
}

footer.ou-site-footer svg.ou-footer-contact__icon[fill="none"] {
  fill: none !important;
}

footer.ou-site-footer svg.ou-footer-contact__icon:not([fill="none"]) {
  stroke: none !important;
  fill: currentColor !important;
}

footer.ou-site-footer .ou-footer-contact a {
  min-width: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none;
  overflow-wrap: anywhere;
}

footer.ou-site-footer .ou-footer-contact a:hover {
  color: #fff !important;
  text-decoration: underline;
}

footer.ou-site-footer .ou-footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

footer.ou-site-footer .ou-footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(255 255 255 / 0.08);
  color: #fff !important;
  transition: background 0.15s ease, transform 0.15s ease;
}

footer.ou-site-footer .ou-footer-social__link:hover {
  background: #20b078;
  transform: translateY(-1px);
}

footer.ou-site-footer .ou-footer-whatsapp {
  display: flex;
  width: 100%;
  max-width: 18rem;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 0.35rem;
  padding: 0.78rem 1.15rem;
  border-radius: 9999px;
  background: #20b078 !important;
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.2);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

footer.ou-site-footer .ou-footer-whatsapp svg {
  width: 1.15em !important;
  height: 1.15em !important;
  min-width: 1.15em !important;
  flex: 0 0 1.15em;
  color: #fff !important;
  fill: #fff !important;
  stroke: none !important;
}

footer.ou-site-footer .ou-footer-whatsapp:hover {
  background: #25c686 !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgb(0 0 0 / 0.25);
}

footer.ou-site-footer .ou-footer-bank {
  display: flex;
  width: 100%;
  max-width: 18rem;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 0.65rem;
  padding: 0.78rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid rgb(255 255 255 / 0.35);
  background: #fff !important;
  color: #381830 !important;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.16);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

footer.ou-site-footer .ou-footer-bank svg {
  width: 1.15em !important;
  height: 1.15em !important;
  min-width: 1.15em !important;
  flex: 0 0 1.15em;
  color: #381830 !important;
  stroke: currentColor !important;
  fill: none !important;
}

footer.ou-site-footer .ou-footer-bank:hover {
  background: #f8f5f7 !important;
  border-color: rgb(255 255 255 / 0.55);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgb(0 0 0 / 0.22);
}

footer.ou-site-footer .ou-footer-divider {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid rgb(255 255 255 / 0.16);
}

footer.ou-site-footer .ou-footer-copy {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78) !important;
}

footer.ou-site-footer .ou-footer-credit {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.62) !important;
}

footer.ou-site-footer .ou-footer-credit__link {
  color: #83dcb5 !important;
  text-decoration: none;
  font-weight: 600;
}

footer.ou-site-footer .ou-footer-credit__link:hover {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

@media (max-width: 640px) {
  footer.ou-site-footer .ou-footer-copy {
    gap: 0.25rem 0.5rem;
  }

  footer.ou-site-footer .ou-footer-copy__separator {
    display: none;
  }

  footer.ou-site-footer .ou-footer-credit {
    flex-basis: 100%;
  }
}

/* Reusable editorial image frame: replaces the repeated ellipse raster. */
.ou-media-orbit {
  overflow: visible;
  border-radius: 35% 65% 52% 48% / 43% 38% 62% 57%;
  background:
    radial-gradient(circle at 18% 20%, rgb(35 181 130 / .52) 0 8%, transparent 8.5%),
    radial-gradient(circle at 83% 73%, rgb(56 24 48 / .26) 0 13%, transparent 13.5%),
    linear-gradient(135deg, rgb(191 239 219) 0%, rgb(234 250 242) 45%, rgb(228 213 225) 100%);
  box-shadow: inset 0 0 0 1px rgb(32 169 120 / .25), 0 18px 38px rgb(32 169 120 / .12);
  pointer-events: none;
  transform: rotate(-8deg) scale(1.08);
}
.ou-media-orbit::before,
.ou-media-orbit::after {
  position: absolute;
  display: block;
  content: "";
}
.ou-media-orbit::before {
  inset: 4%;
  border: 2px solid rgb(255 255 255 / .85);
  border-radius: 43% 57% 46% 54% / 59% 42% 58% 41%;
  transform: rotate(17deg);
}
.ou-media-orbit::after {
  right: -4%;
  bottom: 7%;
  width: 14%;
  aspect-ratio: 1;
  border: 3px solid rgb(32 169 120 / .75);
  border-radius: 999px;
  background: rgb(255 255 255 / .92);
  box-shadow: 0 7px 17px rgb(15 23 42 / .16);
}
.ou-feature-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 7px solid #fff;
  border-radius: 35% 65% 52% 48% / 43% 38% 62% 57%;
  box-shadow: 0 16px 34px rgb(15 23 42 / .2);
  object-fit: cover;
}
html[dir="rtl"] .ou-media-orbit {
  transform: rotate(8deg) scale(1.08);
}
html[dir="rtl"] .ou-media-orbit::before {
  transform: rotate(-17deg);
}
html[dir="rtl"] .ou-media-orbit::after {
  right: auto;
  left: -4%;
}
@media (max-width: 639px) {
  .ou-feature-image {
    border-width: 5px;
    box-shadow: 0 12px 26px rgb(15 23 42 / .18);
  }
}

@media (max-width: 767px) {
  footer.ou-site-footer .ou-footer-shell {
    padding-top: 2rem;
  }

  footer.ou-site-footer .ou-footer-grid {
    border-radius: 1.45rem;
    padding: 1.45rem;
    gap: 1.8rem;
  }

  footer.ou-site-footer .ou-footer-logo {
    height: 4.5rem;
  }
}

/* Appeal details page */
.ou-appeal-section + .ou-appeal-section {
  padding-top: 0.5rem;
  border-top: 1px solid rgb(229 231 235 / 0.8);
}
.ou-appeal-faq details[open] summary span:last-child {
  transform: rotate(45deg);
}
.ou-appeal-amount input[type="radio"] {
  accent-color: #381830;
}

/* Appeal detail amount chips: grid-cols-6 / col-span-* often missing from Tailwind bundle */
[data-ou-page="appeal-details"] [data-ou-donate-panel="1"] .grid.grid-cols-6,
html[data-ou-page="appeal-details"] [data-ou-donate-panel="1"] .grid.grid-cols-6 {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
}
[data-ou-page="appeal-details"] [data-ou-donate-panel="1"] .col-span-2 { grid-column: span 2 / span 2; }
[data-ou-page="appeal-details"] [data-ou-donate-panel="1"] .col-span-3 { grid-column: span 3 / span 3; }
[data-ou-page="appeal-details"] [data-ou-donate-panel="1"] .col-span-6 { grid-column: span 6 / span 6; }
[data-ou-page="appeal-details"] [data-ou-donate-panel="1"] .flex.flex-row.justify-between {
  display: flex !important;
  flex-direction: row;
  justify-content: space-between;
  gap: 0.5rem;
}
[data-ou-page="appeal-details"] [data-ou-donate-panel="1"] .flex.flex-row.justify-between > button {
  flex: 1 1 0%;
  min-width: 0;
}

/* Pricing amount emphasis (Zakat-style) */
#pricing .text-ou-primary.md\:text-5xl {
  color: #381830;
}
@media (min-width: 768px) {
  #pricing span.md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
}

/* Other Appeals carousel track */
#other-appeals [aria-roledescription="carousel"] .overflow-hidden > .flex {
  display: flex !important;
}
.ou-campaign-section + .ou-campaign-section {
  margin-top: 0.25rem;
}
.ou-campaign-amount.bg-primary {
  background-color: #381830 !important;
}

/* Related projects and initiatives on detail pages. */
.ou-related-projects {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgb(226 232 240);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 8px 24px rgb(15 23 42 / .07);
}
.ou-related-section-heading {
  margin-bottom: 1rem;
}
.ou-related-section-eyebrow {
  display: block;
  margin-bottom: 0.25rem;
  color: #20a978;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}
.ou-related-section-heading h2 {
  margin: 0;
  color: #304653;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 750;
  line-height: 1.25;
}
.ou-related-projects-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.85rem;
}
.ou-related-project-card {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  min-height: 7.4rem;
  overflow: hidden;
  border: 1px solid rgb(203 213 225);
  border-radius: .9rem;
  background: #fff;
  color: inherit;
  box-shadow: 0 1px 2px rgb(15 23 42 / .04);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ou-related-project-card:hover {
  border-color: rgb(56 24 48 / .42);
  box-shadow: 0 8px 20px rgb(56 24 48 / .12);
  transform: translateY(-2px);
}
.ou-related-project-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: rgb(241 245 249);
}
.ou-related-project-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: .9rem 1rem;
}
.ou-related-project-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #304653;
  font-size: .93rem;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.ou-related-project-value {
  margin: .35rem 0 0;
  color: #20a978;
  font-size: .82rem;
  font-weight: 700;
}
.ou-related-work-section {
  margin-top: 1rem;
}
.ou-related-work-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}
.ou-related-work-card {
  display: flex;
  min-height: 13rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border: 1px solid rgb(203 213 225);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1px 2px rgb(15 23 42 / .04);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ou-related-work-card:hover {
  border-color: rgb(56 24 48 / .42);
  box-shadow: 0 10px 24px rgb(56 24 48 / .1);
  transform: translateY(-2px);
}
.ou-related-work-badge {
  margin: 0;
  color: #20a978;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .09em;
  line-height: 1.3;
  text-transform: uppercase;
}
.ou-related-work-card h3 {
  margin: .6rem 0 0;
  color: #304653;
  font-size: 1.22rem;
  font-weight: 750;
  line-height: 1.25;
}
.ou-related-work-excerpt {
  display: -webkit-box;
  margin: .75rem 0 0;
  overflow: hidden;
  color: rgb(100 116 139);
  font-size: .9rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.ou-related-work-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.25rem;
  color: #381830;
  font-size: .88rem;
  font-weight: 750;
}
.ou-related-work-link span {
  font-size: 1.1rem;
  transition: transform .2s ease;
}
.ou-related-work-card:hover .ou-related-work-link span {
  transform: translateX(.25rem);
}
html[dir="rtl"] .ou-related-work-card:hover .ou-related-work-link span {
  transform: translateX(-.25rem);
}
@media (min-width: 640px) {
  .ou-related-projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ou-related-project-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .ou-related-project-media {
    aspect-ratio: 16 / 10;
  }
  .ou-related-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .ou-related-projects {
    padding: 1.1rem;
    border-radius: 1rem;
  }
  .ou-related-work-card {
    min-height: 0;
    padding: 1.25rem;
  }
}

/* Donation selectors — shared campaign / appeal panel treatment. */
[data-ou-donate-panel="1"] .ou-donate-frequency-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 0.85rem;
  padding: 0.35rem;
  border: 1px solid rgb(226 232 240);
  border-radius: 0.9rem;
  background: rgb(248 250 252);
  box-shadow: none;
}
[data-ou-donate-panel="1"] .ou-donate-frequency-tab {
  min-width: 0;
  min-height: 2.8rem;
  padding: 0.65rem 0.8rem;
  border: 0;
  border-radius: 0.65rem;
  background: transparent;
  color: rgb(100 116 139);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.2;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
[data-ou-donate-panel="1"] .ou-donate-frequency-tab:hover {
  background: rgb(241 245 249);
  color: rgb(56 24 48);
}
[data-ou-donate-panel="1"] .ou-donate-frequency-tab--active {
  background: rgb(56 24 48);
  color: #fff !important;
  box-shadow: 0 3px 9px rgb(56 24 48 / .2);
}
[data-ou-donate-panel="1"] .ou-donate-freq--active {
  background: rgb(56 24 48);
  color: #fff !important;
  box-shadow: 0 3px 9px rgb(56 24 48 / .2);
}
[data-ou-donate-panel="1"] .ou-donate-amount-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
[data-ou-donate-panel="1"] .ou-donate-amount {
  display: flex;
  min-width: 0;
  min-height: 4.35rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgb(203 213 225);
  border-radius: 0.8rem;
  background: #fff;
  color: rgb(56 24 48);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
  box-shadow: 0 1px 2px rgb(15 23 42 / .04);
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
[data-ou-donate-panel="1"] .ou-donate-amount:hover {
  border-color: rgb(56 24 48 / .55);
  background: rgb(255 248 252);
  box-shadow: 0 4px 12px rgb(56 24 48 / .1);
  transform: translateY(-1px);
}
[data-ou-donate-panel="1"] .ou-donate-amount--active,
[data-ou-donate-panel="1"] .ou-donate-amount.bg-primary {
  border-color: rgb(56 24 48);
  background: rgb(56 24 48) !important;
  color: #fff !important;
  box-shadow: 0 5px 14px rgb(56 24 48 / .2);
}
@media (min-width: 520px) {
  [data-ou-donate-panel="1"] .ou-donate-amount-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 380px) {
  [data-ou-donate-panel="1"] .ou-donate-frequency-tabs {
    margin: 0.6rem;
  }
  [data-ou-donate-panel="1"] .ou-donate-amount-grid {
    gap: 0.5rem;
  }
  [data-ou-donate-panel="1"] .ou-donate-amount {
    min-height: 3.85rem;
    padding-inline: 0.5rem;
    font-size: 0.9rem;
  }
}

/* Donate / campaign privacy switches — switch always on the physical right end */
.ou-privacy-row {
  display: flex;
  flex-direction: row;
  direction: ltr; /* pin switch to the right in EN and AR */
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}
.ou-privacy-row > div {
  flex: 1 1 auto;
  min-width: 0;
}
html[dir="rtl"] .ou-privacy-row > div {
  direction: rtl;
  text-align: right;
}
.ou-privacy-row .ou-privacy-switch {
  flex-shrink: 0;
  margin-left: 0.75rem;
}
.ou-privacy-switch {
  background-color: #e5e7eb;
}
.ou-privacy-switch[aria-checked="true"] {
  background-color: #381830;
  border-color: #381830;
}
.ou-privacy-switch .ou-privacy-thumb {
  transform: translateX(0);
}
.ou-privacy-switch[aria-checked="true"] .ou-privacy-thumb {
  transform: translateX(1.25rem);
}

/* Homepage hero: white headline text, green carousel arrows */
section[aria-roledescription="carousel"] .text-white h1,
section[aria-roledescription="carousel"] .text-white [class*="text-ou-primary"]:not(strong),
section[aria-roledescription="carousel"] h1[class*="text-white"] {
  color: #fff !important;
}

section[aria-roledescription="carousel"] button[aria-label="Previous slide"],
section[aria-roledescription="carousel"] button[aria-label="Next slide"] {
  color: #20b078 !important;
  border-color: rgb(255 255 255 / 0.35) !important;
}

section[aria-roledescription="carousel"] button[aria-label="Previous slide"] svg,
section[aria-roledescription="carousel"] button[aria-label="Next slide"] svg,
section[aria-roledescription="carousel"] button[aria-label="Previous slide"] svg.lucide,
section[aria-roledescription="carousel"] button[aria-label="Next slide"] svg.lucide {
  color: #20b078 !important;
  stroke: #20b078 !important;
}

section[aria-roledescription="carousel"] a.border-white\/70.bg-white\/15 {
  background-color: #381830 !important;
  border-color: #381830 !important;
  backdrop-filter: none;
  color: #fff !important;
}

section[aria-roledescription="carousel"] a.border-white\/70.bg-white\/15:hover {
  background-color: #4a2038 !important;
  border-color: #4a2038 !important;
  color: #fff !important;
}

/* Homepage hero donate widget */
.ou-hero-donate {
  overflow: visible;
  background: #fff;
  border-color: rgb(229 231 235);
}
.ou-hero-donate__tab {
  background: transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.ou-hero-donate__tab--active {
  color: #381830 !important;
  border-bottom-color: #381830 !important;
}
.ou-hero-donate__field {
  position: relative;
}
.ou-hero-donate__trigger {
  display: flex;
  width: 100%;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 0.5rem 0.75rem;
  text-align: start;
  font-size: 0.875rem;
  line-height: 1.35;
  color: #4b5563;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.ou-hero-donate__trigger:hover:not(:disabled) {
  border-color: #d1d5db;
}
.ou-hero-donate__trigger[aria-expanded="true"],
.ou-hero-donate__trigger:focus-visible {
  outline: none;
  border-color: #381830;
  box-shadow: 0 0 0 1px #381830;
}
.ou-hero-donate__trigger:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  background: #f9fafb;
}
.ou-hero-donate__trigger-label {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  color: #1f2937;
  font-weight: 500;
}
.ou-hero-donate__trigger-label--placeholder {
  color: #9ca3af;
  font-weight: 400;
}
.ou-hero-donate__chevron {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: #9ca3af;
  opacity: 0.9;
  transition: transform 0.15s ease;
}
.ou-hero-donate__trigger[aria-expanded="true"] .ou-hero-donate__chevron {
  transform: rotate(180deg);
}
.ou-hero-donate__menu {
  position: absolute;
  z-index: 40;
  inset-inline: 0;
  top: calc(100% + 0.35rem);
  max-height: 14rem;
  overflow-y: auto;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 12px 28px -8px rgb(0 0 0 / 0.18), 0 4px 10px -4px rgb(0 0 0 / 0.08);
}
.ou-hero-donate__option {
  display: block;
  width: 100%;
  border-radius: 0.375rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.35;
  color: #374151;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.ou-hero-donate__option:hover,
.ou-hero-donate__option:focus {
  outline: none;
  background: #f3f4f6;
  color: #111827;
}
.ou-hero-donate__option[aria-selected="true"] {
  background: rgb(56 24 48 / 0.08);
  color: #381830;
  font-weight: 600;
}
html[dir="rtl"] .ou-hero-donate__trigger,
html[dir="rtl"] .ou-hero-donate__option {
  text-align: right;
}

/* Emphasis on light backgrounds — green accent (distinct from dark heading text) */
strong,
b {
  color: var(--im-accent-text) !important;
}

footer strong,
footer b,
.text-white strong,
.text-white b,
header .text-white strong,
header .text-white b {
  color: inherit !important;
}

/* end Impact Makers brand */
