/* Finnova 5.2.1 — narrow presentation hotfix over V5.2.
 * No saved document changes. Keep all selectors within Finnova components.
 */

/* 1. Footer shortcode/template shells must occupy the whole row, not a
 * shrink-to-fit Elementor widget column. Support both Elementor DOM modes. */
body.finnova-refined-page .finnova-layout .fin-footer-wrapper,
body.finnova-refined-page .finnova-layout .fin-footer-wrapper > .e-con-inner,
body.finnova-refined-page .finnova-layout .fin-footer-shortcode,
body.finnova-refined-page .finnova-layout .fin-footer-shortcode > .elementor-widget-container,
body.finnova-refined-page .finnova-layout .fin-footer-shortcode .elementor-shortcode,
body.finnova-refined-page .finnova-layout .fin-footer-shortcode .elementor-shortcode > .elementor,
body.finnova-refined-page .finnova-layout.finv-global-footer,
body.finnova-refined-page .finnova-layout.finv-global-footer > .e-con-inner,
body.finnova-refined-page .finnova-layout .site-footer {
  --width:100%; --container-widget-width:100%; --container-widget-flex-grow:0;
  display:block!important; position:relative; width:100%!important;
  min-width:0!important; max-width:none!important; flex:0 0 auto!important;
  align-self:stretch!important; justify-self:stretch!important; grid-column:1 / -1!important;
  float:none; clear:both; margin-inline:0!important; box-sizing:border-box;
}
body.finnova-refined-page .finnova-layout .fin-footer-wrapper,
body.finnova-refined-page .finnova-layout .fin-footer-wrapper > .e-con-inner,
body.finnova-refined-page .finnova-layout .fin-footer-shortcode,
body.finnova-refined-page .finnova-layout.finv-global-footer,
body.finnova-refined-page .finnova-layout.finv-global-footer > .e-con-inner {
  padding:0!important; margin-block:0!important;
}
body.finnova-refined-page .finnova-layout .site-footer > .e-con-inner {
  display:block!important; width:100%!important; max-width:none!important; padding:0!important;
}
body.finnova-refined-page .finnova-layout .site-footer .container {
  display:flex!important; flex-direction:column!important; align-items:stretch!important;
  width:calc(100% - 96px)!important; max-width:1340px!important; min-width:0!important;
  margin-inline:auto!important; padding-inline:0!important;
}
body.finnova-refined-page .finnova-layout .site-footer .container > .e-con-inner {
  display:flex!important; flex-direction:column!important; align-items:stretch!important;
  width:100%!important; max-width:none!important; padding:0!important;
}
body.finnova-refined-page .finnova-layout .site-footer :is(.footer-top,.footer-cols,.footer-seo,.footer-wordmark,.footer-bottom,.risk-note,.photo-disclosure) {
  width:100%!important; max-width:none!important; min-width:0!important; align-self:stretch!important;
}
body.finnova-refined-page .finnova-layout .site-footer :is(.footer-top,.footer-top > .e-con-inner) {
  display:grid!important; grid-template-columns:minmax(0,1fr) minmax(240px,390px)!important;
  gap:32px!important; align-items:center!important;
}
body.finnova-refined-page .finnova-layout .site-footer :is(.footer-cols,.footer-cols > .e-con-inner) {
  display:grid!important; grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:32px!important; align-items:start!important;
}
body.finnova-refined-page .finnova-layout .site-footer :is(.footer-top,.footer-cols,.footer-bottom) > .e-con-inner {
  width:100%!important; max-width:none!important; grid-column:1 / -1!important; padding:0!important;
}
body.finnova-refined-page .finnova-layout .site-footer :is(.footer-bottom,.footer-bottom > .e-con-inner) {
  display:grid!important; grid-template-columns:minmax(0,1fr) auto auto!important;
  align-items:center!important; gap:20px!important;
}
body.finnova-refined-page .finnova-layout .site-footer .fin52-risk-note {grid-column:1 / -1!important; width:100%!important;}
body.finnova-refined-page .finnova-layout .site-footer .footer-wordmark {container-type:inline-size;}
body.finnova-refined-page .finnova-layout .site-footer .footer-wordmark .elementor-heading-title {
  font-size:clamp(42px,9.8vw,148px)!important; line-height:1.08!important;
  white-space:normal!important; overflow-wrap:normal!important; word-break:normal!important;
}
@supports(font-size:1cqw) {
  body.finnova-refined-page .finnova-layout .site-footer .footer-wordmark .elementor-heading-title {
    font-size:clamp(38px,11.2cqw,148px)!important;
  }
}

