/* ========================================
   Junhua OEM Partner Section
======================================== */
.junhua-oem-partner-section {
  width: 100%;
  /* background-color: var(--bg-color-light); */
  padding: var(--spacing-9xl) 0;
}

.junhua-oem-partner-container {
}

/* ========================================
   Header Area
======================================== */
.junhua-oem-partner-header {
  text-align: center;
  margin-bottom: var(--spacing-5xl);
}

.junhua-oem-partner-title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  color: var(--text-color-strong);
  line-height: var(--line-height-subtitle);
  margin: 0 0 var(--spacing-4xl) 0;
  text-align: center;
}

.junhua-oem-partner-title-highlight {
  color: var(--primary-color);
}

.junhua-oem-partner-subtitle {
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-bold);
  color: var(--text-color-strong);
  line-height: var(--line-height-subtitle);
  margin: 0;
  text-align: center;
}

/* ========================================
   Card List
======================================== */
.junhua-oem-partner-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-2xl);
}

.junhua-oem-partner-card {
  background-color: var(--bg-color-white);
  border-bottom: var(--border-width-thin) solid var(--border-color-lightest);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.junhua-oem-partner-card-image {
  width: 100%;
  height: auto;
  overflow: hidden;
  flex-shrink: 0;
}

.junhua-oem-partner-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.junhua-oem-partner-card-content {
  padding: 1.5rem var(--spacing-2xl);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.junhua-oem-partner-card-title {
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-bold);
  color: var(--text-color-strong);
  line-height: var(--line-height-subtitle);
  margin: 0;
  min-height: 2em;
  display: -webkit-box;
  /* -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; */
}

.junhua-oem-partner-card-description {
  font-size: var(--font-size-tiny);
  font-weight: var(--font-weight-normal);
  color: var(--text-color-strong);
  line-height: var(--line-height-relaxed);
  margin: 0;
  display: -webkit-box;
  /* -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; */
}

@media screen and (max-width: 767px) {
  .junhua-oem-partner-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
