/* ==========================================================
   HERO SHOWCASE – PAGE SPECTACLE
========================================================== */
.showcaseHero{
  position: relative;
  height: 60vh;
  min-height: 420px;
  background:#000;
  color:#fff;
  overflow:hidden;
}

.showcaseHero-bg{
  position:absolute;
  inset:0;
  background: var(--hero-bg) center / cover no-repeat;
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
  z-index:0;
}

.showcaseHero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.45) 30%,
      rgba(0,0,0,0.35) 60%,
      rgba(0,0,0,0.55) 100%
    );
  z-index:1;
}

.showcaseHero-layout{
  position: relative;
  z-index: 2;

  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;

  padding-top: clamp(90px, 12vh, 120px);
  padding-bottom: clamp(40px, 7vh, 70px);
}

.showcaseHero-left{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.showcaseHero-eyebrow{
  margin:0 0 10px;
  font-family:"Cinzel", serif;
  font-weight:600;
  letter-spacing:0.16em;
  text-transform:uppercase;
  font-size:48px;
  color:var(--ruggieri-accent);
}

.showcaseHero-title{
  margin:0;
  font-family:"Cinzel", serif;
  font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
  font-size: clamp(26px, 3vw, 40px);
  color:rgba(255,255,255,0.96);
}

.showcaseHero-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

.showcaseHero-panel{
  max-width: 520px;
  width: 100%;

  background: rgba(0,0,0,0.48);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 0;

  padding: 22px 24px;

  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
}

.showcaseHero-panel p{
  margin:0;
  font-family:"Manrope", Arial, sans-serif;
  font-size:15px;
  line-height:1.7;
  color:rgba(255,255,255,0.86);
}

@media (max-width: 900px){
  .showcaseHero{
    height:auto;
    min-height: 60vh;
  }

  .showcaseHero-layout{
    grid-template-columns: 1fr;
    row-gap: 24px;
    padding-top: clamp(110px, 14vh, 140px);
    padding-bottom: 40px;
  }

  .showcaseHero-right{ justify-content:flex-start; }
  .showcaseHero-panel{ max-width: 100%; }
}

@media (max-width: 600px){
  .showcaseHero-layout{ column-gap: 0; }
  .showcaseHero-title{ font-size: clamp(24px, 6vw, 30px); }
}

@media (max-width: 900px){
  .showcaseHero-layout,
  .showcaseHero-left,
  .showcaseHero-right,
  .showcaseHero-panel{
    min-width: 0;
    box-sizing: border-box;
  }

  .showcaseHero-layout{
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .showcaseHero-left,
  .showcaseHero-right{
    width: 100%;
  }

  .showcaseHero-panel{
    width: 100%;
    max-width: 100%;
  }

  .showcaseHero-eyebrow,
  .showcaseHero-title,
  .showcaseHero-panel p{
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
}

@media (max-width: 600px){
  .showcaseHero-eyebrow{
    font-size: clamp(20px, 6vw, 30px);
    line-height: 1.15;
  }

  .showcaseHero-title{
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.15;
  }

  .showcaseHero-panel{
    padding: 18px 16px;
  }

  .showcaseHero-panel p{
    font-size: 14px;
    line-height: 1.6;
  }
}
/* ==========================================================
   GALERIE SPECTACLE – THUMBS (dense)
   (doublons masonry supprimés, 1 seule version)
========================================================== */
.showcaseGallery{
  background:#000;
  padding: 70px 0 90px;
}
.showcaseGallery-inner{
  width: min(1200px, 92vw);
  margin: 0 auto;
}
.showcaseGallery-title{ margin-bottom: 22px; }

.masonryGallery{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 4px;
}

.masonryItem{
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: #111;
}

.masonryItem img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  cursor:pointer;

  transform: scale(1.02);
  transition: transform .6s cubic-bezier(.22,1,.36,1), opacity .25s ease;
}

.masonryItem:hover img{
  transform: scale(1.06);
  opacity: .92;
}

@media (max-width: 1200px){
  .masonryGallery{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 170px;
  }
}

@media (max-width: 900px){
  .masonryGallery{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 160px;
  }
  .masonryItem{
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

@media (max-width: 600px){
  .masonryGallery{
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
}


/* ==========================================================
   LIGHTBOX (80vw / 80vh)
========================================================== */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox.is-open{
  opacity: 1;
  pointer-events: auto;
}

.lightbox-figure{
  margin: 0;
  width: 80vw;
  max-width: 80vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-img{
  display:block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  border-radius: 12px;
}

.lightbox-loader{
  position:absolute;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,0.25);
  border-top-color: rgba(255,255,255,0.9);
  animation: lbSpin .8s linear infinite;
  opacity: 0;
  pointer-events:none;
}
.lightbox.is-loading .lightbox-loader{ opacity: 1; }

@keyframes lbSpin{ to{ transform: rotate(360deg); } }

.lightbox-close{
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(0,0,0,0.6);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  padding: 0;
  box-shadow: 0 14px 40px rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox-close:hover{ background: rgba(0,0,0,0.8); }

.lightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 14px 40px rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox-prev{ left: 3vw; }
.lightbox-next{ right: 3vw; }

body.lb-open{ overflow: hidden; }

@media (max-width: 768px){
  .lightbox-figure{ width: 92vw; max-width: 92vw; }
  .lightbox-prev{ left: 10px; }
  .lightbox-next{ right: 10px; }
  .lightbox-close{ top: 14px; right: 14px; }
}


/* ==========================================================
   SECTION RÉFÉRENCES
========================================================== */
.refsSection{
  position: relative;
  background: var(--ruggieri-deep);
  color: var(--ruggieri-white);
  padding: 80px 0 90px;
  overflow: hidden;
}

.refsSection::before,
.refsSection::after{
  content:"";
  position:absolute;
  top:50%;
  transform: translateY(-50%);

  width: 90vh;
  height: 90vh;
  max-width: 920px;
  max-height: 920px;

  background-color: rgba(255,116,107,0.14);

  -webkit-mask: url("img/embleme_ruggieri.svg") center / contain no-repeat;
          mask: url("img/embleme_ruggieri.svg") center / contain no-repeat;

  pointer-events:none;
  z-index:0;
}
.refsSection::before{ left:0; transform: translate(-55%, -50%); }
.refsSection::after{ right:0; transform: translate(55%, -50%); }

.refsInner{ position: relative; z-index: 1; }

.refsGrid{
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 26px;
}

.refsColTitle{
  margin: 0 0 10px;
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ruggieri-accent);
}

.refsList{
  list-style: none;
  margin: 0;
  padding: 0;
}

.refsList li{
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}

.refsList li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: #fff;

  -webkit-mask: url("img/embleme_ruggieri.svg") center / contain no-repeat;
          mask: url("img/embleme_ruggieri.svg") center / contain no-repeat;

  opacity: 0.8;
}

@media (max-width: 960px){
  .refsGrid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .refsGrid{ grid-template-columns: 1fr; }
}




/* =========================
   BANDEAU GALERIE (séparateur)
========================= */

.galleryBand{
  position: relative;
  isolation: isolate;
  padding: 58px 0;
  margin: 0px 0 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}

/* Fond image (flouté) */
.galleryBand-bg{
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--gb-bg) center / cover no-repeat;
  transform: scale(1.08);
  filter: blur(10px) saturate(1.05);
  opacity: .55;
}

/* Overlay glass + vignette */
.galleryBand::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.10), rgba(0,0,0,0) 55%),
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.72));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.galleryBand-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}


