.lgr-section,
.lgr-section * {
  box-sizing: border-box;
}

.lgr-section {
  --lgr-gap: 20px;
  --lgr-visible: 3;
  width: 100%;
  margin: 32px 0;
  padding: 48px 24px;
  overflow: hidden;
  color: var(--lgr-text);
  background: var(--lgr-section-bg);
  font-family: inherit;
}

.lgr-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.lgr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.lgr-align-center .lgr-header {
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.lgr-heading-wrap {
  min-width: 0;
}

.lgr-title {
  margin: 0;
  color: var(--lgr-text);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.lgr-place-name {
  margin: 8px 0 0;
  color: var(--lgr-muted);
  font-size: 0.98rem;
}

.lgr-summary {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  color: var(--lgr-text);
  background: var(--lgr-card-bg);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  text-decoration: none !important;
}

.lgr-summary:hover,
.lgr-summary:focus-visible {
  color: var(--lgr-text);
  transform: translateY(-1px);
}

.lgr-summary-score {
  font-size: 1.18rem;
  line-height: 1;
}

.lgr-summary-count {
  color: var(--lgr-muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.lgr-rating-stars {
  position: relative;
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 1px;
  white-space: nowrap;
}

.lgr-rating-stars-empty {
  color: #d9d9d9;
}

.lgr-rating-stars-fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  color: var(--lgr-star);
}

.lgr-carousel-shell {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 14px;
}

.lgr-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  outline: none;
  touch-action: pan-y;
}

.lgr-viewport:focus-visible {
  border-radius: calc(var(--lgr-radius) + 3px);
  box-shadow: 0 0 0 3px rgba(180, 135, 75, 0.35);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lgr-accent) 35%, transparent);
}

.lgr-track {
  display: flex;
  align-items: stretch;
  gap: var(--lgr-gap);
  width: 100%;
  will-change: transform;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lgr-track.is-dragging {
  cursor: grabbing;
  transition: none;
  user-select: none;
}

.lgr-card {
  display: flex;
  flex: 0 0 calc((100% - (var(--lgr-visible) - 1) * var(--lgr-gap)) / var(--lgr-visible));
  flex-direction: column;
  min-width: 0;
  min-height: 315px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--lgr-radius);
  color: var(--lgr-text);
  background: var(--lgr-card-bg);
  box-shadow: 0 12px 34px rgba(25, 25, 25, 0.08);
}

.lgr-author {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.lgr-avatar-link {
  display: block;
  flex: 0 0 auto;
  border-radius: 50%;
}

.lgr-avatar {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.lgr-avatar-fallback {
  color: #fff;
  background: var(--lgr-accent);
  font-size: 1.05rem;
  font-weight: 700;
}

.lgr-author-meta {
  min-width: 0;
}

.lgr-author-name {
  display: block;
  overflow: hidden;
  color: var(--lgr-text) !important;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lgr-review-stars {
  display: flex;
  gap: 1px;
  margin-top: 5px;
  line-height: 1;
}

.lgr-star {
  color: #d9d9d9;
  font-size: 0.98rem;
}

.lgr-star.is-active {
  color: var(--lgr-star);
}

.lgr-review-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 15px;
  color: var(--lgr-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.lgr-review-body {
  flex: 1 1 auto;
  margin-top: 17px;
}

.lgr-review-text {
  margin: 0;
  color: var(--lgr-text);
  font-size: 0.96rem;
  line-height: 1.63;
  white-space: pre-line;
}

.lgr-read-more {
  margin: 11px 0 0;
  padding: 0;
  border: 0;
  color: var(--lgr-accent);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.lgr-read-more:hover,
.lgr-read-more:focus-visible {
  text-decoration: underline;
}

.lgr-review-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  font-size: 0.77rem;
}

.lgr-translated {
  color: var(--lgr-muted);
}

.lgr-source-link {
  color: var(--lgr-accent) !important;
  font-weight: 650;
  text-decoration: none !important;
}

.lgr-source-link:hover,
.lgr-source-link:focus-visible {
  text-decoration: underline !important;
}

.lgr-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  color: var(--lgr-text);
  background: var(--lgr-card-bg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.lgr-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.lgr-arrow:hover,
.lgr-arrow:focus-visible {
  color: #fff;
  background: var(--lgr-accent);
  transform: scale(1.05);
}

.lgr-arrow[hidden] {
  display: inline-flex !important;
  visibility: hidden;
  pointer-events: none;
}

.lgr-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 12px;
  margin-top: 22px;
}

.lgr-dots[hidden] {
  display: none;
}

.lgr-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(107, 107, 107, 0.35);
  background: color-mix(in srgb, var(--lgr-muted) 35%, transparent);
  cursor: pointer;
  transition: width 180ms ease, border-radius 180ms ease, background-color 180ms ease;
}

.lgr-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--lgr-accent);
}

.lgr-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-top: 25px;
}

.lgr-disclosure {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--lgr-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.lgr-disclosure a {
  color: var(--lgr-text) !important;
  font-weight: 700;
  text-decoration: none !important;
}

.lgr-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.lgr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--lgr-accent);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.lgr-button:hover,
.lgr-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.lgr-button-primary {
  color: #fff !important;
  background: var(--lgr-accent);
}

.lgr-button-secondary {
  color: var(--lgr-accent) !important;
  background: transparent;
}

@media (max-width: 767.98px) {
  .lgr-section {
    --lgr-gap: 14px;
    margin: 22px 0;
    padding: 34px 14px;
  }

  .lgr-header,
  .lgr-align-left .lgr-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .lgr-carousel-shell {
    display: block;
  }

  .lgr-card {
    min-height: 300px;
    padding: 21px;
  }

  .lgr-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
  }

  .lgr-arrow:hover,
  .lgr-arrow:focus-visible {
    transform: translateY(-50%) scale(1.04);
  }

  .lgr-arrow-prev {
    left: -5px;
  }

  .lgr-arrow-next {
    right: -5px;
  }

  .lgr-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .lgr-actions {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .lgr-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lgr-track,
  .lgr-arrow,
  .lgr-button,
  .lgr-dot {
    scroll-behavior: auto;
    transition: none !important;
  }
}
