/* Yelp-style reviews: content grid, hero trust-bar badge, and left drawer. */

.dw-yelp,
.dw-yelp-drawer,
.dw-yelp-badge {
  --dw-yelp-red: #d32323;
  --dw-yelp-star: #f15c4c;
  --dw-yelp-ink: #2b273c;
  --dw-yelp-muted: #6e6e6e;
  --dw-yelp-line: #eeeeee;
  --dw-yelp-blue: #0073bb;
  --dw-yelp-bg: #fff;
}

.dw-yelp {
  color: var(--dw-yelp-ink);
}

.dw-yelp .w-layout-blockcontainer {
  max-width: var(--core--sizing--container-default--default, 1248px);
}

.dw-yelp__review,
.dw-yelp__review p,
.dw-yelp__scorecard,
.dw-yelp__scorecard p,
.dw-yelp__footnote {
  text-align: left !important;
}

.dw-yelp [hidden],
.dw-yelp-drawer [hidden] {
  display: none !important;
}

.dw-yelp .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dw-yelp__heading {
  margin: 0 0 22px;
  color: var(--dw-yelp-ink) !important;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: center !important;
}

.dw-yelp__scorecard {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-bottom: 20px;
  padding: 18px 20px;
  border: 1px solid var(--dw-yelp-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 42, 72, 0.05);
}

.dw-yelp__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dw-yelp-red);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

.dw-yelp__brand:hover {
  color: #af1d1d;
}

.dw-yelp__burst {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.dw-yelp__score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  min-width: 0;
}

.dw-yelp__rating-number {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.dw-yelp__rating-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dw-yelp__count {
  color: var(--dw-yelp-muted);
  font-size: 14px;
  line-height: 1.3;
}

.dw-yelp__count a {
  color: var(--dw-yelp-blue);
  font-weight: 600;
  text-decoration: none;
}

.dw-yelp__count a:hover {
  text-decoration: underline;
}

.dw-yelp-stars {
  position: relative;
  display: inline-block;
  width: 110px;
  height: 20px;
  vertical-align: middle;
}

.dw-yelp-stars__base,
.dw-yelp-stars__fill {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: 110px 20px;
}

.dw-yelp-stars__base {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='110' height='20' viewBox='0 0 110 20'><g fill='%23cccccc'><path d='M10 1.5l2.4 4.9 5.4.8-3.9 3.8.9 5.4L10 13.8 5.2 16.4l.9-5.4L2.2 7.2l5.4-.8z'/><path d='M32 1.5l2.4 4.9 5.4.8-3.9 3.8.9 5.4L32 13.8l-4.8 2.6.9-5.4-3.9-3.8 5.4-.8z'/><path d='M54 1.5l2.4 4.9 5.4.8-3.9 3.8.9 5.4L54 13.8l-4.8 2.6.9-5.4-3.9-3.8 5.4-.8z'/><path d='M76 1.5l2.4 4.9 5.4.8-3.9 3.8.9 5.4L76 13.8l-4.8 2.6.9-5.4-3.9-3.8 5.4-.8z'/><path d='M98 1.5l2.4 4.9 5.4.8-3.9 3.8.9 5.4L98 13.8l-4.8 2.6.9-5.4-3.9-3.8 5.4-.8z'/></g></svg>");
}

.dw-yelp-stars__fill {
  width: var(--dw-yelp-fill, 0%);
  overflow: hidden;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='110' height='20' viewBox='0 0 110 20'><g fill='%23f15c4c'><path d='M10 1.5l2.4 4.9 5.4.8-3.9 3.8.9 5.4L10 13.8 5.2 16.4l.9-5.4L2.2 7.2l5.4-.8z'/><path d='M32 1.5l2.4 4.9 5.4.8-3.9 3.8.9 5.4L32 13.8l-4.8 2.6.9-5.4-3.9-3.8 5.4-.8z'/><path d='M54 1.5l2.4 4.9 5.4.8-3.9 3.8.9 5.4L54 13.8l-4.8 2.6.9-5.4-3.9-3.8 5.4-.8z'/><path d='M76 1.5l2.4 4.9 5.4.8-3.9 3.8.9 5.4L76 13.8l-4.8 2.6.9-5.4-3.9-3.8 5.4-.8z'/><path d='M98 1.5l2.4 4.9 5.4.8-3.9 3.8.9 5.4L98 13.8l-4.8 2.6.9-5.4-3.9-3.8 5.4-.8z'/></g></svg>");
}

.dw-yelp-stars--sm {
  width: 88px;
  height: 16px;
}

.dw-yelp-stars--sm .dw-yelp-stars__base,
.dw-yelp-stars--sm .dw-yelp-stars__fill {
  background-size: 88px 16px;
}

.dw-yelp-stars--on-dark .dw-yelp-stars__base {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='110' height='20' viewBox='0 0 110 20'><g fill='%23ffffff' fill-opacity='0.38'><path d='M10 1.5l2.4 4.9 5.4.8-3.9 3.8.9 5.4L10 13.8 5.2 16.4l.9-5.4L2.2 7.2l5.4-.8z'/><path d='M32 1.5l2.4 4.9 5.4.8-3.9 3.8.9 5.4L32 13.8l-4.8 2.6.9-5.4-3.9-3.8 5.4-.8z'/><path d='M54 1.5l2.4 4.9 5.4.8-3.9 3.8.9 5.4L54 13.8l-4.8 2.6.9-5.4-3.9-3.8 5.4-.8z'/><path d='M76 1.5l2.4 4.9 5.4.8-3.9 3.8.9 5.4L76 13.8l-4.8 2.6.9-5.4-3.9-3.8 5.4-.8z'/><path d='M98 1.5l2.4 4.9 5.4.8-3.9 3.8.9 5.4L98 13.8l-4.8 2.6.9-5.4-3.9-3.8 5.4-.8z'/></g></svg>");
}

.dw-yelp__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dw-yelp__review {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 18px;
  border: 1px solid #e8eef4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 42, 72, 0.06);
  box-sizing: border-box;
}

.dw-yelp__review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.dw-yelp__avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: #e4e4e7;
  color: #3f3f46;
  font-size: 14px;
  font-weight: 700;
  line-height: 48px;
  text-align: center;
}

