.showcase-section {
  min-width: 0;
}

.sampaio-reviews {
  min-height: 430px;
  color: var(--black);
}

.reviews-status {
  padding: 30px 0;
  font:
    400 var(--body-copy-size)/1.7 var(--body-font);
  text-align: center;
}

.review-stars {
  --gold-star: #ffcc45;
  --review-star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 1.8 3.12 6.32 6.98 1.02-5.05 4.92 1.19 6.96L12 17.73l-6.24 3.29 1.19-6.96L1.9 9.14l6.98-1.02Z'/%3E%3C/svg%3E");
  display: inline-flex;
  align-items: center;
  gap: 3px;
  width: fit-content;
  color: var(--gold-star);
  font-size: 22px;
  line-height: 1;
}

.review-star {
  position: relative;
  display: block;
  flex: 0 0 1em;
  width: 1em;
  height: 1em;
}

.review-star::before,
.review-star::after {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-mask: var(--review-star-mask) center / contain no-repeat;
  mask: var(--review-star-mask) center / contain no-repeat;
}

.review-star::before {
  background: currentColor;
  opacity: .18;
}

.review-star::after {
  background: linear-gradient(145deg, #fff0b5 4%, #f7d568 32%, #e3b43b 68%, #d59b21 100%);
  clip-path: inset(0 calc(100% - var(--star-fill, 100%)) 0 0);
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 16px;
  align-items: stretch;
  width: 100%;
  padding: 20px 0 32px;
  scroll-padding-inline: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  min-height: 285px;
  padding: 0;
  color: var(--black);
  border-radius: 14px;
  scroll-snap-align: start;
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 20px 20px 16px;
}

.review-avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--divider-border);
  color: var(--black);
  font:
    400 var(--body-copy-size)/1 var(--body-font);
}

.review-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-identity {
  min-width: 0;
}

.review-name {
  margin: 0;
  color: var(--black);
  font:
    400 var(--body-copy-size)/1.5 var(--body-font);
  overflow-wrap: anywhere;
}

.review-date {
  display: block;
  margin-top: 2px;
  font:
    400 var(--body-copy-size)/1.5 var(--body-font);
  color: var(--black);
}

.review-card .review-stars {
  margin: 0 20px;
  font-size: 19px;
}

.review-comment {
  align-self: stretch;
  width: auto;
  margin: 12px 20px 0;
  white-space: pre-line;
  color: var(--black);
  font:
    400 var(--body-copy-size)/1.7 var(--body-font);
  text-align: left;
  overflow-wrap: anywhere;
}

.review-comment.is-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

.review-read-more {
  margin: 8px 20px 0;
  padding: 4px 0;
  color: var(--black);
  font:
    400 var(--body-copy-size)/1.5 var(--body-font);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  cursor: pointer;
}

.review-source {
  display: block;
  margin-top: auto;
  padding: 18px 24px 24px;
  font:
    400 var(--body-copy-size)/1.5 var(--body-font);
  color: var(--black);
}

.reviews-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.reviews-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font:
    400 0/1 var(--body-font);
  cursor: pointer;
}

.reviews-arrow::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: center / contain no-repeat var(--review-arrow-icon);
}

.reviews-arrow:first-child::before {
  transform: rotate(180deg);
}

.reviews-arrow:disabled {
  cursor: default;
}

.reviews-position {
  font:
    400 var(--body-copy-size)/1.5 var(--body-font);
}

.reviews-credit {
  margin: 18px 0 0;
  font:
    400 var(--body-copy-size)/1.5 var(--body-font);
  text-align: center;
}

.reviews-credit a {
  color: var(--black);
  text-decoration: none;
}

.reviews-credit a:hover {
  text-decoration: underline;
}

.reviews-fallback-link {
  color: var(--brown);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.event-photos-heading {
  margin-bottom: clamp(18px, 3vw, 24px);
  text-align: center;
}

.event-photos-heading p {
  margin: 8px 0 0;
  color: var(--brown);
}

.reviews-content-heading {
  display: flex;
  align-items: center;
  gap: 20px;
}

.google-business-rating {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--brown);
  font-size: 12px;
  line-height: 1.3;
}

.google-business-rating-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.google-business-rating-value {
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.google-business-rating .review-stars {
  font-size: 22px;
}

.google-business-rating-total {
  opacity: .8;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 142px;
  gap: 6px;
  overflow: hidden;
  border-radius: 14px;
}

.photo-gallery-item {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #ede4d8;
  border-radius: 14px;
}

.photo-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--panel-border-strong);
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.25);
  opacity: var(--photo-highlight, 0);
  pointer-events: none;
}

.photo-gallery-item:has(.photo-gallery-photo:is(:active, :focus-visible)),
.photo-gallery-item.is-pressed {
  --photo-highlight: 1;
}

.photo-gallery-feature {
  grid-column: span 2;
}

.photo-gallery-item:last-child {
  grid-column: span 2;
}

.photo-gallery-photo {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  cursor: zoom-in;
}

.photo-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-position, 50% 50%);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 420ms ease;
}

@media (prefers-reduced-motion: no-preference) {
  .photo-gallery-item::after {
    transition: opacity 170ms ease;
  }
}

@media (hover: hover) and (pointer: fine) {
  .photo-gallery-photo {
    cursor: pointer;
  }

  .photo-gallery-item:hover {
    --photo-highlight: 1;
  }

  .photo-gallery-item:hover img {
    transform: scale(1.045);
  }
}

.photo-gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px 12px 11px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(23, 19, 14, 0.67));
  font-size: 12px;
  font-weight: 500;
  pointer-events: none;
}