/* 2. Restore the framed HOME hero. Inner page heroes are untouched.
 * New radius variable avoids the zero-radius value saved by the V5.2 update. */
body.finnova-refined-page .finnova-layout .fin51-home-hero {
  padding:20px 24px 0!important; margin:0!important; width:100%!important;
  max-width:none!important; background:#F6F5F0!important; box-sizing:border-box;
}
body.finnova-refined-page .finnova-layout .fin51-home-slider {
  width:100%!important; max-width:1512px!important; margin:0 auto!important;
  border-radius:var(--fin521-hero-radius,22px)!important; overflow:hidden!important;
  box-shadow:0 14px 36px #153E2815!important;
}
body.finnova-refined-page .finnova-layout .fin51-home-slider :is(.raven-slider-wrapper,.swiper-slide) {border-radius:inherit!important;}
body.finnova-refined-page .finnova-layout .fin51-home-slider .swiper-slide-inner {padding:64px clamp(32px,5.6vw,80px) 94px!important;}
body.finnova-refined-page .finnova-layout .fin51-home-slider :is(.elementor-swiper-button-next,.swiper-button-next) {right:30px!important;left:auto!important;}
body.finnova-refined-page .finnova-layout .fin51-home-slider :is(.elementor-swiper-button-prev,.swiper-button-prev) {right:88px!important;left:auto!important;}

/* 3. Twice the V5.2 default speed, without the yellow/lime-green wash.
 * One 320px gradient period = a 226.27417px diagonal translation.
 * Identical first/last stops keep the linear loop continuous; no blur or JS. */
body.finnova-refined-page .finnova-layout .fin5-process-section::after {
  inset:-330px; opacity:var(--fin521-gradient-opacity,.8);
  background:repeating-linear-gradient(135deg,
    rgba(32,91,53,0) 0px,
    rgba(92,138,103,.20) 80px,
    rgba(52,103,65,.10) 160px,
    rgba(12,48,27,.10) 240px,
    rgba(32,91,53,0) 320px);
  animation:fin521-process-flow var(--fin521-gradient-duration,6s) linear infinite!important;
  will-change:transform; pointer-events:none;
}
@keyframes fin521-process-flow {
  from {transform:translate3d(0,0,0);}
  to {transform:translate3d(226.27417px,226.27417px,0);}
}

