/* inline */

.warnstee-reviews {
    margin: 20px 0;
}

.warnstee-reviews-summary {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.warnstee-reviews-summary .summary-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex: 1;
    min-width: 280px;
    max-width: 100%;
}

.warnstee-reviews-summary .summary-card-header {
    height: 4px;
    background: #243F22;
    width: 100%;
}

.warnstee-reviews-summary .summary-card.summary-booking .summary-card-header {
    background: #243F22;
}

.warnstee-reviews-summary .summary-card-content {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
}

.warnstee-reviews-summary .summary-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.warnstee-reviews-summary .summary-logo svg {
    width: 100%;
    height: 100%;
}

.warnstee-reviews-summary .summary-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.warnstee-reviews-summary .summary-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin: 0;
}

.warnstee-reviews-summary .summary-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.warnstee-reviews-summary .summary-value {
    font-size: 32px;
    font-weight: bold;
    color: #ff9800;
    line-height: 1;
}

.warnstee-reviews-summary .summary-stars {
    display: flex;
    gap: 2px;
    align-items: center;
}

.warnstee-reviews-summary .summary-stars .star {
    font-size: 20px;
    line-height: 1;
    color: #ff9800;
}

.warnstee-reviews-summary .summary-stars .star-empty {
    color: #ddd;
}

.warnstee-reviews-summary .summary-stars .star-half {
    position: relative;
    display: inline-block;
    color: #ddd;
}

.warnstee-reviews-summary .summary-stars .star-half::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    display: block;
    overflow: hidden;
    color: #ff9800;
}

