/* ==== lm-case beautify 20261114 ==== */
.case_box.lm-case {
  background: linear-gradient(180deg, #f7f7f7 0%, #efefef 100%);
  padding: 56px 0 48px;
  position: relative;
}
.case_box.lm-case::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: #F2CC13;
}
.lm-case-inner {
  max-width: 1170px;
}
.lm-case-head {
  text-align: center;
  margin: 0 0 36px;
  opacity: 1 !important;
  transform: none !important;
}
.lm-case-kicker {
  display: inline-block;
  margin: 0 0 8px;
  color: #888;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.lm-case-head h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.5px;
  line-height: 1.25;
}
.lm-case-line {
  display: block;
  width: 48px;
  height: 3px;
  margin: 0 auto 12px;
  background: #F2CC13;
  border-radius: 2px;
}
.lm-case-desc {
  margin: 0 auto;
  max-width: 640px;
  color: #777;
  font-size: 14px;
  line-height: 1.6;
}
.lm-case-list {
  clear: both;
  padding: 0;
  margin: 0;
}
.lm-case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.lm-case-item {
  margin: 0;
  min-width: 0;
}
.lm-case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lm-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.1);
  border-color: rgba(242,204,19,0.55);
}
.lm-case-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ececec;
}
.lm-case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.lm-case-card:hover .lm-case-media img {
  transform: scale(1.06);
}
.lm-case-mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20,20,20,0.42);
  color: #F2CC13;
  font-size: 22px;
  opacity: 0;
  transition: opacity .25s ease;
}
.lm-case-card:hover .lm-case-mask {
  opacity: 1;
}
.lm-case-body {
  display: block;
  padding: 14px 14px 16px;
  min-height: 64px;
}
.lm-case-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  transition: color .2s ease;
}
.lm-case-card:hover .lm-case-name {
  color: #1a1a1a;
}
.lm-case-more {
  text-align: center;
  margin-top: 28px;
}
.lm-case-more-btn {
  display: inline-block;
  padding: 11px 28px;
  background: #F2CC13;
  color: #1a1a1a !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none !important;
  letter-spacing: 0.3px;
  transition: background .2s ease, color .2s ease;
}
.lm-case-more-btn:hover {
  background: #222;
  color: #fff !important;
}
@media screen and (max-width: 991px) {
  .lm-case-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .lm-case-head h2 {
    font-size: 24px;
  }
}
@media screen and (max-width: 767px) {
  .case_box.lm-case {
    padding: 40px 12px 36px;
  }
  .lm-case-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .lm-case-body {
    padding: 10px 10px 12px;
    min-height: 56px;
  }
  .lm-case-name {
    font-size: 13px;
  }
}
@media screen and (max-width: 420px) {
  .lm-case-grid {
    grid-template-columns: 1fr;
  }
}
/* ==== lm-case end ==== */
