body[data-content-type="case"] .article-hero-media {
  position: fixed;
  z-index: 90;
  top: auto;
  right: auto;
  width: 286px;
  margin: 0;
  transition:
    width 0.28s ease,
    filter 0.28s ease;
  filter: drop-shadow(0 20px 42px rgba(0, 0, 0, 0.3));
}
body[data-content-type="case"] .article-hero-media:hover,
body[data-content-type="case"] .article-hero-media.is-expanded,
body[data-content-type="case"] .article-hero-media:focus-within {
  width: min(620px, calc(100vw - 40px));
  z-index: 120;
}
body[data-content-type="case"] .case-hero-media {
  width: 100%;
  margin: 0;
  padding: 7px;
  border-radius: 18px;
  background: rgba(15, 18, 16, 0.9);
  backdrop-filter: blur(18px);
  cursor: zoom-in;
}
body[data-content-type="case"] .article-hero-media.is-expanded .case-hero-media,
body[data-content-type="case"] .article-hero-media:hover .case-hero-media {
  cursor: zoom-out;
}
body[data-content-type="case"] .case-hero-media img {
  width: 100%;
  height: 154px;
  max-height: none;
  border-radius: 12px;
  object-fit: cover;
  transition: height 0.28s ease;
}
.case-media-slide {
  display: none;
}
.case-media-slide.is-active {
  display: block;
}
.case-media-nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(8, 10, 9, 0.72);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}
.case-media-prev { left: 13px; }
.case-media-next { right: 13px; }
.case-media-count {
  position: absolute;
  z-index: 4;
  right: 13px;
  bottom: 13px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(8, 10, 9, 0.72);
  color: #dfe5e1;
  font-size: 11px;
  backdrop-filter: blur(10px);
}
body[data-content-type="case"] .article-hero-media:hover .case-hero-media img,
body[data-content-type="case"] .article-hero-media.is-expanded .case-hero-media img,
body[data-content-type="case"] .article-hero-media:focus-within .case-hero-media img {
  height: min(56vh, 390px);
  object-fit: contain;
}
body[data-content-type="case"] .case-hero-media figcaption {
  max-height: 0;
  margin: 0 8px;
  overflow: hidden;
  opacity: 0;
  transition: 0.22s ease;
}
body[data-content-type="case"] .article-hero-media:hover figcaption,
body[data-content-type="case"] .article-hero-media.is-expanded figcaption,
body[data-content-type="case"] .article-hero-media:focus-within figcaption {
  max-height: 80px;
  margin-top: 10px;
  margin-bottom: 4px;
  opacity: 1;
}
.case-media-drag {
  position: absolute;
  z-index: 3;
  top: 13px;
  left: 13px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(8, 10, 9, 0.72);
  color: #eef2ef;
  cursor: grab;
  font-size: 16px;
  line-height: 1;
  touch-action: none;
}
.case-media-drag:active {
  cursor: grabbing;
}
body.case-media-dragging,
body.case-media-dragging * {
  user-select: none !important;
}
@media (max-width: 700px) {
  body[data-content-type="case"] .article-hero-media {
    top: auto;
    right: 14px;
    bottom: 18px;
    width: 190px;
  }
  body[data-content-type="case"] .article-hero-media:hover {
    width: 190px;
  }
  body[data-content-type="case"] .article-hero-media.is-expanded {
    width: calc(100vw - 28px);
  }
  body[data-content-type="case"] .case-hero-media img {
    height: 104px;
  }
  body[data-content-type="case"] .article-hero-media:hover .case-hero-media img {
    height: 104px;
    object-fit: cover;
  }
  body[data-content-type="case"] .article-hero-media.is-expanded .case-hero-media img {
    height: min(52vh, 330px);
    object-fit: contain;
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-content-type="case"] .article-hero-media,
  body[data-content-type="case"] .case-hero-media img,
  body[data-content-type="case"] .case-hero-media figcaption {
    transition: none;
  }
}
