/* Model-specific hero photography for the silicone case category. */
.pg-case-category-hero {
  position: sticky;
  top: 112px;
  align-self: start;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  min-height: 420px;
  padding: clamp(12px, 1.6vw, 20px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(61, 166, 255, .62);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 15% 82%, rgba(16, 156, 255, .22), transparent 48%),
    radial-gradient(ellipse at 88% 82%, rgba(255, 22, 60, .16), transparent 44%),
    linear-gradient(180deg, #071321, #020811 82%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48), 0 0 38px rgba(16, 156, 255, .15);
}
.pg-case-category-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(120deg, rgba(34, 143, 255, .10), transparent 48%, rgba(255, 44, 50, .08));
}
.pg-case-hero-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  overflow: hidden;
  color: #f4f8ff;
  text-decoration: none;
  border: 1px solid rgba(116, 174, 238, .24);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(17, 32, 52, .84), rgba(4, 10, 19, .92));
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.pg-case-hero-card:hover {
  transform: translateY(-3px);
  border-color: rgba(80, 177, 255, .78);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .34), 0 0 22px rgba(16, 156, 255, .14);
}
.pg-case-hero-card:focus-visible {
  outline: 3px solid #75c9ff;
  outline-offset: 3px;
}
.pg-case-hero-image {
  display: grid;
  min-height: 0;
  place-items: center;
  padding: 8px 5px 2px;
}
.pg-case-hero-image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(250px, 30vw, 340px);
  object-fit: contain;
  filter: drop-shadow(0 16px 25px rgba(0, 0, 0, .46));
}
.pg-case-hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-height: 50px;
  padding: 9px 11px;
  border-top: 1px solid rgba(116, 174, 238, .18);
  background: rgba(2, 7, 14, .58);
}
.pg-case-hero-meta strong {
  min-width: 0;
  font-size: clamp(.76rem, .95vw, .9rem);
  line-height: 1.25;
}
.pg-case-hero-meta > span {
  flex: none;
  color: #9fd5ff;
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
}
.pg-case-hero-arrow { width: 12px; height: 12px; margin-left: 3px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; }
@media (max-width: 900px) {
  .pg-case-category-hero {
    position: relative;
    top: auto;
    min-height: 0;
    padding: 10px;
  }
  .pg-case-hero-image img {
    height: clamp(175px, 50vw, 245px);
  }
}
@media (max-width: 480px) {
  .pg-case-category-hero { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 8px; border-radius: 18px; }
  .pg-case-hero-card { border-radius: 13px; }
  .pg-case-hero-image { padding: 7px 3px 0; }
  .pg-case-hero-image img { height: clamp(190px, 62vw, 240px); }
  .pg-case-hero-meta { min-height: 44px; flex-wrap: wrap; padding: 8px; }
  .pg-case-hero-meta strong { font-size: .72rem; }
  .pg-case-hero-meta > span { font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-case-hero-card { transition: none; }
}
