#swrhReviews,
#swrhReviews *,
#swrhReviews *::before,
#swrhReviews *::after,
#swrhModal,
#swrhModal *,
#swrhModal *::before,
#swrhModal *::after {
  box-sizing: border-box;
}

#swrhReviews,
#swrhModal {
  --swrh-navy: #173B66;
  --swrh-blue: #2F65A8;
  --swrh-text: #20354F;
  --swrh-muted: #66758A;
  --swrh-line: #D6E1EE;
  --swrh-soft-line: rgba(214,225,238,.72);
  --swrh-bg: #F7F9FC;
  --swrh-paper: #FFFFFF;
  --swrh-soft: #EEF4FA;
  --swrh-body: "Alone Kaium", "Poppins", sans-serif;
  --swrh-display: "Marcellus", Georgia, serif;
  --swrh-ease: cubic-bezier(.22,.61,.36,1);
}

#swrhReviews *,
#swrhModal * {
  font-family: var(--swrh-body) !important;
}

#swrhReviews {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(78px, 7vw, 108px) 0;
  color: var(--swrh-text);
  background:
    radial-gradient(circle at 86% 10%, rgba(47,101,168,.075), transparent 27%),
    linear-gradient(180deg, #F8FAFD 0%, #F6F8FB 100%);
  overflow: hidden;
}

#swrhReviews .swrh__shell {
  width: min(calc(100% - 64px), 1360px);
  margin: 0 auto;
}

/* Header */
#swrhReviews .swrh__header {
  margin-bottom: clamp(34px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: end;
  gap: 48px;
}

#swrhReviews .swrh__eyebrow,
#swrhModal .swrh__eyebrow {
  display: block;
  margin: 0 0 12px;
  color: var(--swrh-blue);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Only this one heading uses Marcellus */
#swrhReviews #swrhTitle {
  margin: 0;
  max-width: 760px;
  color: var(--swrh-navy);
  font-family: var(--swrh-display) !important;
  font-size: clamp(50px, 5.3vw, 72px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.035em;
}

#swrhReviews .swrh__header > p {
  max-width: 430px;
  margin: 0 0 4px;
  color: var(--swrh-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

/* Real image brand icons */
#swrhReviews .swrh-source-icon,
#swrhModal .swrh-source-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(47,101,168,.16);
  border-radius: 10px;
  background: #fff;
}

#swrhReviews .swrh-source-icon img,
#swrhModal .swrh-source-icon img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

#swrhReviews .swrh-source-icon--booking img,
#swrhModal .swrh-source-icon--booking img {
  width: 20px;
  height: 20px;
}

#swrhReviews .swrh-source-name,
#swrhModal .swrh-source-name {
  color: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
}

/* Pelican-inspired premium summary */
#swrhReviews .swrh__summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, .33fr) minmax(0, 1fr);
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--swrh-line);
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(47,101,168,.055), transparent 30%),
    #fff;
}

#swrhReviews .swrh__summary::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(214,225,238,.40);
  border-radius: 20px;
  pointer-events: none;
}

#swrhReviews .swrh__score,
#swrhReviews .swrh__metric {
  position: relative;
  z-index: 1;
  margin: 0;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: var(--swrh-text);
  background: transparent;
  text-align: left;
}

#swrhReviews .swrh__score {
  padding: 26px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--swrh-line);
}

#swrhReviews .swrh__summary-source,
#swrhReviews .swrh__metric-source {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--swrh-muted);
}

#swrhReviews .swrh__score-number {
  margin-top: 15px;
  color: var(--swrh-navy);
  font-size: clamp(54px, 4.8vw, 68px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.04em;
}

#swrhReviews .swrh__score-stars {
  margin-top: 12px;
  color: #E6A719;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .10em;
}

#swrhReviews .swrh__score-copy {
  margin-top: 9px;
  color: var(--swrh-muted);
  font-size: 13px;
  font-weight: 500;
}

#swrhReviews .swrh__score-note {
  margin-top: 10px;
  color: var(--swrh-blue);
  font-size: 11px;
  font-weight: 500;
}

#swrhReviews .swrh__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

#swrhReviews .swrh__metric {
  min-width: 0;
  padding: 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background .22s ease;
}

