.opinions-section {
  background-color: #fff;
}
.opinions-wrapper {
  margin-top: 30px;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
}

.opinions-title-wrapper {
  background-color: #fff;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.opinions-title-wrapper {
  background-color: #fff;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.opinions-title {
  position: relative;
  width: 960px;
  background-color: #ff5757;
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  padding: 20px 0;
  border-radius: 25px;
  margin: 0;
  text-shadow: 2px 2px 0 #d84a4a;
  box-shadow: 0 6px 0 #d84a4a;
}

.opinions-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-top: 20px solid #ff5757;
  filter: drop-shadow(0 4px 0 #d84a4a);
}

.opinions-card {
  width: 960px;
  margin: 40px auto;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.opinions-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.opinions-card-title {
  background-color: #0baa6a;
  color: #fff;
  padding: 16px 24px;
  font-weight: 900;
  font-size: 28px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.opinions-card-title h3 {
  margin: 0;
  line-height: 1.3;
}

.opinions-card-body {
  min-height: 200px;
  padding: 24px;
  background-color: #fff;
}

.voice-top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: flex-start;
}

.voice-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
}

.voice-avatar img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.voice-age {
  width: 100%;
  margin-top: 6px;
  text-align: center;
  font-weight: 500;
  font-size: 18px;
  color: #333;
}

.voice-text p {
  margin: 0 0 10px 0;
  line-height: 1.8;
  color: #222;
  font-size: 18px;
  font-weight: 500;
}

.voice-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #999;
  margin-top: 12px;
  background-color: #fff;
}

.voice-table th,
.voice-table td {
  border: 1px solid #999;
  padding: 10px 14px;
  text-align: left;
  font-size: 15px;
}

.voice-table th {
  background: #f7f7f7;
  font-weight: 700;
  white-space: nowrap;
  color: #333;
  width: 180px;
}

.voice-table td {
  color: #333;
}

.voice-subbar {
  background: #7ec0d8;
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 24px;
  padding: 14px;
  border-radius: 6px;
  margin: 24px 0;
}
.voice-ba-block {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.ba-item {
  text-align: center;
}

.ba-label {
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 8px;
}

.before {
  font-size: 24px;
  color: #1e7bbb;
}

.after {
  font-size: 24px;
  color: #ff4a4a;
}

.ba-item img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: block;
}

@media (max-width: 960px) {
  .opinions-title {
    width: 800px;
  }
  .opinions-card {
    width: 800px;
  }
  .voice-top {
    display: grid;
    grid-template-columns: 160px 1fr;
    grid-auto-rows: auto;
    column-gap: 16px;
    row-gap: 8px;
    align-items: start;
  }
  .voice-avatar {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    width: auto;
  }
  .voice-avatar img {
    width: 100%;
    height: auto;
    max-width: 160px;
  }
  .voice-age {
    grid-column: 1;
    grid-row: 2;
    margin: 4px 0 0;
    text-align: center;
    font-size: 16px;
  }
  .voice-text {
    display: contents;
  }
  .voice-text p {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
  }
  .voice-text .voice-table {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    margin-top: 12px;
  }
}

@media (max-width: 820px) {
  .opinions-title {
    width: 750px;
  }
  .opinions-card {
    width: 750px;
  }
}

@media (max-width: 767px) {
  .opinions-title {
    width: 650px;
  }
  .opinions-card {
    width: 650px;
  }
  .voice-text p {
    font-size: 16px;
  }
}

@media (max-width: 670px) {
  .opinions-title {
    width: 580px;
  }
  .opinions-card {
    width: 580px;
  }
  .voice-text p {
    font-size: 14px;
  }
  .voice-table th,
  .voice-table td {
    font-size: 14px;
  }
}

@media (max-width: 608px) {
  .opinions-title {
    width: 500px;
  }
  .opinions-card {
    width: 500px;
  }
  .voice-text p {
    font-size: 14px;
  }
  .voice-table th,
  .voice-table td {
    font-size: 14px;
  }
  .opinions-title {
    font-size: 32px;
  }
  .opinions-card-title {
    font-size: 26px;
  }
  .voice-subbar {
    font-size: 22px;
  }
}

@media (max-width: 540px) {
  .opinions-title {
    width: 400px;
  }
  .opinions-card {
    width: 400px;
  }
  .voice-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }
  .voice-avatar {
    order: 1;
  }
  .voice-text p {
    order: 2;
  }
  .voice-table {
    order: 3;
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
  }
  .voice-table th {
    width: 40%;
    word-break: break-word;
    white-space: normal;
  }
  .voice-table td {
    width: 60%;
    word-break: break-word;
    white-space: normal;
  }
  .voice-ba-block {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .ba-item {
    width: 100%;
    max-width: 360px;
    text-align: center;
  }
  .ba-item img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 430px) {
  .opinions-title {
    width: 360px;
  }
  .opinions-card {
    width: 360px;
  }
  .ba-item {
    max-width: 300px;
  }
  .voice-table td {
    font-size: 13px;
  }
  .opinions-title {
    font-size: 24px;
  }
  .opinions-card-title {
    font-size: 20px;
  }
  .voice-subbar {
    font-size: 18px;
  }
}

@media (max-width: 340px) {
  .opinions-title {
    width: 320px;
  }
  .opinions-card {
    width: 320px;
  }
  .ba-item {
    max-width: 280px;
  }
  .voice-table td {
    font-size: 12px;
  }
  .opinions-title {
    font-size: 22px;
  }
  .opinions-card-title {
    font-size: 18px;
  }
  .voice-subbar {
    font-size: 16px;
  }
}
