/* Footer polish. Keeps the original footer layout from base.html and refines it:
   a soft violet-tint ground with ink-navy type, a faint navy dot grid so the field isn't empty,
   tighter spacing, pink accents on titles and link arrows, round social buttons,
   and a deeper tint strip for the copyright line. */
.glancewise-footer-one.glancewise-footer-with-cta{--ft-bg:var(--gw-footer);--ft-deep:var(--gw-footer-deep);--ft-ink:var(--gw-ink);--ft-text:var(--gw-text);--ft-mute:var(--gw-text-soft);--ft-pink:var(--gw-pink);--ft-pink-ink:var(--gw-pink-ink);
  position:relative;isolation:isolate;background:var(--ft-bg)}

/* minimal pattern: a soft dot grid, strongest at the top-left corner and fading out */
.glancewise-footer-one.glancewise-footer-with-cta::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='2' cy='2' r='1.3' fill='%232E3160' fill-opacity='.16'/%3E%3C/svg%3E");
  -webkit-mask-image:radial-gradient(120% 90% at 0% 0%,#000 0%,transparent 70%),radial-gradient(70% 70% at 100% 100%,#000 0%,transparent 60%);
          mask-image:radial-gradient(120% 90% at 0% 0%,#000 0%,transparent 70%),radial-gradient(70% 70% at 100% 100%,#000 0%,transparent 60%)}
/* the old decorative shape images are replaced by the pattern */
.glancewise-footer-one .shape-dot-wrapper{display:none !important}

/* spacing: room for the overlapping CTA band where a page has one, tighter where it doesn't */
.glancewise-footer-one.footer-style-default .footer-top{padding:150px 0 64px}
.glancewise-footer-one:not(:has(.cta-with-overlay)) .footer-top{padding-top:80px}
.glancewise-footer-one:not(:has(.cta-with-overlay)){margin-top:0}
.glancewise-footer-one .glancewise-footer-widget.mt-4{margin-top:0 !important}

/* brand column */
/* same size as the header logo: 48px tall on desktop, 40px on phones */
.glancewise-footer-one .glancewise-footer-widget .logo img{width:auto;height:48px;max-height:none;max-width:100%}
/* the colour logo reads on paper, so drop the white-out filter used on the old dark footer */
.glancewise-footer-one.footer-style-default .glancewise-footer-widget .glancewise-logo--on-dark{filter:none;opacity:1}
.glancewise-footer-one.footer-style-default .description{max-width:390px;margin:22px 0 30px;font-size:var(--gw-fs-body);line-height:1.7;color:var(--ft-text)}

/* column titles with a short pink bar underneath */
.glancewise-footer-one.footer-style-default .widget-title{position:relative;margin:0;padding-bottom:14px;font-size:var(--gw-fs-title-sm);line-height:1.3;color:var(--ft-ink)}
.glancewise-footer-one.footer-style-default .widget-title::after{content:"";position:absolute;left:0;bottom:0;width:28px;height:3px;border-radius:3px;background:var(--ft-pink)}
.glancewise-footer-one.footer-style-default .glancewise-footer-widget .inner{margin-top:22px}

/* links: arrow and text on one line, pink arrow that nudges on hover */
.glancewise-footer-one.footer-style-default .glancewise-footer-widget .footer-link li + li{margin-top:14px}
.glancewise-footer-one.footer-style-default .glancewise-footer-widget .footer-link li a{display:inline-flex;align-items:center;gap:10px;font-size:var(--gw-fs-body);line-height:1.4;color:var(--ft-text);transition:color .25s}
.glancewise-footer-one.footer-style-default .glancewise-footer-widget .footer-link li a i{flex:none;margin:0;font-size:10px;color:var(--ft-pink-ink);transition:transform .3s cubic-bezier(.23,1,.32,1)}
.glancewise-footer-one.footer-style-default .glancewise-footer-widget .footer-link li:hover a{color:var(--ft-pink-ink)}
.glancewise-footer-one.footer-style-default .glancewise-footer-widget .footer-link li:hover a i{transform:translateX(4px)}

/* "Follow us" block */
.glancewise-footer-one .glancewise-footer-widget .glancewise-footer-widget.mt-3{margin-top:0 !important}
.glancewise-footer-one .glancewise-footer-widget .glancewise-footer-widget .widget-title{font-size:var(--gw-fs-body-lg)}
.glancewise-footer-one .glancewise-footer-widget .glancewise-footer-widget .inner{margin-top:18px}
.glancewise-footer-one .social-share{gap:10px}
.glancewise-footer-one .social-share li{margin:0}
.glancewise-footer-one .social-share li a{display:grid;place-items:center;width:42px;height:42px;line-height:1;border-radius:50%;background:var(--gw-white);color:var(--ft-ink);transition:background-color .25s,color .25s,transform .3s cubic-bezier(.23,1,.32,1)}
.glancewise-footer-one .social-share li a i{font-size:var(--gw-fs-body)!important}
.glancewise-footer-one .social-share li a:hover{background:var(--ft-pink);color:var(--gw-white);transform:translateY(-2px)}

/* copyright strip */
.glancewise-footer-one .copyright-area{position:relative;background:var(--ft-deep);padding:20px 0}
.glancewise-footer-one .copyright-default p{margin:0;font-size:var(--gw-fs-ui-lg);line-height:1.5;color:var(--ft-mute)}
.glancewise-footer-one .copyright-default p a{color:var(--ft-ink);font-weight:600}
.glancewise-footer-one .copyright-default p a:hover{color:var(--ft-pink-ink)}

.glancewise-footer-one a:focus-visible{outline:2px solid var(--ft-pink-ink);outline-offset:3px;border-radius:4px}
.glancewise-footer-one .social-share li a:focus-visible{border-radius:50%}

@media (prefers-reduced-motion:reduce){
  .glancewise-footer-one *{transition:none !important}
}

@media only screen and (max-width:991px){
  .glancewise-footer-one.footer-style-default .footer-top{padding:110px 0 56px}
}
@media only screen and (max-width:767px){
  .glancewise-footer-one.footer-style-default .footer-top,
  .glancewise-footer-one:not(:has(.cta-with-overlay)) .footer-top{padding:56px 0 48px}
  .glancewise-footer-one.footer-style-default .widget-title{font-size:var(--gw-fs-lead)}
  .glancewise-footer-one .glancewise-footer-widget .logo img{height:40px}
  .glancewise-footer-one .copyright-area{padding:18px 0 22px}
  .glancewise-footer-one .copyright-default .inner{padding-right:56px;text-align:left !important}
}

