
/* Insta Reels Horizontal Scroll - Lite (front) */
.irsl-wrap{
  --irsl-gap: 18px;
  --irsl-card-w: 320px;
  --irsl-card-h: 560px;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.irsl-head{ margin: 0 0 12px; }
.irsl-title{
  margin: 0;
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: clamp(20px, 2.2vw, 30px);
}

.irsl-row{
  display:flex;
  gap: var(--irsl-gap);
  overflow-x:auto;
  padding: 10px 4px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.irsl-row::-webkit-scrollbar{ height: 10px; }
.irsl-row::-webkit-scrollbar-thumb{ border-radius: 999px; }

.irsl-card{
  scroll-snap-align: start;
  flex: 0 0 var(--irsl-card-w);
  max-width: var(--irsl-card-w);
}

.irsl-frame{
  position: relative;
  width: 100%;
  height: var(--irsl-card-h);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
}

.irsl-frame iframe{
  width:100%;
  height:100%;
  border:0;
  background: rgba(0,0,0,.35);
}

.irsl-actions{
  position:absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display:flex;
  gap: 10px;
  z-index: 3;
}

.irsl-btn{
  flex:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 900;
  font-size: 13.5px;
  letter-spacing: .01em;
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .15s ease;
  user-select:none;
}
.irsl-btn:hover{ transform: translateY(-1px); }

.irsl-caption{
  margin-top: 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  opacity: .95;
}

/* Themes */
.irsl-theme-dark .irsl-title{ color: #071a52; }
.irsl-theme-dark .irsl-frame{
  border-color: rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(7,26,82,.75), rgba(4,19,63,.70));
}
.irsl-theme-dark .irsl-btn-insta{
  background: rgba(255,255,255,.92);
  color: #06112a;
}
.irsl-theme-dark .irsl-btn-wa{
  background: linear-gradient(135deg, #34d3ff, #8b5cff);
  color: #06112a;
  border-color: transparent;
}

.irsl-theme-light .irsl-title{ color: #071a52; }
.irsl-theme-light .irsl-frame{
  border-color: rgba(7,26,82,.12);
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(7,26,82,.12);
}
.irsl-theme-light .irsl-btn-insta{
  background: #0b1536;
  color: #fff;
}
.irsl-theme-light .irsl-btn-wa{
  background: #25D366;
  color: #fff;
  border-color: transparent;
}

.irsl-hint{
  position:absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  border-radius: 999px 0 0 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .03em;
  opacity: .75;
}
.irsl-theme-dark .irsl-hint{ color:#071a52; background: rgba(255,255,255,.75); }
.irsl-theme-light .irsl-hint{ color:#071a52; background: rgba(7,26,82,.10); }

@media (max-width: 520px){
  .irsl-card{
    flex-basis: min(86vw, var(--irsl-card-w));
    max-width: min(86vw, var(--irsl-card-w));
  }
  .irsl-frame{ border-radius: 16px; }
}
