.auv-reviews-section,
.auv-reviews-section *,
.auv-reviews-section *::before,
.auv-reviews-section *::after {
  box-sizing: border-box;
}
/* ==========================================================================
   AUVIEPHY LUXURY REVIEWS & CLIENT OUTCOMES COMPONENT
   Spiritual Wellness Aesthetic: Deep Obsidian / Royal Plum & Luminous Gold Accents
   WCAG AAA/AA Compliant · High Contrast · Ultra Responsive · High Craft Polish
   ========================================================================== */

:root {
  --auv-plum-void:    #060210;
  --auv-plum-deep:    #0a0418;
  --auv-plum-surface: #0f0724;
  --auv-plum-card:    rgba(18, 9, 38, 0.82);
  --auv-plum-card-hi: rgba(26, 13, 54, 0.92);
  --auv-gold-primary: #C49A4A;
  --auv-gold-light:   #E0C07A;
  --auv-gold-bright:  #F5DEB3;
  --auv-gold-muted:   rgba(196, 154, 74, 0.3);
  --auv-gold-border:  rgba(196, 154, 74, 0.22);
  --auv-gold-border-hi: rgba(224, 192, 122, 0.55);
  --auv-text-primary: #FFFFFF;
  --auv-text-cream:   #F0EBE3;
  --auv-text-muted:   rgba(240, 235, 227, 0.78);
  --auv-text-dim:     rgba(240, 235, 227, 0.54);
  --auv-shadow-soft:  0 12px 40px rgba(0, 0, 0, 0.5);
  --auv-shadow-glow:  0 0 28px rgba(196, 154, 74, 0.18);
}

/* Base Section */
.auv-reviews-section {
  position: relative;
  padding: 104px 24px 112px;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -15%, rgba(124, 58, 237, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 90% 70% at 50% 105%, rgba(196, 154, 74, 0.12) 0%, transparent 70%),
    var(--auv-plum-void);
  color: var(--auv-text-cream);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border-top: 1px solid var(--auv-gold-border);
  border-bottom: 1px solid var(--auv-gold-border);
  overflow: hidden;
}

/* Subtle glowing background ambient light orb */
.auv-reviews-section::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 400px;
  background: radial-gradient(circle, rgba(91, 33, 182, 0.15) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
}

.auv-reviews-container {
  position: relative;
  z-index: 1;
  max-width: 1260px;
  margin: 0 auto;
}

/* ==========================================================================
   Section Header
   ========================================================================== */
.auv-reviews-header {
  text-align: center;
  margin-bottom: 52px;
}

.auv-reviews-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 92%;
  white-space: normal;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--auv-gold-light);
  background: rgba(196, 154, 74, 0.1);
  border: 1px solid rgba(196, 154, 74, 0.32);
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.auv-reviews-eyebrow svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.auv-reviews-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--auv-text-primary);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.auv-reviews-title em {
  font-style: italic;
  color: var(--auv-gold-light);
  background: linear-gradient(135deg, #F5DEB3 0%, #E0C07A 50%, #C49A4A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auv-reviews-subtitle {
  font-size: 1.08rem;
  color: var(--auv-text-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
  font-weight: 300;
}

/* ==========================================================================
   Summary Scorecard
   ========================================================================== */
.auv-summary-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  background: linear-gradient(135deg, rgba(22, 11, 46, 0.75) 0%, rgba(11, 5, 24, 0.88) 100%);
  border: 1px solid var(--auv-gold-border);
  border-radius: 24px;
  padding: 42px 46px;
  margin-bottom: 48px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

/* Subtle corner light highlight */
.auv-summary-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(224, 192, 122, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

@media (max-width: 920px) {
  .auv-summary-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }
}

.auv-summary-score-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(196, 154, 74, 0.18);
  padding-right: 40px;
}

@media (max-width: 920px) {
  .auv-summary-score-col {
    border-right: none;
    border-bottom: 1px solid rgba(196, 154, 74, 0.18);
    padding-right: 0;
    padding-bottom: 28px;
    align-items: center;
    text-align: center;
  }
}

.auv-score-course-name {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--auv-gold-light);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.auv-score-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.auv-score-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 4.4rem;
  font-weight: 600;
  line-height: 1;
  color: #FFFFFF;
  text-shadow: 0 0 24px rgba(224, 192, 122, 0.35);
}

.auv-score-max {
  font-size: 1.35rem;
  color: var(--auv-text-dim);
  font-weight: 400;
}

.auv-summary-stars {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.auv-star-svg {
  width: 22px;
  height: 22px;
  display: inline-block;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(224, 192, 122, 0.35));
}

.auv-star-svg.filled path {
  fill: var(--auv-gold-light);
}

.auv-star-svg.empty path {
  stroke: var(--auv-gold-primary);
  fill: none;
}

