@font-face {
  font-family: "NimbusSansChineseSimplifiedRegular";
  font-style: normal;
  src: url('fonts/NimbusSansChineseSimplifiedRegular/webFonts/NimbusSansChineseSimplifiedRegular/NimbusSansChineseSimplifiedRegular_normal.woff2') format('woff2'), url('fonts/NimbusSansChineseSimplifiedRegular/webFonts/NimbusSansChineseSimplifiedRegular/NimbusSansChineseSimplifiedRegular_normal.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: "NimbusSansChineseSimplifiedBold";
  font-style: normal;
  src: url('fonts/NimbusSansChineseSimplifiedBold/webFonts/NimbusSansChineseSimplifiedBold/NimbusSansChineseSimplifiedBold_normal.woff2') format('woff2'), url('fonts/NimbusSansChineseSimplifiedBold/webFonts/NimbusSansChineseSimplifiedBold/NimbusSansChineseSimplifiedBold_normal.woff') format('woff');
  font-display: swap;
}
/* 豪洛捷中国首页样式 */
* {
    box-sizing: border-box;
}
body, p {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "NimbusSansChineseSimplifiedRegular", Arial, sans-serif;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "NimbusSansChineseSimplifiedBold", Arial, sans-serif;
}

body {
  padding-top: 114px; /* 36px + 78px = 114px 为固定头部留出空间 */
}

/* Hero Section 样式 */
.hero-section {
  padding: 0;
  background-color: #fff;
  /* margin-top: 114px; 为固定导航栏留出空间 */
}

.hero-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
  align-items: stretch;
  height: 550px;
}

.hero-item-left, .hero-item-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-item-left {
  /* flex: 2; */
  width: 66.67%; /* 2/3宽度 */
  background-image: url(images/China-Welcome-Homepage-Shanghai-Hero.jpg);
  background-color: rgba(241, 243, 245, 1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* 左侧图片占2/3宽度 */
}

.hero-item-right {
  flex: 1;
  /* 右侧图片占1/3宽度 */
  background-image: linear-gradient(270deg, rgb(41, 43, 99) 50%, rgb(51, 124, 153) 100%);
  flex-direction: column;
  padding: 40px 20px;
  margin-left: 6px;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-item-right .hero-image {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  height: auto;
  z-index: 1;
  margin: 20px;
  flex-shrink: 0;
}

.hero-item-right .hero-image img {
  width: auto;
  height: 200px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.hero-content-left {
  position: relative;
  z-index: 2;
  color: white;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding-left: calc((100vw - 1270px) / 2);
  padding-right: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
@media (min-width: 992px) {
       .hero-content-left {
         padding-left: calc((100vw - 952px) / 2);
    }
}
@media (min-width: 1170px) {
     .hero-content-left {
         padding-left: calc((100vw - 1100px) / 2);
    }
}
@media (min-width: 1330px) {
    .hero-content-left {
         padding-left: calc((100vw - 1270px) / 2);
    }
}
.hero-item-left .hero-content-left::after {
  background-image: linear-gradient(90deg, rgba(31, 31, 39, 0.5) 1%, rgba(31, 31, 39, 0.3) 100%);
  background-position: left top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.hero-content-right {
  position: relative;
  z-index: 2;
  color: white;
  padding: 20px;
  max-width: none;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.hero-item-right .hero-content-right h2 {
  font-size: 28px;
  line-height: 1.4;
  font-weight: 700;
  color: white;
  margin: 0;
}

.hero-content-left h2 {
  font-size: 54px;
  line-height: 80px;
  font-weight: 700;
  color: white;
  margin: 0;
}
/* 大屏幕（平板横屏，小桌面） */
@media (max-width: 992px) {
  .hero-container {
    height: 500px;
  }

  .hero-item-left {
    width: 60%;
  }

  .hero-item-right {
    flex: 1;
    padding: 30px 15px;
  }

  .hero-content-left {
    padding-left: 40px;
    padding-right: 15px;
  }

  .hero-content-left h2 {
    font-size: 42px;
    line-height: 60px;
  }

  .hero-item-right .hero-content-right h2 {
    font-size: 24px;
  }

  .hero-item-right .hero-image img {
    height: 160px;
  }

  /* 女性健康产品页面样式 */
  .womens-health-text {
    padding: 60px 40px 60px 60px;
  }

  .womens-health-text h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
  }

  .womens-health-text p {
    font-size: 1rem;
  }
}
/* 中等屏幕（平板，竖屏） */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    height: auto;
  }

  .hero-item-left, .hero-item-right {
    height: 400px;
  }

  .hero-item-left {
    width: 100%;
    flex-direction: column;
    background-image: none;
    background-color: rgba(241, 243, 245, 0.95);
    position: relative;
    padding-bottom: 230px;
  }

  /* 禁用桌面端的渐变遮罩 */
  .hero-item-left .hero-content-left::after {
    display: none;
  }

  .hero-item-left::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background-image: url(images/China-Welcome-Homepage-Shanghai-Hero.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
  }

  .hero-item-right {
    flex-direction: row;
    padding: 20px;
    margin: 6px 0 0 0;
  }

  .hero-item-right .hero-image {
    position: relative;
    width: 50%;
    height: auto;
    margin: 0;
    margin-right: 20px;
    flex-shrink: 0;
  }

  .hero-item-right .hero-image img {
    width: 100%;
    height: 150px;
    object-fit: contain;
  }

  .hero-item-right .hero-content-right {
    position: relative;
    width: 50%;
    padding: 10px;
    text-align: left;
    display: flex;
    align-items: center;
  }

  .hero-content-left {
    padding: 30px 20px;
    padding-left: 20px;
    position: relative;
    z-index: 2;
    background-color: rgba(241, 243, 245, 0.95);
    margin-bottom: 0;
    order: 1;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-content-left h2 {
    color: rgba(41, 43, 99, 1);
    font-size: 32px;
    line-height: 40px;
    margin: 0;
    font-weight: bold;
    letter-spacing: normal;
    text-align: center;
  }
}
/* 小屏设备（手机） */
@media (max-width: 480px) {
  .hero-item-left{
    padding-bottom: 170px;
  }
  
  .hero-item-left, .hero-item-right {
    height: 350px;
  }

  .hero-item-left::after {
    height: 50%;
  }

  .hero-content-left {
    padding: 20px 15px;
    height: 100%;
  }
}

/* 女性健康产品页面样式 */
.womens-health-section {
  background: linear-gradient(90deg, rgb(41, 43, 99) 50%, rgb(115, 40, 123) 100%);
  color: white;
  min-height: 500px;
  display: flex;
  align-items: stretch;
}

.womens-health-container {
  width: 100%;
  display: flex;
  align-items: stretch;
}

.womens-health-content {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 500px;
}

.womens-health-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 80px;
  background: linear-gradient(90deg, rgb(41, 43, 99) 0%, rgb(115, 40, 123) 100%);
}

.womens-health-text h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1.2;
}

.womens-health-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.95;
}

.womens-health-image {
  flex: 1;
  display: flex;
  align-items: stretch;
}

.womens-health-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .womens-health-section {
    padding: 60px 0;
  }

  .womens-health-container {
    padding: 0 15px;
  }

  .womens-health-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .womens-health-text {
    padding-right: 0;
  }

  .womens-health-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .womens-health-text p {
    font-size: 1rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .womens-health-section {
    padding: 40px 0;
  }

  .womens-health-text h2 {
    font-size: 1.5rem;
  }

  .womens-health-text p {
    font-size: 0.9rem;
  }
}

/* Footer 样式 */
footer {
  padding: 0;
}