/**
 * Public marketing site footer (RTL).
 * Layout: menu on the right, copyright on the left (matches design).
 */
.aim-site-footer {
  --aim-footer-text: #6b7280;
  --aim-footer-border: rgba(15, 23, 42, 0.08);
  direction: rtl;
  background: #f8fafb;
  border-top: 1px solid var(--aim-footer-border);
  font-family: "Yekan Bakh", Tahoma, "Segoe UI", sans-serif;
  color: var(--aim-footer-text);
}

.aim-site-footer,
.aim-site-footer a,
.aim-site-footer p,
.aim-site-footer .aim-site-footer__menu {
  font-family: "Yekan Bakh", Tahoma, "Segoe UI", sans-serif !important;
}

.aim-site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.aim-site-footer__nav {
  flex-shrink: 0;
}

.aim-site-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.aim-site-footer__menu li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.aim-site-footer__menu li:not(:last-child)::after {
  content: "|";
  margin: 0 10px;
  color: var(--aim-footer-text);
  opacity: 0.7;
  pointer-events: none;
}

.aim-site-footer__menu a {
  color: var(--aim-footer-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.aim-site-footer__menu a:hover,
.aim-site-footer__menu .current-menu-item > a,
.aim-site-footer__menu .current_page_item > a {
  color: #1a1d21;
}

.aim-site-footer__copy {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--aim-footer-text);
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
}

@media (max-width: 640px) {
  .aim-site-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
  }

  .aim-site-footer__copy {
    text-align: center;
  }
}
