.wmp-case-single-extras {
  --wmp-case-single-navy: #0b1f3a;
  --wmp-case-single-muted: #7b8ba0;
  --wmp-case-single-border: #dfe6ee;
  --wmp-case-single-orange: #f5a623;
  width: 100%;
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.wmp-case-single-extras,
.wmp-case-single-extras * {
  box-sizing: border-box;
}

.wmp-case-adjacent {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.wmp-case-adjacent__item {
  min-height: 108px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--wmp-case-single-border);
  border-radius: 10px;
  color: var(--wmp-case-single-navy);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.wmp-case-adjacent a.wmp-case-adjacent__item:hover,
.wmp-case-adjacent a.wmp-case-adjacent__item:focus-visible {
  border-color: rgba(245, 166, 35, 0.72);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.09);
  transform: translateY(-2px);
}

.wmp-case-adjacent a.wmp-case-adjacent__item:focus-visible,
.wmp-case-related-card__link:focus-visible {
  outline: 2px solid var(--wmp-case-single-orange);
  outline-offset: 3px;
}

.wmp-case-adjacent__item--next {
  text-align: right;
  align-items: flex-end;
}

.wmp-case-adjacent__item--empty {
  visibility: hidden;
  pointer-events: none;
}

.wmp-case-adjacent__label {
  display: block;
  margin-bottom: 6px;
  color: var(--wmp-case-single-muted);
  font-size: 13px;
  line-height: 1.5;
}

.wmp-case-adjacent__item strong {
  display: block;
  color: var(--wmp-case-single-navy);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.wmp-case-related {
  margin-top: 48px;
}

.wmp-case-related__header {
  margin-bottom: 20px;
}

.wmp-case-related__header h2 {
  margin: 0;
  color: var(--wmp-case-single-navy);
  font-size: 28px;
  line-height: 1.3;
  font-weight: 900;
}

.wmp-case-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.wmp-case-related-card {
  min-width: 0;
  margin: 0;
}

.wmp-case-related-card__link {
  height: 100%;
  display: block;
  overflow: hidden;
  border: 1px solid var(--wmp-case-single-border);
  border-radius: 10px;
  color: inherit;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.wmp-case-related-card__link:hover,
.wmp-case-related-card__link:focus-visible {
  border-color: rgba(245, 166, 35, 0.72);
  box-shadow: 0 14px 30px rgba(11, 31, 58, 0.1);
  transform: translateY(-3px);
}

.wmp-case-related-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  background: #eef2f6;
}

.wmp-case-related-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.32s ease;
}

.wmp-case-related-card__link:hover .wmp-case-related-card__image img,
.wmp-case-related-card__link:focus-visible .wmp-case-related-card__image img {
  transform: scale(1.025);
}

.wmp-case-related-card__body {
  min-height: 92px;
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wmp-case-related-card__body strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--wmp-case-single-navy);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 800;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wmp-case-related-card__body small {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: var(--wmp-case-single-muted);
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .wmp-case-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .wmp-case-adjacent {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wmp-case-adjacent__item {
    min-height: 94px;
    padding: 18px 19px;
  }

  .wmp-case-adjacent__item--empty {
    display: none;
  }

  .wmp-case-related {
    margin-top: 38px;
  }

  .wmp-case-related__header h2 {
    font-size: 24px;
  }
}

@media (max-width: 520px) {
  .wmp-case-related__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wmp-case-adjacent__item,
  .wmp-case-related-card__link,
  .wmp-case-related-card__image img {
    transition: none;
  }
}
