.nrfs{--nrfs-height:420px;position:relative;width:100%;min-height:var(--nrfs-height);overflow:hidden;background:#0b0b12;color:#fff;isolation:isolate}
.nrfs *{box-sizing:border-box}
.nrfs-track{position:relative;min-height:var(--nrfs-height)}
.nrfs-slide{position:absolute;inset:0;min-height:var(--nrfs-height);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .5s ease,visibility .5s ease;overflow:hidden}
.nrfs-slide.nrfs-active{opacity:1;visibility:visible;z-index:1}
.nrfs-media{position:absolute;inset:0;z-index:0}
.nrfs-media img{display:block;width:100%;height:100%;object-fit:cover}
.nrfs-overlay.nrfs-has-image:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.2));z-index:1}
.nrfs-copy{position:relative;z-index:2;width:min(100%,1100px);padding:64px 8%;margin:auto}
.nrfs-heading{font:inherit;font-size:clamp(1.8rem,4vw,3.6rem);font-weight:800;line-height:1.1;margin:0 0 18px;color:inherit}
.nrfs-body{font-size:clamp(1rem,1.7vw,1.25rem);line-height:1.6;overflow-wrap:anywhere}
.nrfs-body p{margin:0 0 1rem}
.nrfs-body :is(iframe,video,img){max-width:100%}
.nrfs-cta{display:inline-block;margin-top:18px;padding:12px 24px;border-radius:4px;background:#6a00f4;color:#fff!important;text-decoration:none!important;font-weight:700}
.nrfs-cta:hover,.nrfs-cta:focus-visible{background:#4e00bd}
.nrfs-split{display:grid;grid-template-columns:1fr 1fr;background:#111}
.nrfs-split .nrfs-media{position:relative;height:100%;grid-column:1;grid-row:1}
.nrfs-split .nrfs-copy{grid-column:2;grid-row:1;padding:48px 10%}
.nrfs-content{background:#111}
.nrfs-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;cursor:pointer;font-size:20px;line-height:1}
.nrfs-prev{left:12px}.nrfs-next{right:12px}
.nrfs-arrow:hover,.nrfs-arrow:focus-visible{background:rgba(106,0,244,.9)}
.nrfs-dots{position:absolute;bottom:16px;left:0;right:0;display:flex;justify-content:center;gap:9px;z-index:3}
.nrfs-dot{width:10px;height:10px;border:1px solid #fff;border-radius:50%;background:rgba(255,255,255,.45);padding:0;cursor:pointer}
.nrfs-dot[aria-current="true"]{background:#fff}
.nrfs :focus-visible{outline:2px solid #ffd700;outline-offset:3px}
@media(max-width:700px){.nrfs,.nrfs-track,.nrfs-slide{min-height:max(320px,var(--nrfs-height))}.nrfs-copy{padding:52px 12%}.nrfs-split{display:flex;flex-direction:column}.nrfs-split .nrfs-media{position:absolute;inset:0;opacity:.24}.nrfs-split .nrfs-copy{position:relative;padding:50px 12%}.nrfs-arrow{width:34px;height:34px}.nrfs-prev{left:4px}.nrfs-next{right:4px}}
@media(prefers-reduced-motion:reduce){.nrfs-slide{transition:none}}
/* v1.1: Layer positioning, animations and responsive controls */
.nrfs-layer-canvas{position:absolute;inset:0;z-index:2;pointer-events:none}.nrfs-layer{position:absolute;pointer-events:auto;overflow-wrap:anywhere}.nrfs-layer img{width:100%;height:auto;display:block}.nrfs-layer .nrfs-cta{margin:0}.nrfs-layer :is(iframe,video){max-width:100%}.nrfs-slide[data-transition="slide"]{transform:translateX(7%);transition:opacity .55s ease,transform .55s ease,visibility .55s ease}.nrfs-slide[data-transition="zoom"]{transform:scale(1.04);transition:opacity .55s ease,transform .55s ease,visibility .55s ease}.nrfs-slide.nrfs-active[data-transition="slide"],.nrfs-slide.nrfs-active[data-transition="zoom"]{transform:none}.nrfs-active .nrfs-animate-fade{animation:nrfsFade .65s ease both}.nrfs-active .nrfs-animate-rise{animation:nrfsRise .65s ease both}.nrfs-active .nrfs-animate-slide{animation:nrfsEnter .65s ease both}@keyframes nrfsFade{from{opacity:0}to{opacity:1}}@keyframes nrfsRise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}@keyframes nrfsEnter{from{opacity:0;transform:translateX(-22px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:700px){.nrfs,.nrfs-track,.nrfs-slide{min-height:var(--nrfs-mobile-height,320px)}.nrfs-hide-mobile{display:none}.nrfs-media.nrfs-mobile-left img{object-position:left center}.nrfs-media.nrfs-mobile-right img{object-position:right center}.nrfs-layer{max-width:calc(100% - 12px)}.nrfs-layer-canvas{font-size:.8em}}
@media(prefers-reduced-motion:reduce){.nrfs-active [class*=nrfs-animate-]{animation:none!important}.nrfs-slide{transition:none!important}}

/* v1.4: Distinct transition effects; no track movement during fade. */
.nrfs .nrfs-slide{transition:none!important;opacity:0;visibility:hidden;z-index:0;transform:none}
.nrfs .nrfs-slide.nrfs-active{opacity:1;visibility:visible;z-index:1}
.nrfs .nrfs-slide.nrfs-enter,.nrfs .nrfs-slide.nrfs-exit{visibility:visible;opacity:1;z-index:2;pointer-events:none}
.nrfs .nrfs-slide.nrfs-enter{z-index:3;pointer-events:auto}
.nrfs[data-effect="fade"] .nrfs-enter{animation:nrfs-fade-in var(--nrfs-duration) ease both}
.nrfs[data-effect="fade"] .nrfs-exit{animation:nrfs-fade-out var(--nrfs-duration) ease both}
.nrfs[data-effect="slide"] .nrfs-enter.nrfs-next-direction{animation:nrfs-slide-in-right var(--nrfs-duration) ease both}
.nrfs[data-effect="slide"] .nrfs-exit.nrfs-next-direction{animation:nrfs-slide-out-left var(--nrfs-duration) ease both}
.nrfs[data-effect="slide"] .nrfs-enter.nrfs-prev-direction{animation:nrfs-slide-in-left var(--nrfs-duration) ease both}
.nrfs[data-effect="slide"] .nrfs-exit.nrfs-prev-direction{animation:nrfs-slide-out-right var(--nrfs-duration) ease both}
.nrfs[data-effect="zoom"] .nrfs-enter{animation:nrfs-zoom-in var(--nrfs-duration) ease both}
.nrfs[data-effect="zoom"] .nrfs-exit{animation:nrfs-zoom-out var(--nrfs-duration) ease both}
@keyframes nrfs-fade-in{from{opacity:0}to{opacity:1}}
@keyframes nrfs-fade-out{from{opacity:1}to{opacity:0}}
@keyframes nrfs-slide-in-right{from{transform:translateX(100%)}to{transform:translateX(0)}}
@keyframes nrfs-slide-out-left{from{transform:translateX(0)}to{transform:translateX(-100%)}}
@keyframes nrfs-slide-in-left{from{transform:translateX(-100%)}to{transform:translateX(0)}}
@keyframes nrfs-slide-out-right{from{transform:translateX(0)}to{transform:translateX(100%)}}
@keyframes nrfs-zoom-in{from{transform:scale(.94);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes nrfs-zoom-out{from{transform:scale(1);opacity:1}to{transform:scale(1.06);opacity:0}}
.nrfs .nrfs-cta{margin-top:var(--nrfs-button-gap,18px)}
.nrfs .nrfs-social-content{max-width:100%;overflow:auto;max-height:calc(var(--nrfs-height) - 125px)}
.nrfs .nrfs-social-content :is(iframe,video){max-width:100%}
.nrfs .nrfs-arrow:disabled{opacity:.35;cursor:default}
@media(prefers-reduced-motion:reduce){.nrfs .nrfs-enter,.nrfs .nrfs-exit{animation:none!important}}

/* v1.4.2: Retain full image, and let embedded content determine height. */
.nrfs .nrfs-media.nrfs-fit-contain img{object-fit:contain!important;object-position:center center}
.nrfs .nrfs-media.nrfs-fit-cover img{object-fit:cover!important}
.nrfs .nrfs-social-content{max-height:none!important;overflow:visible!important}
.nrfs .nrfs-copy{max-width:100%;min-width:0}
.nrfs .nrfs-body :is(img,video,iframe){max-width:100%;height:auto}
.nrfs .nrfs-body iframe{height:revert-layer}
.nrfs[data-auto-height="yes"] .nrfs-slide{overflow:visible}

/* v1.4.3: Social Ninja content is a complete feed, not a decorative image layer. */
.nrfs .nrfs-social-slide{align-items:flex-start;justify-content:stretch;background:transparent;overflow:visible}
.nrfs .nrfs-social-slide .nrfs-copy{width:100%;max-width:100%;margin:0;padding:12px 8px 24px;min-width:0}
.nrfs .nrfs-social-slide .nrfs-body{width:100%;overflow:visible!important;max-height:none!important;min-width:0}
.nrfs .nrfs-social-slide .nrfs-social-content{height:auto!important;max-height:none!important;overflow:visible!important}
.nrfs .nrfs-social-slide :is(iframe,video){max-width:100%}
/* Don't overwrite the height provided by WP Social Ninja, YouTube, TikTok or iframes. */
.nrfs .nrfs-body iframe{height:auto;min-height:400px}
.nrfs .nrfs-social-slide iframe{height:var(--nrfs-embed-height,520px);min-height:400px;display:block}
.nrfs .nrfs-social-slide :is(img,video){height:auto;object-fit:contain}
.nrfs[data-auto-height="yes"] .nrfs-social-slide{overflow:visible}
@media(max-width:700px){.nrfs .nrfs-social-slide .nrfs-copy{padding:8px 4px 20px}.nrfs .nrfs-social-slide iframe{min-height:440px}}

/* v1.4.4: CONTAIN social feeds inside the Elementor widget bounds.
   A social feed is often an arbitrarily long timeline: it must NOT resize
   the parent slider to the height of every post. */
.nrfs{max-width:100%;min-width:0}
.nrfs .nrfs-track{max-width:100%;min-width:0}
.nrfs .nrfs-social-slide{
  inset:0;
  width:100%;height:100%;min-width:0;min-height:0;
  display:flex;align-items:stretch;justify-content:stretch;
  overflow:hidden!important;
}
.nrfs .nrfs-social-slide .nrfs-copy{
  width:100%;height:100%;max-width:100%;min-width:0;
  padding:12px 12px 18px;margin:0;
  display:flex;flex-direction:column;
  overflow:hidden!important;
}
.nrfs .nrfs-social-slide .nrfs-body{
  flex:1 1 auto;min-height:0;min-width:0;width:100%;
  overflow-x:hidden!important;overflow-y:auto!important;
  overscroll-behavior:contain;
}
.nrfs .nrfs-social-slide .nrfs-social-content{
  max-height:none!important;height:auto!important;
  overflow-x:hidden!important;overflow-y:auto!important;
}
.nrfs .nrfs-social-slide .nrfs-body > *{max-width:100%}
.nrfs .nrfs-social-slide :is(img,video){max-width:100%;height:auto;object-fit:contain}
.nrfs .nrfs-social-slide iframe{max-width:100%;height:var(--nrfs-embed-height,520px);display:block}
.nrfs .nrfs-social-slide .nrfs-cta{flex-shrink:0}
@media(max-width:700px){
  .nrfs .nrfs-social-slide .nrfs-copy{padding:8px 6px 12px}
  .nrfs .nrfs-social-slide iframe{max-width:100%}
}

/* v1.4.5: Each WP Social Ninja post is one slide (not a complete feed). */
.nrfs .nrfs-social-card{width:100%;height:100%;min-height:0;overflow:hidden!important;align-items:center;justify-content:center;background:transparent}
.nrfs .nrfs-social-card .nrfs-copy{width:100%;height:auto;max-width:100%;min-width:0;margin:0;padding:12px 18px;display:flex;flex-direction:column;overflow:hidden}
.nrfs .nrfs-social-card .nrfs-single-post{width:100%;max-width:100%;min-width:0;max-height:100%;overflow:visible!important;display:flex;justify-content:center;align-items:center}
.nrfs .nrfs-social-card .nrfs-single-post > *{max-width:100%;width:min(100%,700px);margin-left:auto;margin-right:auto;min-width:0}
.nrfs .nrfs-social-card :is(img,video){max-width:100%;height:auto!important;max-height:min(75vh,800px);object-fit:contain}
.nrfs .nrfs-social-card iframe{max-width:100%;height:auto;min-height:0;aspect-ratio:9 / 16;max-height:75vh}
.nrfs .nrfs-social-card .nrfs-cta{flex-shrink:0}
.nrfs .nrfs-social-card .wpsr-ig-post,.nrfs .nrfs-social-card .wpsr-fb-feed-item{float:none!important;max-width:100%!important}
.nrfs .nrfs-social-card .wpsr-col-1,.nrfs .nrfs-social-card [class*="wpsr-col-"]{width:100%!important;max-width:100%!important}
.nrfs .nrfs-social-slide:not(.nrfs-social-card){overflow:hidden!important}
@media(max-width:700px){.nrfs .nrfs-social-card .nrfs-copy{padding:8px}.nrfs .nrfs-social-card iframe{max-height:65vh}}
/* While a third-party feed is hydrating, do not display its unbounded timeline. */
.nrfs .nrfs-social-slide .nrfs-social-content{visibility:hidden!important}

/* v1.4.6: Separate regular-slide sizing from individual social cards.
   No forced 9:16 iframe expansion or full feed-based Elementor height. */
.nrfs .nrfs-social-card{
  position:absolute;inset:0;min-height:0!important;height:100%;
  overflow:hidden!important;background:transparent;
}
.nrfs .nrfs-social-card .nrfs-copy{
  box-sizing:border-box;width:100%;height:100%;margin:0;
  padding:10px 14px;align-items:center;justify-content:center;
  overflow:hidden!important;
}
.nrfs .nrfs-social-card .nrfs-heading{flex:0 0 auto;max-width:100%;margin-bottom:8px}
.nrfs .nrfs-social-card .nrfs-single-post{
  position:relative;display:flex;justify-content:center;align-items:flex-start;
  width:100%;max-width:100%;min-width:0;min-height:0;
  overflow:hidden!important;flex:0 1 auto;
}
.nrfs .nrfs-social-card .nrfs-single-post > *{
  box-sizing:border-box;display:block;flex:0 0 auto;
  width:min(100%,540px)!important;max-width:100%!important;
  margin:0 auto!important;transform-origin:center top;
}
.nrfs .nrfs-social-card :is(img,video){
  display:block;max-width:100%!important;width:auto;
  height:auto!important;max-height:480px!important;
  object-fit:contain!important;margin-left:auto;margin-right:auto;
}
.nrfs .nrfs-social-card iframe{
  max-width:100%!important;min-height:0!important;
  max-height:480px!important;aspect-ratio:auto!important;
}
.nrfs .nrfs-social-card .nrfs-cta{flex:0 0 auto}
.nrfs .nrfs-social-card :is(.wpsr-ig-post,.wpsr-fb-feed-item,.wpsr-fb-feed-post,.wpsr-yt-video,.wpsr-tiktok-post){
  min-width:0;max-width:100%!important;
}
@media(max-width:700px){
 .nrfs .nrfs-social-card .nrfs-copy{padding:6px 8px}
 .nrfs .nrfs-social-card :is(img,video,iframe){max-height:350px!important}
}