.auv-score-verified-count {
  font-size: 0.95rem;
  color: var(--auv-text-muted);
  margin-bottom: 22px;
  line-height: 1.45;
}

.auv-score-verified-count strong {
  color: #FFFFFF;
  font-weight: 600;
}

.auv-summary-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--auv-gold-light);
  background: rgba(196, 154, 74, 0.1);
  border: 1px solid rgba(196, 154, 74, 0.3);
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s ease;
  width: fit-content;
}

.auv-summary-jump-btn:hover {
  background: rgba(196, 154, 74, 0.22);
  border-color: var(--auv-gold-light);
  color: #FFFFFF;
  transform: translateY(2px);
}

/* Distribution Bars Column */
.auv-summary-bars-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auv-bars-title {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--auv-gold-light);
  margin-bottom: 16px;
}

.auv-dist-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auv-dist-row {
  display: grid;
  grid-template-columns: 68px 1fr 34px;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: none;
  padding: 5px 8px;
  border-radius: 10px;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  text-align: left;
  transition: background 0.2s ease, transform 0.2s ease;
}

.auv-dist-row:hover {
  background: rgba(196, 154, 74, 0.08);
  transform: translateX(3px);
}

.auv-dist-row:focus-visible {
  outline: 2px solid var(--auv-gold-light);
  outline-offset: 2px;
}

.auv-dist-row.active {
  background: rgba(196, 154, 74, 0.16);
  border-left: 3px solid var(--auv-gold-light);
  padding-left: 10px;
}

.auv-dist-label {
  font-size: 0.85rem;
  color: var(--auv-text-muted);
  font-weight: 500;
}

