.n4sf-share-root{
  --n4sf-share-blue:#1672a8;
  --n4sf-share-deep:#125d8c;
  --n4sf-share-sky:#20b3e7;
  --n4sf-share-green:#b6d75b;
  --n4sf-share-ink:#173a57;
  position:fixed;
  right:18px;
  bottom:92px;
  z-index:9996;
  font-family:Arial,Helvetica,sans-serif;
}
.n4sf-share-button{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:112px;
  height:50px;
  padding:0 17px 0 14px;
  border:1px solid rgba(255,255,255,.7);
  border-radius:999px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,0) 42%),
    linear-gradient(145deg,var(--n4sf-share-blue),var(--n4sf-share-deep));
  color:#fff;
  box-shadow:
    0 14px 34px rgba(22,114,168,.28),
    inset 0 1px 0 rgba(255,255,255,.22);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  backdrop-filter:blur(10px);
  transition:transform .22s cubic-bezier(.2,.7,.2,1),box-shadow .22s ease,background .22s ease;
}
.n4sf-share-button:before{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.08),transparent 38%);
}
.n4sf-share-button:hover{
  transform:translateY(-2px);
  box-shadow:
    0 18px 42px rgba(22,114,168,.34),
    inset 0 1px 0 rgba(255,255,255,.26);
}
.n4sf-share-button:active{transform:translateY(0) scale(.98)}
.n4sf-share-button:focus-visible{outline:3px solid rgba(182,215,91,.7);outline-offset:3px}
.n4sf-share-label{
  position:relative;
  z-index:2;
  font:800 12px/1 Arial,Helvetica,sans-serif;
  letter-spacing:.01em;
}
.n4sf-share-icon{
  position:relative;
  z-index:2;
  width:20px;
  height:20px;
  flex:0 0 20px;
}
.n4sf-share-icon i{
  position:absolute;
  width:5px;
  height:5px;
  border:2px solid currentColor;
  border-radius:50%;
  background:transparent;
}
.n4sf-share-icon i:nth-child(1){left:0;top:7px}
.n4sf-share-icon i:nth-child(2){right:0;top:0}
.n4sf-share-icon i:nth-child(3){right:0;bottom:0}
.n4sf-share-icon:before,
.n4sf-share-icon:after{
  content:"";
  position:absolute;
  left:6px;
  width:9px;
  height:2px;
  border-radius:999px;
  background:currentColor;
  transform-origin:left center;
}
.n4sf-share-icon:before{top:7px;transform:rotate(-29deg)}
.n4sf-share-icon:after{top:12px;transform:rotate(29deg)}

.n4sf-share-panel{
  position:absolute;
  right:0;
  bottom:64px;
  width:min(340px,calc(100vw - 28px));
  padding:16px;
  border:1px solid rgba(207,225,233,.95);
  border-radius:20px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.98),rgba(249,252,253,.98));
  box-shadow:
    0 26px 70px rgba(20,68,96,.24),
    inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter:blur(18px);
  opacity:0;
  visibility:hidden;
  transform:translateY(10px) scale(.97);
  transform-origin:bottom right;
  pointer-events:none;
  transition:opacity .2s ease,transform .22s cubic-bezier(.2,.7,.2,1),visibility .2s ease;
}
.n4sf-share-root.is-open .n4sf-share-panel{
  opacity:1;
  visibility:visible;
  transform:none;
  pointer-events:auto;
}
.n4sf-share-panel:after{
  content:"";
  position:absolute;
  right:28px;
  bottom:-7px;
  width:14px;
  height:14px;
  background:#fbfdfe;
  border-right:1px solid #d3e3ea;
  border-bottom:1px solid #d3e3ea;
  transform:rotate(45deg);
}
.n4sf-share-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:2px 2px 14px;
}
.n4sf-share-panel-head strong{
  display:block;
  color:var(--n4sf-share-ink);
  font-size:16px;
  line-height:1.2;
}
.n4sf-share-panel-head span{
  display:block;
  margin-top:4px;
  max-width:230px;
  color:#708691;
  font-size:11px;
  line-height:1.45;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.n4sf-share-close{
  flex:0 0 auto;
  width:32px;
  height:32px;
  padding:0;
  border:1px solid #d9e6ec;
  border-radius:50%;
  background:#fff;
  color:var(--n4sf-share-ink);
  font-size:20px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(22,107,161,.06);
}
.n4sf-share-options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.n4sf-share-options button,
.n4sf-share-options a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:10px 12px;
  border:1px solid #dce8ed;
  border-radius:12px;
  background:#fff;
  color:var(--n4sf-share-ink);
  font:800 11px/1.2 Arial,Helvetica,sans-serif;
  text-decoration:none;
  cursor:pointer;
  box-shadow:0 6px 16px rgba(22,107,161,.045);
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
.n4sf-share-options button:hover,
.n4sf-share-options a:hover{
  transform:translateY(-1px);
  background:#eef8fc;
  border-color:#c8dfe8;
}
.n4sf-share-copy.is-copied{
  background:#f1f8df;
  border-color:#cfe29a;
}
.n4sf-share-status{
  min-height:17px;
  margin-top:10px;
  color:#607783;
  font-size:10px;
  line-height:1.4;
  text-align:center;
}

@media(max-width:720px){
  .n4sf-share-root{right:16px;bottom:88px}
  .n4sf-share-button{
    min-width:104px;
    height:48px;
    padding:0 15px 0 13px;
  }
  .n4sf-share-panel{
    position:fixed;
    left:12px;
    right:12px;
    bottom:18px;
    width:auto;
    padding:17px;
    border-radius:22px;
    transform:translateY(20px) scale(.98);
    transform-origin:bottom center;
  }
  .n4sf-share-panel:after{display:none}
  .n4sf-share-root.is-open:before{
    content:"";
    position:fixed;
    inset:0;
    z-index:-1;
    background:rgba(15,42,59,.22);
    backdrop-filter:blur(2px);
  }
  .n4sf-share-options{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){
  .n4sf-share-button,.n4sf-share-panel,.n4sf-share-options button,.n4sf-share-options a{transition:none!important}
}
/* Premium unified floating controls */
#ast-scroll-top,
.ekit-btt,
.ekit-btt__button,
.elementskit-back-to-top{
  display:none!important;
}

.n4sf-share-root{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}

.n4sf-top-button{
  --scroll-progress:0deg;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  padding:0;
  border:0;
  border-radius:50%;
  background:conic-gradient(
    var(--n4sf-share-green) var(--scroll-progress),
    rgba(255,255,255,.55) 0
  );
  box-shadow:0 12px 30px rgba(22,114,168,.20);
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px) scale(.94);
  pointer-events:none;
  transition:
    opacity .2s ease,
    visibility .2s ease,
    transform .22s cubic-bezier(.2,.7,.2,1),
    box-shadow .2s ease;
}

.n4sf-top-button:before{
  content:"";
  position:absolute;
  inset:3px;
  border-radius:50%;
  background:
    linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,0) 42%),
    linear-gradient(145deg,var(--n4sf-share-blue),var(--n4sf-share-deep));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 0 0 1px rgba(255,255,255,.12);
}