.dw-yelp__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dw-yelp__author {
  min-width: 0;
}

.dw-yelp__name {
  margin: 0;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dw-yelp__date {
  margin: 2px 0 0;
  color: var(--dw-yelp-muted);
  font-size: 13px;
}

.dw-yelp__review-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.dw-yelp__text {
  margin: 0;
  color: var(--dw-yelp-ink);
  font-size: 14px;
  line-height: 1.55;
  flex: 1 1 auto;
}

.dw-yelp__text.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.dw-yelp__read-more {
  display: none;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--dw-yelp-blue);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.dw-yelp__read-more.is-visible {
  display: inline-block;
}

.dw-yelp__photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.dw-yelp__review.is-collapsed [data-yelp-photos] {
  display: none;
}

.dw-yelp__photos a {
  display: block;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f3f3;
}

.dw-yelp__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dw-yelp__review-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 10px;
  color: var(--dw-yelp-blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.dw-yelp__review-link:hover {
  text-decoration: underline;
}

.dw-yelp__more {
  display: none;
  width: min(100%, 280px);
  margin: 22px auto 0;
  padding: 12px 16px;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  background: #fff;
  color: var(--dw-yelp-ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.dw-yelp__more.is-visible {
  display: block;
}

.dw-yelp__more:hover {
  background: #f7f7f7;
}

.dw-yelp__footnote {
  margin: 16px 0 0;
  color: var(--dw-yelp-muted);
  font-size: 12px;
  line-height: 1.45;
}

@media screen and (min-width: 640px) {
  .dw-yelp__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media screen and (min-width: 992px) {
  .dw-yelp__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .dw-yelp__review {
    padding: 16px;
  }

  .dw-yelp__name {
    font-size: 15px;
  }

  .dw-yelp__text {
    font-size: 13.5px;
  }
}

@media screen and (max-width: 767px) {
  .dw-yelp__heading {
    text-align: left !important;
  }

  .dw-yelp__scorecard {
    padding: 16px;
  }

  .dw-yelp__rating-number {
    font-size: 28px;
  }

  .dw-yelp__review {
    padding: 16px;
    border-radius: 14px;
  }

  .dw-yelp__avatar {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 12px;
  }

  .dw-yelp__text {
    font-size: 15px;
  }

  .dw-yelp__photos a {
    width: 72px;
    height: 72px;
  }
}

/* Compact Yelp badge in the navy trust bar under the hero. */
.trust-badges-bar .dw-yelp-badge-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.dw-yelp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin: 0;
  padding: 2px 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: left;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.dw-yelp-badge:hover,
.dw-yelp-badge:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.dw-yelp-badge:focus-visible {
  box-shadow: 0 0 0 2px #fff;
}

.dw-yelp-badge__brand {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.dw-yelp-badge__rating {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.dw-yelp-badge .dw-yelp-stars {
  flex: 0 0 auto;
}

.classic-public-page .trust-badges-bar .dw-yelp-badge,
.classic-public-page .trust-badges-bar .dw-yelp-badge__brand,
.classic-public-page .trust-badges-bar .dw-yelp-badge__rating {
  text-align: left !important;
  color: #fff !important;
}

/* Left-sliding reviews drawer. */
.dw-yelp-drawer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 2600;
  background: rgba(8, 20, 36, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.dw-yelp-drawer__backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dw-yelp-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2610;
  display: flex;
  flex-direction: column;
  width: min(420px, 92vw);
  height: 100%;
  height: 100dvh;
  padding: 18px 16px 24px;
  overflow: auto;
  background: #f4f7fb;
  box-shadow: 16px 0 40px rgba(8, 20, 36, 0.28);
  box-sizing: border-box;
  color: var(--dw-yelp-ink);
  text-align: left !important;
  transform: translateX(-105%);
  visibility: hidden;
  transition: transform 0.32s ease, visibility 0.32s ease;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.dw-yelp-drawer.is-open {
  transform: translateX(0) !important;
  visibility: visible !important;
}

.dw-yelp-drawer,
.dw-yelp-drawer h2,
.dw-yelp-drawer p {
  text-align: left !important;
}

.dw-yelp-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.dw-yelp-drawer__title {
  margin: 0 0 8px;
  color: var(--dw-yelp-ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.dw-yelp-drawer__score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
  color: var(--dw-yelp-muted);
  font-size: 14px;
}

.dw-yelp-drawer__score strong {
  color: var(--dw-yelp-ink);
  font-size: 18px;
  font-weight: 800;
}

.dw-yelp-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--dw-yelp-ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 42, 72, 0.12);
}

.dw-yelp-drawer__close:hover,
.dw-yelp-drawer__close:focus-visible {
  background: #eef3f8;
  outline: none;
}

.dw-yelp-drawer__list,
.dw-yelp-drawer .dw-yelp__list {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 12px;
  flex: 1 1 auto;
}

.dw-yelp-drawer .dw-yelp__more {
  width: 100%;
  margin-top: 16px;
}

.dw-yelp-drawer__yelp-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--dw-yelp-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.dw-yelp-drawer__yelp-link:hover {
  text-decoration: underline;
}

body.dw-yelp-drawer-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .dw-yelp-drawer,
  .dw-yelp-drawer__backdrop {
    transition: none;
  }
}

@media screen and (min-width: 480px) {
  .dw-yelp-drawer {
    border-radius: 0 16px 16px 0;
  }
}

@media screen and (max-width: 479px) {
  .dw-yelp-drawer {
    width: min(100vw, 100%);
  }
}
