#respond.comment-respond {
    all: unset;
    display: contents; /* Использовать как обёртку без доп. блочной обёртки */
}

.review-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.review-form-wrapper h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #1e3a8a;
}

/* Контейнер с полями */
.review-form-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.review-form-wrapper .form-group {
    flex: 1 1 calc(50% - 10px); /* две колонки */
    display: flex;
    flex-direction: column;
}

.review-form-wrapper .full-width {
    flex: 1 1 100%; /* на всю ширину */
}

.review-form-wrapper label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e3a8a;
}

.review-form-wrapper input,
.review-form-wrapper textarea,
.review-form-wrapper select {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.review-form-wrapper input:focus,
.review-form-wrapper textarea:focus,
.review-form-wrapper select:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 8px rgba(30, 58, 138, 0.15);
    outline: none;
}

.review-form-wrapper .blue-button {
    width: 100%;
    background: #1e3a8a;
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.review-form-wrapper .blue-button:hover {
    background-color: #2149ba;
}

/* Адаптив для телефонов */
@media screen and (max-width: 768px) {
    .review-form-fields {
        flex-direction: column;
    }

    .review-form-wrapper .form-group {
        flex: 1 1 100%;
    }
}








.review-form {
    max-width: 600px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-form label {
    display: flex;
    flex-direction: column;
}

.review-form input, .review-form textarea, .review-form select {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.review-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex: 1 1 calc(50% - 20px);
}

.review-rating {
    color: #FFD700;
    font-size: 20px;
}

.review-rating .star.filled {
    color: #FFD700;
}

.review-header h3 {
    margin-bottom: 10px;
}


.reviews-section {
    margin: 50px 0;
}

.reviews-section ul {
    list-style: none;
    padding: 0;
}

.review-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.review-rating {
    font-size: 20px;
    color: #FFD700;
    margin-bottom: 10px;
}

.review-content {
    font-size: 16px;
    color: #333;
}




.reviews-section {
    background-color: #f9f9f9;
    padding: 40px 20px;
    border-radius: 20px;
    max-width: 800px;
    margin: 50px auto;
}

.reviews-section h2.blue-title {
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e3a8a;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.blue-button {
    background-color: #1e3a8a;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.blue-button:hover {
    background-color: #2149BA;
}

.star-rating select {
    font-size: 20px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
}



/* === Review Form Styles === */
.review-form-wrapper {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 40px 30px;
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.review-form-wrapper h2 {
  color: #1e3a8a;
  font-size: 36px;
  margin-bottom: 20px;
}

.review-form-wrapper label {
  display: block;
  text-align: left;
  color: #1e3a8a;
  font-weight: 600;
  margin-bottom: 8px;
}

.review-form-wrapper textarea,
.review-form-wrapper input[type="text"],
.review-form-wrapper select {
  width: 100%;
  padding: 14px 20px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background-color: #f9f9f9;
  font-size: 16px;
  resize: none;
}

.review-form-wrapper .star-rating {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.review-form-wrapper .star-rating span {
  font-size: 30px;
  color: #ccc;
  cursor: pointer;
  transition: color 0.3s;
}

.review-form-wrapper .star-rating span.active {
  color: #f5a623;
}

.review-form-wrapper .submit-review {
  display: inline-block;
  padding: 15px 40px;
  background-color: #1e3a8a;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.review-form-wrapper .submit-review:hover {
  background-color: #2149BA;
}

.review-form-success {
  color: #1e3a8a;
  font-weight: 600;
  margin-top: 20px;
}

.comment-form-cookies-consent {
    padding: 5px;
    display: flex
;
}


/* === REVIEWS LIST SECTION === */
.reviews-list {
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.reviews-list h2.blue-title {
    font-size: clamp(32px, 4vw, 48px);
    color: #1E3A8A;
    margin-bottom: 40px;
}

/* === REVIEWS UL LIST === */
.reviews-list-ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* === SINGLE REVIEW CARD === */
.review-card {
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.1);
}

/* === AUTHOR === */
.review-author {
    font-size: 18px;
  }

/* === STAR RATING === */
.review-rating {
    margin-bottom: 15px;
    font-size: 20px;
}

.review-rating span {
    color: #FFD700; /* Gold stars */
    font-size: 24px;
}

/* === REVIEW CONTENT === */
.review-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: left;
}

/* === NO REVIEWS MESSAGE === */
.reviews-list p {
    font-size: 18px;
    color: #666;
    margin-top: 20px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .reviews-list {
        padding: 20px 10px;
    }

    .reviews-list h2.blue-title {
        font-size: 28px;
    }

    .review-author {
        font-size: 18px;
    }

    .review-rating span {
        font-size: 20px;
    }

    .review-content {
        font-size: 14px;
    }
}
