/* #region case_related (parts/case-related.php) */
.case_related {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: -1.64rem;
  padding: 17.68rem 0px 19.4rem;
  background: #fff url(../img/case-related-bg.webp) no-repeat center / 100% 100%;
}
.case_related .tag {
  border-color: rgba(34, 29, 21, 0.3);
}
.case_related .head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4rem;
}
.case_related .tcon .tag + h2 {
  margin-top: 2.17rem;
}
.case_related .head .swiper_btns {
  margin-bottom: 0.57rem;
}
.case_related .related_swiper {
  margin-top: 6.61rem;
  margin-right: calc((100vw - 100%) / -2 + 0px);
  overflow: hidden;
}
.case_related .related_swiper .swiper-slide {
  width: 60rem;
}
.case_related .related_item {
  display: block;
}
.case_related .related_item .img {
  height: 42.93rem;
  border-radius: 1.4rem;
  transform: translateZ(0px);
}
.case_related .related_item:hover .img img {
  transform: scale(1.05);
}
.case_related .related_item .title {
  margin-top: 4rem;
  overflow: hidden;
  color: var(--dark);
  font-weight: 450;
  font-size: 2.8rem;
  line-height: 3.7rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.3s;
}
.case_related .related_item:hover .title {
  color: var(--primary);
}
.case_related .related_item .desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-width: 46.4rem;
  margin-top: 1.05rem;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 2.6rem;
}
/* #endregion */

@media screen and (max-width: 768px) {
  .case_related {
    margin-top: -16px;
    padding: 66px 0px 60px;
    background-size: cover;
  }
  .case_related .head {
    gap: 16px;
  }
  .case_related .head .swiper_btns {
    margin-bottom: 0px;
  }
  .case_related .related_swiper {
    margin-top: 30px;
    margin-right: -20px;
  }
  .case_related .related_swiper .swiper-slide {
    width: 280px;
  }
  .case_related .related_item .img {
    height: 200px;
    border-radius: 12px;
  }
  .case_related .related_item .title {
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.4;
  }
  .case_related .related_item .desc {
    max-width: none;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.6;
  }
}

.case_banner {
  height: 68.08rem;
  overflow: hidden;
  isolation: isolate;
  background-color: #041030;
}
.case_banner > img {
  transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.case_banner:hover > img {
  transform: scale(1.02);
}
.case_banner .content {
  height: 100%;
  padding-top: 21.8rem;
}
.case_banner .tcon h1 {
  color: #fff;
  font-weight: 520;
  font-size: 6.4rem;
  line-height: 8rem;
}
.case_banner .tcon p {
  margin-top: 1.95rem;
  color: #fff;
  font-weight: 450;
  font-size: 2.6rem;
  line-height: 3.4rem;
}
.case_banner .btns {
  display: flex;
  gap: 1.96rem;
  margin-top: 4.23rem;
}
.case_banner .btn {
  min-width: 16.39rem;
  padding: 0px 3.1rem;
}
.case_banner .btn_white {
  min-width: 17.09rem;
}
.case_banner .btn_white:hover {
  box-shadow: none;
}

@media screen and (max-width: 1024px) {
  .case_banner > img {
    object-position: 60% center;
  }
}

@media screen and (max-width: 768px) {
  .case_banner {
    height: 420px;
  }
  .case_banner > img {
    object-position: 68% center;
  }
  .case_banner::before {
    content: '';
    position: absolute;
    inset: 0px;
    z-index: -1;
    background-image: linear-gradient(90deg, rgba(4, 16, 48, 0.85) 0%, rgba(4, 16, 48, 0.4) 100%);
  }
  .case_banner .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0px;
  }
  .case_banner .tcon h1 {
    font-size: 30px;
    line-height: 1.3;
  }
  .case_banner .tcon p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.6;
  }
  .case_banner .btns {
    gap: 10px;
    margin-top: 24px;
  }
  .case_banner .btn,
  .case_banner .btn_white {
    min-width: 0px;
    padding: 0px 22px;
  }
}

