/* Images hero / outils — netteté (sources haute résolution) */
.prob-media-sharp {
  overflow: hidden;
  border-radius: var(--prob-radius-lg);
}

.prob-media-sharp picture,
.prob-media-sharp img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.prob-home-restaurant__visual.prob-media-sharp {
  aspect-ratio: 4 / 3;
  min-height: 16rem;
}

.prob-home-restaurant__visual.prob-media-sharp img {
  min-height: 16rem;
}

.pb-restaurant-hero__media.prob-media-sharp {
  aspect-ratio: 4 / 3;
  min-height: 14rem;
}

.pb-restaurant-split__media.prob-media-sharp img {
  min-height: 14rem;
  aspect-ratio: 3 / 2;
}

.pb-article-image {
  max-height: none;
}

.pb-tool-hero__picture {
  display: block;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
}

.pb-tool-image.prob-media-sharp,
.pb-tool-visual.prob-media-sharp .pb-tool-image {
  min-height: 14rem;
}

/* Widget avis Google — variables site existantes uniquement */

.prob-reviews-section {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.prob-reviews-inner {
  max-width: var(--prob-max-wide);
  margin: 0 auto;
}

.prob-reviews-header {
  margin-bottom: 2rem;
}

/* index.html — titre à gauche, badge Google à droite */
.prob-reviews-header:has(.prob-reviews-header-left) {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.prob-reviews-header-left .prob-section-title {
  margin-bottom: 0.25rem;
}

.prob-reviews-google-badge:has(.prob-reviews-stars-big) {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  padding: 0.85rem 1.25rem;
  min-width: 9rem;
}

.prob-reviews-stars-big {
  display: block;
  line-height: 1;
}

.prob-reviews-title-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.prob-reviews-title-row .prob-section-title {
  margin: 0;
}

.prob-reviews-sub {
  font-size: 0.82rem;
  color: var(--prob-text-muted);
  margin: 0.5rem 0 0;
}

.prob-reviews-google-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--prob-border);
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--prob-white);
}

body.prob-site:not(.light-mode) .prob-reviews-google-badge {
  background: rgba(255, 255, 255, 0.04);
}

.prob-reviews-star-filled {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
}

.prob-reviews-score {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--prob-text);
  line-height: 1.1;
}

.prob-reviews-count {
  font-size: 0.75rem;
  color: var(--prob-text-muted);
  white-space: nowrap;
}

.prob-reviews-google-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--prob-accent);
  text-decoration: none;
  margin-left: 0.25rem;
}

.prob-reviews-google-link:hover {
  text-decoration: underline;
}

.prob-reviews-carousel-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--prob-radius);
}

.prob-reviews-carousel {
  min-height: 10rem;
}

.prob-review-card {
  display: none;
  width: 100%;
  padding: 24px;
  background: var(--prob-white);
  border: 1px solid var(--prob-border);
  border-radius: 12px;
  box-shadow: var(--prob-shadow-sm);
  box-sizing: border-box;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
}

body.prob-site:not(.light-mode) .prob-review-card {
  background: rgba(255, 255, 255, 0.04);
}

.prob-review-card.is-visible {
  display: flex;
}

.prob-review-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0;
}

.prob-review-avatar {
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.prob-review-author {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--prob-text);
}

.prob-review-date {
  font-size: 0.75rem;
  color: var(--prob-text-muted);
}

.prob-review-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
  line-height: 1;
}

.prob-review-text {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--prob-text);
  font-style: italic;
  margin: 0;
}

.prob-review-source {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--prob-text-muted);
}

.prob-reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--prob-border);
  background: var(--prob-white);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--prob-shadow-sm);
  z-index: 2;
  color: var(--prob-text);
  font-family: inherit;
}

body.prob-site:not(.light-mode) .prob-reviews-nav {
  background: var(--prob-bg-page);
}

.prob-reviews-nav-prev {
  left: 0.5rem;
}

.prob-reviews-nav-next {
  right: 0.5rem;
}

.prob-reviews-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.prob-reviews-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: none;
  background: var(--prob-border);
  cursor: pointer;
  padding: 0;
  transition: width 0.15s, background 0.15s;
}

.prob-reviews-dot.active {
  background: var(--prob-accent);
  width: 1.25rem;
  border-radius: 999px;
}

.prob-reviews-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.prob-reviews-cta-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--prob-accent);
  text-decoration: none;
}

.prob-reviews-cta-link:hover {
  text-decoration: underline;
}

@media (min-width: 769px) {
  .prob-reviews-carousel-wrap {
    overflow: hidden;
  }

  .prob-reviews-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    min-height: 11.25rem;
  }

  .prob-reviews-nav {
    display: flex;
  }
}

@media (max-width: 768px) {
  .prob-reviews-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .prob-reviews-google-badge {
    width: 100%;
    flex-wrap: wrap;
  }

  .prob-reviews-nav {
    display: none !important;
  }

  .prob-review-card {
    padding: 1.125rem 1rem;
    min-height: 10rem;
  }
}
