.rp-reviews-carousel {
  font-family: 'Inter', sans-serif;
  margin: 3rem 0;
}

.src-viewport {
  position: relative;
  padding: 0 44px;
}

.src-swiper {
  overflow: hidden;
  padding-bottom: 8px;
}

.src-swiper .swiper-slide {
  height: auto;
}

/* Vzhľad zladený s kartami produktov e-shopu (.product-miniature) - žiadne
   zaoblenie ani tieň, tenký sivý rámik (#f0f0f0, presne tá istá farba, akú
   používa aj produktová karta), farba zvýraznenia pri hover rovnaká ako
   šípky karuselu nižšie (#0B6E9C). Výška znížená 300px -> 240px (26.9.2026). */
.src-card {
  position: relative;
  width: 100%;
  height: 240px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 0;
  padding: 14px 18px;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease;
}

.src-card:hover {
  border-color: #0B6E9C;
}

.src-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.src-logo {
  width: 22px;
  height: 22px;
  min-width: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}

.src-identity {
  min-width: 0;
  flex: 1 1 auto;
}

.src-author {
  font-weight: 600;
  font-size: 15px;
  /* #484848 - rovnaká farba textu, akú má názov produktu na karte e-shopu. */
  color: #484848;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* #6F6F6F namiesto #999 (17.10.2026): #999 má na bielom karte kontrast len
   2,85:1 a Lighthouse ho hlásil ako nedostatočný (Prístupnosť 97). #6F6F6F
   dáva 5:1, teda WCAG AA s rezervou, a stále zostáva zreteľne sekundárny
   oproti #484848 textu recenzie. To isté platí pre .src-text--empty a
   .src-empty nižšie. */
.src-date {
  font-size: 12px;
  color: #6F6F6F;
}

.rp-reviews-carousel .review-stars {
  margin-bottom: 8px;
}

.rp-reviews-carousel .review-stars .star {
  color: #ddd;
  font-size: 18px;
}

.rp-reviews-carousel .review-stars .star.filled {
  color: #f4b400;
}

.src-text {
  font-size: 14px;
  line-height: 1.5;
  color: #484848;
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.src-text--empty {
  color: #6F6F6F;
  font-style: italic;
}

.src-text::-webkit-scrollbar {
  width: 6px;
}

.src-text::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.src-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #f0f0f0;
  background: #fff;
  color: #0B6E9C;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
}

.src-nav:hover {
  background: #0B6E9C;
  color: #fff;
}

.src-nav--prev { left: 0; }
.src-nav--next { right: 0; }

.src-nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.src-pagination {
  position: static;
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.src-pagination .swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}

.src-pagination .swiper-pagination-bullet-active {
  background: #0B6E9C;
}

.src-empty {
  text-align: center;
  color: #6F6F6F;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .src-viewport { padding: 0 36px; }
}

@media (max-width: 640px) {
  .src-viewport { padding: 0 30px; }
  .src-nav { width: 30px; height: 30px; }
  .src-card { height: 130px; padding: 10px 14px; }
  .src-card-head { margin-bottom: 6px; }
  .src-logo { width: 18px; height: 18px; min-width: 18px; }
  .src-author { font-size: 13px; }
  .src-date { font-size: 11px; }
  .rp-reviews-carousel .review-stars { margin-bottom: 4px; }
  .rp-reviews-carousel .review-stars .star { font-size: 15px; }
  .src-text { font-size: 13px; }
}