.warnstee-reviews-summary .summary-count {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.warnstee-reviews-summary .summary-write-review {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 16px;
    background: #243F22;
    color: #FFFCF2;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}

.warnstee-reviews-summary .summary-write-review:hover {
    background: #5B7F58
}

/* Pagination Styles */
.warnstee-reviews-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.warnstee-reviews-pagination .pagination-link {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.warnstee-reviews-pagination .pagination-link:hover {
    background: #f5f5f5;
    border-color: #999;
    color: #000;
    text-decoration: none;
}

.warnstee-reviews-pagination .pagination-info {
    color: #666;
    font-size: 14px;
}

.warnstee-reviews-list {
    display: grid;
}

.warnstee-reviews-list.list-view {
    display: grid;
    gap: 20px;
}

.review-item {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.review-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.review-rating {
    font-size: 20px;
    font-weight: bold;
    color: #234022;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.review-rating .star {
    font-size: 20px;
    line-height: 1;
    color: #ff9800;
}

.review-rating .star-empty {
    color: #ddd;
}

.review-rating .star-half {
    position: relative;
    display: inline-block;
    color: #ddd;
}

.review-rating .star-half::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    display: block;
    overflow: hidden;
    color: #ff9800;
}

.review-headline {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

.review-content {
    margin: 15px 0;
    line-height: 1.6;
    font-size: 14px;
    color: #234022;

}

.review-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

.review-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.2s ease;
    height: 100px;
    background: #f5f5f5;
}

.review-image-link:hover {
    transform: scale(1.05);
}

.review-image {
    width: 100%;
    height: 100%;
    max-height: 100px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.review-positive {
    color: #4caf50;
    margin: 10px 0;
    padding: 10px;
    background: #f1f8f4;
    border-left: 3px solid #4caf50;
}

.review-negative {
    color: #f44336;
    margin: 10px 0;
    padding: 10px;
    background: #fff5f5;
    border-left: 3px solid #f44336;
}

.review-translation-note {
    margin: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef4e9;
    color: #234022;
}

.review-original-toggle {
    margin-top: 8px;
    border: 1px solid #c7d3c2;
    border-radius: 6px;
    background: #fff;
    color: #234022;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
}

.review-original-content {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #3b3b3b;
    border-left: 2px solid #d9d9d9;
    padding-left: 10px;
}

.review-meta {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.review-author {
    font-weight: bold;
}

.review-platform {
    text-transform: uppercase;
    font-size: 12px;
    padding: 2px 8px;
    background: #e0e0e0;
    border-radius: 3px;
}

.no-reviews {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

/* Carousel Styles */
.warnstee-reviews .swiper {
    width: 100%;
    padding: 20px 0 50px 0;
}

.warnstee-reviews .swiper-wrapper {
    display: flex;
    align-items: stretch; /* Make all slides stretch to same height */
}

.warnstee-reviews .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

.warnstee-reviews .swiper-slide .review-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.warnstee-reviews .swiper-slide .review-content,
.warnstee-reviews .swiper-slide .review-positive,
.warnstee-reviews .swiper-slide .review-negative {
    flex: 1;
    min-height: 0; /* Allow flex items to shrink */
}

.warnstee-reviews .swiper-slide .review-meta {
    margin-top: auto; /* Push meta to bottom */
}

.warnstee-reviews .swiper-button-next,
.warnstee-reviews .swiper-button-prev {
    color: #333;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.warnstee-reviews .swiper-button-next:after,
.warnstee-reviews .swiper-button-prev:after {
    font-size: 18px;
}

.warnstee-reviews .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.3;
}

.warnstee-reviews .swiper-pagination-bullet-active {
    opacity: 1;
    background: #D6DE50;
}

/* Responsive */
@media (max-width: 768px) {
    .warnstee-reviews-summary {
        flex-direction: column;
        gap: 15px;
    }
    
    .warnstee-reviews-summary .summary-card {
        min-width: 100%;
    }
    
    .warnstee-reviews-summary .summary-card-content {
        padding: 16px;
    }
    
    .warnstee-reviews-summary .summary-value {
        font-size: 28px;
    }
    
    .warnstee-reviews-summary .summary-stars .star {
        font-size: 18px;
    }
    
    .warnstee-reviews-pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    .warnstee-reviews-pagination .pagination-link {
        width: 100%;
        text-align: center;
    }
    
    .review-item {
        padding: 15px;
    }
    
    .review-images {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
    }
    
    .warnstee-reviews .swiper-button-next,
    .warnstee-reviews .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
}

/* Lightbox Styles */
.warnstee-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.warnstee-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.warnstee-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warnstee-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.warnstee-lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
    transition: color 0.3s ease;
}

.warnstee-lightbox-close:hover {
    color: #ff9800;
}

.warnstee-lightbox-prev,
.warnstee-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    padding: 16px;
    user-select: none;
    transition: color 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.warnstee-lightbox-prev {
    left: 20px;
}

.warnstee-lightbox-next {
    right: 20px;
}

.warnstee-lightbox-prev:hover,
.warnstee-lightbox-next:hover {
    color: #ff9800;
    background: rgba(0, 0, 0, 0.5);
}

.warnstee-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
}

.review-image-link {
    cursor: pointer;
}

@media (max-width: 768px) {
    .warnstee-lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
    
    .warnstee-lightbox-prev,
    .warnstee-lightbox-next {
        font-size: 30px;
        padding: 12px;
    }
    
    .warnstee-lightbox-prev {
        left: 10px;
    }
    
    .warnstee-lightbox-next {
        right: 10px;
    }
    
    .warnstee-lightbox-counter {
        bottom: 15px;
        font-size: 14px;
        padding: 6px 12px;
    }
}

/* https://www.warnstee.nl/wp-content/plugins/warnstee-reviews/assets/css/trust-logos.css?ver=1787697938 */
/**
 * Warnstee trust logos strip
 * Used by shortcode: [warnstee_trust_logos]
 *
 * Logos-only by default: three uniform white chips carry the rhythm,
 * each logo is optically sized inside its chip (a square badge needs
 * more height than a wide wordmark to read as the same size).
 *
 * Variants:
 * - default ("dark"): transparent background, white logo chips.
 *   For placement directly on the dark green footer.
 * - "band": self-contained dark green band. Place it right above the
 *   footer and it reads as the footer's opening act.
 * - "light": for cream/white page backgrounds; chips get a border
 *   since shadows alone don't separate white-on-cream.
 */

.warnstee-trust {
  --warnstee-trust-green: #243F22;
  --warnstee-trust-chip-bg: #ffffff;
  --warnstee-trust-chip-radius: 16px;
  --warnstee-trust-chip-w: 216px;
  --warnstee-trust-chip-h: 116px;
  --warnstee-trust-chip-border: transparent;
  --warnstee-trust-chip-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  --warnstee-trust-chip-shadow-hover: 0 10px 28px rgba(0, 0, 0, 0.3);
  --warnstee-trust-title-color: rgba(255, 255, 255, 0.85);
  --warnstee-trust-divider: rgba(255, 255, 255, 0.15);

  text-align: center;
  padding: 56px 24px;
}

/* Band variant: self-contained dark green section, merges with the footer below */
.warnstee-trust--band {
  background: var(--warnstee-trust-green);
}

/* Light variant: on cream/white pages a shadow alone is too weak, add a border */
.warnstee-trust--light {
  --warnstee-trust-chip-border: rgba(45, 74, 34, 0.16);
  --warnstee-trust-chip-shadow: 0 3px 14px rgba(45, 74, 34, 0.1);
  --warnstee-trust-chip-shadow-hover: 0 8px 24px rgba(45, 74, 34, 0.16);
  --warnstee-trust-title-color: #4b5445;
  --warnstee-trust-divider: rgba(45, 74, 34, 0.15);
}

.warnstee-trust__title {
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warnstee-trust-title-color);
}

.warnstee-trust__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 32px;
}

.warnstee-trust__item {
  display: flex;
}

/* Uniform chips: identical footprint gives the strip its rhythm */
.warnstee-trust__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--warnstee-trust-chip-w);
  height: var(--warnstee-trust-chip-h);
  background: var(--warnstee-trust-chip-bg);
  border: 1px solid var(--warnstee-trust-chip-border);
  border-radius: var(--warnstee-trust-chip-radius);
  box-shadow: var(--warnstee-trust-chip-shadow);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

a.warnstee-trust__chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--warnstee-trust-chip-shadow-hover);
}