.photo-dialog {
  position: fixed;
  inset: auto;
  top: var(--overlay-viewport-top, 0px);
  left: var(--overlay-viewport-left, 0px);
  width: var(--overlay-viewport-width, 100%);
  height: 100vh;
  height: var(--overlay-viewport-height, 100dvh);
  max-width: none;
  max-height: none;
  margin: 0;
  padding: calc(56px + env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  overflow: hidden;
  overscroll-behavior: none;
  border: 0;
  border-radius: 0;
  background: #1a140f;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.photo-dialog[open] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
}

.photo-dialog:focus {
  outline: none;
}

.photo-dialog::backdrop {
  background: #1a140f;
}

.photo-dialog img {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 0;
  border-radius: 14px;
}

.photo-close {
  position: absolute;
  top: calc(8px + env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--white);
  font-size: 34px;
  line-height: 1;
  text-shadow: none;
  cursor: pointer;
}

.photo-close:is(:hover, :active, :focus) {
  background: transparent;
  box-shadow: none;
}

.reviews-content-heading {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
  text-align: center;
}

.reviews-content-heading p {
  margin: 0;
  color: var(--brown);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (prefers-color-scheme: dark) {
  .reviews-content-heading p { color: #fff9f0; }
}

.reviews-content-heading h1,
.event-photos-heading h1 {
  margin: 0;
  color: var(--gold);
  font-family: var(--display-font);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.16;
}

.reviews-content .review-card {
  min-height: 290px;
  border-left: 3px solid var(--gold);
  border-radius: 16px;
  background: var(--menu-selection-background);
  box-shadow: inset 0 0 0 4px var(--cream);
}

.photo-gallery-photo:focus-visible {
  outline-offset: -3px;
}

@media (width > 600px) {
  .review-card-header {
    padding: 22px 24px 16px;
  }

  .review-card .review-stars,
  .review-comment,
  .review-read-more {
    margin-inline: 24px;
  }

  .review-source {
    padding: 18px 24px 20px;
  }

  .photo-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 150px;
    gap: 8px;
  }

  .photo-gallery-feature {
    grid-row: span 2;
  }
}

@media (width > 800px) {
  .photo-gallery {
    grid-auto-rows: minmax(150px, 180px);
  }
}

@media (width > 950px) {
  .reviews-track {
    grid-auto-columns: calc((100% - 36px) / 3);
    gap: 18px;
  }
}

@media (width > 950px) and (pointer: fine), (width > 950px) and (pointer: none), (width > 1440px) {
  .sampaio-reviews {
    min-height: 360px;
  }

  .reviews-content-heading,
  .event-photos-heading {
    margin-bottom: 16px;
  }

  .reviews-track {
    padding-block: 12px 18px;
  }

  .reviews-content .review-card {
    min-height: 250px;
  }

  .review-card-header {
    padding-block: 16px 12px;
  }

  .review-source {
    padding-block: 12px 16px;
  }

  .reviews-credit {
    margin-top: 12px;
  }

  .photo-gallery {
    grid-auto-rows: clamp(148px, 20vh, 176px);
  }

  .photo-gallery-item:nth-child(2),
  .photo-gallery-item:nth-last-child(2) {
    grid-column: span 2;
  }

  .photo-gallery-item:last-child {
    grid-column: 3 / span 2;
    grid-row: 3 / span 2;
  }

}

@media (max-width: 600px) {
  .photo-gallery-item:first-child,
  .photo-gallery-item:last-child {
    grid-row: span 2;
  }

  .photo-gallery-item:first-child img {
    object-position: 50% 65%;
  }

  .photo-gallery-item:last-child img {
    object-position: 50% 100%;
  }
}

@media (min-width: 601px) and (max-width: 950px),
       (min-width: 601px) and (max-width: 1440px) and (pointer: coarse) {
  .photo-gallery {
    grid-auto-rows: clamp(128px, 13vw, 150px);
  }

  .photo-gallery-item:first-child,
  .photo-gallery-item:last-child {
    grid-row: span 2;
  }

  .photo-gallery-item:first-child img {
    object-position: 50% 65%;
  }

  .photo-gallery-item:last-child img {
    object-position: 50% 100%;
  }
}

@media (max-width: 950px), (max-width: 1440px) and (pointer: coarse) {
  .photo-gallery {
    --gallery-row-height: 142px;
    --gallery-gap: 6px;
    grid-auto-rows: minmax(var(--gallery-row-height), auto);
    align-items: center;
  }

  .photo-gallery-item:not(:first-child):not(:last-child) {
    height: calc(var(--gallery-row-height) + 20px);
  }

  .photo-gallery-item:first-child,
  .photo-gallery-item:last-child {
    height: calc(var(--gallery-row-height) * 2 + var(--gallery-gap));
  }
}

@media (min-width: 601px) and (max-width: 950px),
       (min-width: 601px) and (max-width: 1440px) and (pointer: coarse) {
  .photo-gallery {
    --gallery-row-height: clamp(128px, 13vw, 150px);
    --gallery-gap: 8px;
  }
}

.reviews-content {
  display: grid;
  gap: 24px;
}

.reviews-content > .reviews-content-heading {
  margin-bottom: 0;
}

.reviews-comments {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.reviews-comments > .google-business-rating {
  margin: 0;
}

.reviews-comments > .sampaio-reviews {
  min-width: 0;
}

.reviews-content .reviews-track {
  padding-top: 0;
}

.sampaio-reviews[aria-busy="false"] {
  min-height: 0;
}
