
.carusellRef-outer {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.carusellRef {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  scrollbar-width: none;
}

.carusellRef::-webkit-scrollbar {
  display: none;
}

.carusellRef img {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  scroll-snap-align: start;
  border-radius: 12px;
  display: block !important;
}

.ref-wrap > img:first-child {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

.carusell-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  color: #222;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
  user-select: none;
  transition: all 0.2s ease;
}

.carusell-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.carusell-arrow.prev {
  left: 10px;
}

.carusell-arrow.next {
  right: 10px;
}

.carusell-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 6px 0;
}

.carusell-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dcdcdc;
  cursor: pointer;
  transition: all 0.25s ease;
}

.carusell-dot.active {
  background: #555555;
  transform: scale(1.3);
}

.custom-ref-block .footer-banner,
.custom-team-block .footer-banner {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
}


.video-story-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  margin: 45px 0 35px 0;
  width: 100%;
}

.video-story-media {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* Poměr stran 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.video-story-media iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-story-content {
  width: 100%;
  color: #222222;
}

.video-story-pretitle {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #111111;
  margin-bottom: 6px;
}

.video-story-title {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  color: #111111;
  margin: 0 0 18px 0;
}

.video-story-paragraphs p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 12px;
}

.video-story-quote-box {
  background-color: #fae8df;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 22px 0;
  text-align: center;
  color: #8c3e1e;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.video-story-why-us {
  text-align: center;
  margin: 24px 0 20px 0;
}

.video-story-why-us h4 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  color: #111111;
}

.video-story-why-us p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #222222;
  margin: 0;
}

.video-story-press {
  text-align: center;
  margin-top: 24px;
}

.video-story-press-text {
  font-size: 13.5px;
  color: #333333;
  margin-bottom: 8px;
}

.video-story-press-logo {
  display: inline-block;
  font-family: 'Times New Roman', Times, serif;
  font-size: 26px;
  font-weight: 900;
  color: #111111;
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: opacity 0.2s;
}

.video-story-press-logo:hover {
  opacity: 0.75;
}

@media (min-width: 992px) {
  .video-story-section {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .video-story-media {
    flex: 0 0 48%;
    max-width: 48%;
    padding-bottom: 42%;
  }

  .video-story-content {
    flex: 0 0 calc(52% - 48px);
    max-width: calc(52% - 48px);
  }

  .video-story-title {
    font-size: 30px;
  }
}
