.yawei-case-banner {
  position: relative;
  overflow: hidden;
}

.yawei-case-banner .banner-section {
  position: relative;
  background-size:100%;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;aspect-ratio:2 / 1;
}



/* Content styles */
.yawei-case-banner .content-wrapper {
  position: relative;
  z-index: 2;
  text-align: left;
  display: inline-block;
}

.yawei-case-banner .text-content {
  max-width: 784px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 品牌名称样式 - 严格按照Figma规范 */
.yawei-case-banner .brand-name {
  font-family: 'Arimo', var(--title-font-family);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3889em; /* 25px / 18px = 1.3889 */
  letter-spacing: 0.2em; /* 20% */
  color: #E6002D;
  margin: 0 0 9px 0;
}

/* 主标题样式 - 严格按照Figma规范 */
.yawei-case-banner .main-title {
  font-family: 'Arimo', var(--title-font-family);
  font-weight: 700;
  font-size: 60px;
  line-height: 1.4em; /* 84px / 60px = 1.4 */
  letter-spacing: 0.025em; /* 2.5% */
  color: #FFFFFF;
  margin: 0;
}

.yawei-case-banner .container {
  padding-left: 15px;
  padding-right: 15px;
  text-align: left;display:flex;align-items:center;
}

@media (min-width: 1900px) {
  .yawei-case-banner .container {
    max-width: calc(100% - 384px);
    padding-left: 0;
    padding-right: 0;
  }
}

/* Responsive design */
@media (max-width: 1200px) {
  .yawei-case-banner .main-title {
    font-size: 48px;
  }
  
  .yawei-case-banner .text-content {
    max-width: 680px;
  }
}

@media (max-width: 991px) {
  
  .yawei-case-banner .main-title {
    font-size: 36px;
  }
  
  .yawei-case-banner .brand-name {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  
  .yawei-case-banner .container {
    text-align: left;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    align-items: center;
  }
  
  .yawei-case-banner .text-content {
    max-width: 100%;
    gap: 4px;
  }
  
  /* 移动端品牌名称样式 */
  .yawei-case-banner .brand-name {
    font-size: 14px;
    line-height: 1.7857em; /* 25px / 14px = 1.7857 */
    letter-spacing: 0.2571em; /* 25.71% */
  }
  
  /* 移动端主标题样式 */
  .yawei-case-banner .main-title {
    font-size: 24px;
    line-height: 1.1499em; /* 27.6px / 24px = 1.1499 */
    letter-spacing: 0.0075em; /* 0.75% */
    text-transform: uppercase;
  }
}

@media (max-width: 567px) {
  .yawei-case-banner .container {margin-top: 50px;}
}