/* Ondo Card Slider — 5 fixed slots v1.1.6 */
.ocs{ position:relative; width:100%; padding-bottom:110px; }
.ocs-strip{ display:flex; align-items:flex-end; justify-content:center; gap:var(--ocs-gap,20px); }

/* Slots: animation driven by inline width changes from JS */
.ocs-slot{
  display:flex; align-items:flex-end;
  transition: width .35s cubic-bezier(.2,.8,.2,1);
  will-change: width;
}

/* Card visuals */
.ocs-card{ width:100%; display:flex; align-items:flex-end; }
.ocs-card__inner{
  --inactive-h:66%;
  height:var(--inactive-h);
  width:100%;
  padding:14px 16px;
  border-radius:20px;
  background:rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.28);
  color:#fff;
  backdrop-filter:blur(8px);
  transform-origin:center bottom;
  will-change: transform, height;
  transition:height .28s cubic-bezier(.2,.8,.2,1), padding .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow:hidden; min-height:0;
}
.ocs-slot.is-active .ocs-card__inner{
  height:100%;
  padding:22px 24px;
  background:#fff; color:#111;
  border-color:rgba(17,17,17,.08);
  box-shadow:0 14px 40px rgba(0,0,0,.18);
}

/* Grow pulse */
.ocs-slot.becoming-active .ocs-card__inner{
  animation: ocs-grow .36s cubic-bezier(.2,.8,.2,1);
}
@keyframes ocs-grow{
  0% { transform:scale(.965); }
  70% { transform:scale(1.01); }
  100% { transform:scale(1); }
}

/* Body only on active */
.ocs-card__body{ overflow:hidden; max-height:0; opacity:0; margin-top:0; transition:max-height .24s ease, opacity .2s ease, margin .2s ease; }
.ocs-slot.is-active .ocs-card__body{ max-height:420px; opacity:1; margin-top:8px; }

/* Typography */
.ocs-card__icon img{ width:24px; height:24px; object-fit:contain; display:block; }
.ocs-card__title{ margin:10px 0 0; font-size:16px; line-height:1.25; font-weight:700; color:inherit; }
.ocs-card__text{ font-size:13px; line-height:1.45; opacity:.9; }

/* Nav */
.ocs-nav{
  position:absolute; bottom:72px; right:24px;
  width:40px; height:40px; border-radius:10px;
  background:#fff; border:1px solid rgba(0,0,0,.12);
  box-shadow:0 6px 24px rgba(0,0,0,.12);
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  z-index:5;
}
.ocs-prev{ right:72px; }
.ocs-nav:hover{ transform:translateY(-1px); box-shadow:0 10px 26px rgba(0,0,0,.16); }
.ocs-nav:before{
  content:''; display:block; width:18px; height:18px; background:#111;
  -webkit-mask-size:18px 18px; mask-size:18px 18px;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-position:center; mask-position:center;
}
/* prev = left, next = right */
.ocs-prev:before{ -webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M14.7 6.3a1 1 0 010 1.4L10.42 12l4.3 4.3a1 1 0 11-1.42 1.4l-5-5a1 1 0 010-1.4l5-5a1 1 0 011.4 0z"/></svg>'); mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M14.7 6.3a1 1 0 010 1.4L10.42 12l4.3 4.3a1 1 0 11-1.42 1.4l-5-5a1 1 0 010-1.4l5-5a1 1 0 011.4 0z"/></svg>'); }
.ocs-next:before{ -webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M9.3 17.7a1 1 0 010-1.4L13.58 12 9.3 7.7A1 1 0 1110.7 6.3l5 5a1 1 0 010 1.4l-5 5a1 1 0 01-1.4 0z"/></svg>'); mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M9.3 17.7a1 1 0 010-1.4L13.58 12 9.3 7.7A1 1 0 1110.7 6.3l5 5a1 1 0 010 1.4l-5 5a1 1 0 01-1.4 0z"/></svg>'); }

@media (max-width:1024px){
  .ocs-card__inner{ border-radius:18px; padding:12px; }
  .ocs-nav{ bottom:56px; right:18px; }
  .ocs-prev{ right:66px; }
}