/* 4. Menu headings: true icon/text alignment with both optimized and wrapped DOM. */
body.finnova-refined-page .finnova-layout .fin52-menu-panel :is(.fin-mega-title,.fin-mega-title > .e-con-inner) {
  display:grid!important; grid-template-columns:24px minmax(0,1fr)!important;
  align-items:center!important; justify-content:start!important; gap:12px!important;
  width:100%!important; min-width:0!important;
}
body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-title > .e-con-inner {
  grid-column:1 / -1!important; padding:0!important;
}
body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-title .fin-line-icon {
  width:24px!important; min-width:24px!important; max-width:24px!important;
  margin:0!important; padding:0!important; align-self:center!important;
}
body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-title .fin-line-icon :is(.elementor-widget-container,.elementor-icon-wrapper,.elementor-icon) {
  display:flex!important; align-items:center!important; justify-content:center!important;
  width:24px!important; height:24px!important; line-height:1!important; margin:0!important; padding:0!important;
}
body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-title .fin-line-icon :is(svg,i) {
  display:block; width:22px!important; height:22px!important; font-size:22px!important; line-height:1!important;
}
body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-heading {
  width:100%!important; min-width:0!important; margin:0!important; padding:0!important;
}
body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-heading :is(.elementor-widget-container,.elementor-button-wrapper) {width:100%;text-align:left!important;}
body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-heading .elementor-button {
  display:flex!important; justify-content:flex-start!important; align-items:center!important;
  padding:6px 0!important; margin:0!important; min-height:36px!important;
  text-align:left!important; line-height:1.4!important; white-space:normal!important;
  word-break:normal!important; overflow-wrap:normal!important;
}
body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-heading .elementor-button-content-wrapper {justify-content:flex-start!important;align-items:center!important;text-align:left!important;}
body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-heading .elementor-button-text {white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;}
body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-grid > .e-con-inner {
  display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:24px!important; width:100%!important; grid-column:1 / -1!important; padding:0!important;
}

@media(max-width:1024px) {
  body.finnova-refined-page .finnova-layout .site-footer .container {width:calc(100% - 48px)!important;}
  body.finnova-refined-page .finnova-layout .site-footer :is(.footer-cols,.footer-cols > .e-con-inner) {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:26px!important;}
  body.finnova-refined-page .finnova-layout .fin51-home-hero {padding:16px 16px 0!important;}
  body.finnova-refined-page .finnova-layout .fin51-home-slider .swiper-slide-inner {padding:58px 36px 94px!important;}
  /* One readable column, not the desktop mega-menu squeezed into two columns. */
  body.finnova-refined-page .finnova-layout .fin52-nav .fin52-menu {
    width:auto!important; max-width:none!important; left:0; right:0;
    max-height:calc(100vh - var(--fin-header-offset,140px) - 12px);
    max-height:calc(100dvh - var(--fin-header-offset,140px) - 12px);
    overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch; scrollbar-width:thin;
    padding:10px 18px 18px!important; scroll-padding-block:12px;
  }
  body.finnova-refined-page .finnova-layout .fin52-menu-panel {min-width:0!important;max-width:100%!important;}
  body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-layout {padding:12px 0 0!important;}
  body.finnova-refined-page .finnova-layout .fin52-menu-panel :is(.fin-mega-grid,.fin-mega-grid > .e-con-inner) {grid-template-columns:minmax(0,1fr)!important;gap:16px!important;}
  body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-col {
    display:flex!important; flex-direction:column!important; width:100%!important;
    max-width:none!important; min-width:0!important; gap:0!important;
  }
  body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-title {
    gap:10px!important; padding:4px 0 6px!important; margin:0 0 3px!important;
    border-bottom:1px solid #E0E6DD;
  }
  body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-heading .elementor-button {font-size:16px!important;min-height:40px!important;}
  body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-link {width:100%!important;min-width:0!important;margin:0!important;}
  body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-link .elementor-button {
    display:flex!important; width:100%!important; justify-content:flex-start!important;
    padding:10px 8px 10px 34px!important; min-height:44px!important;
    font-size:14px!important; line-height:1.5!important; text-align:left!important;
    white-space:normal!important; word-break:normal!important; overflow-wrap:normal!important;
  }
  body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-link .elementor-button-content-wrapper {justify-content:flex-start!important;}
  body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-link .elementor-button:is(:hover,:focus-visible) {transform:none!important;}
  body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-bottom {padding-top:16px!important;margin-top:16px!important;gap:12px!important;}
  body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin-mega-bottom > .elementor-widget-text-editor {flex:0 0 auto!important;width:100%!important;}
  body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin52-mega-cta {width:100%!important;margin:0!important;}
  body.finnova-refined-page .finnova-layout .fin52-menu-panel .fin52-mega-cta .elementor-button {display:flex!important;width:100%!important;justify-content:center!important;}
}
@media(max-width:767px) {
  body.finnova-refined-page .finnova-layout .site-footer .container {width:calc(100% - 36px)!important;}
  body.finnova-refined-page .finnova-layout .site-footer :is(.footer-top,.footer-top > .e-con-inner) {grid-template-columns:minmax(0,1fr)!important;gap:24px!important;}
  body.finnova-refined-page .finnova-layout .site-footer :is(.footer-cols,.footer-cols > .e-con-inner) {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 18px!important;}
  body.finnova-refined-page .finnova-layout .site-footer :is(.footer-bottom,.footer-bottom > .e-con-inner) {grid-template-columns:minmax(0,1fr) auto!important;gap:16px!important;}
  body.finnova-refined-page .finnova-layout .site-footer .fin-footer-policy-links {grid-column:1 / -1!important;order:2;}
  body.finnova-refined-page .finnova-layout .site-footer .fin52-risk-note {order:3;}
  body.finnova-refined-page .finnova-layout .fin51-home-hero {padding:12px 12px 0!important;}
  body.finnova-refined-page .finnova-layout .fin51-home-slider {border-radius:var(--fin521-hero-radius,15px)!important;}
  body.finnova-refined-page .finnova-layout .fin51-home-slider .swiper-slide-inner {padding:44px 22px 90px!important;}
  body.finnova-refined-page .finnova-layout .fin51-home-slider :is(.elementor-swiper-button-next,.swiper-button-next) {right:20px!important;}
  body.finnova-refined-page .finnova-layout .fin51-home-slider :is(.elementor-swiper-button-prev,.swiper-button-prev) {right:70px!important;}
}
@media(prefers-reduced-motion:reduce) {
  body.finnova-refined-page .finnova-layout .fin5-process-section::after {animation:none!important;transform:none!important;will-change:auto;}
}
/* Keep Elementor editing stable; animation runs on the public page. */
body.elementor-editor-active .finnova-layout .fin5-process-section::after {animation:none!important;will-change:auto;}


