/* BALAFOUTI Coaching rail — PRIME-style mobile pin/scrub.
   Only full-height phones; short devices and reduced motion keep native swipe.
   The desktop Next.js/GSAP composition remains untouched. */
@media (max-width:767px) and (min-height:680px) and (prefers-reduced-motion:no-preference) {
  .v2-home.bc-mobile-rail-active .bc-motion-rail {
    overflow:visible!important;
  }
  .v2-home.bc-mobile-rail-active .bc-motion-rail__canvas {
    box-sizing:border-box;
    width:100%;
    height:100svh;
    min-height:100svh;
    padding:clamp(76px,9.5svh,94px) 0 clamp(10px,2svh,20px)!important;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:10px;
    overflow:visible;
  }
  .v2-home.bc-mobile-rail-active .bc-motion-rail__header {
    display:block;
    flex:0 0 auto;
    min-width:0;
  }
  .v2-home.bc-mobile-rail-active .bc-motion-rail__header .v2-kicker {
    font-size:clamp(10px,2.8vw,12px);
    margin-bottom:7px;
  }
  .v2-home.bc-mobile-rail-active .bc-motion-rail__header h2 {
    font-size:clamp(1.52rem,6.8vw,2rem)!important;
    line-height:1.1!important;
    letter-spacing:-.047em;
    max-width:100%;
    overflow-wrap:break-word;
  }
  .v2-home.bc-mobile-rail-active .bc-motion-rail__meta {
    margin-top:9px;
    max-width:100%;
  }
  .v2-home.bc-mobile-rail-active .bc-motion-rail__meta p {
    margin:0 0 7px;
    font-size:11px;
    line-height:1.37;
  }
  .v2-home.bc-mobile-rail-active .bc-motion-rail__counter strong {
    font-size:21px;
  }
  .v2-home.bc-mobile-rail-active .bc-motion-rail__progress {
    margin-top:5px;
  }
  .v2-home.bc-mobile-rail-active .bc-motion-rail__viewport {
    position:relative!important;
    top:auto!important;
    z-index:2;
    flex:0 0 auto;
    box-sizing:border-box;
    width:100%;
    height:min(48svh,425px);
    min-height:0;
    padding:2px 0 2px 22px;
    overflow:hidden!important;
    scroll-snap-type:none!important;
    scroll-padding:0!important;
    contain:paint;
    touch-action:pan-y;
    overscroll-behavior:auto;
  }
  .v2-home.bc-mobile-rail-active .bc-motion-rail__track {
    display:flex;
    align-items:stretch;
    height:100%;
    will-change:transform;
    scroll-snap-type:none!important;
  }
  .v2-home.bc-mobile-rail-active .bc-rail-card {
    flex:0 0 min(82vw,380px);
    box-sizing:border-box;
    width:min(82vw,380px);
    height:100%;
    min-height:0;
    padding:clamp(19px,5.7vw,27px);
    scroll-snap-align:none;
  }
  .v2-home.bc-mobile-rail-active .bc-rail-card h3 {
    font-size:clamp(1.38rem,6vw,2rem);
    margin:clamp(18px,5svh,35px) 0 12px;
    overflow-wrap:break-word;
  }
  .v2-home.bc-mobile-rail-active .bc-rail-card p {
    font-size:12px;
    line-height:1.49;
  }
  .v2-home.bc-mobile-rail-active .bc-rail-card__footer {
    font-size:10px;
    padding-top:14px;
  }
  .v2-home.bc-mobile-rail-active .bc-motion-rail__bottom {
    display:flex;
    flex:0 0 auto;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    justify-content:space-between;
  }
  .v2-home.bc-mobile-rail-active .bc-motion-rail__bottom p {
    font-size:10.5px;
    max-width:100%;
  }
  .v2-home.bc-mobile-rail-active .bc-motion-rail__bottom .v2-inline-link {
    width:100%;
    font-size:12px;
  }
  .v2-home.bc-mobile-rail-active .bc-motion-rail__controls {
    display:none!important;
  }
  .v2-home.bc-mobile-rail-active .bc-rail-card.is-motion-active {
    background:#ff0080;
    border-color:#ff0080;
    box-shadow:0 18px 42px rgba(160,8,76,.13);
  }
  .v2-home.bc-mobile-rail-active .bc-rail-card.is-motion-active h3,
  .v2-home.bc-mobile-rail-active .bc-rail-card.is-motion-active .bc-rail-card__top,
  .v2-home.bc-mobile-rail-active .bc-rail-card.is-motion-active .bc-rail-card__top span:last-child,
  .v2-home.bc-mobile-rail-active .bc-rail-card.is-motion-active .bc-rail-card__footer,
  .v2-home.bc-mobile-rail-active .bc-rail-card.is-motion-active p {
    color:#231f20;
  }
  .v2-home.bc-mobile-rail-active .bc-rail-card.is-motion-active .bc-rail-card__footer {
    border-color:#dc297f;
  }
}
@media (max-width:767px) and (min-height:680px) and (max-height:749px) and (prefers-reduced-motion:no-preference) {
  .v2-home.bc-mobile-rail-active .bc-motion-rail__canvas {padding:76px 0 12px!important;gap:6px}
  .v2-home.bc-mobile-rail-active .bc-motion-rail__viewport {height:43svh}
  .v2-home.bc-mobile-rail-active .bc-motion-rail__meta p {font-size:10px}
}