/* Titre bandeau = même ADN que "Références" */
.galleryBand-title{
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.96);
}


/* Petit cartouche */
.galleryBand-chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  white-space: nowrap;
}

/* Petit pictogramme “info/clic” en CSS (pas besoin d’icône externe) */
.galleryBand-chip::before{
  content:"";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  box-shadow: 0 0 0 4px rgba(255,255,255,.10);
  opacity: .9;
}

/* Responsive */
@media (max-width: 680px){
  .galleryBand{
    padding: 16px 0;
  }
  .galleryBand-inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .galleryBand-chip{
    white-space: normal;
    border-radius: 14px;
    line-height: 1.25;
  }
}

@media (max-width: 680px){
  .galleryBand{
    padding: 38px 0;
  }
}


/* ==========================================================
   GALERIE VIDÉOS
========================================================== */
.videoSection{
  position: relative;
  isolation: isolate;
  padding: 70px 0 90px;
  background: #000;
  overflow: hidden;
}

/* Fond image flouté léger */
.videoSection-bg{
  position:absolute;
  inset:0;
  z-index:-2;
  background: var(--vs-bg) center / cover no-repeat;
  transform: scale(1.06);
  filter: blur(3px) saturate(1.05);
  opacity: .6;
}

/* Overlay dark + glass (moins “violent” que le bandeau) */
.videoSection::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.10), rgba(0,0,0,0) 55%),
    linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,.78));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.videoHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 26px;
}

