/* Sphera case study page-specific draft helpers only */

.sphera-system-bento {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 0.3fr);
}

.sphera-bento-slideshow {
  width: 100%;
  height: 100%;
}

.sphera-bento-slideshow__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.sphera-bento-slideshow__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 1080ms ease;
}

.sphera-bento-slideshow__slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.sphera-bento-slideshow__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sphera-system-section .sphera-bento-slideshow__slide img,
.sphera-system-section .bento-uneven__col--stack .bento-uneven__card > img {
  object-fit: contain;
}

.sphera-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 100%;
  align-items: flex-end;
  padding: clamp(var(--space-4), 4vw, var(--space-6));
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.72);
}

.sphera-placeholder--light {
  background: rgba(31, 30, 36, 0.055);
  color: rgba(31, 30, 36, 0.64);
}

.sphera-placeholder__inner {
  display: grid;
  gap: var(--space-2);
  max-width: 34rem;
}

.sphera-placeholder__label {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.35;
  font-weight: 500;
}

.sphera-placeholder__meta {
  margin: 0;
  font-size: var(--text-xs);
  line-height: var(--leading-serif-body);
  opacity: 0.68;
}

.case-gallery-item .sphera-placeholder {
  border-radius: var(--radius-lg);
}

.sphera-closing-visual {
  padding-bottom: clamp(var(--space-7), 5vw, var(--space-9));
}

.case-testimonial__name[href] {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-base);
}

@media (hover: hover) and (pointer: fine) {
  .case-testimonial__name[href]:hover {
    opacity: var(--opacity-interactive-subtle);
  }
}

@media (min-width: 821px) and (max-width: 1024px) {
  .sphera-system-section .sphera-system-bento {
    grid-template-columns: minmax(0, 0.6fr) minmax(0, 0.4fr);
  }
}

@media (min-width: 1025px) and (max-width: 1366px) and (hover: none) {
  .sphera-system-section .sphera-system-bento {
    grid-template-columns: minmax(0, 0.6fr) minmax(0, 0.4fr);
  }
}

@media (max-width: 760px) {
  .poi-system-section .bento-uneven__card {
    border-radius: var(--radius-sm);
  }

  .poi-system-section .bento-uneven {
    grid-template-columns: minmax(0, 0.6fr) minmax(0, 0.4fr);
    align-items: center;
  }

  .poi-system-section .sphera-system-bento {
    grid-template-columns: minmax(0, 0.65fr) minmax(0, 0.35fr);
  }

  .poi-system-section .bento-uneven .bento-uneven__col--primary {
    height: auto;
    align-self: center;
  }

  .sphera-applications-section .case-horizontal-layout {
    gap: var(--space-6);
  }

  .sphera-applications-section .case-horizontal-copy .case-section-title {
    margin-inline: 0;
  }

  .sphera-closing-visual {
    padding-top: var(--space-8);
    padding-bottom: var(--space-5);
  }

  .sphera-closing-section {
    padding-top: var(--space-5);
    padding-bottom: var(--space-8);
  }
}
