/* yawei_green_production SVG-based styles */
.yawei-green-production {
  position: relative;
  overflow: hidden;
}
.yawei-green-production .container {
  padding-left: 15px;
  padding-right: 15px;
}

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

/* 背景层 */
.yawei-green-production__bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 1;
}

.yawei-green-production__left-bg,
.yawei-green-production__right-bg {
  width: 50%;
  height: 100%;
}

.yawei-green-production__left-bg {
  background-size: cover;
  background-position: center;
}

.yawei-green-production__right-bg {
  background-color: #081221;
}

/* 内容层 */
.yawei-green-production__content-container {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  min-height: 1080px;
}

.yawei-green-production__header {
  text-align: center;
  padding: 0 40px;
  flex-shrink: 0;
}

.yawei-green-production__title,
.yawei-green-production__description {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.yawei-green-production__title {
  font-family: var(--title-font-family);
  font-weight: 700;
  font-size: 40px;
  margin-bottom: 20px;
  line-height: 1.41;
}

.yawei-green-production__description {
  font-family: var(--font-family);
  font-size: 18px;
  margin: 0 auto;
}

.yawei-green-production__main-content {
  position: relative;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

/* SVG 交互图标 */
.yawei-green-production__icon-wrapper {
  position: absolute;
  left: calc(50% - 230px);
  top: calc(50% - 230px);
  width: 460px;
  height: 460px;
  z-index: 5;
  background-color: #fff;
  border-radius: 50%;
}

.yawei-green-production__svg-ring {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.yawei-green-production__sector-path {
  cursor: pointer;
  transition: opacity 0.3s ease, filter 0.3s ease;
  pointer-events: bounding-box; 
}

.yawei-green-production__sector-path:hover {
  opacity: 0.9;
}

.yawei-green-production__sector-path.active {
  stroke: #fff;
  stroke-width: 2px;
}

.yawei-green-production__sector-text {
  font-family: 'Arimo', sans-serif;
  font-size: 18px;
  font-weight: 700;
  fill: #fff;
  pointer-events: none;
  text-transform: capitalize;
}

.yawei-green-production__dashed-circle {
  fill: none;
  stroke: #000;
  stroke-width: 2;
  stroke-dasharray: 8, 8;
  opacity: 0.9;
}

/* 中心Logo */
.yawei-green-production__center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 1px dashed #000; */
}

.yawei-green-production__center-logo img {
  max-width: 62.4%;
  height: auto;
}

/* 内容面板 */
.yawei-green-production__content-panels {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  display: flex;
}

.yawei-green-production__panel-inner {
  max-width: 770px;
  padding-top: 90px;
  padding-left: 320px; /* half icon (230px) + gap (40px) */
  padding-right: 15px;
  color: #fff;
}

.yawei-green-production__content-panel {
  display: none;
}

.yawei-green-production__content-panel.active {
  display: block;
}

.yawei-green-production__panel-title {
  padding-bottom: 16px;
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #fff;
  font-size: 30px;
  font-family: var(--title-font-family);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.yawei-green-production__sub-item{
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 30px;
}
.yawei-green-production__sub-item + .yawei-green-production__sub-item{
  padding-top: 30px;
}
.yawei-green-production__sub-item-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #fff;
  font-family: var(--title-font-family);
}

.yawei-green-production__panel-description {
  font-size: 18px;
  line-height: 1.6;
  white-space: pre-line;
}


/* 移动端特定结构 */
.yawei-green-production__mobile-content {
  display: none; /* 默认隐藏 */
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .yawei-green-production__icon-wrapper { 
    width: 400px; 
    height: 400px; 
    left: calc(50% - 200px);
    top: calc(50% - 200px);
  }
  .yawei-green-production__center-logo { width: 200px; height: 200px; }
  .yawei-green-production__center-logo img { max-width: 120px; }
  .yawei-green-production__panel-inner { padding-left: 240px; }
  .yawei-green-production__sector-text { font-size: 16px; }
  .yawei-green-production__title { font-size: 40px; }
}

@media (max-width: 991px) {
  .yawei-green-production {
    aspect-ratio: unset;
    background-color: #121212;
  }
  .yawei-green-production__left-bg,
  .yawei-green-production__right-bg {
    display: none;
  }
  .yawei-green-production__content-container {
    height: auto;
    padding: 40px 20px;
  }
  .yawei-green-production__main-content {
    flex-direction: column;
    align-items: stretch;
  }
  .yawei-green-production__icon-wrapper {
    display: none;
  }
  .yawei-green-production__mobile-content {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
  .yawei-green-production__mobile-image {
    width: 100%;
    margin-bottom: 17px;
  }
  .yawei-green-production__mobile-image img {
    width: 100%;
    min-height: 260px;
    display: block;
    margin: 0 auto;
    object-fit: cover;
  }
  .yawei-green-production__mobile-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .yawei-green-production__mobile-tab-item {
    padding: 8px 6px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    border: 1px solid transparent; /* Use transparent border to avoid layout shift */
    border-radius: 0; /* Remove border-radius */
    background-color: #E6002D; /* Unselected state is red */
    font-family: var(--title-font-family);
  }
  .yawei-green-production__mobile-tab-item.active,
  .yawei-green-production__mobile-tab-item:hover {
    background-color: #000; /* Selected state is black */
    border-color: #fff;
  }
  .yawei-green-production__content-panels {
    position: relative;
    width: 100%;
    height: auto;
  }
  .yawei-green-production__panel-inner {
    padding: 0;
    text-align: left;
  }
  .yawei-green-production__title {
    font-size: 32px;
  }
  .yawei-green-production__panel-title {
    font-size: 24px;
  }
  .yawei-green-production__panel-description {
    font-size: 16px;
    margin-bottom: 17px;
  }
  .yawei-green-production__description{
    margin-bottom: 17px;
  }
} 

@media (max-width: 768px) {
  .yawei-green-production__content-container{
    padding: 30px 0 37px;
    min-height: unset;
  }
  .yawei-green-production__title{
    font-size: 24px;
    margin-bottom: 17px;
  }
  .yawei-green-production__description{
    font-size: 14px;
  }
  .yawei-green-production__panel-title{
    font-size: 18px;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  .yawei-green-production__sub-item-title{
    font-size: 16px;
  }
  .yawei-green-production__sub-item-description{
    font-size: 14px;
  }
  .yawei-green-production__sub-item{
    padding-bottom: 8px;
  }
}