.vwer-reviews-slider {
  --vwer-gutter: 0;          
  --vwer-bottom-space: 40px;
  --vwer-container-max: 100%;
  --vwer-nav-size: 44px;
  position: relative;
}

.vwer-slider-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: nowrap;
}

.vwer-slider-shell__viewport {
  flex: 1 1 auto;
  max-width: var(--vwer-container-max);
  width: 100%;
  position: relative;
}

.vwer-slider-shell__viewport .vwer-swiper {
  width: 100%;
  position: relative;
  padding-left: var(--vwer-gutter);
  padding-right: var(--vwer-gutter);
  padding-bottom: var(--vwer-bottom-space);
  overflow: hidden;
}

.vwer-slider-shell__nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: var(--vwer-nav-position, center);
}

.vwer-slider-shell .swiper-button-prev,
.vwer-slider-shell .swiper-button-next {
  position: static;
  width: var(--vwer-nav-size, 44px);
  height: var(--vwer-nav-size, 44px);
  border-radius: 50%;
  background: var(--vwer-nav-background, rgba(255, 255, 255, 0.95));
  box-shadow: var(--vwer-nav-box-shadow, 0 2px 8px rgba(15, 23, 42, 0.15));
  color: var(--vwer-nav-color, #111827);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--vwer-nav-weight, 600);
  transition: background-color .2s ease, color .2s ease;
}

.vwer-slider-shell .swiper-button-prev:hover,
.vwer-slider-shell .swiper-button-next:hover {
  color: var(--vwer-nav-hover-color, #d97706);
  background: var(--vwer-nav-hover-background, #ffffff);
}

.vwer-slider-shell .swiper-button-prev::after,
.vwer-slider-shell .swiper-button-next::after {
  font-size: calc(var(--vwer-nav-size, 44px) * 0.45);
}

@media (max-width: 767px) {
  .vwer-slider-shell {
    flex-wrap: wrap;
    gap: 12px;
  }

  .vwer-slider-shell__viewport {
    order: 1;
    flex-basis: 100%;
  }

  .vwer-slider-shell__nav {
    order: 2;
  }
}

.vwer-card{
  /* card background uses widget variable --vwer-card-bg */
  background: var(--vwer-card-bg, #fff);
  border: var(--vwer-card-border-width, 1px) var(--vwer-card-border-style, solid) var(--vwer-card-border-color, #d9dfe5);
  border-radius: var(--vwer-card-radius, 12px);
  padding: var(--vwer-pad, 16px);
  box-shadow: var(--vwer-shadow, 0 1px 2px rgba(0,0,0,.06));
  height:100%;
  display:flex;
  flex-direction:column;
}
.vwer-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.vwer-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.vwer-card__avatar {
  width: var(--vwer-avatar-size, 48px);
  height: var(--vwer-avatar-size, 48px);
  border-radius: 50%;
  /* use CSS variables set by the widget; fall back to previous defaults */
  background: var(--vwer-avatar-bg, #f59e0b);
  color: var(--vwer-avatar-color, #ffffff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.vwer-card__heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vwer-card__heading .vwer-stars {
  justify-content: flex-start;
}

.vwer-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: var(--vwer-source-badge-border-radius, 999px);
  line-height: 1;
  background: var(--vwer-source-badge-bg, #fff);
  border: var(--vwer-source-badge-border-width, 1px) var(--vwer-source-badge-border-style, solid) var(--vwer-source-badge-border-color, #e5e7eb);
}

.vwer-source-badge__icon {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.vwer-source-badge__icon-wrap {
  width: var(--vwer-source-badge-size, 16px);
  height: var(--vwer-source-badge-size, 16px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 var(--vwer-source-badge-size, 16px);
}

.vwer-source-badge__icon--klantenvertellen,
.vwer-source-badge__icon--kv {
  transform: scale(1.75);
  transform-origin: center;
}

.vwer-source-badge__label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--vwer-source-badge-label-color, #334155);
}

.vwer-title{ font-size:1rem; line-height:1.4; margin:8px 0 6px; color: var(--vwer-title-color, #0f172a); }
.vwer-text{ font-size:.9375rem; color: var(--vwer-text-color, #1f2937); }
.vwer-meta{ margin-top:auto; padding-top:16px; font-size:.875rem; color:#6b7280; display:flex; gap:8px; flex-wrap:wrap; }
.vwer-stars{ display:flex; align-items:center; gap: var(--vwer-stars-gap, 6px); color: var(--vwer-stars-color, #f59e0b); font-size: var(--vwer-stars-size, 24px); line-height:1; }
.vwer-star{ font-size: var(--vwer-stars-size, 24px); line-height:1; }
.vwer-star--full{ color: var(--vwer-stars-color, #f59e0b); }
.vwer-star--half{ color: var(--vwer-stars-color, #f59e0b); }
.vwer-star--empty{ color: var(--vwer-stars-empty-color, #d1d5db); }

.vwer-card__content {
  display: flex;
  flex-direction: var(--vwer-content-direction, column);
  gap: 8px;
}

.vwer-card__content--left_to_right {
  align-items: flex-start;
  flex-wrap: wrap;
}

.vwer-more {
  margin-top: 0;
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
}

.vwer-toggle-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  flex-shrink: 0;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  font-size: 0.85em;
  line-height: 1.1;
  text-align: left;
  color: var(--vwer-toggle-color, #c39a17) !important;
}

.vwer-toggle-all:hover {
  color: var(--vwer-toggle-hover-color, var(--vwer-toggle-color, #a88412)) !important;
}

/* author / business colors */
.vwer-author { color: var(--vwer-author-color, #111827); }
.vwer-biz { color: var(--vwer-biz-color, #6b7280); }

/* Ensure variables work on grid/list containers too */
.vwer-grid, .vwer-list, .vwer-reviews-slider, .vwer-slider-shell { color: var(--vwer-text-color, inherit); }
.vwer-rating-number{ font-size:.875rem; color:#374151; }
.vwer-reviews-slider .swiper{ overflow:hidden; }
.vwer-reviews-slider .swiper-slide{ height:auto; }
.vwer-reviews-slider .swiper-pagination {
  bottom: 10px !important;  
}
.vwer-reviews-slider .swiper-pagination-bullet {
  opacity: .45;
  width: var(--vwer-dots-size, 8px);
  height: var(--vwer-dots-size, 8px);
  background: var(--vwer-dots-inactive-color, #94a3b8);
  margin: 0 calc(var(--vwer-dots-gap, 8px) / 2) !important;
}
.vwer-reviews-slider .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.12);
  background: var(--vwer-dots-active-color, #111827);
}

.vwer-reviews-slider .swiper-pagination-bullet:hover {
  background: var(--vwer-dots-inactive-hover-color, #64748b);
}

.vwer-reviews-slider .swiper-pagination-bullet-active:hover {
  background: var(--vwer-dots-active-hover-color, #000000);
}

.vwer-reviews-slider .swiper-pagination {
  top: auto;
}

.vwer-reviews-slider[style*="--vwer-dots-position:top"] .swiper-pagination {
  top: 10px !important;
  bottom: auto !important;
}
