
/* NS – Rollschool (neon/LED style) */
.ns-rs{ padding: 48px 0; }

.ns-rs__wrap{
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  position: relative;
}

.ns-rs__wrap > *{ position: relative; z-index: 1; }



.ns-rs__card{
  position: relative;
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  overflow: hidden;
}

.ns-rs__card:after{
  content:"";
  position:absolute;
  inset: auto -40px -40px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 30% 30%, rgba(0,229,255,.18), transparent 65%);
  pointer-events:none;
}


.ns-rs__top{
  align-items: flex-start;

  display:flex;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
}

.ns-rs__logo{
  width: 180px;
  height: 180px;

  flex: 0 0 auto;
  width: 180px;
  height: 180px;
  border-radius: 16px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(0,229,255,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 0 22px rgba(0,229,255,.12);
  overflow:hidden;
}
.ns-rs__logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  display:block;
}

.ns-rs__topText{
  flex: 1 1 auto;
  color: rgba(255,255,255,.92);
  line-height: 1.75;
  font-size: 15.6px;
}
.ns-rs__topText h1,.ns-rs__topText h2,.ns-rs__topText h3{
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: .2px;
  text-shadow: 0 0 10px rgba(0,229,255,.22);
}
.ns-rs__topText a{ color: rgba(0,229,255,.95); text-decoration: none; }
.ns-rs__topText a:hover{ text-decoration: underline; }

.ns-rs__grid{
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.ns-rs__midText{
  color: rgba(255,255,255,.9);
  line-height: 1.75;
  font-size: 15.4px;
}
.ns-rs__midText p{ margin: 0 0 10px; }
.ns-rs__midText p:last-child{ margin-bottom: 0; }
.ns-rs__midText strong{ color: #fff; }

.ns-rs__slider{
  padding: 14px;
}

.ns-rs__slides{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,229,255,.18);
  background: rgba(0,0,0,.25);
  min-height: 260px;
}

.ns-rs__slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 650ms ease;
  will-change: opacity;
}
.ns-rs__slide.is-active{ opacity: 1; }

.ns-rs__slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
}

.ns-rs__ph{
  position:absolute; inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
  color: rgba(255,255,255,.85);
  text-align:center;
  line-height: 1.6;
}
.ns-rs__phGlow{
  position:absolute; inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(0,229,255,.22), transparent 55%),
              radial-gradient(circle at 70% 25%, rgba(255,0,204,.15), transparent 55%);
  filter: blur(10px);
  opacity: .9;
}
.ns-rs__phText{ position: relative; }

.ns-rs__dots{
  display:flex;
  gap: 8px;
  justify-content:center;
  padding-top: 12px;
}
.ns-rs__dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(0,229,255,.25);
  box-shadow: 0 0 10px rgba(0,229,255,.12);
  cursor: default;
}
.ns-rs__dot.is-active{
  background: rgba(0,229,255,.75);
  box-shadow: 0 0 14px rgba(0,229,255,.45), 0 0 30px rgba(255,0,204,.14);
}

@media (max-width: 860px){
  .ns-rs__top{
  align-items: flex-start;
 flex-direction: column; align-items: flex-start; }
  .ns-rs__logo{
  width: 180px;
  height: 180px;
 width: 180px;
  height: 180px; }
  .ns-rs__grid{ grid-template-columns: 1fr; }
  .ns-rs__slides{ min-height: 220px; }
}

/* Button (link) */
.ns-rs__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration:none;
  color: rgba(255,255,255,.95);
  border: 1px solid rgba(0,229,255,.32);
  background: rgba(0,229,255,.10);
  box-shadow: 0 0 0 1px rgba(0,229,255,.10) inset, 0 10px 26px rgba(0,0,0,.24);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}
.ns-rs__btn:hover{
  transform: translateY(-1px);
  background: rgba(0,229,255,.14);
  box-shadow: 0 0 0 1px rgba(0,229,255,.14) inset, 0 14px 34px rgba(0,0,0,.28);
}
.ns-rs__btnWrap{ margin-top: 12px; }

/* HARD KILL decorative blobs */
.ns-rs__card:before,
.ns-rs__card:after,
.ns-rs__wrap:before,
.ns-rs__wrap:after,
.ns-rs__slides:before,
.ns-rs__slides:after,
.ns-rs__phGlow{
  content: none !important;
  display: none !important;
}

/* Mid text card: button at bottom */
.ns-rs__midText{
  display:flex;
  flex-direction: column;
}
.ns-rs__midBody{ flex: 1 1 auto; }
.ns-rs__btnWrap--bottom{ margin-top: 14px; }


/* === Mobile compatibility improvements (NS Rollschool) === */
@media (max-width: 860px){
  .ns-rs{ padding: 28px 0; }
  .ns-rs__card{ padding: 14px; border-radius: 16px; }

  .ns-rs__top{
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 14px;
  }
  .ns-rs__logo{
    width: 140px;
    height: 140px;
    border-radius: 18px;
  }
  .ns-rs__topText{
    font-size: 15px;
  }

  .ns-rs__grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ns-rs__btnWrap--bottom{ margin-top: 12px; }
  .ns-rs__btn{
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
  }

  .ns-rs__slider{ padding: 12px; }
  .ns-rs__slides{
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .ns-rs__slide img{ transform: none; }
}

@media (max-width: 480px){
  .ns-rs__wrap{ width: calc(100% - 28px); }
  .ns-rs__logo{ width: 124px; height: 124px; }
  .ns-rs__topText{ font-size: 14.6px; }
  .ns-rs__dots{ padding-top: 10px; }
}