#swrhReviews .swrh__metric:not(:last-child) {
  border-right: 1px solid var(--swrh-line);
}

#swrhReviews .swrh__metric:hover,
#swrhReviews .swrh__score:hover {
  background: rgba(47,101,168,.035);
}

#swrhReviews .swrh__metric strong {
  margin-top: 18px;
  color: var(--swrh-navy);
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.02em;
}

#swrhReviews .swrh__metric small {
  margin-top: 9px;
  color: var(--swrh-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

/* Featured review cards */
#swrhReviews .swrh__featured-reviews {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

#swrhReviews .swrh-feature {
  position: relative;
  min-width: 0;
  min-height: 330px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--swrh-line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(47,101,168,.045) 0%, rgba(255,255,255,0) 34%),
    #fff;
  transition: transform .22s var(--swrh-ease), border-color .22s ease, background .22s ease;
}

#swrhReviews .swrh-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  width: 52px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--swrh-blue);
  opacity: .68;
}

#swrhReviews .swrh-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(47,101,168,.42);
  background:
    linear-gradient(180deg, rgba(47,101,168,.065) 0%, rgba(255,255,255,0) 38%),
    #fff;
}

#swrhReviews .swrh-feature__head {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
}

#swrhReviews .swrh-feature__avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(47,101,168,.20);
  border-radius: 13px;
  background: #F4F8FC;
  color: var(--swrh-navy);
  font-size: 18px;
  font-weight: 500;
}

#swrhReviews .swrh-feature__person-main {
  min-width: 0;
}

#swrhReviews .swrh-feature__person-main strong {
  display: block;
  margin: 0;
  color: var(--swrh-navy);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.1;
}

#swrhReviews .swrh-feature__person-main span {
  display: block;
  margin-top: 4px;
  color: var(--swrh-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

#swrhReviews .swrh-feature__brand .swrh-source-icon {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

#swrhReviews .swrh-feature__brand .swrh-source-icon img {
  width: 19px;
  height: 19px;
}

#swrhReviews .swrh-feature__rating {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

#swrhReviews .swrh-feature__rating > span {
  color: #E6A719;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
}

#swrhReviews .swrh-feature__rating > strong {
  color: var(--swrh-navy);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

#swrhReviews .swrh-feature blockquote {
  margin: 18px 0 24px;
  padding: 0;
  color: var(--swrh-text);
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
}

#swrhReviews .swrh-feature__meta {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  border-top: 1px solid var(--swrh-soft-line);
  color: var(--swrh-muted);
  font-size: 10px;
  line-height: 1.35;
}

#swrhReviews .swrh-feature__meta span + span::before {
  content: "·";
  margin-right: 7px;
}

/* Action */
#swrhReviews .swrh__action {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

#swrhReviews .swrh__button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid var(--swrh-navy);
  border-radius: 999px;
  background: var(--swrh-navy);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: transform .22s var(--swrh-ease), background .22s ease;
}

#swrhReviews .swrh__button:hover {
  transform: translateY(-2px);
  background: #102F52;
}

#swrhReviews .swrh__button-arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform .22s ease;
}

#swrhReviews .swrh__button:hover .swrh__button-arrow {
  transform: translateX(3px);
}

/* Modal */
html:has(body.swrh-modal-open),
body.swrh-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

#swrhModal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  width: 100vw;
  height: 100dvh;
}

#swrhModal.is-open {
  display: block;
}

#swrhModal .swrh-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(12,29,47,.80);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

#swrhModal .swrh-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 22px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

#swrhModal .swrh-modal__panel {
  position: relative;
  width: min(1080px, 100%);
  height: min(92dvh, 880px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  background: #fff;
  pointer-events: auto;
}

#swrhModal .swrh-modal__header {
  position: relative;
  z-index: 3;
  padding: 30px 86px 20px 32px;
  border-bottom: 1px solid var(--swrh-line);
  background:
    linear-gradient(120deg, rgba(47,101,168,.055), transparent 48%),
    #F8FAFD;
}

#swrhModal .swrh-modal__header h2 {
  margin: 0;
  color: var(--swrh-navy);
  font-size: clamp(34px, 3.5vw, 46px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.025em;
}