.case_overview {
  position: relative;
  z-index: 1;
  padding: 16.1rem 0px 18.2rem;
}
.case_overview .content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.case_overview .tag {
  border-color: rgba(34, 29, 21, 0.3);
}
.case_overview .main {
  width: 82.4rem;
}
.case_overview .tcon .tag + h2 {
  margin-top: 2.14rem;
}
.case_overview .desc {
  margin-top: 2.82rem;
}
.case_overview .desc p {
  color: var(--text);
  font-size: 1.8rem;
  line-height: 3rem;
}
.case_overview .desc p + p {
  margin-top: 3rem;
}
.case_overview .profile {
  margin-top: 5.32rem;
}
.case_overview .profile h3 {
  color: var(--dark);
  font-weight: 450;
  font-size: 2.8rem;
  line-height: 3.7rem;
}
.case_overview .profile ul {
  display: grid;
  grid-template-columns: 42.29rem 1fr;
  margin-top: 0.4rem;
}
.case_overview .profile li {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 0.8rem;
  min-height: 5.4rem;
  padding-left: 1.9rem;
  font-size: 1.8rem;
  line-height: 2.4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.case_overview .profile li:nth-last-child(-n + 2) {
  border-bottom: none;
}
.case_overview .profile li::before {
  content: '';
  position: absolute;
  left: 0px;
  top: 50%;
  width: 0.6rem;
  height: 0.6rem;
  margin-top: -0.3rem;
  border-radius: 50%;
  background-color: var(--primary);
}
.case_overview .profile li strong {
  color: var(--title);
  font-weight: 450;
}
.case_overview .profile li span {
  color: var(--text);
}
.case_overview .blocks {
  width: 72.28rem;
  margin-top: 11.73rem;
}
.case_overview .blocks > li {
  display: flex;
  align-items: flex-start;
}
.case_overview .blocks > li + li {
  margin-top: 5.3rem;
  padding-top: 5.3rem;
  border-top: 2px solid rgba(20, 36, 71, 0.12);
}
.case_overview .icon {
  flex-shrink: 0;
  display: block;
  width: 6.8rem;
  height: 6.8rem;
  margin: 0.41rem 4.29rem 0px 0px;
  border-radius: 1.6rem;
  transition: transform 0.4s;
  background-color: var(--primary);
}
.case_overview .blocks > li:hover .icon {
  transform: translateY(-0.6rem);
}
.case_overview .icon img {
  display: block;
  width: 100%;
  height: 100%;
}
.case_overview .info {
  flex: 1;
  min-width: 0px;
}
.case_overview .info h3 {
  color: var(--dark);
  font-weight: 450;
  font-size: 2.8rem;
  line-height: 3.7rem;
}
.case_overview .info p {
  margin-top: 1.92rem;
  color: var(--text);
  font-weight: 380;
  font-size: 1.6rem;
  line-height: 2.6rem;
}
.case_overview .points {
  margin-top: 1.22rem;
}
.case_overview .points li {
  position: relative;
  padding-left: 1.88rem;
  color: var(--text);
  font-weight: 380;
  font-size: 1.6rem;
  line-height: 3.6rem;
}
.case_overview .points li::before {
  content: '';
  position: absolute;
  left: 0px;
  top: 1.5rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background-color: var(--primary);
}
.case_overview .points em {
  color: var(--primary);
  font-weight: 520;
}

@media screen and (min-width: 769px) and (max-width: 1220px) {
  .case_overview .content {
    flex-direction: column;
  }
  .case_overview .main,
  .case_overview .blocks {
    width: 100%;
  }
  .case_overview .blocks {
    margin-top: 8rem;
  }
}

@media screen and (max-width: 1024px) {
  .case_overview .info p br {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .case_overview {
    padding: 50px 0px 60px;
  }
  .case_overview .content {
    flex-direction: column;
  }
  .case_overview .main,
  .case_overview .blocks {
    width: 100%;
  }
  .case_overview .desc {
    margin-top: 16px;
  }
  .case_overview .desc p {
    font-size: 14px;
    line-height: 1.7;
  }
  .case_overview .desc p + p {
    margin-top: 12px;
  }
  .case_overview .profile {
    margin-top: 30px;
  }
  .case_overview .profile h3,
  .case_overview .info h3 {
    font-size: 20px;
    line-height: 1.4;
  }
  .case_overview .profile ul {
    grid-template-columns: 1fr;
    margin-top: 6px;
  }
  .case_overview .profile li {
    min-height: 44px;
    padding: 10px 0px 10px 16px;
    font-size: 14px;
    line-height: 1.5;
  }
  .case_overview .profile li:nth-last-child(2) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .case_overview .profile li::before {
    width: 6px;
    height: 6px;
    margin-top: -3px;
  }
  .case_overview .blocks {
    margin-top: 40px;
  }
  .case_overview .blocks > li + li {
    margin-top: 24px;
    padding-top: 24px;
  }
  .case_overview .icon {
    width: 50px;
    height: 50px;
    margin: 0px 16px 0px 0px;
    border-radius: 12px;
  }
  .case_overview .info p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.7;
  }
  .case_overview .points {
    margin-top: 6px;
  }
  .case_overview .points li {
    padding-left: 16px;
    font-size: 14px;
    line-height: 1.8;
  }
  .case_overview .points li::before {
    top: 10px;
    width: 6px;
    height: 6px;
  }
}

.case_results {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  height: 40rem;
  overflow: hidden;
  border-radius: 2.3rem;
  background: #010e30 url(../img/results-bg.webp) no-repeat center / 100% 100%;
}
.case_results .content {
  width: 100%;
}
.case_results .result_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3.03rem;
}
.case_results .result_list li {
  height: 15.4rem;
  padding-top: 3.92rem;
  border-radius: 2.2rem;
  text-align: center;
  transition: transform 0.4s, box-shadow 0.4s;
  background-color: #fff;
}
.case_results .result_list li:hover {
  transform: translateY(-0.8rem);
  box-shadow: 0px 1.6rem 3rem rgba(0, 0, 0, 0.25);
}
.case_results .num p {
  color: var(--title);
  font-weight: 520;
  font-size: 3.76rem;
  line-height: 5rem;
  white-space: nowrap;
}
.case_results .num em {
  margin-left: 0.6rem;
  color: var(--primary);
}
.case_results .text p {
  margin-top: 0.32rem;
  color: var(--text);
  font-size: 1.88rem;
  line-height: 2.5rem;
}

