/* Reviews hub page-only polish. Loaded after the global palette. */
body.reviews-hub-page {
  background: linear-gradient(180deg, #FCF8F1 0%, #F7F0E4 100%) !important;
  overflow-x: hidden !important;
}

body.reviews-hub-page .reviews-hub-hero {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(247, 240, 228, 0.96) 100%) !important;
  border-bottom: 1px solid rgba(216, 169, 63, 0.18) !important;
}

body.reviews-hub-page .rh-feature-card,
body.reviews-hub-page .rh-review-card,
body.reviews-hub-page .rh-recent-card,
body.reviews-hub-page .rh-methodology-strip {
  position: relative !important;
  overflow: hidden !important;
  background: #FFFDF8 !important;
  border: 1px solid rgba(154, 118, 45, 0.20) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(31, 29, 26, 0.06) !important;
}

body.reviews-hub-page .rh-feature-card,
body.reviews-hub-page .rh-review-card {
  display: flex !important;
  flex-direction: column !important;
}

body.reviews-hub-page .rh-feature-card::before,
body.reviews-hub-page .rh-review-card::before,
body.reviews-hub-page .rh-recent-card::before,
body.reviews-hub-page .rh-methodology-strip::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 18px !important;
  right: 18px !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent 0%, rgba(216, 169, 63, 0.48) 18%, rgba(242, 211, 123, 0.62) 50%, rgba(216, 169, 63, 0.48) 82%, transparent 100%) !important;
  pointer-events: none !important;
}

body.reviews-hub-page .rh-feature-card:hover,
body.reviews-hub-page .rh-review-card:hover,
body.reviews-hub-page .rh-recent-card:hover {
  border-color: rgba(216, 169, 63, 0.42) !important;
  box-shadow: 0 18px 38px rgba(31, 29, 26, 0.105) !important;
}

