/* ==============================
   Reviews Page Styles
   File: css/reviews.css
   ============================== */

/* Reviews Section */
.reviews-section {
  background-color: #ededed;
    padding: 80px 0;
    color: #f8d948;
}

/* Контейнер: растягивается на всю ширину экрана */
.reviews-section .container {
  width: 100%;
  margin: 0 auto;
  background-color: #f5f5f5;   /* светло‑серый за карточками */
  padding: 40px 24px;
  border-radius: 8px;
}

/* Заголовок */
.reviews-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #474747;
    font-weight: bold;
    background-color: #f8d948;
}

/* Убираем любые флекс‑/грид‑настройки, чтобы блоки шли по потоку сверху вниз */
.reviews-grid {
  display: block;
  margin: 0;
  padding: 0;
}

/* Каждая карточка занимает 80% ширины экрана и центрируется */
.review-card {
  width: 96%;           /* максимальная ширина */
  margin: 0 auto 32px;         /* снизу отступ между карточками */
  background-color: #3b3b3b;
  border-radius: 8px;
  box-shadow: 7px 9px 10px rgb(0 0 0 / 84%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  color: #f8d948;
}

/* Rating Summary (если есть) — тоже 80% ширины */
.rating-summary {
  width: 80%;
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}
.rating-summary .stars-large i {
  font-size: 2rem;
  color: #f1c40f;
  margin: 0 4px;
}
.rating-summary .score {
  font-size: 1.25rem;
  margin: 8px 0;
  color: #333333;
  font-weight: bold;
}
.rating-summary .total-reviews {
  color: #666666;
  margin-bottom: 12px;
}
.rating-summary .btn {
  background-color: #1088b3;
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.rating-summary .btn:hover {
  background-color: #d4ac0d;
}

/* Стили внутри карточки */
.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.review-avatar-link {
  flex-shrink: 0;
  margin-right: 16px;
}
.review-author-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f1c40f;
}
.review-header-content {
  flex: 1;
}
.review-author-name a {
  font-size: 1.15rem;
  color: #333333;
  font-weight: bold;
  text-decoration: none;
}
.review-author-name a:hover {
  color: #f1c40f;
}
.review-stars i {
  color: #f1c40f;
  margin-right: 2px;
}
.review-date {
  color: #999999;
  font-size: 0.85rem;
  margin-top: 4px;
}
.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #fff;
  margin-top: 12px;
  flex-grow: 1;
}
.review-footer {
  text-align: right;
  margin-top: 16px;
}
.review-link {
  color: #f1c40f;
  font-size: 0.9rem;
  text-decoration: none;
}
.review-link:hover {
  text-decoration: underline;
}

/* Кнопка «Показать ещё» */
.load-more-container {
  text-align: center;
  margin-top: 32px;
}
.load-more-container .btn {
  background-color: #f1c40f;
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.load-more-container .btn:hover {
  background-color: #d4ac0d;
}

/* Больше никаких медиа‑запросов для столбцов — всегда одна колонка сверху вниз */
