/* WP16 | Approved cosmetic refinements only. No global layout redesign. */
/* Clean footer; preserve current branded background, gold accent and links. */
body .iconic-footer.wp16-clean-footer {
  padding: 26px 22px 24px;
  min-height: 142px;
  text-align: center;
}
body .iconic-footer.wp16-clean-footer .wp16-footer-layout {
  max-width: 1290px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  position: relative;
  z-index: 1;
}
html[lang="ar"] body .wp16-clean-footer,
html[lang="ar"] body .wp16-clean-footer * {
  font-family: "Alexandria", Tahoma, sans-serif !important;
}
html[lang="en"] body .wp16-clean-footer,
html[lang="en"] body .wp16-clean-footer * {
  font-family: "Libre Caslon Text", Georgia, serif !important;
}
body .iconic-footer.wp16-clean-footer .wp16-footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 16px;
  row-gap: 9px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  text-align: center;
}
body .iconic-footer.wp16-clean-footer .wp16-footer-links a {
  display: inline-block;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: #f9f2e6;
  text-decoration: none;
  white-space: nowrap;
  text-underline-offset: 4px;
}
body .iconic-footer.wp16-clean-footer .wp16-footer-links a:hover,
body .iconic-footer.wp16-clean-footer .wp16-footer-links a:focus-visible {
  color: #f3d89f;
  text-decoration: underline;
}
body .iconic-footer.wp16-clean-footer .wp16-footer-links .wp16-separator {
  font-size: 11px;
  color: #dfb45d;
  line-height: 1;
}
body .iconic-footer.wp16-clean-footer .wp16-copyright {
  margin: 0;
  padding: 0;
  color: #e2e4e2;
  font-size: 11px;
  line-height: 1.7;
  font-weight: 400;
  text-align: center;
  unicode-bidi: isolate;
}
body .iconic-footer.wp16-clean-footer .wp16-copyright bdi {unicode-bidi:isolate;}
@media(max-width: 600px) {
  body .iconic-footer.wp16-clean-footer { padding: 24px 15px 27px; min-height: 0; }
  body .iconic-footer.wp16-clean-footer .wp16-footer-layout { gap: 18px; }
  body .iconic-footer.wp16-clean-footer .wp16-footer-links { column-gap: 5px; row-gap: 7px; font-size: clamp(9px, 2.6vw, 12px); flex-wrap: nowrap; }
  body .iconic-footer.wp16-clean-footer .wp16-copyright { font-size: 10px; }
}
/* Scroll-based transition approved in the WP16 interactive demo.
   No permanent transforms, no hidden content, no effects on forms. */
@keyframes ammar-section-arrive {
  from { opacity: .88; transform: translateY(20px) scale(1.004); filter:blur(2px); }
  to { opacity:1; transform:translateY(0) scale(1); filter:blur(0); }
}
main > section.wp16-section-enter, body > footer.wp16-section-enter {
  animation: ammar-section-arrive 750ms cubic-bezier(.22,.72,.16,1) both;
}
#ammar-scroll-sweep {
  position: fixed;
  z-index: 99;
  pointer-events: none;
  top:0;
  bottom:0;
  left:0;
  width:3px;
  opacity:0;
  background:linear-gradient(180deg,transparent,#f2d49d 22%,#d4af57 56%,transparent);
  box-shadow:0 0 16px 5px rgba(194,151,68,.18);
}
@keyframes ammar-scroll-gold {
  0%{opacity:0;transform:translateX(101vw)}
  18%{opacity:.75}
  82%{opacity:.6}
  100%{opacity:0;transform:translateX(-4vw)}
}
#ammar-scroll-sweep.wp16-sweep-on {
  animation:ammar-scroll-gold 850ms cubic-bezier(.2,.64,.19,1) both;
}
@media(prefers-reduced-motion:reduce) {
  main > section.wp16-section-enter,body > footer.wp16-section-enter {animation:none!important;}
  #ammar-scroll-sweep {display:none!important;}
}