.n4sf-top-button.is-visible{
  opacity:1;
  visibility:visible;
  transform:none;
  pointer-events:auto;
}

.n4sf-top-button:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(22,114,168,.28);
}

.n4sf-top-button:active{
  transform:scale(.97);
}

.n4sf-top-button:focus-visible{
  outline:3px solid rgba(182,215,91,.7);
  outline-offset:3px;
}

.n4sf-top-chevron{
  position:relative;
  z-index:2;
  width:13px;
  height:13px;
  margin-top:5px;
  border-top:2px solid #fff;
  border-left:2px solid #fff;
  transform:rotate(45deg);
}

.n4sf-top-button:after{
  content:"";
  position:absolute;
  z-index:2;
  width:2px;
  height:13px;
  top:17px;
  left:50%;
  border-radius:999px;
  background:#fff;
  transform:translateX(-50%);
}

.n4sf-share-panel{
  bottom:calc(100% + 12px);
}

@media(max-width:720px){
  .n4sf-share-root{
    gap:9px;
  }

  .n4sf-top-button{
    width:44px;
    height:44px;
  }

  .n4sf-share-panel{
    bottom:18px;
  }
}

@media(prefers-reduced-motion:reduce){
  .n4sf-top-button{
    transition:none!important;
  }
}

/* Premium N4SF footer */
.site-footer--premium{
  position:relative;
  overflow:hidden;
  margin-top:0;
  padding:0;
  border-top:0;
  background:
    radial-gradient(circle at 82% 12%,rgba(32,179,231,.12),transparent 24%),
    radial-gradient(circle at 12% 92%,rgba(182,215,91,.08),transparent 22%),
    #103e5d;
  color:#fff;
}
.site-footer--premium:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:72px 72px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.55),transparent 80%);
}
.footer-topline{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:70px;
  align-items:end;
  padding-top:68px;
  padding-bottom:42px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.footer-brand .footer-logo{
  display:block;
  width:190px;
  height:auto;
  margin:0 0 18px;
  filter:brightness(0) invert(1);
}
.footer-brand p{
  max-width:420px;
  margin:0;
  color:#c7dbe5;
  font:400 13px/1.65 Arial,Helvetica,sans-serif;
}
.footer-statement{
  justify-self:end;
  max-width:720px;
}
.footer-statement span{
  display:block;
  margin-bottom:10px;
  color:var(--green);
  font:800 10px/1.2 Arial,Helvetica,sans-serif;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.footer-statement strong{
  display:block;
  color:#fff;
  font:700 clamp(30px,4vw,50px)/1.04 Arial,Helvetica,sans-serif;
  letter-spacing:-.04em;
  text-wrap:balance;
}
.footer-main{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);
  gap:58px;
  padding-top:44px;
  padding-bottom:42px;
}
.footer-link-groups{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
}
.footer-link-groups nav{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
}
.footer-link-groups nav>strong{
  margin:0 0 8px;
  color:#fff;
  font:800 11px/1.2 Arial,Helvetica,sans-serif;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.footer-link-groups nav a{
  position:relative;
  color:#c8d9e2;
  font:600 12px/1.35 Arial,Helvetica,sans-serif;
  text-decoration:none;
  transition:color .18s ease,transform .18s ease;
}
.footer-link-groups nav a:hover{
  color:#fff;
  transform:translateX(2px);
}
.footer-newsletter{
  padding:24px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:18px;
  background:rgba(255,255,255,.065);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
}
.footer-newsletter-label{
  display:block;
  color:var(--green);
  font:800 9px/1.2 Arial,Helvetica,sans-serif;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.footer-newsletter>strong{
  display:block;
  margin:8px 0 8px;
  color:#fff;
  font:700 24px/1.1 Arial,Helvetica,sans-serif;
  letter-spacing:-.025em;
}
.footer-newsletter>p{
  margin:0 0 16px;
  color:#c5d8e2;
  font:400 12px/1.55 Arial,Helvetica,sans-serif;
}
.footer-newsletter-form{
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
  align-items:end;
}
.footer-newsletter-form label:not(.hp-field){
  display:flex;
  flex-direction:column;
  gap:6px;
}
.footer-newsletter-form label span{
  color:#c9dce5;
  font:700 10px/1.2 Arial,Helvetica,sans-serif;
}
.footer-newsletter-form input[type="email"]{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:9px;
  background:rgba(255,255,255,.96);
  color:#173a57;
  font:400 13px/1.4 Arial,Helvetica,sans-serif;
  outline:none;
}
.footer-newsletter-form input[type="email"]:focus{
  border-color:var(--green);
  box-shadow:0 0 0 3px rgba(182,215,91,.12);
}
.footer-newsletter-form button{
  min-height:44px;
  padding:10px 14px;
  border:0;
  border-radius:9px;
  background:var(--green);
  color:#173a57;
  font:800 11px/1.2 Arial,Helvetica,sans-serif;
  cursor:pointer;
}
.footer-newsletter>small{
  display:block;
  margin-top:9px;
  color:#9eb7c4;
  font:500 9px/1.4 Arial,Helvetica,sans-serif;
}
.footer-bottom{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:flex-start;
  margin-top:0;
  padding-top:20px;
  padding-bottom:24px;
  border-top:1px solid rgba(255,255,255,.1);
  color:#9fb7c3;
  font:500 10px/1.5 Arial,Helvetica,sans-serif;
}
.footer-bottom>div:first-child{
  display:flex;
  flex-direction:column;
  gap:3px;
}
.footer-tax-note{
  color:#7898a8;
}
.footer-bottom-links{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}
.footer-bottom-links a{
  color:#bfd1da;
  font-weight:700;
  text-decoration:none;
}
.footer-bottom-links a:hover{color:#fff}
.newsletter-message{
  margin:0 0 12px;
  padding:9px 11px;
  border-radius:8px;
  font-size:11px;
  line-height:1.4;
}
.newsletter-message.success{background:rgba(182,215,91,.16);color:#e5f2c6}
.newsletter-message.error{background:rgba(255,120,120,.12);color:#ffd3d3}

@media(max-width:900px){
  .footer-topline{
    grid-template-columns:1fr;
    gap:28px;
  }
  .footer-statement{
    justify-self:start;
    max-width:700px;
  }
  .footer-main{
    grid-template-columns:1fr;
    gap:34px;
  }
  .footer-newsletter{
    max-width:600px;
  }
}

@media(max-width:640px){
  .footer-topline{
    padding-top:48px;
    padding-bottom:30px;
  }
  .footer-brand .footer-logo{
    width:165px;
  }
  .footer-statement strong{
    font-size:30px;
    line-height:1.06;
  }
  .footer-main{
    padding-top:30px;
    padding-bottom:30px;
  }
  .footer-link-groups{
    grid-template-columns:1fr 1fr;
    gap:28px 18px;
  }
  .footer-link-groups nav:last-child{
    grid-column:1/-1;
  }
  .footer-newsletter{
    padding:20px;
    border-radius:15px;
  }
  .footer-newsletter-form{
    grid-template-columns:1fr;
  }
  .footer-newsletter-form button{
    width:100%;
  }
  .footer-bottom{
    flex-direction:column;
    gap:16px;
  }
}

@media(max-width:420px){
  .footer-link-groups{
    grid-template-columns:1fr;
  }
  .footer-link-groups nav:last-child{
    grid-column:auto;
  }
}

@media(prefers-reduced-motion:reduce){
  .footer-link-groups nav a{transition:none!important}
}

/* Hide legacy WordPress footer when premium footer is present */
#colophon.site-footer:not(.site-footer--premium){
  display:none!important;
}
.footer-newsletter-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 14px;
  border-radius:9px;
  background:var(--green);
  color:#173a57!important;
  font:800 11px/1.2 Arial,Helvetica,sans-serif;
  text-decoration:none!important;
}
.footer-newsletter-cta:hover{
  background:#c5df79;
}
