/* Bichun Brand Story Styles */

.bichun-brand-story {
  width: 100%;
  /* padding: 5rem 0; */
  padding-top: 5.8125rem;
  padding-bottom: 7.75rem;
  position: relative;
  overflow: hidden;
}

.bichun-brand-story-wrapper {
  display: flex;
  gap: 4.375rem;
}

/* Left: Image */
.bichun-brand-story-image {
  width: 47.875rem;
  aspect-ratio: 375 / 211;
}

.bichun-brand-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Right: Content */
.bichun-brand-story-content {
  flex: 1;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

/* Title */
.bichun-brand-story-title {
  position: relative;
  color: var(--color-primary);
  margin-bottom: 1.875rem;
  padding-bottom: 1.5625rem;
}

.bichun-brand-story-title::before {
  position: absolute;
  content: '';
  display: inline-block;
  width: 3.75rem;
  height: 5px;
  bottom: 0px;
  left: 0px;
  background: var(--color-primary);
  transform: translateY(100%);
}

/* Subtitle */
.bichun-brand-story-subtitle {
  font-family: var(--font-family);
  font-size: max(2rem, 20px);
  color: #333;
  margin-bottom: 0.875rem;
  line-height: 143.75%;
  font-weight: 600;
}

/* Description */
.bichun-brand-story-desc {
  color: #666;
  font-size: var(--font-size-md);
  font-family: var(--font-family);
  line-height: 162%;
  flex: 1;
  max-height: 13.125rem;
  padding-right: 0.75rem;
  font-weight: 400;
}

.bichun-brand-story-desc.overflow-auto {
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) rgba(0, 0, 0, 0.08);
  -ms-overflow-style: auto;
}

.bichun-brand-story-desc.overflow-auto::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.bichun-brand-story-desc.overflow-auto::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
}

.bichun-brand-story-desc.overflow-auto::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 999px;
}

.bichun-brand-story-desc.overflow-auto::-webkit-scrollbar-thumb:hover {
  background: #333;
}

@media screen and (max-width: 1024px) {
  .bichun-brand-story {
    padding: 4rem 0;
  }

  .bichun-brand-story-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .bichun-brand-story-image,
  .bichun-brand-story-content {
    width: 100%;
    max-width: 100%;
  }

  .bichun-brand-story-title {
    margin-bottom: 1.5rem;
    padding-bottom: 1.125rem;
  }

  .bichun-brand-story-subtitle {
    margin-bottom: 0.75rem;
  }

  .bichun-brand-story-desc {
    max-height: none;
    padding-right: 0;
  }

  .bichun-brand-story-desc.overflow-auto {
    overflow: visible;
  }
}

@media screen and (max-width: 768px) {
  .bichun-brand-story {
    padding: 2.75rem 0;
  }

  .bichun-brand-story-wrapper {
    gap: 1.5rem;
  }

  .bichun-brand-story-title {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }

  .bichun-brand-story-subtitle {
    margin-bottom: 0.625rem;
  }
}

@media screen and (max-width: 576px) {
  .bichun-brand-story {
    padding: 2rem 0;
  }

  .bichun-brand-story-wrapper {
    gap: 1.25rem;
  }
}
