/* =========================
   PIPPER – KRÁTKY POPIS S VIDEOM
========================= */

.pipper-sv-wrap{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

.pipper-sv-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 240px;
  gap:16px;
  align-items:start;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

.pipper-sv-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  min-width:0;
}

.pipper-sv-card{
  background:#fff;
  border:1px solid #f3e7e5;
  border-radius:22px;
  padding:12px 10px;
  text-align:center;
  box-shadow:0 10px 25px -8px rgba(227,112,98,0.12);
  box-sizing:border-box;
  min-height:96px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  overflow:hidden;
}

.pipper-sv-icon{
  width:34px;
  height:34px;
  margin:0 auto 6px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  line-height:1;
  background:#fdecea;
  flex:0 0 auto;
}

.pipper-sv-icon.blue{
  background:rgba(121,153,217,0.14);
}

.pipper-sv-title{
  margin:0 0 4px;
  font-size:9px;
  line-height:1.2;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.5px;
  color:#1f2937;
}

.pipper-sv-text{
  margin:0;
  font-size:10px;
  line-height:1.3;
  color:#9ca3af;
  font-weight:700;
}

.pipper-sv-video{
  background:#fff;
  border:1px solid #f3e7e5;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 10px 25px -8px rgba(227,112,98,0.12);
  box-sizing:border-box;
  width:240px;
  min-width:240px;
  max-width:240px;
  align-self:start;
}

.pipper-sv-stage{
  position:relative;
  width:100%;
  aspect-ratio:9/16;
  background:#fef9f9;
  overflow:hidden;
}

.pipper-sv-button{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  border:0;
  padding:0;
  background:#fef9f9;
  cursor:pointer;
  overflow:hidden;
}

.pipper-sv-button img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.pipper-sv-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(to top, rgba(17,24,39,0.72), rgba(17,24,39,0.18));
}

.pipper-sv-play{
  width:68px;
  height:68px;
  border-radius:50%;
  background:#e37062;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 25px rgba(227,112,98,0.28);
}

.pipper-sv-play::before{
  content:'';
  display:block;
  width:0;
  height:0;
  margin-left:4px;
  border-top:12px solid transparent;
  border-bottom:12px solid transparent;
  border-left:18px solid #fff;
}

.pipper-sv-play::after{
  content:none;
}

.pipper-sv-frame{
  position:absolute;
  inset:0;
  display:none;
  width:100%;
  height:100%;
  border:0;
}

@media (max-width: 820px){
  .pipper-sv-layout{
    grid-template-columns:1fr;
    gap:16px;
  }

  .pipper-sv-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }

  .pipper-sv-video{
    width:100%;
    min-width:0;
    max-width:420px;
    margin:0 auto;
  }
}

@media (max-width: 640px){
  .pipper-sv-card,
  .pipper-sv-video{
    border-radius:22px;
  }

  .pipper-sv-card{
    padding:14px 10px;
    min-height:112px;
  }

  .pipper-sv-icon{
    width:38px;
    height:38px;
    margin-bottom:8px;
    font-size:16px;
  }

  .pipper-sv-title{
    font-size:9px;
    line-height:1.2;
    margin-bottom:5px;
  }

  .pipper-sv-text{
    font-size:10px;
    line-height:1.35;
  }

  .pipper-sv-video{
    max-width:100%;
  }

  .pipper-sv-play{
    width:60px;
    height:60px;
  }

  .pipper-sv-play::before{
    margin-left:3px;
    border-top:10px solid transparent;
    border-bottom:10px solid transparent;
    border-left:15px solid #fff;
  }
}