/* Stable CSS X - no glyph/SVG dependency */
#swrhModal .swrh-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 20;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--swrh-line);
  border-radius: 15px;
  background: #fff;
  color: var(--swrh-navy);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
}

#swrhModal .swrh-modal__close::before,
#swrhModal .swrh-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

#swrhModal .swrh-modal__close::before {
  transform: translate(-50%,-50%) rotate(45deg);
}

#swrhModal .swrh-modal__close::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}

#swrhModal .swrh-modal__close:hover {
  border-color: rgba(47,101,168,.45);
  background: #F4F8FC;
}

#swrhModal .swrh-modal__filters {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

#swrhModal .swrh-modal__filters button {
  min-height: 38px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--swrh-line);
  border-radius: 999px;
  background: #fff;
  color: var(--swrh-muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 400;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

#swrhModal .swrh-modal__filters button .swrh-source-icon {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
  border-radius: 7px;
}

#swrhModal .swrh-modal__filters button .swrh-source-icon img {
  width: 13px;
  height: 13px;
}

#swrhModal .swrh-modal__filters button.is-active {
  border-color: var(--swrh-navy);
  background: var(--swrh-navy);
  color: #fff;
}

#swrhModal .swrh-modal__filters button.is-active .swrh-source-icon {
  border-color: rgba(255,255,255,.25);
  background: #fff;
}

#swrhModal .swrh-modal__divider {
  width: 1px;
  height: 26px;
  margin: 0 2px;
  background: var(--swrh-line);
}

#swrhModal .swrh-modal__scroll {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

#swrhModal .swrh-modal__list {
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 30px 26px;
}

#swrhModal .swrh-modal-review {
  position: relative;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--swrh-line);
}

#swrhModal .swrh-modal-review:last-child {
  border-bottom: 0;
}

#swrhModal .swrh-modal-review__top {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
}

#swrhModal .swrh-modal-review__name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

#swrhModal .swrh-modal-review__name h3 {
  margin: 0;
  color: var(--swrh-navy);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.015em;
}

#swrhModal .swrh-modal-review__name .swrh-source-icon {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  border-radius: 9px;
}

#swrhModal .swrh-modal-review__name .swrh-source-icon img {
  width: 17px;
  height: 17px;
}

#swrhModal .swrh-modal-review__sub {
  margin-top: 5px;
  color: var(--swrh-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}

#swrhModal .swrh-modal-review__rating {
  color: var(--swrh-blue);
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

#swrhModal .swrh-modal-review__text {
  max-width: 790px;
  margin: 0;
  color: var(--swrh-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

#swrhModal .swrh-modal-review__meta {
  margin-top: 13px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--swrh-muted);
  font-size: 10px;
  line-height: 1.4;
}

#swrhModal .swrh-modal-review__meta span + span::before {
  content: "·";
  margin-right: 8px;
}

#swrhModal .swrh-modal__more {
  padding: 0 0 30px;
  display: flex;
  justify-content: center;
}

#swrhModal .swrh-modal__more button {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--swrh-line);
  border-radius: 999px;
  background: #fff;
  color: var(--swrh-navy);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
}

#swrhModal .swrh-modal__more button:disabled {
  opacity: .58;
  cursor: wait;
}

#swrhModal .swrh-modal__empty {
  padding: 58px 20px;
  color: var(--swrh-muted);
  text-align: center;
  font-size: 14px;
}

@media (max-width: 1050px) {
  #swrhReviews .swrh__summary {
    grid-template-columns: minmax(250px, .34fr) minmax(0, 1fr);
  }

  #swrhReviews .swrh__metrics {
    grid-template-columns: 1fr;
  }

  #swrhReviews .swrh__metric {
    padding: 22px 26px;
  }

  #swrhReviews .swrh__metric:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--swrh-line);
  }

  #swrhReviews .swrh__metric strong {
    margin-top: 12px;
  }
}

