.quoteBlock {
  background-color: #000;
  padding: 50px 0;
}

.quoteBlock__container {
  max-width: 1280px;
  width: 90%;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

.quoteBlock__slider {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  gap: 40px;
  padding: 40px 0;
  /* Hide scrollbar for webkit browsers */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.quoteBlock__slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.quoteBlock__slide {
  flex: 0 0 700px;
  min-width: 700px;
  position: relative;
  display: flex;
  justify-content: center;
}

.quoteBlock__content {
  max-width: 600px;
  margin: 0 auto;
}

.quoteBlock__quote {
  margin: 0 0 20px 0;
  padding: 0;
  border: none;
  position: relative;
  padding-top: 30px;
}

.quoteBlock__quote::before {
  content: "“";
  color: #fff;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 56px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  position: absolute;
  top: -20px;
  left: -30px;
}

.quoteBlock__quote p {
  color: #fff;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
  padding-left: 20px;
}

.quoteBlock__author {
  color: #fff;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: normal;
  display: block;
  margin-top: 15px;
}

/* Single quote styling (centered, no sliding) */
.quoteBlock--single .quoteBlock__slider {
  overflow: visible;
  justify-content: center;
}

.quoteBlock--single .quoteBlock__slide {
  flex: 1;
  min-width: auto;
  max-width: 800px;
}

.quoteBlock--single .quoteBlock__content {
  max-width: 600px;
}

.quoteBlock--single .quoteBlock__quote p {
  font-size: 28px;
}

.quoteBlock--single .quoteBlock__author {
  font-size: 18px;
}

/* Scroll indicator */
.quoteBlock__scroll-indicator {
  text-align: center;
  margin-top: 20px;
  color: #fff;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 14px;
  opacity: 0.7;
}

.quoteBlock__scroll-indicator::before {
  content: "← Skrolla för att se mer →";
  display: inline-block;
  animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

/* Empty state */
.quoteBlock__empty {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-family: "Helvetica Neue", sans-serif;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .quoteBlock__slide {
    flex: 0 0 500px;
    min-width: 500px;
  }

  .quoteBlock__quote p {
    font-size: 22px;
  }

  .quoteBlock__author {
    font-size: 15px;
  }

  .quoteBlock--single .quoteBlock__quote p {
    font-size: 24px;
  }

  .quoteBlock--single .quoteBlock__author {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .quoteBlock {
    padding: 1.5rem 0;
  }

  .quoteBlock__container {
    width: 95%;
  }

  .quoteBlock__slider {
    gap: 30px;
    padding: 30px 0;
  }

  .quoteBlock__slide {
    flex: 0 0 350px;
    min-width: 350px;
  }

  .quoteBlock__content {
    max-width: 320px;
  }

  .quoteBlock__quote::before {
    font-size: 60px;
    top: -15px;
    left: -20px;
  }

  .quoteBlock__quote p {
    font-size: 20px;
    padding-left: 15px;
  }

  .quoteBlock__author {
    font-size: 14px;
  }

  .quoteBlock--single .quoteBlock__slide {
    flex: 1;
    min-width: auto;
    max-width: 500px;
  }

  .quoteBlock--single .quoteBlock__content {
    max-width: 400px;
  }

  .quoteBlock--single .quoteBlock__quote p {
    font-size: 22px;
  }

  .quoteBlock--single .quoteBlock__author {
    font-size: 15px;
  }

  .quoteBlock__scroll-indicator {
    margin-top: 15px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .quoteBlock {
    padding: 1rem 0;
  }

  .quoteBlock__container {
    width: 100%;
    padding: 0 15px;
  }

  .quoteBlock__slider {
    gap: 20px;
    padding: 20px 0;
  }

  .quoteBlock__slide {
    flex: 0 0 300px;
    min-width: 300px;
  }

  .quoteBlock__content {
    max-width: 280px;
  }

  .quoteBlock__quote::before {
    font-size: 50px;
    top: -10px;
    left: -15px;
  }

  .quoteBlock__quote p {
    font-size: 18px;
    padding-left: 10px;
  }

  .quoteBlock__author {
    font-size: 13px;
    margin-top: 10px;
  }

  .quoteBlock--single .quoteBlock__slide {
    flex: 1;
    min-width: auto;
    max-width: 350px;
  }

  .quoteBlock--single .quoteBlock__content {
    max-width: 320px;
  }

  .quoteBlock--single .quoteBlock__quote p {
    font-size: 20px;
  }

  .quoteBlock--single .quoteBlock__author {
    font-size: 14px;
  }

  .quoteBlock__scroll-indicator {
    margin-top: 10px;
    font-size: 12px;
  }
}
