.lsgr-widget {
  width: 100%;
  max-width: 100%;
  margin: 0 0 20px;
  padding: 0;
  box-sizing: border-box;
  font-family: inherit;
  color: #202124;
  overflow: hidden;
}

/* full-bleed without horizontal page scroll */
.lsgr-widget.lsgr-feed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: clip;
}

.lsgr-widget .lsgr-add-review {
  display: none !important;
}

.lsgr-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 14px;
  margin: 0 0 8px;
  padding: 0;
}

.lsgr-add-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #3bb54a;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(59, 181, 74, 0.28);
}

.lsgr-add-review:hover {
  background: #2f9a3d;
  color: #fff !important;
}

.lsgr-caption {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
  color: #334155;
}

.lsgr-carousel-wrap {
  position: relative;
  min-width: 0;
  width: 100%;
  padding: 0 72px;
  margin-top: 0;
  box-sizing: border-box;
}

.lsgr-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.lsgr-carousel::-webkit-scrollbar {
  display: none;
}

.lsgr-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #00102e;
  background: #fff;
  color: #00102e;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 16, 46, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
}

.lsgr-nav:hover {
  background: #00102e;
  color: #fff;
  border-color: #00102e;
}

.lsgr-nav.prev {
  left: 20px;
}

.lsgr-nav.next {
  right: 20px;
}

.lsgr-card {
  flex: 0 0 min(340px, 82vw);
  scroll-snap-align: start;
  background: #f1f3f4;
  border-radius: 14px;
  padding: 16px 16px 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
}

.lsgr-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.lsgr-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 42px;
  background: #dadce0;
}

.lsgr-avatar-fallback {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.lsgr-card-meta {
  flex: 1 1 auto;
  min-width: 0;
}

.lsgr-card-name {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.25;
  margin: 0;
}

.lsgr-card-date {
  font-size: 0.8rem;
  color: #80868b;
  margin-top: 2px;
}

.lsgr-g-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
}

.lsgr-card-stars {
  color: #fbbc04;
  font-size: 1rem;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lsgr-verified {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #1a73e8;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.lsgr-card-text {
  font-size: 0.92rem;
  line-height: 1.45;
  color: #3c4043;
  margin: 0;
  white-space: pre-line;
}

.lsgr-card-text.is-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  white-space: normal;
}

.lsgr-toggle {
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  color: #80868b;
  font-size: 0.86rem;
  cursor: pointer;
  text-align: left;
  align-self: flex-start;
}

.lsgr-toggle:hover {
  color: #3c4043;
  text-decoration: underline;
}

.lsgr-media {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lsgr-media a {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #dadce0;
}

.lsgr-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lsgr-reply {
  margin-top: 2px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 10px;
  border-left: 3px solid #dadce0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #3c4043;
}

.lsgr-reply strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8rem;
  color: #5f6368;
}

.lsgr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(32, 33, 36, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lsgr-lightbox.is-open {
  display: flex;
}

.lsgr-lightbox img {
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.lsgr-lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.lsgr-feed-empty {
  padding: 16px;
  color: #5f6368;
}

@media (max-width: 640px) {
  .lsgr-carousel-wrap {
    padding: 0 52px;
  }

  .lsgr-nav {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    font-size: 24px;
  }

  .lsgr-nav.prev {
    left: 12px;
  }

  .lsgr-nav.next {
    right: 12px;
  }
}
