/* Shared footer: logo and social icons, contact details, then the
   partnership and funding statements. Logical properties keep English and Arabic aligned. */
.website-footer, .website-footer *, .website-footer *::before, .website-footer *::after { box-sizing: border-box; }
.website-footer {
  margin-block-start: 0;
  padding-block: 2.5rem 1.25rem;
  border-block-start: var(--space-1) solid var(--color-accent);
  background: var(--color-surface-inverse);
  color: var(--color-text-inverse);
  font-size: .875rem;
  line-height: 1.65;
}
.website-footer :where(h2, p, ul, address) { margin: 0; max-inline-size: none; }
.website-footer p,
.website-footer a { font-size: .875rem; }
.website-footer__container { display: flex; flex-direction: column; gap: 2rem; inline-size: min(calc(100% - (2 * var(--space-5))), 60rem); margin-inline: auto; }
.website-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); }
.website-footer h2 { margin-block-end: .75rem; color: var(--color-text-inverse); font-size: 1.125rem; font-weight: 700; line-height: 1.5; }
.website-footer a { display: inline-flex; align-items: center; min-block-size: 2.25rem; max-inline-size: 100%; color: var(--color-text-inverse); text-decoration: none; overflow-wrap: anywhere; }
.website-footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.website-footer a:focus-visible { outline: 2px solid var(--color-text-inverse); outline-offset: var(--space-1); border-radius: var(--radius-sm); }
.website-footer__about { display: grid; align-content: start; justify-items: start; gap: 1rem; }
.website-footer .website-footer__brand { padding: .75rem; background: var(--color-surface); border-radius: var(--radius-lg); }
.website-footer__brand img { display: block; inline-size: 9.75rem; max-inline-size: 100%; block-size: auto; }
.website-footer__social { display: flex; flex-wrap: wrap; gap: .5rem; }
.website-footer .website-footer__social a { justify-content: center; inline-size: 2.75rem; block-size: 2.75rem; min-block-size: 0; border: 1px solid var(--color-brand-lavender); border-radius: 50%; }
.website-footer .website-footer__social a:hover { background: var(--color-surface); color: var(--color-text-accent); text-decoration: none; }
.website-footer__social svg { inline-size: 1.25rem; block-size: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.website-footer__contact address { display: grid; justify-items: start; gap: .125rem; font-style: normal; }
.website-footer__bottom { display: grid; gap: .375rem; padding-block-start: 1rem; border-block-start: 1px solid var(--color-brand-lavender); }
.website-footer .website-footer__bottom p { font-size: .8125rem; }
@media (max-width: 35.999rem) {
  .website-footer { padding-block-start: var(--space-8); }
  .website-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .website-footer__column { padding-block-start: var(--space-5); border-block-start: 1px solid var(--color-brand-lavender); }
}
@media print { .website-footer { display: none; } }
