.case-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  color: #fff;
  background: url("/assets/case/hero.png") center center / cover no-repeat;
}
.case-hero-inner {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: 192px;
}
.case-hero h1 {
  margin: 0 0 24px;
  font-size: 56px;
  line-height: 1.15;
  font-weight: 800;
}
.case-hero p {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
}
.case-content {
  padding: 0 0 145px;
}
.case-inner {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 27px 24px;
}
.case-mobile-list {
  display: none;
}
.case-item {
  position: relative;
  min-height: 419px;
  overflow: hidden;
  color: #fff;
  border-radius: 15px;
  background: #0b1226;
}
.case-item:hover .case-cover,
.case-item:focus-within .case-cover {
  transform: scale(1.035);
}
.case-cover,
.case-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.case-cover {
  object-fit: cover;
  transition: transform 0.4s ease;
}
.case-mask {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.73) 100%);
}
.case-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 419px;
  padding: 146px 20px 23px 40px;
}
.case-copy h2 {
  margin: 18px 0 10px;
  max-width: 520px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
}
.case-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}
.case-copy ul {
  margin: 13px 0 0;
  padding-left: 22px;
  font-size: 14px;
  line-height: 24px;
}
.case-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  flex-shrink: 0;
}
.case-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 980px) {
  .case-page {
    background: #fff;
  }
  .case-hero {
    height: 275.5px;
    margin-top: 0;
    background: linear-gradient(rgba(1, 26, 94, 0.24), rgba(1, 26, 94, 0.24)), url("/assets/case/hero.png") center 36% / cover no-repeat;
  }
  .case-hero-inner {
    width: calc(100% - 32px);
    padding-top: 115px;
    padding-left: 12px;
  }
  .case-hero h1 {
    margin-bottom: 8px;
    font-size: 24px;
    line-height: 1.2;
  }
  .case-hero p {
    width: 200px;
    font-size: 13px;
    line-height: 18px;
  }
  .case-content {
    margin-top: 20px;
    padding-bottom: 0;
  }
  .case-inner {
    width: 100%;
  }
  .breadcrumb {
    display: none;
  }
  .case-grid-desktop {
    display: none;
  }
  .case-mobile-list {
    display: block;
  }
  .case-item {
    min-height: 0;
    height: 230px;
    border-radius: 10px;
    margin: 0 16px 16px;
    padding: 0 15px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .case-item .case-cover {
    position: absolute;
    top: 0;
    left: 0;
  }
  .case-item p {
    z-index: 9;
  }
  .case-copy {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    min-height: auto;
    gap: 10px;
    padding: 0;
  }
  .case-copy .case-icon {
    width: 32px;
    height: 32px;
    border-radius: 5px;
  }
  .case-copy .case-icon img {
    width: 100%;
    height: 100%;
  }
  .case-copy h2 {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    margin: 0;
  }
  .case-copy ul {
    display: none;
  }
  p {
    max-width: 100%;
    font-size: 12px;
    line-height: 18px;
  }
}