.videoHead-title{
  margin:0; /* sectionTitle fait le reste */
}

/* Chip texte */
.videoHead-chip{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  max-width: 520px;
}

.videoHead-chip::before{
  content:"";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ruggieri-accent);
  box-shadow: 0 0 0 4px rgba(255,116,107,.16);
  opacity: .95;
}

/* Grille 3 colonnes / 2 lignes */
.videoGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.videoCard{
  margin:0;
}

/* Cadre vidéo responsive (16:9) */
.videoFrame{
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
  aspect-ratio: 16 / 9;
}

.videoFrame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

/* Légende sous la vidéo */
.videoCaption{
  margin-top: 10px;
  display:flex;
  align-items:center;
  gap: 10px;
  font-family:"Manrope", Arial, sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.92);
}

/* Badge “play” / pellicule (accent) */
.videoBadge{
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(255,116,107,.18);
  border: 1px solid rgba(255,116,107,.40);
  position: relative;
  flex: 0 0 auto;
  box-shadow: 0 12px 24px rgba(0,0,0,.30);
}

/* Triangle play */
.videoBadge::before{
  content:"";
  position:absolute;
  left: 9px;
  top: 7px;
  width: 0;
  height: 0;
  border-left: 8px solid var(--ruggieri-accent);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  opacity: .95;
}

/* Micro-perforations “pellicule” */
.videoBadge::after{
  content:"";
  position:absolute;
  left: 4px;
  top: 4px;
  right: 4px;
  bottom: 4px;
  border-radius: 6px;
  background:
    radial-gradient(circle, rgba(255,116,107,.55) 2px, rgba(0,0,0,0) 3px) 0 0 / 10px 10px;
  opacity: .25;
  pointer-events:none;
}

.videoLabel{
  line-height: 1.25;
}

/* Hover léger */
.videoFrame:hover{
  border-color: rgba(255,116,107,.30);
  box-shadow: 0 22px 55px rgba(0,0,0,.65);
}

/* Responsive */
@media (max-width: 980px){
  .videoGrid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .videoHead{ align-items:flex-start; flex-direction: column; }
  .videoHead-chip{ border-radius: 14px; }
}

@media (max-width: 620px){
  .videoGrid{ grid-template-columns: 1fr; }
  .videoSection{ padding: 55px 0 70px; }
}






/* ==========================================================
   GALERIE ALTERNATIVE RUGGIERI
   EXCEPTION : spectacles-monumentaux
========================================================== */
.rgAltGallerySection{
  position: relative;
  padding: 26px 0 90px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,116,107,0.10), rgba(0,0,0,0) 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06), rgba(0,0,0,0) 35%),
    #050505;
  overflow: hidden;
}

.rgAltGallery{
  column-gap: 18px;
  column-count: 3; /* valeur par défaut, écrasée par le JS si besoin */
}

.rgAltGallery-item{
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  cursor: pointer;
  text-align: left;
}

.rgAltGallery-item::before{
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 2;
}

.rgAltGallery-item:hover::before{
  opacity: 1;
}

.rgAltGallery-img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
  transform: translateY(0) scale(1);
  transition:
    transform .55s cubic-bezier(.22,1,.36,1),
    box-shadow .35s ease,
    filter .35s ease;
  will-change: transform;
}