a.warnstee-trust__chip:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.warnstee-trust--light a.warnstee-trust__chip:focus-visible {
  outline-color: rgba(45, 74, 34, 0.45);
}

.warnstee-trust__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 76%;
  max-height: 64%;
  object-fit: contain;
}

/* Optical size corrections per mark */
.warnstee-trust__item--anwb .warnstee-trust__logo {
  /* Wide wordmark: cap height lower so it doesn't dominate */
  max-height: 160%;
}

.warnstee-trust__item--acsi .warnstee-trust__logo {
  /* Near-square badge: allow more height, keep width modest */
  max-height: 70%;
  max-width: 54%;
}

.warnstee-trust__item--svr .warnstee-trust__logo {
  /* Oval seal: between the two */
  max-height: 68%;
  max-width: 64%;
}

/* Optional divider above the strip when it sits inside the footer */
.warnstee-trust--divider {
  border-top: 1px solid var(--warnstee-trust-divider);
}

@media (max-width: 900px) {
  .warnstee-trust {
    --warnstee-trust-chip-w: 180px;
    --warnstee-trust-chip-h: 98px;
  }
}

@media (max-width: 600px) {
  .warnstee-trust {
    --warnstee-trust-chip-w: 150px;
    --warnstee-trust-chip-h: 84px;
    padding: 36px 16px;
  }

  .warnstee-trust__list {
    gap: 14px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .warnstee-trust__chip {
    transition: none;
  }

  a.warnstee-trust__chip:hover {
    transform: none;
  }
}

