section.aurora-manual-reviews {
    padding: 0 0 3rem 0;
}

.manual-reviews.grey-bg {
	border-top: 1px solid #eee;
	background-color: #f2f2f2;
}

.manual-reviews.fade-sides{
  position:relative;
  margin-top:2rem;
}

.manual-reviews.fade-sides::before,
.manual-reviews.fade-sides::after {
  content: '';
  position: absolute;
  width: 10%;
  height: 100%;
  background: linear-gradient(90deg, rgb(10, 29, 43) 0%, rgba(235, 236, 234, 0) 100%);
  z-index: 10;
  pointer-events: none;
}

.manual-reviews.fade-sides:before{
  top: 0;
  left: 0;
}

.manual-reviews.fade-sides:after{
  top: 0;
  right: 0;
  transform:scaleX(-1);
}

.manual-reviews .title{
	text-align:center;
	margin-top:1rem;
}

.manual-reviews .avatar {
  background-color: #1a73e8;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f2f2f2;
  font-size: 2rem;
  font-weight: 700;
  border-radius: 50%;
  mix-blend-mode: exclusion;
}

.manual-reviews .title h3 { margin: 0; }

.manual-reviews .reviews-carousel {
  width: 100%;
  padding: calc(1.5rem - 15px) 0;
}

.manual-reviews .carousel-cell {
  width: calc(100% - 2rem);
  max-width: 480px;
  margin-right: 1.5rem;
}

.manual-reviews .review-card {
  padding: 2rem 2rem 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  background: var(--card-color);
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--light-body-color) inset;
}

.manual-reviews .review-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
	flex-direction: row-reverse;
}

.manual-reviews hr {
  background: #61a5cf;
}

.manual-reviews .review-card__name h5 {
  font-weight: 600;
  font-size: 1.125rem;
}

.manual-reviews .review-card__rating .star {
  font-size: 1.05rem;
  opacity: .28;
}

.manual-reviews .review-card__rating, .aurora-modal__rating {
  color: #c59f47;
  display: flex;
  gap: .125rem;
  font-size: .875rem;
}

.manual-reviews .review-card__body {
}

.manual-reviews .review-card__excerpt {
  /* font-style: italic; */
  margin: .5rem 0 .75rem;
  font-weight: 400;
}

.manual-reviews .review-card__more {
  appearance: none;
  border: none;
  background: transparent;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
  color: var(--cyan-color);
  transition:all 0.3s;
}

.manual-reviews .review-card__more:hover {
  color:#fff;
}

.manual-reviews .no-reviews { opacity: .7; }

/* Root modal container: always fixed, visually hidden by default */
.manual-reviews .aurora-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;             /* block interaction when hidden */
}

/* When shown: fade the wrapper and allow interaction */
.manual-reviews .aurora-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

/* Backdrop */
.manual-reviews .aurora-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 30, 48, 0.33);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: opacity .18s ease-out;
  opacity: 0;
  z-index: 1;
}
.manual-reviews .aurora-modal[aria-hidden="false"] .aurora-modal__backdrop {
  opacity: 1;
}

/* Dialog: permanently centered. Only animate a tiny vertical offset + opacity */
.manual-reviews .aurora-modal__dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  /* Keep the centering transform CONSTANT; add a tiny Y offset for the entrance */
  transform: translate(-50%, -50%) translateY(8px);
  background: rgba(38, 73, 99, 0.76);
  width: min(700px, 92vw);
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
  transition: transform .18s ease-out, opacity .18s ease-out;
  opacity: 0;
  z-index: 2;
}
.manual-reviews .aurora-modal[aria-hidden="false"] .aurora-modal__dialog {
  transform: translate(-50%, -50%) translateY(0);
  opacity: 1;
}

/* Close button */
.manual-reviews .aurora-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--font-color);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.manual-reviews .aurora-modal__close:hover { 
  color: var(--cyan-color); 
}

.manual-reviews .aurora-modal__content {
  padding: 24px 28px;
}

.manual-reviews .aurora-modal__header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-direction: column-reverse;
  gap: 10px;
  align-items: flex-start;
}

.manual-reviews .aurora-modal__name { 
  font-size: 1.5rem;
  color:#fff;
}

/* Paragraph formatting (we're injecting <p> via JS) */
.manual-reviews .aurora-modal__body p {
  margin: 0 0 1rem;
  white-space: normal;
  font-size: 1.125rem;
  text-align: left;
}

.manual-reviews .aurora-modal__body p:last-child { margin-bottom: 0; }

@media screen and (max-width:1023px){
  .aurora-manual-reviews .container-fluid{
    padding:0;
  }
  .manual-reviews.fade-sides::before, .manual-reviews.fade-sides::after{
    display:none;
  }
}


@media (max-width: 600px) {
  .manual-reviews.fade-sides:before,
  .manual-reviews.fade-sides:after
   {
    width: 2rem;
  }
}