.rgAltGallery-item:hover .rgAltGallery-img{
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 28px 60px rgba(0,0,0,0.46);
  filter: brightness(1.04);
}

.rgAltGallery-shine{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.00) 35%,
      rgba(255,255,255,0.09) 50%,
      rgba(255,255,255,0.00) 65%,
      rgba(255,255,255,0) 100%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.rgAltGallery-item:hover .rgAltGallery-shine{
  opacity: 1;
}

@media (max-width: 1100px){
  .rgAltGallery{
    column-count: 2 !important;
  }
}

@media (max-width: 640px){
  .rgAltGallerySection{
    padding: 18px 0 60px;
  }

  .rgAltGallery{
    column-count: 1 !important;
    column-gap: 0;
  }

  .rgAltGallery-item{
    margin-bottom: 14px;
  }
}


/* ==========================================================
   LIGHTBOX ALTERNATIVE RUGGIERI
========================================================== */
.rgAltLightbox{
  position: fixed;
  inset: 0;
  z-index: 5000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.rgAltLightbox.is-open{
  opacity: 1;
  pointer-events: auto;
}

.rgAltLightbox-backdrop{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.05), rgba(0,0,0,0.28) 42%, rgba(0,0,0,0.56) 100%),
    rgba(0,0,0,0.38);
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
}

.rgAltLightbox-stage{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    clamp(80px, 10vh, 110px)
    clamp(72px, 7vw, 110px)
    clamp(70px, 10vh, 95px);
}

.rgAltLightbox-figure{
  position: relative;
  margin: 0;
  max-width: min(95vw, 1700px);
  max-height: calc(100vh - 170px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rgAltLightbox-image{
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 170px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0,0,0,0.60);
}

.rgAltLightbox-close{
  position: absolute;
  top: 26px;
  right: 28px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(10,10,10,0.46);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.rgAltLightbox-close:hover{
  transform: translateY(-1px);
  background: rgba(20,20,20,0.66);
  border-color: rgba(255,255,255,0.35);
}

.rgAltLightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 999px;
  background: rgba(10,10,10,0.38);
  color: #fff;
  font-size: 38px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0,0,0,0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.rgAltLightbox-nav:hover{
  transform: translateY(-50%) scale(1.03);
  background: rgba(20,20,20,0.58);
  border-color: rgba(255,255,255,0.32);
}

.rgAltLightbox-prev{ left: 26px; }
.rgAltLightbox-next{ right: 26px; }

.rgAltLightbox-counter{
  position: absolute;
  left: 50%;
  bottom: -42px;
  transform: translateX(-50%);
  min-width: 84px;
  padding: 8px 14px;
  text-align: center;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
  color: rgba(255,255,255,0.92);
  background: rgba(10,10,10,0.42);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 14px 34px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.rgAltLightbox-loader{
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,0.16);
  border-top-color: rgba(255,255,255,0.92);
  animation: rgAltLbSpin .85s linear infinite;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.rgAltLightbox.is-loading .rgAltLightbox-loader{
  opacity: 1;
}

@keyframes rgAltLbSpin{
  to{ transform: rotate(360deg); }
}

body.rgAltLightbox-open{
  overflow: hidden;
}

@media (max-width: 900px){
  .rgAltLightbox-stage{
    padding:
      max(86px, env(safe-area-inset-top))
      18px
      72px;
  }

  .rgAltLightbox-prev{ left: 12px; }
  .rgAltLightbox-next{ right: 12px; }

  .rgAltLightbox-nav{
    width: 46px;
    height: 46px;
    font-size: 32px;
  }

  .rgAltLightbox-close{
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .rgAltLightbox-counter{
    bottom: -36px;
    font-size: 12px;
    padding: 7px 12px;
  }
}

@media (max-width: 640px){
  .rgAltLightbox-stage{
    padding-top: 78px;
    padding-bottom: 62px;
  }

  .rgAltLightbox-image{
    max-height: calc(100vh - 150px);
  }

  .rgAltLightbox-counter{
    bottom: -32px;
  }
}



.galleryBand{
  margin: 0;
}

