/* =========================================================
   FinLaw Ultimate Scroll, Pointer & RTL Rules
   ========================================================= */
html {
  direction: rtl !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
  scroll-behavior: smooth !important;
  max-width: 100vw !important;
}

body {
  direction: rtl !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  overflow: visible !important;
  height: auto !important;
  min-height: 100vh !important;
  max-width: 100vw !important;
}

#main,
.framer-BJlGq,
.framer-cetu8x {
  overflow-x: clip !important;
  overflow-y: visible !important;
  height: auto !important;
  max-width: 100vw !important;
  position: relative !important;
}

#main > div,
.framer-BJlGq > div,
.framer-cetu8x > div {
  max-width: 100vw !important;}

html.lenis, html.lenis-stopped, html.lenis-locked, html.lenis-smooth {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
}

body.lenis, body.lenis-stopped, body.lenis-locked, body.lenis-smooth {
  overflow-x: hidden !important;
  overflow-y: visible !important;
  overflow: clip !important;
  height: auto !important;}

/* Make decorative overlays and background gradients transparent to mouse events */
.framer-15ri48v,
[data-framer-name="Gradient Bg"],
.framer-1jqwtxk,
.framer-49wjhl,
.framer-1o6kmg3,
.framer-1kghxmt,
[data-framer-name*="Cloud"],
[data-framer-name*="Gradient"],
#template-overlay,
#overlay {
  pointer-events: none !important;
}

.framer-text,
.framer-text span,
h1, h2, h3, h4, h5, h6,
p, a, button, li, label,
input, textarea, select {
  font-family: 'Cairo', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: 0 !important;
}

/* Hide any leftover Framer editorbar (safety) */
#__framer-editorbar-container,
#__framer-editorbar,
#__framer-editorbar-button,
#__framer-editorbar-label,
iframe[src*="framer.com/edit"],
iframe[id*="framer-editorbar"],
.__framer-editorbar,
.fullscreen#__framer-editorbar {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  opacity: 0 !important;
  z-index: -9999 !important;
}

/* Hide Framer free-plan badge */
#__framer-badge-container,
.__framer-badge,
a[href*="framer.com/r/badge"] {
  display: none !important;
}

/* Hide leftover creator/Framer footer links completely */
a[href*="leonchike.com"],
a[href*="framer.link/leonardo-chike"] {
  display: none !important;
}

/* Fix footer columns alignment in RTL */
footer [data-framer-name="Links"] {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

footer [data-framer-name="Links"] > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  text-align: right !important;}

footer [data-framer-name="Links"] > div > [data-framer-component-type="RichTextContainer"]:first-child,
footer [data-framer-name="Links"] [data-framer-name="Menus"] {
  width: 100% !important;
  text-align: right !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
}

footer [data-framer-name="Links"] [data-framer-name="Menus"] {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 0.25rem !important;
}

footer [data-framer-name="Links"] [data-framer-name="Menus"] > div,
footer [data-framer-name="Links"] [data-framer-name="Menus"] a {
  width: auto !important;
  justify-content: flex-end !important;
  text-align: right !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

footer [data-framer-name="Links"] [data-framer-name="Menus"] .framer-text {
  text-align: right !important;
  justify-content: flex-end !important;
}

footer [data-framer-name="Pages"][data-framer-component-type="RichTextContainer"] .framer-text,
footer [data-framer-name="community"][data-framer-component-type="RichTextContainer"] .framer-text {
  text-align: right !important;
  justify-content: flex-end !important;
}