@media screen and (min-width: 769px) and (max-width: 1220px) {
  .case_results .num p {
    font-size: 3.2rem;
  }
}

@media screen and (max-width: 1024px) {
  .case_results {
    height: auto;
    padding: 6rem 0px;
  }
  .case_results .result_list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .case_results {
    padding: 30px 0px;
    border-radius: 16px;
    background-size: cover;
  }
  .case_results .result_list {
    gap: 10px;
  }
  .case_results .result_list li {
    height: auto;
    padding: 16px 6px;
    border-radius: 12px;
  }
  .case_results .num p {
    font-size: 17px;
    line-height: 1.4;
    white-space: normal;
  }
  .case_results .num em {
    display: block;
    margin-left: 0px;
  }
  .case_results .text p {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.5;
  }
}

.case_solution {
  position: relative;
  z-index: 2;
  margin-top: -2.1rem;
  padding: 18.18rem 0px 16rem;
  border-radius: 3.03rem;
  background: #fff url(../img/solution-bg.webp) no-repeat center / 100% 100%;
}
.case_solution .tag {
  border-color: rgba(34, 29, 21, 0.3);
}
.case_solution .tcon .tag + h2 {
  margin-top: 2.17rem;
}
.case_solution .solution_list {
  margin-top: 6.41rem;
}
.case_solution .solution_list > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.case_solution .solution_list > li + li {
  margin-top: 7.47rem;
}
.case_solution .solution_list > li:nth-child(even) {
  flex-direction: row-reverse;
}
.case_solution .img {
  flex-shrink: 0;
  width: 77.6rem;
  height: 46rem;
  border-radius: 2.6rem;
  transform: translateZ(0px);
}
.case_solution .solution_list > li:hover .img img {
  transform: scale(1.05);
}
.case_solution .info {
  width: 77.34rem;
}
.case_solution .solution_list > li:nth-child(even) .info {
  width: 81.2rem;
  padding-left: 0.1rem;
}
.case_solution .info h3 {
  color: var(--title);
  font-weight: 450;
  font-size: 4.4rem;
  line-height: 6.2rem;
}
.case_solution .info p {
  max-width: 69.8rem;
  color: var(--text);
  font-size: 1.8rem;
  line-height: 3rem;
}
.case_solution .info h3 + p {
  margin-top: 2.82rem;
}
.case_solution .info p + p {
  margin-top: 1rem;
}
.case_solution .btn_box {
  margin-top: 4.73rem;
}
.case_solution .btn {
  min-width: 16.39rem;
  padding: 0px 3.1rem;
}

@media screen and (min-width: 769px) and (max-width: 1220px) {
  .case_solution .img {
    width: 48%;
    height: auto;
    aspect-ratio: 776 / 460;
  }
  .case_solution .info,
  .case_solution .solution_list > li:nth-child(even) .info {
    width: 47%;
  }
}

@media screen and (max-width: 1024px) {
  .case_solution .info h3 {
    font-size: 3.4rem;
    line-height: 1.4;
  }
  .case_solution .info h3 br {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .case_solution {
    margin-top: -16px;
    padding: 66px 0px 60px;
    border-radius: 16px;
    background-size: cover;
  }
  .case_solution .solution_list {
    margin-top: 30px;
  }
  .case_solution .solution_list > li,
  .case_solution .solution_list > li:nth-child(even) {
    flex-direction: column;
    align-items: stretch;
  }
  .case_solution .solution_list > li + li {
    margin-top: 40px;
  }
  .case_solution .img {
    width: 100%;
    height: auto;
    aspect-ratio: 776 / 460;
    border-radius: 14px;
  }
  .case_solution .info,
  .case_solution .solution_list > li:nth-child(even) .info {
    width: 100%;
    margin-top: 20px;
    padding-left: 0px;
  }
  .case_solution .info h3 {
    font-size: 20px;
    line-height: 1.4;
  }
  .case_solution .info p {
    font-size: 14px;
    line-height: 1.7;
  }
  .case_solution .info h3 + p {
    margin-top: 10px;
  }
  .case_solution .info p + p {
    margin-top: 6px;
  }
  .case_solution .btn_box {
    margin-top: 20px;
  }
}