body.reviews-hub-page .rh-logo-tile {
  background: linear-gradient(180deg, #FFFFFF 0%, #FCF8F1 100%) !important;
  border: 1px solid rgba(154, 118, 45, 0.24) !important;
  border-radius: 14px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 5px 14px rgba(31, 29, 26, 0.055) !important;
}

body.reviews-hub-page .rh-card-category,
body.reviews-hub-page .rh-workflow-tag,
body.reviews-hub-page .rh-eyebrow,
body.reviews-hub-page .rh-date {
  color: #8D6820 !important;
}

body.reviews-hub-page .rh-badge {
  color: #8D6820 !important;
  background: #FCF8F1 !important;
  border: 1px solid rgba(216, 169, 63, 0.32) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

body.reviews-hub-page .rh-verdict,
body.reviews-hub-page [class*="verdict"].rh-verdict {
  display: -webkit-box !important;
  margin: 18px 0 13px !important;
  padding: 0 !important;
  color: #3E3A33 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.reviews-hub-page .rh-review-card p,
body.reviews-hub-page .rh-recent-card p {
  color: #4A4740 !important;
  background: transparent !important;
}

body.reviews-hub-page .rh-review-copy > p {
  display: -webkit-box !important;
  min-height: calc(1.55em * 2) !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.reviews-hub-page .rh-recent-card p:not(.rh-date) {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.reviews-hub-page .rh-feature-meta span,
body.reviews-hub-page .rh-index-meta span {
  color: #5C554A !important;
  background: rgba(244, 239, 230, 0.82) !important;
  border: 1px solid rgba(216, 169, 63, 0.20) !important;
}

body.reviews-hub-page .rh-btn-primary,
body.reviews-hub-page main a.rh-btn-primary {
  color: #FCF8F1 !important;
  background: linear-gradient(135deg, #4F5F4D 0%, #5F725C 100%) !important;
  border-color: rgba(79, 95, 77, 0.9) !important;
}

body.reviews-hub-page .rh-btn-secondary,
body.reviews-hub-page main a.rh-btn-secondary {
  color: #1F1D1A !important;
  background: #FFFDF8 !important;
  border-color: rgba(216, 169, 63, 0.36) !important;
}

body.reviews-hub-page .rh-view-all,
body.reviews-hub-page main a.rh-view-all {
  color: #8D6820 !important;
}

body.reviews-hub-page .rh-section-head-split {
  border-bottom: 1px solid rgba(216, 169, 63, 0.16) !important;
}

body.reviews-hub-page .reviews-hub-chips {
  background: rgba(247, 240, 228, 0.96) !important;
  border-top: 1px solid rgba(216, 169, 63, 0.12) !important;
  border-bottom: 1px solid rgba(216, 169, 63, 0.24) !important;
}

body.reviews-hub-page .rh-chip-label {
  color: #6A5730 !important;
}

body.reviews-hub-page .rh-chip,
body.reviews-hub-page main a.rh-chip {
  min-height: 38px !important;
  color: #1F1D1A !important;
  background: linear-gradient(180deg, #F1DFC0 0%, #E4C88E 100%) !important;
  border: 1px solid rgba(154, 118, 45, 0.58) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 4px 12px rgba(31, 29, 26, 0.07) !important;
  font-weight: 850 !important;
}

body.reviews-hub-page .rh-chip:hover,
body.reviews-hub-page .rh-chip:focus-visible,
body.reviews-hub-page main a.rh-chip:hover,
body.reviews-hub-page main a.rh-chip:focus-visible,
body.reviews-hub-page .rh-chip.is-active,
body.reviews-hub-page main a.rh-chip.is-active {
  color: #1F1D1A !important;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--brand-gold) 100%) !important;
  border-color: var(--gold-deep) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.50), 0 8px 18px rgba(154, 118, 45, 0.18) !important;
  transform: translateY(-1px) !important;
}

body.reviews-hub-page .rh-jump-nav {
  display: none;
}

body.reviews-hub-page .rh-content-layout {
  width: 100%;
}

body.reviews-hub-page .rh-content-primary {
  min-width: 0;
}

@media (min-width: 1380px) {
  body.reviews-hub-page .rh-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 188px;
    align-items: start;
    gap: 28px;
    width: min(calc(100% - 64px), 1450px);
    margin: 0 auto;
  }

  body.reviews-hub-page .rh-content-primary {
    grid-column: 1;
    grid-row: 1;
  }

  body.reviews-hub-page .rh-content-primary .rh-featured-section .rh-container,
  body.reviews-hub-page .rh-content-primary > .rh-container {
    width: 100%;
    max-width: 100%;
  }

  body.reviews-hub-page .rh-jump-nav {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    gap: 2px;
    position: sticky;
    top: 156px;
    z-index: 3;
    width: 188px;
    margin: 52px 0 24px;
    padding: 14px;
    background: rgba(255, 253, 248, 0.94);
    border: 1px solid rgba(154, 118, 45, 0.24);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(31, 29, 26, 0.08);
    backdrop-filter: blur(10px);
  }

  body.reviews-hub-page .rh-jump-title {
    margin: 0 0 7px;
    color: #7A5510;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  body.reviews-hub-page .rh-jump-nav a {
    display: block;
    padding: 7px 9px;
    color: #4A4740 !important;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 760;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  }

  body.reviews-hub-page .rh-jump-nav a:hover,
  body.reviews-hub-page .rh-jump-nav a:focus-visible,
  body.reviews-hub-page .rh-jump-nav a.is-active {
    color: #1F1D1A !important;
    background: rgba(242, 211, 123, 0.34);
    transform: translateX(2px);
  }
}

@media (max-width: 1379px) {
  body.reviews-hub-page .rh-jump-nav {
    display: none !important;
  }
}

@media (max-width: 760px) {
  body.reviews-hub-page header.site-header,
  body.reviews-hub-page header.site-header .container.header-inner,
  body.reviews-hub-page header.site-header .header-inner {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  body.reviews-hub-page header.site-header .container.header-inner,
  body.reviews-hub-page header.site-header .header-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body.reviews-hub-page header.site-header .hamburger {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  body.reviews-hub-page .reviews-hub-main,
  body.reviews-hub-page .reviews-hub-hero,
  body.reviews-hub-page .rh-featured-section,
  body.reviews-hub-page .rh-category-stack,
  body.reviews-hub-page .rh-recent-section {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.reviews-hub-page .rh-container {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.reviews-hub-page .rh-hero-inner {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.reviews-hub-page .reviews-hub-hero h1 {
    width: 100% !important;
    max-width: min(100%, 13ch) !important;
    font-size: clamp(1.5rem, 6.8vw, 1.95rem) !important;
    line-height: 1.14 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body.reviews-hub-page .rh-hero-copy,
  body.reviews-hub-page .rh-trust-line {
    width: min(100%, 300px) !important;
    max-width: min(100%, 300px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-wrap: break-word !important;
  }

  body.reviews-hub-page .reviews-hub-chips {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden !important;
    padding: 8px 0 10px !important;
  }

  body.reviews-hub-page .rh-chip-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 16px 4px !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body.reviews-hub-page .rh-chip-row::-webkit-scrollbar {
    display: none !important;
  }

  body.reviews-hub-page .rh-chip {
    box-sizing: border-box !important;
    width: auto !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    max-width: 240px !important;
    white-space: nowrap !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 9px 12px !important;
    font-size: 0.78rem !important;
    scroll-snap-align: start !important;
  }

  body.reviews-hub-page .rh-chip-label {
    display: block !important;
    padding: 0 16px 7px !important;
    font-size: 0.68rem !important;
  }

  body.reviews-hub-page .rh-featured-section h2,
  body.reviews-hub-page .rh-section-head-split h2,
  body.reviews-hub-page .rh-recent-section h2 {
    max-width: min(100%, 11ch) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(1.58rem, 7.4vw, 2rem) !important;
    line-height: 1.08 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body.reviews-hub-page .rh-featured-section p,
  body.reviews-hub-page .rh-section-head-split p,
  body.reviews-hub-page .rh-recent-section p {
    width: min(100%, 300px) !important;
    max-width: min(100%, 300px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-wrap: break-word !important;
  }

  body.reviews-hub-page .chat-widget,
  body.reviews-hub-page .chat-bubble,
  body.reviews-hub-page .chat-launcher,
  body.reviews-hub-page .gemini-widget,
  body.reviews-hub-page .voice-widget {
    right: 10px !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
  }

  body.reviews-hub-page .rh-btn,
  body.reviews-hub-page main a.rh-btn {
    min-height: 44px !important;
  }
}
