.about-video-frame {
  align-self: start;
  margin-top: 4.75rem;
}

.about-video-frame video {
  display: block;
  background: #000;
}

.page-header {
  min-height: 21rem;
  display: flex;
  align-items: center;
}

.page-header.bg-casestudies-header {
  min-height: 22.5rem !important;
  background-position: center 45%;
}

.case-study-media {
  aspect-ratio: 3 / 2;
  height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: #e5e7eb;
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, .06);
}

.case-study-media.has-image {
  background: #e5e7eb !important;
}

.case-study-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 1;
}

.case-study-placeholder {
  padding: 1rem;
  text-align: center;
}

.file-selected {
  border-color: #1a365d !important;
  background: #f8fafc !important;
}

.file-selected #file-label {
  color: #1a365d;
}

.quote-file-list {
  margin-top: .75rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.quote-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border: 1px solid #d0d9e8;
  border-radius: .5rem;
  background: #fff;
  padding: .625rem .75rem;
  color: #1f2937;
  font-size: .875rem;
  text-align: left;
}

.quote-file-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.quote-file-size {
  flex-shrink: 0;
  color: #6b7280;
  font-size: .75rem;
}

[data-equip-stat] {
  min-width: 0;
}

[data-equip-stat] > div:first-child {
  width: 3.25rem;
  height: 3.25rem;
}

[data-equip-stat] > div:first-child > div {
  width: 1rem;
  height: 1rem;
  font-size: 0;
  overflow: hidden;
}

[data-equip-stat] > div:last-child {
  min-width: 0;
}

[data-equip-stat] > div:last-child > div:first-child {
  font-size: clamp(1.9rem, 2.7vw, 3rem);
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .about-video-frame {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .page-header,
  .page-header.bg-casestudies-header {
    min-height: 17rem;
  }

  [data-equip-stat] {
    gap: .75rem;
    padding: 1rem;
  }

  [data-equip-stat] > div:first-child {
    width: 2.75rem;
    height: 2.75rem;
  }

  .case-study-media {
    aspect-ratio: 3 / 2;
  }
}