.auv-dist-track {
  height: 9px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.auv-dist-fill {
  height: 100%;
  background: linear-gradient(90deg, #C49A4A 0%, #E0C07A 100%);
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(224, 192, 122, 0.4);
}

.auv-dist-count {
  font-size: 0.85rem;
  color: var(--auv-text-dim);
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

/* ==========================================================================
   Filter & Sort Controls
   ========================================================================== */
.auv-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: rgba(18, 9, 38, 0.5);
  border: 1px solid rgba(196, 154, 74, 0.16);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.auv-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auv-filter-pill {
  background: rgba(255, 255, 255, 0.04);
  color: var(--auv-text-muted);
  border: 1px solid rgba(196, 154, 74, 0.22);
  padding: 9px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.auv-filter-pill:hover {
  background: rgba(196, 154, 74, 0.14);
  border-color: rgba(224, 192, 122, 0.45);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.auv-filter-pill.active {
  background: linear-gradient(135deg, #E0C07A 0%, #C49A4A 100%);
  color: #080314;
  border-color: #E0C07A;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(196, 154, 74, 0.35);
  transform: translateY(-1px);
}

.auv-filter-pill:focus-visible {
  outline: 2px solid var(--auv-gold-light);
  outline-offset: 2px;
}

.auv-sort-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auv-sort-label {
  font-size: 0.85rem;
  color: var(--auv-text-dim);
  font-weight: 500;
}

.auv-sort-select {
  background: var(--auv-plum-surface);
  color: var(--auv-text-cream);
  border: 1px solid var(--auv-gold-border);
  padding: 9px 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auv-sort-select:hover,
.auv-sort-select:focus {
  border-color: var(--auv-gold-light);
  box-shadow: 0 0 12px rgba(196, 154, 74, 0.2);
}

.auv-sort-select option {
  background: #0f0724;
  color: #FFFFFF;
}

/* Status Row */
.auv-status-row {
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--auv-text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Review Cards Grid: 3 cols desktop, 2 tablet, 1 mobile
   ========================================================================== */
.auv-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 1060px) {
  .auv-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (max-width: 680px) {
  .auv-reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   Luxury Review Card
   ========================================================================== */
.auv-review-card {
  position: relative;
  background: linear-gradient(150deg, rgba(24, 12, 48, 0.78) 0%, rgba(12, 6, 26, 0.92) 100%);
  border: 1px solid var(--auv-gold-border);
  border-radius: 22px;
  padding: 30px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

/* Luxury typographic quote watermark in top right corner */
.auv-review-card::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  right: 22px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--auv-gold-light);
  opacity: 0.12;
  pointer-events: none;
  font-style: italic;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.auv-review-card:hover {
  transform: translateY(-8px);
  border-color: var(--auv-gold-border-hi);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(196, 154, 74, 0.2);
}

.auv-review-card:hover::before {
  opacity: 0.26;
  transform: translateY(-2px) scale(1.06);
}

.auv-card-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.auv-card-stars {
  display: flex;
  gap: 4px;
}

.auv-card-stars .auv-star-svg {
  width: 17px;
  height: 17px;
}

.auv-card-date {
  font-size: 0.8rem;
  color: var(--auv-text-dim);
  font-weight: 500;
}

.auv-card-course-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--auv-gold-light);
  background: rgba(196, 154, 74, 0.12);
  border: 1px solid rgba(196, 154, 74, 0.24);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  width: fit-content;
}

.auv-card-headline {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--auv-text-primary);
  margin: 0 0 12px;
  text-align: left;
}

.auv-card-body {
  margin-bottom: 22px;
  flex-grow: 1;
}

.auv-card-text {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--auv-text-muted);
  margin: 0;
  text-align: left;
  font-weight: 300;
}

.auv-card-text .auv-more-text {
  display: inline;
}

.auv-card-text .auv-more-text[hidden] {
  display: none;
}

.auv-read-more-btn {
  background: none;
  border: none;
  padding: 4px 0;
  margin-top: 10px;
  color: var(--auv-gold-light);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.auv-read-more-btn:hover {
  color: #FFFFFF;
  transform: translateX(2px);
}

.auv-read-more-btn:focus-visible {
  outline: 2px solid var(--auv-gold-light);
  outline-offset: 2px;
}

/* ==========================================================================
   Card Footer & Author Meta
   ========================================================================== */
.auv-card-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(196, 154, 74, 0.16);
  position: relative;
  z-index: 1;
}

.auv-card-author-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

/* Glowing Circular Initial Avatar */
.auv-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b21b6 0%, #1e1145 100%);
  border: 1.5px solid rgba(224, 192, 122, 0.45);
  color: #F0EBE3;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(91, 33, 182, 0.45);
  letter-spacing: 0.02em;
}

.auv-author-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.auv-card-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auv-card-author-city {
  font-size: 0.8rem;
  color: var(--auv-text-dim);
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auv-card-badge-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Google G attribution or Verified Shield badge */
.auv-google-g-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.auv-card-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.auv-card-verified-tag svg {
  width: 12px;
  height: 12px;
}

/* ==========================================================================
   Deferred / Filter States
   ========================================================================== */
.auv-review-card.auv-deferred {
  display: none !important;
}

.auv-review-card.auv-filtered-out {
  display: none !important;
}

/* ==========================================================================
   Load More / CTA Wrap
   ========================================================================== */
.auv-load-more-wrap {
  text-align: center;
  margin-top: 48px;
}

.auv-load-more-btn {
  background: transparent;
  color: var(--auv-gold-light);
  border: 1.5px solid rgba(196, 154, 74, 0.4);
  padding: 14px 40px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.auv-load-more-btn:hover {
  background: linear-gradient(135deg, rgba(196, 154, 74, 0.2), rgba(224, 192, 122, 0.3));
  border-color: var(--auv-gold-light);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 154, 74, 0.25);
}

.auv-load-more-btn:focus-visible {
  outline: 2px solid var(--auv-gold-light);
  outline-offset: 3px;
}

.auv-load-more-btn[hidden] {
  display: none !important;
}


/* ==========================================================================
   Comprehensive Responsive & Mobile Polish
   ========================================================================== */
@media (max-width: 768px) {
  .auv-reviews-section {
    padding: 68px 16px 76px;
  }
  .auv-reviews-header {
    margin-bottom: 36px;
  }
  .auv-reviews-eyebrow {
    font-size: 0.65rem;
    padding: 6px 12px;
    letter-spacing: 0.04em;
    line-height: 1.35;
    margin-bottom: 14px;
    gap: 6px;
  }
  .auv-reviews-eyebrow span {
    display: inline;
    white-space: normal;
  }
  .auv-reviews-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .auv-reviews-subtitle {
    font-size: 0.96rem;
    line-height: 1.55;
  }
  .auv-summary-card {
    padding: 26px 18px;
    margin-bottom: 32px;
    border-radius: 20px;
  }
  .auv-score-num {
    font-size: 3.6rem;
  }
  .auv-filter-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 14px;
  }
  .auv-filter-pills {
    justify-content: center;
    gap: 8px;
  }
  .auv-filter-pill {
    padding: 8px 16px;
    font-size: 0.82rem;
  }
  .auv-sort-wrap {
    justify-content: space-between;
    width: 100%;
  }
  .auv-sort-select {
    flex-grow: 1;
    max-width: 200px;
  }
  .auv-review-card {
    padding: 22px 20px 20px;
    border-radius: 18px;
  }
  .auv-review-card::before {
    font-size: 4rem;
    right: 16px;
    top: 6px;
  }
  .auv-card-headline {
    font-size: 1.02rem;
    line-height: 1.35;
  }
  .auv-card-text {
    font-size: 0.91rem;
    line-height: 1.6;
  }
  .auv-author-profile {
    gap: 10px;
  }
  .auv-author-avatar {
    width: 38px;
    height: 38px;
    font-size: 0.88rem;
  }
  .auv-card-author-name {
    font-size: 0.9rem;
  }
  .auv-card-author-city {
    font-size: 0.76rem;
  }
}
