/* ==========================================
   1. HOOFD WRAPPER & HEADER BADGE
   ========================================== */
.review-carousel-wrapper {
  background-color: #ffffff;
  padding: 20px 45px;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

.review-header-badge {
  background-color: #f3f3f3;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 32px;
  min-height: 90px;
  margin-bottom: 24px;
  text-align: center;
  font-family: Roboto, Arial, sans-serif;
}

.badge-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.google-badge-logo {
  height: 22px;
  width: auto;
}

.badge-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #202124;
  letter-spacing: -0.2px;
}

.badge-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-rating .score {
  font-size: 1.4rem;
  font-weight: 700;
  color: #202124;
}

.badge-rating .stars {
  color: #fbbc04;
  font-size: 2rem;
  letter-spacing: -2px;
}

.badge-rating .count {
  font-size: 0.9rem;
  color: #70757a;
  margin-left: 2px;
}

/* ==========================================
   2. SWIPER CONTAINER & ALGEMENE CAROUSEL
   ========================================== */
.reviewSwiper {
  padding: 10px 5px 20px 5px !important;
  overflow: hidden !important;
  position: relative;
}

.reviewSwiper .swiper-wrapper {
  align-items: flex-start !important;
}

.reviewSwiper .swiper-slide {
  height: auto !important;
  display: flex;
}

/* ==========================================
   3. REVIEW KAARTEN (STANDAARD)
   ========================================== */
.review-card {
  background: #f3f3f3;
  border-radius: 7px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  display: none;
}

.review-author-info {
  display: flex;
  flex-direction: column;
}

.review-author {
  font-weight: 600;
  color: #202124;
  font-size: 0.95rem;
}

.review-time-ago {
  font-size: 0.8rem;
  color: #70757a;
  margin-top: 2px;
}

.review-stars {
  color: #fbbc04;
  font-size: 2rem;
  letter-spacing: -2px;
  margin: 8px 0;
}

.review-text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #3c4043;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-text.expanded {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.read-more-btn {
  background: none;
  border: none;
  color: #3b82f6;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0;
  margin-bottom: 12px;
  cursor: pointer;
  display: inline-block;
}

.read-more-btn:hover {
  text-decoration: underline;
}

/* Footer-link (Elfsight stijl) */
.review-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 12px;
  border-top: none;
}

.elfsight-source-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.elfsight-source-link:hover {
  opacity: 1;
}

.google-g-logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.elfsight-source-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.source-label {
  font-size: 11px;
  color: #70757a;
  font-weight: 400;
}

.source-brand {
  font-size: 13px;
  color: #ffffff; /* Aangepast naar donker voor leesbaarheid op lichte achtergrond */
  font-weight: 700;
}

/* ==========================================
   4. AI SAMENVATTING CARD
   ========================================== */
.ai-summary-card {
  background-color: #F3F3F3;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ai-summary-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8E44AD 0%, #7653F5 45%, #3B82F6 100%);
  box-shadow: 0 4px 12px rgba(118, 83, 245, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.ai-summary-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.35;
  min-width: 0;
}

.ai-summary-title {
  font-size: 15px;
  font-weight: 700;
  color: #635BFF;
  white-space: nowrap;
}

.ai-summary-subtitle {
  font-size: 11.5px;
  color: #70757a;
  font-weight: 400;
  white-space: nowrap;
}

.ai-stars {
  color: #fbbc04;
  font-size: 2rem;
  letter-spacing: -2px;
  margin: 6px 0;
}

.ai-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #202124;
}

.checkmark {
  font-weight: bold;
  font-size: 1rem;
  color: #1a1a1a;
  line-height: 1.2;
}

/* ==========================================
   5. SWIPER NAVIGATIE PIJLEN
   ========================================== */
.review-carousel-wrapper .swiper-button-next, 
.review-carousel-wrapper .swiper-button-prev {
  color: #ffffff !important;
  background: #5f6368 !important;
  border: 1px solid #e0e0e0 !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
  z-index: 10 !important;
  top: calc(50% + 45px) !important;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
}

.review-carousel-wrapper .swiper-button-prev::after,
.review-carousel-wrapper .swiper-button-next::after {
  font-family: inherit !important;
  font-size: 1.3rem !important;
  font-weight: bold !important;
  line-height: 1 !important;
}

.review-carousel-wrapper .swiper-button-prev::after {
  content: '‹' !important;
}

.review-carousel-wrapper .swiper-button-next::after {
  content: '›' !important;
}

.review-carousel-wrapper .swiper-button-prev {
  left: 5px !important;
}

.review-carousel-wrapper .swiper-button-next {
  right: 5px !important;
}

/* ==========================================
   6. RESPONSIVE / MOBIEL (MAX-WIDTH: 640PX)
   ========================================== */
@media (max-width: 640px) {
  .review-carousel-wrapper {
    padding: 15px 35px !important;
  }

  .review-carousel-wrapper .swiper-button-next, 
  .review-carousel-wrapper .swiper-button-prev {
    width: 32px !important;
    height: 32px !important;
    top: calc(50% + 40px) !important; 
    transform: translateY(-50%) !important;
  }

  .review-carousel-wrapper .swiper-button-prev { 
    left: 2px !important; 
  }
  
  .review-carousel-wrapper .swiper-button-next { 
    right: 2px !important; 
  }

  .review-carousel-wrapper .swiper-button-prev::after,
  .review-carousel-wrapper .swiper-button-next::after {
    font-size: 1.1rem !important;
  }

  .review-footer {
    padding-top: 8px;
  }

  .google-g-logo {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
  }

  .source-label {
    font-size: 10px !important;
  }

  .source-brand {
    font-size: 12px !important;
  }

  .ai-summary-title {
    font-size: 13px !important;
  }
  
  .ai-summary-subtitle {
    font-size: 10.5px !important;
  }
}