.stc-factory-three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  margin-top: 48px;
}

.stc-factory-stream {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dfe3e6;
  border-top: 4px solid #ed6b12;
  border-radius: 4px;
  background: #f5f6f7;
  box-shadow: 0 8px 24px rgba(25, 32, 37, .07);
}

.stc-factory-stream-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e6e9eb;
}

.stc-factory-stream-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.stc-factory-stream-media.is-product {
  background: #fff;
}

.stc-factory-stream-media.is-product img {
  object-fit: contain;
  padding: 18px;
}

.stc-factory-stream-media.is-dark-product {
  background: #111416;
}

.stc-factory-stream-media.is-dark-product img {
  object-fit: contain;
  padding: 0;
}

.stc-factory-stream-media.is-dark-product.is-wide-product img {
  object-fit: cover;
  object-position: 72% center;
}

.stc-factory-stream-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 24px 22px 22px;
}

.stc-factory-stream-body .factory-location-tag {
  align-self: flex-start;
}

.stc-factory-stream-body h2 {
  margin: 0 0 11px;
  color: #22282c;
  font-size: 20px;
  line-height: 1.32;
  font-weight: 800;
}

.stc-factory-stream-body p {
  margin: 0 0 14px;
  color: #626a70;
  font-size: 13px;
  line-height: 1.7;
}

.stc-factory-stream-body ul {
  margin: 0 0 19px;
  padding: 0;
  list-style: none;
}

.stc-factory-stream-body li {
  position: relative;
  padding: 5px 0 5px 15px;
  color: #4e565c;
  font-size: 12px;
  line-height: 1.5;
}

.stc-factory-stream-body li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 6px;
  height: 6px;
  background: #ed6b12;
}

.stc-factory-stream-body > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: #30373c;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
}

.stc-factory-stream-body > a b {
  color: #ed6b12;
  font-size: 17px;
}

.stc-factory-source-note {
  margin: 18px 0 0;
  padding: 14px 17px;
  border-left: 3px solid #ed6b12;
  background: #f0f2f3;
  color: #687078;
  font-size: 11px;
  line-height: 1.65;
}

.factory-spd-evidence,
.factory-connector-evidence {
  scroll-margin-top: 92px;
}

.factory-spd-evidence {
  margin-top: 42px;
  padding-top: 38px;
  border-top: 1px solid #dfe2e5;
}

.factory-product-card .factory-gallery-media {
  background: #fff;
}

.factory-product-card .factory-gallery-media img {
  object-fit: contain;
  padding: 12px;
}

.factory-product-card.is-dark .factory-gallery-media {
  background: #111416;
}

.factory-product-card.is-dark .factory-gallery-media img {
  object-fit: cover;
  padding: 0;
}

.factory-spd-evidence .factory-product-card.is-dark .factory-gallery-media img {
  object-fit: contain;
}

@media (max-width: 991px) {
  .stc-factory-three-grid {
    grid-template-columns: 1fr;
  }

  .stc-factory-stream {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  }

  .stc-factory-stream-media {
    height: 100%;
    min-height: 300px;
    aspect-ratio: auto;
  }
}

@media (max-width: 767px) {
  .stc-factory-three-grid {
    gap: 14px;
    margin-top: 34px;
  }

  .stc-factory-stream {
    display: flex;
  }

  .stc-factory-stream-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .stc-factory-stream-body {
    padding: 20px 18px 19px;
  }

  .stc-factory-stream-body h2 {
    font-size: 18px;
  }
}

@media (max-width: 575px) {
  .stc-factory-stream-body li {
    font-size: 11px;
  }

  .factory-product-card .factory-gallery-media img {
    padding: 8px;
  }
}
