/* ============================================
   junhua_custom_made_silde 组件样式
   ============================================ */

.junhua-custom-made-silde-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-height: 284px;
}

/* 容器 */
.junhua-custom-made-container {
  width: 100%;
  display: flex;
  align-items: center;
}

/* 背景图片区域 */
.junhua-custom-made-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.junhua-custom-made-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 内容区域 */
.junhua-custom-made-content {
  position: relative;
  width: 100%;
  z-index: 2;
  padding: var(--spacing-9xl) 0;
}

.junhua-custom-made-content .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.junhua-custom-made-title {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-h3);
  line-height: var(--line-height-title);
  color: var(--text-color-white);
  margin: 0;
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
}

.junhua-custom-made-description {
  font-family: var(--font-family);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: var(--text-color-white);
  margin-bottom: var(--spacing-base);
  text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);
}

.junhua-custom-made-button {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.junhua-custom-made-button:hover {
  text-decoration: none;
}

@media screen and (max-width: 1024px) {
  .junhua-custom-made-content {
    padding: var(--spacing-2xl) 0;
    position: relative;
  }

  .junhua-custom-made-background {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
  }
  .junhua-custom-made-image {
    object-fit: cover;
  }
}
