@font-face {
  font-family: 'Raleway';
  src: url('./custom_fonts/Raleway-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --rc-gap: 16px;
  --rc-bg: #FFFFFF; 
  --rc-body: #333333;       
  --rc-muted: #333333;      
  --rc-star: #948767;       
}

.reviews-carousel {
  max-width: 800px;
  margin: 0 auto;
  margin-inline: auto;
  padding: 16px 0;
  user-select: none;
}

.rc-viewport {
  overflow: hidden;
  box-sizing: border-box;
}

.rc-track {
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}

.rc-card {
  width: 100%;
  min-height: 300px;
  background: var(--rc-bg);
  color: var(--rc-body);
  font-family: 'Raleway', sans-serif;
  
  border: none;
  border-radius: 0;
  box-shadow: none;
  
  padding: 24px;
  cursor: default;
  outline: none;
  flex: 0 0 100%; 
  
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
}

/* Main testimonial text block */
.rc-body {
  font-size: 16px;                     
  color: #333333;           
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;             /* Dynamic expansion forces layout items downward */
  font-style: italic;
}

/* Rating Row located right above the line */
.rc-rating-row {
  display: flex;
  align-items: center;
  min-height: 24px; 
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06); /* Divider line placed under rating */
}

.rc-rating {
  color: #333333;           
  font-weight: 600;
  font-size: 1rem;
}

/* Targets the '★' symbol perfectly for colorization */
.rc-rating::first-letter {
  color: var(--rc-star);    
  padding-right: 4px;
  font-size: 1.1rem;        /* Slightly larger scale for crisp star presentation */
}

/* Author Details container located under the line */
.rc-author {
  font-size: 17px;
  font-weight: 600;         
  color: #171717;           
  padding-top: 12px;
  margin: 0;
}

.rc-location {
  font-weight: 400; 
  color: var(--rc-muted);   
  font-size: 0.95rem;
}

/* Slide controls row */
.rc-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px; 
  margin-top: 16px;
}

.rc-prev, .rc-next {
  font-size: 40px;
  background: transparent;
  color: #9f9176;
  border: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.rc-prev:hover, .rc-next:hover {
  color: #565246;
}

.rc-prev:focus, .rc-next:focus {
  outline: none;
  box-shadow: none;
  background: transparent;
}

.rc-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 5px;
}

.rc-dot {
  width: 15px;
  height: 15px;
  border-radius: 100%;
  background: #e2e1d9;
  border: none;
  outline: none;
  box-shadow: none; 
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.rc-dot.is-active {
  background: #9f9176;
  transform: scale(1.05);
}