@media (max-width: 820px) {
  #swrhReviews .swrh__header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #swrhReviews .swrh__featured-reviews {
    grid-template-columns: 1fr;
  }

  #swrhReviews .swrh-feature {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  #swrhReviews {
    padding: 60px 0 68px;
  }

  #swrhReviews .swrh__shell {
    width: calc(100% - 30px);
  }

  #swrhReviews #swrhTitle {
    font-size: clamp(40px, 11vw, 49px);
  }

  #swrhReviews .swrh__summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
    border-radius: 22px;
  }

  #swrhReviews .swrh__summary::after {
    inset: 8px;
    border-radius: 16px;
  }

  /* Make Google + Booking.com + Airbnb + Vrbo one true 2 x 2 grid. */
  #swrhReviews .swrh__metrics {
    display: contents;
  }

  #swrhReviews .swrh__score,
  #swrhReviews .swrh__metric {
    min-width: 0;
    min-height: 154px;
    padding: 19px 17px;
  }

  #swrhReviews .swrh__score {
    border-right: 1px solid var(--swrh-line);
    border-bottom: 1px solid var(--swrh-line);
  }

  #swrhReviews .swrh__score-number {
    margin-top: 11px;
    font-size: 50px;
  }

  #swrhReviews .swrh__score-stars {
    margin-top: 9px;
    font-size: 10px;
  }

  #swrhReviews .swrh__score-copy {
    margin-top: 7px;
    font-size: 11px;
  }

  #swrhReviews .swrh__score-note {
    margin-top: 7px;
    font-size: 9px;
  }

  #swrhReviews .swrh__metric,
  #swrhReviews .swrh__metric:not(:last-child),
  #swrhReviews .swrh__metric:nth-child(odd),
  #swrhReviews .swrh__metric:last-child {
    grid-column: auto;
    border-right: 0;
    border-bottom: 0;
  }

  #swrhReviews .swrh__metric:nth-child(1) {
    border-bottom: 1px solid var(--swrh-line);
  }

  #swrhReviews .swrh__metric:nth-child(2) {
    border-right: 1px solid var(--swrh-line);
  }

  #swrhReviews .swrh__metric strong {
    margin-top: 14px;
    font-size: clamp(22px, 6.4vw, 28px);
  }

  #swrhReviews .swrh__metric small {
    margin-top: 7px;
    font-size: 10.5px;
  }

  #swrhReviews .swrh__summary-source,
  #swrhReviews .swrh__metric-source {
    gap: 7px;
  }

  #swrhReviews .swrh-feature {
    padding: 22px;
    border-radius: 18px;
  }

  #swrhReviews .swrh__button {
    width: 100%;
  }

  #swrhModal .swrh-modal__dialog {
    padding: 6px;
  }

  #swrhModal .swrh-modal__panel {
    width: 100%;
    height: calc(100dvh - 12px);
    max-height: none;
    border-radius: 20px;
  }

  #swrhModal .swrh-modal__header {
    padding: 48px 14px 14px;
  }

  #swrhModal .swrh-modal__header h2 {
    font-size: 30px;
  }

  #swrhModal .swrh-modal__close {
    top: 9px;
    right: 9px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  #swrhModal .swrh-modal__close::before,
  #swrhModal .swrh-modal__close::after {
    width: 18px;
  }

  #swrhModal .swrh-modal__filters {
    gap: 6px;
    margin-top: 14px;
  }

  #swrhModal .swrh-modal__filters button {
    min-height: 36px;
    padding: 0 10px;
  }

  #swrhModal .swrh-modal__divider {
    display: none;
  }

  #swrhModal .swrh-modal__list {
    padding: 2px 16px 24px;
  }

  #swrhModal .swrh-modal-review {
    padding: 22px 0 24px;
  }

  #swrhModal .swrh-modal-review__name h3 {
    font-size: 20px;
  }

  #swrhModal .swrh-modal-review__rating {
    font-size: 17px;
  }

  #swrhModal .swrh-modal-review__text {
    font-size: 15px;
  }
}

@media (max-width: 430px) {
  #swrhReviews .swrh__metrics {
    grid-template-columns: 1fr;
  }

  #swrhReviews .swrh__metric,
  #swrhReviews .swrh__metric:nth-child(odd),
  #swrhReviews .swrh__metric:last-child {
    min-height: 118px;
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--swrh-line);
  }

  #swrhReviews .swrh__metric:last-child {
    border-bottom: 0;
  }

  #swrhModal .swrh-modal__filters button span:not(.swrh-source-icon) {
    display: none;
  }

  #swrhModal .swrh-modal__filters button[data-stars] {
    min-width: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #swrhReviews *,
  #swrhModal * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
