/* HOME WIDGETS – clean verze (bez zelených čárek/teček a bez “uvozovky”) */

.customer-reviews-container,
.subscriber-strip-container{
  max-width:1100px;
  margin:14px auto 0;
  padding:14px 16px;
  background:#fff;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 2px 12px rgba(0,0,0,.04);
}

/* ===== REVIEWS ===== */
.customer-reviews-container h3{
  margin:0 0 10px 0;
  font-size:16px;
  text-align:center;
}

.review-slider{
  position:relative;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image:linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.review-track{
  display:flex;
  gap:10px;
  width:max-content;
  animation:scrollReviews var(--duration, 55s) linear infinite;
  will-change:transform;
  align-items:stretch;
}

.customer-reviews-container:hover .review-track{ animation-play-state:paused; }

.review{
  width:240px;
  height:112px;                 /* sjednocení výšek = opticky čistší */
  padding:12px 14px;
  background:#fff;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 2px 14px rgba(0,0,0,.05);
  font-size:.90em;
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:center;            /* DŮLEŽITÉ: zarovnání na střed */
  transition:transform .18s ease, box-shadow .18s ease;
}

.review:hover{
  transform: translateY(-2px);
  box-shadow:0 10px 26px rgba(0,0,0,.08);
}

.review p{
  margin:0 0 6px 0;
  width:100%;
  text-align:center;
}

.review-body{
  width:100%;
  text-align:center;
  line-height:1.35;
  opacity:.92;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
}

@keyframes scrollReviews{
  from{ transform:translateX(0); }
  to  { transform:translateX(-50%); } /* JS dává obsah 2× */
}

/* ===== SUBSCRIBERS / LOGOS ===== */
.subscriber-strip-header{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.subscriber-strip-header h3{
  margin:0;
  font-size:16px;
}

.subscriber-strip-header p{
  margin:0;
  font-size:13px;
  opacity:.75;
}

.logo-marquee{
  position:relative;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image:linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.logo-marquee__track{
  display:flex;
  width:max-content;
  animation:marquee var(--duration, 95s) linear infinite;
  will-change:transform;
}

.logo-marquee:hover .logo-marquee__track{ animation-play-state:paused; }

.logo-marquee__group{
  display:flex;
  align-items:center;
  gap:10px;
  padding-right:18px;
}

@keyframes marquee{
  from{ transform:translateX(0); }
  to  { transform:translateX(-50%); } /* JS dává obsah 2× */
}

.subscriber-pill{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(0,0,0,.02);          /* bez zeleného tintu */
  box-shadow:0 1px 6px rgba(0,0,0,.03);
  white-space:nowrap;
  transition:transform .16s ease, box-shadow .16s ease;
}

.subscriber-pill:hover{
  transform: translateY(-1px);
  box-shadow:0 8px 20px rgba(0,0,0,.07);
}

.subscriber-pill img{
  height:22px;
  width:96px;                           /* sjednocení log */
  object-fit:contain;
  filter:grayscale(100%);
  opacity:.92;
  transition:.2s;
}

.subscriber-pill:hover img{ filter:none; opacity:1; }

.subscriber-pill span{
  font-size:13px;
  opacity:.88;
}

/* když logo neexistuje, nezobrazuj žádné zelené tečky ani ikony */
.subscriber-pill.no-logo img{ display:none; }

@media (max-width:420px){
  .subscriber-pill span{ display:none; }
  .subscriber-pill img{ width:88px; }
}
