
.filter-section {
  background-color: #f5f5f5;
  padding: 1rem;
  margin-bottom: 2rem;
}

.filter-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.filter-select {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
}

.featured-review {
  padding: 1rem;
  margin-bottom: 2rem;
}

.featured-review-container {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  margin: 0 auto;
}

.featured-review-image {
  position: relative;
  width: 100%;
}

.featured-review-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #6200ee;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
}

.featured-review-content {
  padding: 1.5rem;
}

.review-header h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #666;
  font-size: 0.9rem;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stars {
  color: #ffc107;
  font-size: 1.2rem;
}

.stars .filled {
  color: #ffc107;
}

.stars .empty {
  color: #e0e0e0;
}

.rating-value {
  font-weight: 600;
  color: #333;
}

.review-excerpt p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.review-pros-cons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
  background-color: #f9f9f9;
  padding: 1rem;
  border-radius: 4px;
}

.pros h4,
.cons h4 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.pros h4 {
  color: #2e7d32;
}

.cons h4 {
  color: #c62828;
}

.pros ul,
.cons ul {
  padding-left: 1.5rem;
}

.pros li,
.cons li {
  margin-bottom: 0.25rem;
}

.read-full-review {
  display: inline-block;
  background-color: #6200ee;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 1rem;
  transition: background-color 0.3s;
}

.read-full-review:hover {
  background-color: #5000d3;
}


.recent-reviews {
  padding: 1rem;
  margin-bottom: 2rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-card-image {
  position: relative;
  width: 100%;
}

.review-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.review-platform-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
}

.review-card-content {
  padding: 1rem;
}

.review-card-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.review-summary {
  margin: 1rem 0;
  line-height: 1.5;
  color: #555;
}

.read-more {
  display: inline-block;
  color: #6200ee;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.read-more:hover {
  color: #5000d3;
  text-decoration: underline;
}


.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
}

.pagination-item.active {
  background-color: #6200ee;
  color: white;
}

.pagination-item:hover:not(.active) {
  background-color: #f0f0f0;
}

.pagination-item.next {
  width: auto;
  padding: 0 1rem;
}


.reviews-by-category {
  padding: 1rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}

.category-tab {
  padding: 0.75rem 1rem;
  background-color: transparent;
  border: none;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.category-tab.active {
  background-color: #6200ee;
  color: white;
}

.category-tab:hover:not(.active) {
  background-color: #f0f0f0;
}

.category-content {
  display: none;
}

.category-content.active {
  display: block;
}

.category-reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.category-review-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category-review-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.category-review-info {
  padding: 1rem;
}

.category-review-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.view-all-category {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  color: #6200ee;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.view-all-category:hover {
  color: #5000d3;
  text-decoration: underline;
}


.review-methodology {
  padding: 2rem 1rem;
  background-color: #f9f9f9;
  margin-bottom: 2rem;
}

.methodology-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.methodology-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.methodology-factors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.methodology-factor {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.methodology-factor h3 {
  margin-bottom: 0.75rem;
  color: #6200ee;
}

.rating-scale {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.rating-scale h3 {
  margin-bottom: 1rem;
  color: #333;
}

.rating-scale ul {
  padding-left: 1.5rem;
}

.rating-scale li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.methodology-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}


.submit-review {
  padding: 2rem 1rem;
  background-color: #6200ee;
  color: white;
  text-align: center;
}

.submit-review-container {
  max-width: 800px;
  margin: 0 auto;
}

.submit-review h2 {
  margin-bottom: 1.5rem;
}

.submit-review-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.submit-review-content a {
  color: white;
  text-decoration: underline;
}

.submit-review-button {
  display: inline-block;
  background-color: white;
  color: #6200ee;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 1.5rem;
  transition: background-color 0.3s, color 0.3s;
}

.submit-review-button:hover {
  background-color: #f0f0f0;
}


@media (min-width: 768px) {
  .filter-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .featured-review-container {
    flex-direction: row;
  }

  .featured-review-image {
    width: 40%;
  }

  .featured-review-content {
    width: 60%;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-pros-cons {
    flex-direction: row;
  }

  .pros,
  .cons {
    width: 50%;
  }

  .methodology-factors {
    grid-template-columns: repeat(2, 1fr);
  }

  .methodology-container {
    flex-direction: row;
  }

  .methodology-content {
    width: 60%;
  }

  .methodology-image {
    width: 40%;
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .methodology-factors {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
