
/* Neutralize decorative glows (keep cards clean & transparent like NS Team Join) */
.ns-rollinn-point .nrp-top:before,
.ns-rollinn-point .nrp-col:after{
  content: none !important;
  display: none !important;
}
/* NS – Rollinn (punkt) | LED / neon style (dopasowane do Nightskating) */

.ns-rollinn-point{

  --nrp-bg: rgba(8, 10, 16, .72);
  --nrp-panel: rgba(10, 14, 24, .72);
  --nrp-bd: rgba(0, 229, 255, .28);
  --nrp-bd2: rgba(255, 0, 132, .18);
  --nrp-glow: 0 0 18px rgba(0,229,255,.18), 0 0 44px rgba(0,229,255,.10);
  --nrp-txt: rgba(255,255,255,.92);
  --nrp-muted: rgba(255,255,255,.72);

  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 18px;
}

/* top */
.ns-rollinn-point .nrp-top{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--nrp-bd);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background:rgba(255,255,255,.04);
  box-shadow:0 0 0 1px rgba(255,255,255,.10) inset, 0 10px 30px rgba(0,0,0,.22);
}


.ns-rollinn-point .nrp-logo{
  width: 160px;
  height: 110px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 0 0 1px rgba(0,229,255,.10) inset;
}

.ns-rollinn-point .nrp-logo img{
  max-width: 90%;
  max-height: 84px;
  width: auto;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(0,229,255,.12));
}

.ns-rollinn-point .nrp-intro{
  color: var(--nrp-txt);
  font-size: 15.5px;
  line-height: 1.75;
}

.ns-rollinn-point .nrp-intro p{ margin: 0 0 10px; }
.ns-rollinn-point .nrp-intro p:last-child{ margin-bottom: 0; }

.ns-rollinn-point .nrp-intro a{
  color: rgba(0,229,255,.95);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,229,255,.35);
}
.ns-rollinn-point .nrp-intro a:hover{ border-bottom-color: rgba(0,229,255,.75); }

/* 3 cols */
.ns-rollinn-point .nrp-cols{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ns-rollinn-point .nrp-col{
  padding: 16px 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(0,229,255,.22);
  position: relative;
  overflow: hidden;
  background:rgba(255,255,255,.04);
  box-shadow:0 0 0 1px rgba(255,255,255,.10) inset, 0 10px 30px rgba(0,0,0,.22);
}


.ns-rollinn-point .nrp-col__title{
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: .2px;
  color: rgba(255,255,255,.96);
  text-shadow: 0 0 18px rgba(0,229,255,.10);
}

.ns-rollinn-point .nrp-col__text{
  color: var(--nrp-muted);
  font-size: 14.8px;
  line-height: 1.7;
}

.ns-rollinn-point .nrp-col__text p{ margin: 0 0 10px; }
.ns-rollinn-point .nrp-col__text p:last-child{ margin-bottom: 0; }

/* bottom layout */
.ns-rollinn-point .nrp-bottom{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 3fr 5fr;
  gap: 14px;
  align-items: stretch;
}

/* Mapbox / Leaflet container (markup jak w NS Team) */
.ns-rollinn-point .nrp-mapbox-wrap{
  width: 100%;
}
.ns-rollinn-point .nrp-mapbox-wrap .mapbox{
  width: 100%;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, .22);
  background:rgba(255,255,255,.04);
  box-shadow:0 0 0 1px rgba(255,255,255,.10) inset, 0 10px 30px rgba(0,0,0,.22);
}
.ns-rollinn-point .nrp-mapbox-wrap .mapbox .map{
  height: 100%;
  min-height: 320px;
}

/* === NEON POINT: bez napisów na mapie ===
   Mapa jest inicjalizowana wspólnym skryptem NS (Leaflet). Nie ingerujemy w JS,
   tylko "maskujemy" ikonę markera tak, by zawsze wyglądała jak neonowy punkt. */
.ns-rollinn-point .ns-rollinn-mapbox .map-label{ display:none !important; }

/* Ukryj popupy/etykiety, jeśli skrypt je tworzy */
.ns-rollinn-point .ns-rollinn-mapbox .leaflet-popup,
.ns-rollinn-point .ns-rollinn-mapbox .leaflet-tooltip{
  display:none !important;
}