/* V5.2.2: faster, controlled diagonal movement, no bright green glow.
   This does not change saved Elementor layout/content. */
body.finnova-refined-page .finnova-layout .fin5-process-section::after {
  background:repeating-linear-gradient(135deg,
    rgba(32,91,53,0) 0px,
    rgba(168,198,164,.105) 72px,
    rgba(42,96,58,.045) 150px,
    rgba(15,65,36,.115) 236px,
    rgba(32,91,53,0) 320px)!important;
  opacity:.72!important;
  animation:fin521-process-flow var(--fin522-gradient-duration,2.2s) linear infinite!important;
  will-change:transform;
}
/* Avoid a large compositor layer when motion is off. */
@media(prefers-reduced-motion:reduce) {
  body.finnova-refined-page .finnova-layout .fin5-process-section::after {animation:none!important;will-change:auto!important;}
}
body.elementor-editor-active .finnova-layout .fin5-process-section::after {animation:none!important;will-change:auto!important;}


/* V5.2.3: FAQ focus-only hotfix. Keep the separator on .fin52-faq-item.
 * Do not suppress focus on other widgets, links or form fields.
 * Older browsers retain their default focus outline. */
body.finnova-refined-page .finnova-layout .fin52-faq .fin52-faq-trigger,
body.finnova-refined-page .finnova-layout .fin52-faq .fin52-faq-trigger:focus,
body.finnova-refined-page .finnova-layout .fin52-faq .fin52-faq-trigger:active {
  border:0!important;
  box-shadow:none!important;
}
@supports selector(:focus-visible) {
  body.finnova-refined-page .finnova-layout .fin52-faq .fin52-faq-trigger:focus:not(:focus-visible) {
    outline:none!important;
  }
  body.finnova-refined-page .finnova-layout .fin52-faq .fin52-faq-trigger:focus-visible {
    outline:2px solid #205B35!important;
    outline-offset:3px!important;
  }
}
