/* inline */

.warnstee-zoomable-map-wrapper {
    margin: 20px 0;
}

.warnstee-zoomable-map-wrapper .map-thumbnail-container {
    cursor: pointer;
    max-width: 100%;
    text-align: center;
}

.warnstee-zoomable-map-wrapper .map-thumbnail-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.warnstee-zoomable-map-wrapper .map-thumbnail-container:hover img {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Modal Styles */
.warnstee-zoomable-map-wrapper .map-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    overflow: hidden;
}

.warnstee-zoomable-map-wrapper .map-modal.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.warnstee-zoomable-map-wrapper .map-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.warnstee-zoomable-map-wrapper .map-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.warnstee-zoomable-map-wrapper .map-modal-title {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.warnstee-zoomable-map-wrapper .map-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.warnstee-zoomable-map-wrapper .map-modal-close:hover {
    background-color: #f0f0f0;
    color: #000;
}

.warnstee-zoomable-map-wrapper .map-modal-body {
    padding: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.warnstee-zoomable-map-wrapper .zoomable-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
    touch-action: none;
    background-color: #f5f5f5;
    border-radius: 4px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warnstee-zoomable-map-wrapper .zoomable-image-container.dragging {
    cursor: grabbing;
}

.warnstee-zoomable-map-wrapper .zoomable-image-container img {
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.1s ease-out;
    user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
}

.warnstee-zoomable-map-wrapper .map-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-shrink: 0;
}

.warnstee-zoomable-map-wrapper .zoom-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.warnstee-zoomable-map-wrapper .zoom-buttons button {
    min-width: 120px;
    min-height: 48px;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid #3f444b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fff;
    color: #333;
}

.warnstee-zoomable-map-wrapper .zoom-buttons button:active {
    transform: scale(0.98);
}

.warnstee-zoomable-map-wrapper .zoom-buttons button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.warnstee-zoomable-map-wrapper .zoom-buttons button:disabled:hover {
    background-color: #fff;
    color: #333;
}

.warnstee-zoomable-map-wrapper .map-modal-close-btn {
    min-width: 120px;
    min-height: 48px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #243F22;
    color: #FFFCF2;
}

.warnstee-zoomable-map-wrapper .map-modal-close-btn:hover {
    background-color: #D7DE50;
    color: #FFFCF2;
}

/* Responsive */
@media (max-width: 768px) {
    .warnstee-zoomable-map-wrapper .map-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .warnstee-zoomable-map-wrapper .map-modal-header {
        padding: 15px;
    }
    
    .warnstee-zoomable-map-wrapper .map-modal-title {
        font-size: 20px;
    }
    
    .warnstee-zoomable-map-wrapper .map-modal-body {
        padding: 15px;
    }
    
    .warnstee-zoomable-map-wrapper .zoom-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .warnstee-zoomable-map-wrapper .zoom-buttons button {
        width: 100%;
    }
    
    .warnstee-zoomable-map-wrapper .map-modal-close-btn {
        width: 100%;
    }
    
    .warnstee-zoomable-map-wrapper .map-modal-footer {
        flex-direction: column;
    }
}

/* 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;
  }
}