/* Marker jako neonowy punkt (działa dla L.divIcon oraz standardowych ikon) */
.ns-rollinn-point .ns-rollinn-mapbox .leaflet-marker-icon,
.ns-rollinn-point .ns-rollinn-mapbox .leaflet-marker-icon > div{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ns-rollinn-point .ns-rollinn-mapbox .leaflet-marker-icon{
  width: 20px !important;
  height: 20px !important;
}

.ns-rollinn-point .ns-rollinn-mapbox .leaflet-marker-icon > div{
  position: relative;
  width: 20px !important;
  height: 20px !important;
  font-size: 0 !important; /* usuń tekst */
  line-height: 0 !important;
  color: transparent !important;
}

.ns-rollinn-point .ns-rollinn-mapbox .leaflet-marker-icon > div::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(0,229,255,.98);
  box-shadow:
    0 0 10px rgba(0,229,255,.95),
    0 0 22px rgba(0,229,255,.55),
    0 0 44px rgba(255,0,132,.22);
}

.ns-rollinn-point .ns-rollinn-mapbox .leaflet-marker-icon > div::after{
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  border: 1px solid rgba(0,229,255,.22);
  box-shadow: 0 0 22px rgba(0,229,255,.18);
  animation: nrpPulse 2.1s ease-in-out infinite;
}

@keyframes nrpPulse{
  0%   { transform: scale(.72); opacity: .25; }
  55%  { transform: scale(1.10); opacity: .55; }
  100% { transform: scale(1.35); opacity: 0; }
}

.ns-rollinn-point .nrp-card{
  height: 100%;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10,14,24,.78), rgba(8,10,16,.62));
  border: 1px solid rgba(0,229,255,.22);
  box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 10px 30px rgba(0,0,0,.25);
}

.ns-rollinn-point .nrp-card__label{
  display: inline-block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,229,255,.88);
  margin: 2px 0 10px;
}

/* map */
.ns-rollinn-point .nrp-map__embed{
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 0 0 1px rgba(0,229,255,.10) inset;
  background: rgba(0,0,0,.18);
}

.ns-rollinn-point .nrp-map__embed iframe{
  display: block;
  width: 100% !important;
  height: 340px !important;
  border: 0;
}

.ns-rollinn-point .nrp-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(255,255,255,.96);
  background: linear-gradient(90deg, rgba(0,229,255,.16), rgba(255,0,132,.12));
  border: 1px solid rgba(0,229,255,.34);
  box-shadow: 0 0 18px rgba(0,229,255,.12);
  font-weight: 700;
  letter-spacing: .2px;
}

.ns-rollinn-point .nrp-btn:hover{
  border-color: rgba(0,229,255,.62);
  box-shadow: 0 0 24px rgba(0,229,255,.18), 0 0 44px rgba(255,0,132,.10);
  transform: translateY(-1px);
}

/* photo */
.ns-rollinn-point .nrp-photo__img{
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  box-shadow:0 0 0 1px rgba(255,255,255,.10) inset, 0 10px 30px rgba(0,0,0,.22);
}

.ns-rollinn-point .nrp-photo__img img{
  display: block;
  width: 100%;
  height: 410px;
  object-fit: cover;
}

.ns-rollinn-point .nrp-photo__placeholder{
  color: rgba(255,255,255,.70);
  font-size: 14px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(0,0,0,.16);
  border: 1px dashed rgba(0,229,255,.28);
}

/* responsive */
@media (max-width: 980px){
  .ns-rollinn-point .nrp-cols{ grid-template-columns: 1fr; }
  .ns-rollinn-point .nrp-bottom{ grid-template-columns: 1fr; }
  .ns-rollinn-point .nrp-photo__img img{ height: 320px; }
  .ns-rollinn-point .nrp-map__embed iframe{ height: 280px !important; }
}

@media (max-width: 640px){
  .ns-rollinn-point{
 padding: 22px 14px; }
  .ns-rollinn-point .nrp-top{ grid-template-columns: 1fr; }
  .ns-rollinn-point .nrp-logo{ width: 100%; height: 86px; }
  .ns-rollinn-point .nrp-logo img{ max-height: 58px; }
}


