/* Yawei Sidebanner Component */
.yawei-case-read {
  position: relative;
  overflow: hidden;
}

.yawei-case-read .banner-section {
  position: relative;
  min-height: 760px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

/* 容器边距设置 - 参考其他banner组件 */
.yawei-case-read .container {
  padding-left: 15px;
  padding-right: 15px;
  text-align: left;
  position: relative;
  z-index: 3;
}
.yawei-case-read .case-read-content {
  padding-top: 38px;
  padding-bottom: 200px;
}

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

/* 背景装饰元素 */
.yawei-case-read .banner-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* 剪切区域 - 右侧显示国家图标 */
.yawei-case-read .banner-clip-area {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
}

.yawei-case-read .clip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.7) 70%,
    rgba(0, 0, 0, 1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.yawei-case-read .country-icon {
  max-width: 300px;
  max-height: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.8;
  filter: brightness(1.1) contrast(1.1);
}

/* 内容区域 */
.yawei-case-read .content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 600px;
}

.yawei-case-read .text-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 案例标签样式 - 严格按照Figma规范 */
.yawei-case-read .case-label {
  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;
  text-transform: uppercase;
}

/* 项目标题样式 - 严格按照Figma规范 */
.yawei-case-read .project-title {
  font-family: 'Arimo', var(--title-font-family);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.25em; /* 60px / 48px = 1.25 */
  letter-spacing: -0.01em; /* -1% */
  color: #FFFFFF;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 1400px) {
  .yawei-case-read .container {
    /* padding: 0 100px; */
  }
  
  .yawei-case-read .project-title {
    font-size: 40px;
  }
  
  .yawei-case-read .country-icon {
    max-width: 250px;
    max-height: 250px;
  }
  .yawei-case-read .case-read-content{
    padding-top: 38px;
    padding-bottom: 200px;
  }
}

@media(max-width:1280px){
  .yawei-case-read .banner-section {
    min-height: 506px;
  }
}

@media (max-width: 1200px) {
  .yawei-case-read .container {
    /* padding: 0 50px; */
  }
  
  .yawei-case-read .project-title {
    font-size: 36px;
  }
  
  .yawei-case-read .banner-clip-area {
    width: 45%;
  }
  
  .yawei-case-read .country-icon {
    max-width: 200px;
    max-height: 200px;
  }
  .yawei-case-read .case-read-content{
    padding-top: 38px;
    padding-bottom: 200px;
  }
}

@media (max-width: 991px) {
  .yawei-case-read .banner-section {
    padding: 0;
    min-height: 324px;
  }
  
  .yawei-case-read .container {
    /* padding: 0 30px; */
  }
  
  .yawei-case-read .project-title {
    font-size: 32px;
  }
  
  .yawei-case-read .case-label {
    font-size: 16px;
  }
  
  .yawei-case-read .banner-clip-area {
    width: 40%;
  }
  
  .yawei-case-read .country-icon {
    max-width: 150px;
    max-height: 150px;
  }
  .yawei-case-read .case-read-content{
    padding-top: 20px;
    padding-bottom: 100px;
  }
}

@media (max-width: 767px) {
  .yawei-case-read .banner-section {
    padding: 75px 0 60px;
    min-height: 420px;
  }
  
  .yawei-case-read .container {
    /* padding: 0 24px; */
  }
  
  .yawei-case-read .content-wrapper {
    max-width: 100%;
  }
  
  .yawei-case-read .text-content {
    gap: 12px;
  }
  
  /* 移动端案例标签样式 */
  .yawei-case-read .case-label {
    font-size: 14px;
    line-height: 1.7857em; /* 25px / 14px = 1.7857 */
    letter-spacing: 0.2571em; /* 25.71% */
  }
  
  /* 移动端项目标题样式 */
  .yawei-case-read .project-title {
    font-size: 24px;
    line-height: 1.1499em; /* 27.6px / 24px = 1.1499 */
    letter-spacing: 0.0075em; /* 0.75% */
  }
  
  .yawei-case-read .banner-clip-area {
    width: 35%;
  }
  
  .yawei-case-read .country-icon {
    max-width: 100px;
    max-height: 100px;
  }
  .yawei-case-read .case-read-content{
    padding-top: 20px;
    padding-bottom: 80px;
  }
  .yawei-case-read .banner-section{
    padding-top: 0;
    align-items: center;
    padding-bottom: 0;
    min-height: 277px;
  }
}

.yawei-case-read .case-read-content h3 {
    padding-bottom: 30px;
    border-bottom: 3px solid #1D1D1D;
    font-family: 'Arimo', var(--title-font-family);
    font-size: 36px !important;
    font-weight: 700;
    color: #0A0A0A;
    line-height: 1.41;
    margin: 0 0 42px 0;
    text-align: left;
}


@media (max-width: 576px) {
  .banner-section .container {margin-top: 50px;}
  .yawei-case-read .banner-section {padding-top: 0;align-items: center;padding-bottom: 9px;min-height: 150px;}
  .yawei-case-read .text-content {gap: 0;}
  .yawei-case-read .project-title {font-size: 20px;}
  .yawei-case-read .case-label {font-size: 13px;}
}