/* Detail.php */
.detail-success-story-page .detail-new,
.success-story-page .detail-new {
  min-height: 400px;
}

.detail-success-story-page .detail-new .title p,
.success-story-page .detail-new .title p {
  font-size: 40px;
  margin-top: 0;
  margin-bottom: 2rem;
  text-align: center;
}
.detail-success-story-page .detail-new .content p,
.success-story-page .detail-new .content p {
  font-family: Lato;
  font-weight: 400;
  font-size: 16px !important;
  text-align: center;
  color: #ffffff;
  margin: 0 min(16vw, 308px);
}

.detail-success-story-page .implementation .item .image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.detail-success-story-page .title_two {
  color: #ffffff;
  font-family: "FS Magistral";
  font-weight: 800;
  font-size: clamp(1rem, 5.5vw, 1.75rem);
  text-transform: uppercase;
  padding-bottom: 0.5rem;
}

.detail-success-story-page .title_des {
  color: #ffffff;
  font-weight: 400;
  font-size: 1rem;
  text-align: justify;
}

.detail-success-story-page .solutions {
  padding: 1.25rem 0;
}

.detail-success-story-page .solutions-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.detail-success-story-page .solutions-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 1.25rem;
  align-items: center;
}

.detail-success-story-page .solutions-list .num {
  min-width: 40px;
  height: 40px;
  background: #f6f7ff;
  color: var(--tm);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1px solid #e6e7ff;
}
.detail-success-story-page .solutions-list .text {
  color: #333;
  line-height: 1.5;
}
.detail-success-story-page .solutions-list .text p {
  margin: 0;
}

.detail-success-story-page .item_phone {
  background-color: var(--tm);
  border-radius: 1.25rem;
}

.detail-success-story-page .item_phone .title_1,
.detail-success-story-page .item_phone .title_2,
.detail-success-story-page .item_phone .title_3 {
  padding-left: 20px;
  padding-right: 20px;
  color: #ffffff;
}

.detail-success-story-page .item_phone .title_1 {
  padding-top: 2rem;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
}

.detail-success-story-page .item_phone .title_2 {
  font-family: "FS Magistral";
  font-weight: 800;
  font-size: 24px;
  padding-bottom: 1rem;
  padding-top: 0.5rem;
  text-align: center;
}

.detail-success-story-page .item_phone .title_3 {
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  color: #ff4b55;
}

.detail-success-story-page .item_benefit {
  padding-bottom: 1.75rem;
}

.detail-success-story-page .item .title {
  color: var(--tm);
  font-weight: 900;
  font-size: 1.125rem;
  text-align: justify;
  padding-bottom: 1.25rem;
}

.detail-success-story-page .item .description ul {
  padding-left: 0;
}

.detail-success-story-page .item .description li {
  list-style: none;
  background: url('/public/frontend/img/project/circle-check.svg') no-repeat left top;
  background-size: 18px 18px;
  padding-left: 30px;
  margin-bottom: 8px;
}

/* Feetback */
.detail-success-story-page .feetback .number_title {
  color: var(--tm);
  font-weight: 800;
  font-size: 72px;
  font-family: "FS Magistral";
}

.detail-success-story-page .feetback .company_title {
  font-weight: 700;
  font-size: 32px;
  color: #000000;
  font-family: "FS Magistral";
}

.detail-success-story-page .feetback .success_company {
  font-weight: 700;
  font-size: 32px;
  color: var(--tm);
  font-family: "FS Magistral";
}

.detail-success-story-page .feetback .item_1 {
  padding: 40px 25px;
  background: #f8f6fe;
  border: 1px solid #f1f1f1;
  box-shadow: 8px 8px 0px 0px #e6ddff;
  border-radius: 20px;
  margin-top: 80px;
  margin-bottom: 20px;
}

.detail-success-story-page .feetback .item_2 {
  padding: 40px 25px;
  background: #f8f6fe;
  border: 1px solid #f1f1f1;
  box-shadow: 8px 8px 0px 0px #e6ddff;
  border-radius: 20px;
}

.detail-success-story-page .feetback .summary {
  font-size: 18px;
  line-height: 28px;
  text-align: justify;
  color: #000000;
  margin-bottom: 30px;
}

.detail-success-story-page .implementation .marginRight {
  margin-right: 50px;
}

.detail-success-story-page .feetback .feetback_image {
  float: left;
}

.detail-success-story-page .feetback .feetback_image img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.detail-success-story-page .feetback .name_feetback .name {
  color: var(--tm);
  margin-left: 80px;
  text-transform: capitalize;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 5px;
}

.detail-success-story-page .feetback .name_feetback .position {
  color: #797979;
  font-weight: 400;
  font-size: 18px;
  margin-left: 80px;
  text-transform: capitalize;
}

.detail-success-story-page .title_implementation,
.detail-success-story-page .title_one {
  font-family: "FS Magistral";
  font-weight: 700;
  font-style: Bold;
  font-size: 1.5rem;
  color: var(--tm);
}

/* Index.php */
.list_story {
  background: #f8f6fe;
}

.list_story .col-md-4 {
  margin-bottom: 30px;
}
.list_story .item {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid #f1f1f1;
  box-shadow: 0 6px 20px rgba(100, 71, 169, 0.06);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.list_story .item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(100, 71, 169, 0.08);
}
.list_story .image_story img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.list_story .title_name .name {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.3;
}
.list_story .title_name .name a {
  color: var(--tm);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  min-height: 3.5rem;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 320px) and (max-width: 767px) {
  .detail-success-story-page .detail-new .title p {
    font-size: 22px;
  }

  .list_story {
    padding: 30px 0;
  }

  .detail_success_story .feetback,
  .detail-success-story-page .feetback {
    padding: 0px;
  }

  .detail_success_story .feetback .number_title,
  .detail-success-story-page .feetback .number_title {
    font-size: 60px;
  }

  .detail_success_story .feetback .success_company,
  .detail-success-story-page .feetback .success_company {
    font-size: 30px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .detail-success-story-page .detail-new .title p {
    font-size: 30px;
  }
}