/* === Mobile compatibility improvements (NS Rollinn Point) === */
@media (max-width: 980px){
  .ns-rollinn-point{ padding: 22px 14px; }
  .ns-rollinn-point .nrp-top{
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
  }
  .ns-rollinn-point .nrp-logo{
    width: 140px;
    height: 90px;
  }
  .ns-rollinn-point .nrp-intro{
    font-size: 15px;
    line-height: 1.75;
  }

  .ns-rollinn-point .nrp-cols{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ns-rollinn-point .nrp-col{
    padding: 16px;
    border-radius: 16px;
  }

  .ns-rollinn-point .nrp-bottom{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ns-rollinn-point .nrp-map__embed iframe{
    height: 300px !important;
  }

  .ns-rollinn-point .nrp-photo__img img{
    height: 320px;
  }
}

@media (max-width: 480px){
  .ns-rollinn-point{ padding: 18px 12px; }
  .ns-rollinn-point .nrp-logo{ width: 150px; height: 94px; }
  .ns-rollinn-point .nrp-map__embed iframe{ height: 260px !important; }
  .ns-rollinn-point .nrp-photo__img img{ height: 260px; }
}


@media (max-width: 980px){
  .ns-rollinn-point .nrp-mapbox-wrap{ order: 1; }
  .ns-rollinn-point .nrp-photo{ order: 2; }
}


/* === Mobile CTA fix (NS Rollinn) === */
@media (max-width: 980px){
  .ns-rollinn-point .nrp-mapbox-wrap{
    padding-bottom: 12px;
  }
  .ns-rollinn-point .nrp-mapbox-wrap .nrp-btn,
  .ns-rollinn-point .nrp-mapbox-wrap a.nrp-btn{
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 999px;
  }
}

@media (max-width: 980px){
  .ns-rollinn-point .nrp-btn--primary{
    width: 100%;
    max-width: 100%;
  }
}


/* === Hard mobile containment (NS Rollinn) === */
@media (max-width: 980px){
  .ns-rollinn-point,
  .ns-rollinn-point *{
    max-width: 100%;
    box-sizing: border-box;
  }

  .ns-rollinn-point{
    overflow: hidden; /* prevent horizontal scroll from inner shadows */
  }

  .ns-rollinn-point .nrp-bottom{
    grid-template-columns: 1fr !important;
  }

  /* Make sure map/photo cards don't overflow */
  .ns-rollinn-point .nrp-mapbox-wrap,
  .ns-rollinn-point .nrp-photo{
    min-width: 0;
  }

  /* Map iframe: full width, responsive height */
  .ns-rollinn-point .nrp-map__embed{
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
  }
  .ns-rollinn-point .nrp-map__embed iframe{
    width: 100% !important;
    max-width: 100% !important;
    height: 52vw !important;   /* responsive height */
    min-height: 240px !important;
    max-height: 360px !important;
    display:block;
  }

  /* Photo: full width, responsive height */
  .ns-rollinn-point .nrp-photo__img{
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
  }
  .ns-rollinn-point .nrp-photo__img img{
    width: 100%;
    max-width: 100%;
    height: 60vw;
    min-height: 240px;
    max-height: 420px;
    object-fit: cover;
    display:block;
  }
}

@media (max-width: 480px){
  .ns-rollinn-point .nrp-map__embed iframe{
    height: 58vw !important;
    min-height: 220px !important;
    max-height: 320px !important;
  }
  .ns-rollinn-point .nrp-photo__img img{
    height: 70vw;
    min-height: 220px;
    max-height: 360px;
  }
}


/* === Mobile: fit to screen (no clipping) === */
@media (max-width: 980px){
  /* do NOT clip content; just prevent overflow by sizing elements correctly */
  .ns-rollinn-point{ overflow: visible !important; }

  /* Leaflet containers must follow parent width */
  .ns-rollinn-point .leaflet-container,
  .ns-rollinn-point .leaflet-pane,
  .ns-rollinn-point .leaflet-map-pane,
  .ns-rollinn-point .leaflet-control-container{
    max-width: 100% !important;
  }

  /* Map box: responsive height instead of fixed min-height */
  .ns-rollinn-point .nrp-mapbox-wrap .mapbox{
    min-height: 0 !important;
  }
  .ns-rollinn-point .nrp-mapbox-wrap .mapbox .map{
    height: 52vw !important;
    min-height: 240px !important;
    max-height: 360px !important;
  }

  /* Photo: responsive height */
  .ns-rollinn-point .nrp-photo__img img{
    height: 60vw !important;
    min-height: 240px !important;
    max-height: 420px !important;
  }
}

@media (max-width: 480px){
  .ns-rollinn-point .nrp-mapbox-wrap .mapbox .map{
    height: 58vw !important;
    min-height: 220px !important;
    max-height: 320px !important;
  }
  .ns-rollinn-point .nrp-photo__img img{
    height: 70vw !important;
    min-height: 220px !important;
    max-height: 360px !important;
  }
}
