@charset "UTF-8";

.ba_page,
.ba_page * {
  box-sizing: border-box;
}

.ba_breadcrumb {
  background: #fff;
  padding: 12px 0;
}

.ba_breadcrumb_inner {
  width: min(90%, 1200px);
  margin: 0 auto;
  font-size: 12px;
  color: #777;
  letter-spacing: 0.04em;
}

.ba_breadcrumb_inner a {
  color: #777;
  text-decoration: none;
}

.ba_breadcrumb_inner span {
  margin: 0 6px;
}

.ba_content {
  background-image: url("../img/customer-voices/customer-voice-back.webp");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #e8e8e8;
  padding: 56px 0 80px;
}

.ba_inner {
  width: min(90%, 1200px);
  margin: 0 auto;
}

.ba_profile {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 16px;
  margin-bottom: 28px;
}

.ba_profile_name {
  margin: 0;
  color: #1f2d5d;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}

.ba_profile_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ba_profile_tags span {
  color: #1f2d5d;
  padding: 2px 12px;
  border: 1px solid #1f2d5d;
  border-radius: 25px;
  font-size: 13px;
  line-height: 1.6;
}

.ba_cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 12px;
}

.ba_card {
  background: #fff;
  overflow: hidden;
}

.ba_card img {
  width: 100%;
  height: auto;
  display: block;
}

.ba_detail {
  background: #fff;
  padding: 48px 64px 40px;
  text-align: left;
}

.ba_stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
  margin-bottom: 48px;
  align-items: stretch;
  justify-items: center;
}

.ba_stats_main,
.ba_stats_side {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 28px;
  row-gap: 28px;
  align-items: center;
  justify-items: start;
}

.ba_stat {
  display: contents;
}

.ba_stat_label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #1f2d5d;
  color: #fff;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.ba_stat_value {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #1f2d5d;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.ba_stat_arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent #1f2d5d;
}

.ba_stat_text {
  margin: 0;
  color: #1f2d5d;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  justify-self: start;
}

.ba_comment + .ba_comment {
  margin-top: 36px;
}

.ba_comment_title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6e6e6;
  color: #1f2d5d;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.ba_comment_text {
  margin: 0;
  color: #6f6f6f;
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
}

.ba_note {
  margin: 0 0 28px;
  padding: 12px 16px;
  background: #fff;
  color: #888;
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .ba_cards {
    grid-template-columns: 1fr;
  }

  .ba_stats {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
}

@media (max-width: 768px) {
  .ba_content {
    padding: 10% 0;
  }

  .ba_profile_name {
    font-size: 24px;
  }

  .ba_detail {
    padding: 32px 20px 28px;
    text-align: left;
  }

  .ba_stats,
  .ba_stats_main,
  .ba_stats_side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .ba_stats {
    gap: 20px;
  }

  .ba_stats_main,
  .ba_stats_side {
    gap: 20px;
  }

  .ba_stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ba_stat_label {
    width: auto;
  }

  .ba_stat_value,
  .ba_stat_text {
    font-size: 18px;
    justify-self: start;
  }

  .ba_comment_title {
    font-size: 16px;
  }

  .ba_comment_text {
    font-size: 15px;
  }

  .ba_note {
    font-size: 13px;
    margin-bottom: 20px;
  }
}
